From fdc8ec1dde43ae0ff31383b2a7c9ccbc5d8ccdef Mon Sep 17 00:00:00 2001 From: Benjamin Sonntag Date: Fri, 3 Jun 2011 17:42:37 +0000 Subject: [PATCH] Fixes #1247 : The web interface now shows a great form to choose do we host dns (yes/no) and do we host emails (yes/no). + Enforce access rights limits on 'ALL' or 'ADMIN' or 'NONE' for domain types --- bureau/admin/dom_edit.php | 65 +- bureau/admin/dom_editdns.php | 13 +- bureau/admin/dom_subdel.php | 9 + bureau/admin/dom_subdodel.php | 7 + bureau/admin/dom_subdoedit.php | 8 + bureau/admin/dom_subedit.php | 8 + bureau/admin/head.php | 5 + bureau/class/m_dom.php | 75 +- bureau/locales/de_DE/LC_MESSAGES/messages.po | 3578 ++++------ bureau/locales/en_US/LC_MESSAGES/messages.po | 6218 ++++++++---------- bureau/locales/es_ES/LC_MESSAGES/messages.po | 4368 ++++++------ bureau/locales/fr_FR/LC_MESSAGES/manual.po | 6 + bureau/locales/fr_FR/LC_MESSAGES/messages.po | 4260 ++++++------ bureau/locales/messages.pot | 3560 ++++------ bureau/locales/pt_BR/LC_MESSAGES/messages.po | 4044 +++++------- 15 files changed, 10892 insertions(+), 15332 deletions(-) diff --git a/bureau/admin/dom_edit.php b/bureau/admin/dom_edit.php index 47f3b3ca..5b0d564e 100644 --- a/bureau/admin/dom_edit.php +++ b/bureau/admin/dom_edit.php @@ -97,16 +97,23 @@ if ($r['dns_action']=='UPDATE') {?> domains_type_lst(); for($i=0;$i<$r["nsub"];$i++) { $col=3-$col; + ?> "; } else { ?> +
&sub=&type=&value="><?php __(" />
+ + +
&sub=&type=&value="><?php __(" />
+ " target="_blank"> @@ -163,7 +170,6 @@ sub_domains_edit($domain);
show_help("edit_domain"); ?>

 

-

 

@@ -172,41 +178,38 @@ if (!$r['noerase']) { ?>
-

+

" method="post" id="fdns" name="fdns"> - - - - - - - - - +
onclick="dnson();" />  onclick="dnsoff();" /> 
-

- -

- " /> -
-

-

-

- /> -
- /> -

-

-

-
+ + + -
+ />  + />  +
" />
+ + + + + +
+ + + />  + />  +
+
+ +" />
- +

 

+
+

+

@@ -214,6 +217,8 @@ if (!$r['noerase']) { " />

+ +