From 4fd853c6ae70f008b10281dc7cbd94812a14f1cb Mon Sep 17 00:00:00 2001 From: Benjamin Sonntag Date: Thu, 12 Oct 2017 17:54:48 +0200 Subject: [PATCH] [cosm] many cosmetic comment fixes, + ensure license and copyright everywhere --- bureau/admin/about.php | 22 +++++++++------------ bureau/admin/adm_authip_whitelist.php | 24 +++++++++++++++++++++++ bureau/admin/adm_cancel.php | 19 ++++++++---------- bureau/admin/adm_db_servers.php | 13 +++++++------ bureau/admin/adm_deactivate.php | 21 +++++++++----------- bureau/admin/adm_defquotas.php | 20 +++++++------------ bureau/admin/adm_del.php | 12 +----------- bureau/admin/adm_dnsweberror.php | 18 +++++++---------- bureau/admin/adm_doadd.php | 15 +++++++------- bureau/admin/adm_dodefquotas.php | 20 +++++++------------ bureau/admin/adm_dodel.php | 19 ++++++++---------- bureau/admin/adm_doedit.php | 20 +++++++------------ bureau/admin/adm_domlock.php | 19 ++++++++---------- bureau/admin/adm_doms.php | 18 +++++++---------- bureau/admin/adm_doms_def_type.php | 26 +++++++++++++++++++++++++ bureau/admin/adm_domstype.php | 18 +++++++---------- bureau/admin/adm_domstypedoedit.php | 24 +++++++++++++++++++++++ bureau/admin/adm_domstypeedit.php | 18 +++++++---------- bureau/admin/adm_domstyperegenerate.php | 24 +++++++++++++++++++++++ bureau/admin/adm_donosu.php | 18 +++++++---------- bureau/admin/adm_dorenew.php | 19 +++++++----------- bureau/admin/adm_dosu.php | 18 +++++++---------- bureau/admin/adm_edit.php | 25 ++++++++---------------- bureau/admin/adm_email.php | 13 +++++++------ bureau/admin/adm_list.php | 16 +++++++-------- bureau/admin/adm_lockpanel.php | 18 +++++++---------- bureau/admin/adm_login.php | 18 +++++++---------- bureau/admin/adm_mxaccount.php | 20 +++++++++---------- bureau/admin/adm_panel.php | 6 ++++++ bureau/admin/adm_passpolicy.php | 15 +++++++------- bureau/admin/adm_quotadoedit.php | 18 +++++++---------- bureau/admin/adm_quotaedit.php | 18 +++++++---------- bureau/admin/adm_slavedns.php | 19 ++++++++---------- bureau/admin/adm_tld.php | 19 ++++++++---------- bureau/admin/adm_tldadd.php | 19 ++++++++---------- bureau/admin/adm_tlddoadd.php | 19 ++++++++---------- bureau/admin/adm_tlddoedit.php | 18 +++++++---------- bureau/admin/adm_tldedit.php | 19 ++++++++---------- bureau/admin/adm_update_domains.php | 18 +++++++---------- bureau/admin/adm_variables.php | 18 +++++++---------- bureau/admin/alternc_debugme.php | 23 ++++++++++++++++++++++ bureau/admin/bro_downloadfile.php | 11 +++++++---- bureau/admin/bro_editor.php | 20 ++++++++----------- bureau/admin/bro_main.php | 25 ++++++++++++------------ bureau/admin/bro_pref.php | 18 +++++++---------- 45 files changed, 416 insertions(+), 422 deletions(-) diff --git a/bureau/admin/about.php b/bureau/admin/about.php index 6966cdc1..61907875 100644 --- a/bureau/admin/about.php +++ b/bureau/admin/about.php @@ -1,13 +1,5 @@
-

AlternC +

AlternC
enabled) { diff --git a/bureau/admin/adm_del.php b/bureau/admin/adm_del.php index 47ac1c8e..a3d3c386 100644 --- a/bureau/admin/adm_del.php +++ b/bureau/admin/adm_del.php @@ -1,13 +1,5 @@ diff --git a/bureau/admin/adm_dnsweberror.php b/bureau/admin/adm_dnsweberror.php index 1e2395e4..a54f28e8 100644 --- a/bureau/admin/adm_dnsweberror.php +++ b/bureau/admin/adm_dnsweberror.php @@ -1,13 +1,5 @@ enabled) { diff --git a/bureau/admin/adm_doadd.php b/bureau/admin/adm_doadd.php index 35409a7a..63e247db 100644 --- a/bureau/admin/adm_doadd.php +++ b/bureau/admin/adm_doadd.php @@ -1,10 +1,5 @@ enabled) { diff --git a/bureau/admin/adm_dodefquotas.php b/bureau/admin/adm_dodefquotas.php index 881c45a5..ce5aab17 100755 --- a/bureau/admin/adm_dodefquotas.php +++ b/bureau/admin/adm_dodefquotas.php @@ -1,15 +1,5 @@ enabled) { diff --git a/bureau/admin/adm_dodel.php b/bureau/admin/adm_dodel.php index bdb8fdbe..5fa16ca3 100755 --- a/bureau/admin/adm_dodel.php +++ b/bureau/admin/adm_dodel.php @@ -1,13 +1,5 @@ enabled) { diff --git a/bureau/admin/adm_doedit.php b/bureau/admin/adm_doedit.php index bea0b0bf..8e508277 100644 --- a/bureau/admin/adm_doedit.php +++ b/bureau/admin/adm_doedit.php @@ -1,15 +1,5 @@ enabled) { diff --git a/bureau/admin/adm_domlock.php b/bureau/admin/adm_domlock.php index b3de275b..0203b2b7 100644 --- a/bureau/admin/adm_domlock.php +++ b/bureau/admin/adm_domlock.php @@ -1,13 +1,5 @@ enabled) { diff --git a/bureau/admin/adm_doms.php b/bureau/admin/adm_doms.php index 960f14d0..00a7eef6 100755 --- a/bureau/admin/adm_doms.php +++ b/bureau/admin/adm_doms.php @@ -1,13 +1,5 @@ enabled) { diff --git a/bureau/admin/adm_doms_def_type.php b/bureau/admin/adm_doms_def_type.php index 541187ac..e325630b 100755 --- a/bureau/admin/adm_doms_def_type.php +++ b/bureau/admin/adm_doms_def_type.php @@ -1,4 +1,30 @@ enabled) { diff --git a/bureau/admin/adm_domstype.php b/bureau/admin/adm_domstype.php index 4de3aa13..2315874f 100644 --- a/bureau/admin/adm_domstype.php +++ b/bureau/admin/adm_domstype.php @@ -1,13 +1,5 @@ enabled) { diff --git a/bureau/admin/adm_domstypedoedit.php b/bureau/admin/adm_domstypedoedit.php index 94a29288..eccb5ee2 100644 --- a/bureau/admin/adm_domstypedoedit.php +++ b/bureau/admin/adm_domstypedoedit.php @@ -1,4 +1,28 @@ enabled) { $msg->raise("ERROR", "admin", _("This page is restricted to authorized staff")); diff --git a/bureau/admin/adm_domstypeedit.php b/bureau/admin/adm_domstypeedit.php index a07a724f..5fadf67d 100755 --- a/bureau/admin/adm_domstypeedit.php +++ b/bureau/admin/adm_domstypeedit.php @@ -1,13 +1,5 @@ enabled) { $msg->raise("ERROR", "admin", _("This page is restricted to authorized staff")); diff --git a/bureau/admin/adm_domstyperegenerate.php b/bureau/admin/adm_domstyperegenerate.php index 78bec7d4..30e21e78 100644 --- a/bureau/admin/adm_domstyperegenerate.php +++ b/bureau/admin/adm_domstyperegenerate.php @@ -1,4 +1,28 @@ enabled) { $msg->raise("ERROR", "admin", _("This page is restricted to authorized staff")); diff --git a/bureau/admin/adm_donosu.php b/bureau/admin/adm_donosu.php index 3a71c700..f51eb5b1 100644 --- a/bureau/admin/adm_donosu.php +++ b/bureau/admin/adm_donosu.php @@ -1,13 +1,5 @@ enabled) { diff --git a/bureau/admin/adm_dorenew.php b/bureau/admin/adm_dorenew.php index 07c4fb7b..437f3c3c 100644 --- a/bureau/admin/adm_dorenew.php +++ b/bureau/admin/adm_dorenew.php @@ -1,15 +1,5 @@ enabled) { diff --git a/bureau/admin/adm_dosu.php b/bureau/admin/adm_dosu.php index 80f4a049..88ae79fc 100644 --- a/bureau/admin/adm_dosu.php +++ b/bureau/admin/adm_dosu.php @@ -1,13 +1,5 @@ enabled) { diff --git a/bureau/admin/adm_edit.php b/bureau/admin/adm_edit.php index af24901f..d561214d 100755 --- a/bureau/admin/adm_edit.php +++ b/bureau/admin/adm_edit.php @@ -1,15 +1,5 @@ msg_html_all(); ?>

- - - @@ -150,7 +141,7 @@ echo $msg->msg_html_all();
- +

enabled || $cuid!=2000) { diff --git a/bureau/admin/adm_login.php b/bureau/admin/adm_login.php index cee4c0a8..94105c6f 100644 --- a/bureau/admin/adm_login.php +++ b/bureau/admin/adm_login.php @@ -1,13 +1,5 @@ enabled) { diff --git a/bureau/admin/adm_panel.php b/bureau/admin/adm_panel.php index 3e9b8b47..ee5d9f41 100644 --- a/bureau/admin/adm_panel.php +++ b/bureau/admin/adm_panel.php @@ -17,6 +17,12 @@ ---------------------------------------------------------------------- */ +/** + * Administrator misc. settings + * + * @copyright AlternC-Team 2000-2017 https://alternc.com/ + */ + require_once("../class/config.php"); if (!$admin->enabled) { diff --git a/bureau/admin/adm_passpolicy.php b/bureau/admin/adm_passpolicy.php index 20e5646e..488fcd92 100755 --- a/bureau/admin/adm_passpolicy.php +++ b/bureau/admin/adm_passpolicy.php @@ -1,10 +1,5 @@ enabled) { diff --git a/bureau/admin/adm_quotadoedit.php b/bureau/admin/adm_quotadoedit.php index 3c010d33..f984de2c 100644 --- a/bureau/admin/adm_quotadoedit.php +++ b/bureau/admin/adm_quotadoedit.php @@ -1,13 +1,5 @@ enabled) { diff --git a/bureau/admin/adm_quotaedit.php b/bureau/admin/adm_quotaedit.php index aea60efa..b7338752 100755 --- a/bureau/admin/adm_quotaedit.php +++ b/bureau/admin/adm_quotaedit.php @@ -1,13 +1,5 @@ enabled) { diff --git a/bureau/admin/adm_tld.php b/bureau/admin/adm_tld.php index b81ecbc4..48049a6c 100755 --- a/bureau/admin/adm_tld.php +++ b/bureau/admin/adm_tld.php @@ -1,13 +1,5 @@ enabled) { diff --git a/bureau/admin/adm_tldadd.php b/bureau/admin/adm_tldadd.php index 10fbb40a..3de4249f 100755 --- a/bureau/admin/adm_tldadd.php +++ b/bureau/admin/adm_tldadd.php @@ -1,13 +1,5 @@ enabled) { diff --git a/bureau/admin/adm_tlddoadd.php b/bureau/admin/adm_tlddoadd.php index bca99777..1cd2df59 100644 --- a/bureau/admin/adm_tlddoadd.php +++ b/bureau/admin/adm_tlddoadd.php @@ -1,13 +1,5 @@ enabled) { diff --git a/bureau/admin/adm_tlddoedit.php b/bureau/admin/adm_tlddoedit.php index d699fc34..aebda638 100644 --- a/bureau/admin/adm_tlddoedit.php +++ b/bureau/admin/adm_tlddoedit.php @@ -1,13 +1,5 @@ array ("post", "string", ""), diff --git a/bureau/admin/adm_tldedit.php b/bureau/admin/adm_tldedit.php index 981ca5f0..0b58ca39 100755 --- a/bureau/admin/adm_tldedit.php +++ b/bureau/admin/adm_tldedit.php @@ -1,13 +1,5 @@ enabled) { diff --git a/bureau/admin/adm_update_domains.php b/bureau/admin/adm_update_domains.php index 84871ab2..f38a4c65 100644 --- a/bureau/admin/adm_update_domains.php +++ b/bureau/admin/adm_update_domains.php @@ -1,13 +1,5 @@ enabled) { diff --git a/bureau/admin/adm_variables.php b/bureau/admin/adm_variables.php index 4ad8ba7e..4507dafc 100755 --- a/bureau/admin/adm_variables.php +++ b/bureau/admin/adm_variables.php @@ -1,13 +1,5 @@ enabled) { diff --git a/bureau/admin/alternc_debugme.php b/bureau/admin/alternc_debugme.php index 53eba554..85fcb651 100644 --- a/bureau/admin/alternc_debugme.php +++ b/bureau/admin/alternc_debugme.php @@ -1,4 +1,27 @@