Gere les domaines jusqu'a 255 caractères (tld compris).
Indentation du CSS Should fix #1428
This commit is contained in:
parent
dc0079f7b2
commit
07d6b8d7a9
|
@ -58,7 +58,7 @@ else {
|
|||
|
||||
<p>
|
||||
<?php
|
||||
__("You can set passwords to protect some of your folders.<br/>This will create .htaccess and .htpassword files that restrict access to these directory and to any sub-elements.");
|
||||
__("You can set passwords to protect some of your folders.<br/>This will create .htaccess and .htpasswd files that restrict access to these directory and to any sub-elements.");
|
||||
// __("help_hta_list");
|
||||
$mem->show_help("hta_list2");
|
||||
?>
|
||||
|
|
|
@ -43,10 +43,8 @@ if ($q["t"] > 0 || $q['u'] > 0)
|
|||
/* Enumeration des domaines : */
|
||||
$domlist = $dom->enum_domains();
|
||||
reset($domlist);
|
||||
while (list($key, $val) = each($domlist))
|
||||
{
|
||||
?>
|
||||
<li><a href="dom_edit.php?domain=<?php echo urlencode($val) ?>"><?php echo $val ?></a></li>
|
||||
while (list($key, $val) = each($domlist)) { ?>
|
||||
<li><a href="dom_edit.php?domain=<?php echo urlencode($val) ?>" title="<?php echo htmlentities($val); ?>"><?php echo $val; ?></a></li>
|
||||
<?php } ?>
|
||||
</ul>
|
||||
</div>
|
||||
|
|
|
@ -43,7 +43,7 @@ if ($q["u"] > 0 || ( $r["u"] > 0 && $q['t'] > 0 )) {
|
|||
$domlist = $mail->enum_domains();
|
||||
foreach($domlist as $l => $v){
|
||||
?>
|
||||
<li><a href="mail_list.php?domain_id=<?php echo urlencode($v["id"]) ?>"><?php echo $v["domaine"] ?> (<?php echo $v["nb_mail"]; ?>)</a></li>
|
||||
<li><a href="mail_list.php?domain_id=<?php echo urlencode($v["id"]) ?>" title='<?php echo htmlentities($v["domaine"]).' '.htmlentities("(".$v["nb_mail"].")"); ?>'><?php echo $v['domaine']; ?> (<?php echo $v["nb_mail"]; ?>)</a></li>
|
||||
<?php
|
||||
}?>
|
||||
</ul>
|
||||
|
|
|
@ -305,6 +305,10 @@ img {
|
|||
text-decoration: none;
|
||||
border: 1px solid #F1F8FD;
|
||||
line-height: 0.75em;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
-o-text-overflow: ellipsis; /* Opera 9*/
|
||||
}
|
||||
|
||||
.menu-box li a img {
|
||||
|
@ -438,30 +442,30 @@ span#emaildom {
|
|||
border: 1px solid #aaa;
|
||||
padding: 10px;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.formcell {
|
||||
vertical-align: top;
|
||||
border: 1px solid #aaa;
|
||||
padding: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
.tlist, .tlist td, .tlist th,
|
||||
.tlist2, .tlist2 td, .tlist2 th {
|
||||
padding: 4px;
|
||||
margin: 0;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
}
|
||||
|
||||
.tlist {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.tlistb, .tlistb td, .tlistb th {
|
||||
padding: 4px;
|
||||
margin: 0;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
}
|
||||
|
||||
table.tlistb, .tlistb tr {
|
||||
border: solid 1px #AAA;
|
||||
|
@ -469,7 +473,7 @@ table.tlistb, .tlistb tr {
|
|||
|
||||
.tlist tr:hover, .tlist2 tr:hover {
|
||||
background-color: #F1D5CF;
|
||||
}
|
||||
}
|
||||
|
||||
.tlist th, .tlist2 th {
|
||||
font-weight: bold;
|
||||
|
@ -477,7 +481,7 @@ table.tlistb, .tlistb tr {
|
|||
|
||||
input#dir, input#sub_local {
|
||||
width: 200px;
|
||||
}
|
||||
}
|
||||
|
||||
.warningmsg {
|
||||
width: 500px;
|
||||
|
|
|
@ -200,6 +200,9 @@ ALTER TABLE `domaines_type` ADD create_tmpdir BOOLEAN NOT NULL DEFAULT FALSE ;
|
|||
ALTER TABLE `domaines_type` ADD create_targetdir BOOLEAN NOT NULL DEFAULT FALSE ;
|
||||
UPDATE domaines_type SET create_tmpdir=true, create_targetdir=true WHERE target='DIRECTORY';
|
||||
|
||||
-- Allow 255 caracters in the tld
|
||||
ALTER IGNORE TABLE domaines MODIFY domaine VARCHAR(255);
|
||||
|
||||
-- Defaults subdomains to create when a domain is added
|
||||
CREATE TABLE IF NOT EXISTS `default_subdomains` (
|
||||
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
|
||||
|
|
Loading…
Reference in New Issue