diff --git a/bureau/admin/dom_edit.inc.php b/bureau/admin/dom_edit.inc.php index 2b9b1978..ec8e5a46 100644 --- a/bureau/admin/dom_edit.inc.php +++ b/bureau/admin/dom_edit.inc.php @@ -7,7 +7,7 @@ include_once("head.php"); # Take the values of the subdomain in arguments function sub_domains_edit($domain, $sub=false,$type=false,$value=false) { -global $admin, $oldid; + global $admin, $oldid, $isedit; $dom=new m_dom(); $dom->lock(); @@ -37,9 +37,9 @@ $dom->unlock(); . @@ -59,8 +59,10 @@ $dom->unlock(); $lst_advanced[]=$dt['name']; if ($first_advanced) { $first_advanced=false; + echo ""; echo "+ "; __("Show advanced options"); echo ""; echo "- "; __("Hide advanced options"); echo ""; + echo ""; } } ?> diff --git a/bureau/admin/styles/style.css b/bureau/admin/styles/style.css index 12faca56..e7b7eec6 100644 --- a/bureau/admin/styles/style.css +++ b/bureau/admin/styles/style.css @@ -433,3 +433,8 @@ input#dir, input#sub_local { #admlistbtn { padding-bottom: 6px; } + +.advdom { + padding-top: 6px; +} + diff --git a/bureau/class/m_dom.php b/bureau/class/m_dom.php index f7e773ad..e86a2af7 100644 --- a/bureau/class/m_dom.php +++ b/bureau/class/m_dom.php @@ -102,7 +102,7 @@ class m_dom { function domains_type_lst() { global $db,$err,$cuid; $err->log("dom","domains_type_lst"); - $db->query("select * from domaines_type order by advanced, name;"); + $db->query("select * from domaines_type order by advanced;"); $this->domains_type_lst=false; while ($db->next_record()) { $this->domains_type_lst[] = $db->Record;