diff --git a/web/inc/main.php b/web/inc/main.php index f3f96b87..75a66c73 100644 --- a/web/inc/main.php +++ b/web/inc/main.php @@ -268,36 +268,6 @@ function send_email($to,$subject,$mailtext,$from) { mail($to, $subject, $message, $header); } -function display_error_block() { - if (!empty($_SESSION['error_msg'])) { - echo ' -
- -
-

'. htmlentities($_SESSION['error_msg']) .'

-
-
'."\n"; - unset($_SESSION['error_msg']); - } -} - function list_timezones() { $tz = new DateTimeZone('HAST'); $timezone_offsets['HAST'] = $tz->getOffset(new DateTime); diff --git a/web/list/user/index.php b/web/list/user/index.php index d32ea6f1..9b63bbaf 100644 --- a/web/list/user/index.php +++ b/web/list/user/index.php @@ -13,7 +13,6 @@ if ($user == 'admin') { } $data = json_decode(implode('', $output), true); $data = array_reverse($data,true); -display_error_block(); // Render page render_page($user, $TAB, '*/list_user'); diff --git a/web/templates/admin/add_cron.html b/web/templates/admin/add_cron.html index f0ba4f96..12a56e3f 100644 --- a/web/templates/admin/add_cron.html +++ b/web/templates/admin/add_cron.html @@ -12,9 +12,7 @@ } ?> - -
@@ -438,4 +436,4 @@ - \ No newline at end of file + diff --git a/web/templates/admin/add_db.html b/web/templates/admin/add_db.html index ff202d33..426ba7d6 100644 --- a/web/templates/admin/add_db.html +++ b/web/templates/admin/add_db.html @@ -12,9 +12,7 @@ } ?> - -
diff --git a/web/templates/admin/add_dns.html b/web/templates/admin/add_dns.html index e559166b..3598113d 100644 --- a/web/templates/admin/add_dns.html +++ b/web/templates/admin/add_dns.html @@ -12,9 +12,7 @@ } ?> - -
diff --git a/web/templates/admin/add_dns_rec.html b/web/templates/admin/add_dns_rec.html index 2e65de4a..00824c6d 100644 --- a/web/templates/admin/add_dns_rec.html +++ b/web/templates/admin/add_dns_rec.html @@ -12,9 +12,7 @@ } ?> - -
diff --git a/web/templates/admin/add_firewall.html b/web/templates/admin/add_firewall.html index c884e85d..36c1d78d 100644 --- a/web/templates/admin/add_firewall.html +++ b/web/templates/admin/add_firewall.html @@ -12,9 +12,7 @@ } ?> - -
diff --git a/web/templates/admin/add_firewall_banlist.html b/web/templates/admin/add_firewall_banlist.html index 3b1ae2bf..bbcecdcd 100644 --- a/web/templates/admin/add_firewall_banlist.html +++ b/web/templates/admin/add_firewall_banlist.html @@ -12,9 +12,7 @@ } ?> - -
diff --git a/web/templates/admin/add_ip.html b/web/templates/admin/add_ip.html index 47ca95df..26887c3b 100644 --- a/web/templates/admin/add_ip.html +++ b/web/templates/admin/add_ip.html @@ -12,9 +12,7 @@ } ?> - -
diff --git a/web/templates/admin/add_mail.html b/web/templates/admin/add_mail.html index c736f586..057e8165 100644 --- a/web/templates/admin/add_mail.html +++ b/web/templates/admin/add_mail.html @@ -12,9 +12,7 @@ } ?> - -
@@ -81,4 +79,4 @@ - \ No newline at end of file + diff --git a/web/templates/admin/add_mail_acc.html b/web/templates/admin/add_mail_acc.html index 2b633375..49abd990 100644 --- a/web/templates/admin/add_mail_acc.html +++ b/web/templates/admin/add_mail_acc.html @@ -12,9 +12,7 @@ } ?> - -
diff --git a/web/templates/admin/add_package.html b/web/templates/admin/add_package.html index d39a5a98..94de1957 100644 --- a/web/templates/admin/add_package.html +++ b/web/templates/admin/add_package.html @@ -12,9 +12,7 @@ } ?> - -
diff --git a/web/templates/admin/add_user.html b/web/templates/admin/add_user.html index 069692c4..e469a4dc 100644 --- a/web/templates/admin/add_user.html +++ b/web/templates/admin/add_user.html @@ -12,9 +12,7 @@ } ?> - - diff --git a/web/templates/admin/add_web.html b/web/templates/admin/add_web.html index 22b6a1df..15b108fd 100644 --- a/web/templates/admin/add_web.html +++ b/web/templates/admin/add_web.html @@ -12,9 +12,7 @@ } ?> - -
diff --git a/web/templates/admin/edit_backup_exclusions.html b/web/templates/admin/edit_backup_exclusions.html index 4dd5995c..6bb489ea 100644 --- a/web/templates/admin/edit_backup_exclusions.html +++ b/web/templates/admin/edit_backup_exclusions.html @@ -12,9 +12,7 @@ } ?> - -
@@ -100,4 +98,4 @@ - \ No newline at end of file + diff --git a/web/templates/admin/edit_cron.html b/web/templates/admin/edit_cron.html index 9eb7f106..91baee27 100644 --- a/web/templates/admin/edit_cron.html +++ b/web/templates/admin/edit_cron.html @@ -12,9 +12,7 @@ } ?> - -
@@ -32,7 +30,7 @@
-
- +
diff --git a/web/templates/admin/edit_db.html b/web/templates/admin/edit_db.html index ded1c9b5..6e71678b 100644 --- a/web/templates/admin/edit_db.html +++ b/web/templates/admin/edit_db.html @@ -12,9 +12,7 @@ } ?>
-
-
diff --git a/web/templates/admin/edit_dns.html b/web/templates/admin/edit_dns.html index 780270c1..df8ef25e 100644 --- a/web/templates/admin/edit_dns.html +++ b/web/templates/admin/edit_dns.html @@ -12,9 +12,7 @@ } ?> - -
@@ -84,7 +82,7 @@ } echo ">".htmlentities($value)."\n"; } - ?> + ?> @@ -133,4 +131,4 @@ - \ No newline at end of file + diff --git a/web/templates/admin/edit_dns_rec.html b/web/templates/admin/edit_dns_rec.html index 446fda6b..698cb657 100644 --- a/web/templates/admin/edit_dns_rec.html +++ b/web/templates/admin/edit_dns_rec.html @@ -12,9 +12,7 @@ } ?> - -
@@ -125,4 +123,4 @@ - \ No newline at end of file + diff --git a/web/templates/admin/edit_firewall.html b/web/templates/admin/edit_firewall.html index f95557ac..6f144ebb 100644 --- a/web/templates/admin/edit_firewall.html +++ b/web/templates/admin/edit_firewall.html @@ -12,9 +12,7 @@ } ?> - -
diff --git a/web/templates/admin/edit_ip.html b/web/templates/admin/edit_ip.html index aef5f992..c9ea2c72 100644 --- a/web/templates/admin/edit_ip.html +++ b/web/templates/admin/edit_ip.html @@ -12,9 +12,7 @@ } ?> - -
diff --git a/web/templates/admin/edit_mail.html b/web/templates/admin/edit_mail.html index 7bcfa18a..141725c7 100644 --- a/web/templates/admin/edit_mail.html +++ b/web/templates/admin/edit_mail.html @@ -12,9 +12,7 @@ } ?> - -
@@ -97,4 +95,4 @@ - \ No newline at end of file + diff --git a/web/templates/admin/edit_mail_acc.html b/web/templates/admin/edit_mail_acc.html index b22f2c32..24c76e6d 100644 --- a/web/templates/admin/edit_mail_acc.html +++ b/web/templates/admin/edit_mail_acc.html @@ -12,9 +12,7 @@ } ?> - -
diff --git a/web/templates/admin/edit_package.html b/web/templates/admin/edit_package.html index f8519cd1..34359544 100644 --- a/web/templates/admin/edit_package.html +++ b/web/templates/admin/edit_package.html @@ -12,9 +12,7 @@ } ?> - -
diff --git a/web/templates/admin/edit_server.html b/web/templates/admin/edit_server.html index b6400e15..04a96ead 100644 --- a/web/templates/admin/edit_server.html +++ b/web/templates/admin/edit_server.html @@ -12,9 +12,7 @@ } ?> - -
diff --git a/web/templates/admin/edit_user.html b/web/templates/admin/edit_user.html index 6ccb03f3..567db42f 100644 --- a/web/templates/admin/edit_user.html +++ b/web/templates/admin/edit_user.html @@ -12,9 +12,7 @@ } ?> - -
diff --git a/web/templates/admin/edit_web.html b/web/templates/admin/edit_web.html index 7ace1abc..09c9edb3 100644 --- a/web/templates/admin/edit_web.html +++ b/web/templates/admin/edit_web.html @@ -12,9 +12,7 @@ } ?> - -
diff --git a/web/templates/admin/generate_ssl.html b/web/templates/admin/generate_ssl.html index a5c9a558..a9e490bb 100644 --- a/web/templates/admin/generate_ssl.html +++ b/web/templates/admin/generate_ssl.html @@ -12,9 +12,7 @@ } ?> - -
@@ -125,4 +123,4 @@ - \ No newline at end of file + diff --git a/web/templates/admin/list_backup.html b/web/templates/admin/list_backup.html index 365a816f..0dcac926 100644 --- a/web/templates/admin/list_backup.html +++ b/web/templates/admin/list_backup.html @@ -32,11 +32,7 @@ - - - - diff --git a/web/templates/admin/list_backup_detail.html b/web/templates/admin/list_backup_detail.html index 2c721ba7..cabcec76 100644 --- a/web/templates/admin/list_backup_detail.html +++ b/web/templates/admin/list_backup_detail.html @@ -30,11 +30,7 @@ - - - - @@ -397,4 +393,4 @@ - \ No newline at end of file + diff --git a/web/templates/admin/list_backup_exclusions.html b/web/templates/admin/list_backup_exclusions.html index d9de3763..2593510f 100644 --- a/web/templates/admin/list_backup_exclusions.html +++ b/web/templates/admin/list_backup_exclusions.html @@ -29,11 +29,7 @@ - - - - diff --git a/web/templates/admin/list_cron.html b/web/templates/admin/list_cron.html index c05aa8ed..4ec2de21 100644 --- a/web/templates/admin/list_cron.html +++ b/web/templates/admin/list_cron.html @@ -51,11 +51,7 @@ - - - - @@ -79,8 +75,8 @@ } ?> -
diff --git a/web/templates/admin/list_db.html b/web/templates/admin/list_db.html index 4e5e5140..63fdcae1 100644 --- a/web/templates/admin/list_db.html +++ b/web/templates/admin/list_db.html @@ -72,11 +72,7 @@
-
- - -
@@ -109,8 +105,8 @@ ?> -
diff --git a/web/templates/admin/list_dns.html b/web/templates/admin/list_dns.html index 7f25b0d3..649e3073 100644 --- a/web/templates/admin/list_dns.html +++ b/web/templates/admin/list_dns.html @@ -42,11 +42,7 @@
-
- - -
@@ -69,8 +65,8 @@ } ?> -
diff --git a/web/templates/admin/list_dns_rec.html b/web/templates/admin/list_dns_rec.html index e4b55877..00b7be54 100644 --- a/web/templates/admin/list_dns_rec.html +++ b/web/templates/admin/list_dns_rec.html @@ -32,11 +32,7 @@
-
- - -
diff --git a/web/templates/admin/list_firewall.html b/web/templates/admin/list_firewall.html index 73990d58..ab24069a 100644 --- a/web/templates/admin/list_firewall.html +++ b/web/templates/admin/list_firewall.html @@ -45,11 +45,7 @@ - - - - @@ -72,8 +68,8 @@ } ?> -
diff --git a/web/templates/admin/list_firewall_banlist.html b/web/templates/admin/list_firewall_banlist.html index ae6f835d..40193198 100644 --- a/web/templates/admin/list_firewall_banlist.html +++ b/web/templates/admin/list_firewall_banlist.html @@ -30,11 +30,7 @@
-
- - -
@@ -47,7 +43,7 @@ foreach ($data as $key => $value) { ++$i; list($ip,$chain) = explode(":",$key); - + ?>
diff --git a/web/templates/admin/list_ip.html b/web/templates/admin/list_ip.html index ada609a2..1875f7bb 100644 --- a/web/templates/admin/list_ip.html +++ b/web/templates/admin/list_ip.html @@ -42,11 +42,7 @@
- - - - diff --git a/web/templates/admin/list_log.html b/web/templates/admin/list_log.html index cc9011e2..34a676c6 100644 --- a/web/templates/admin/list_log.html +++ b/web/templates/admin/list_log.html @@ -14,9 +14,6 @@ - - - diff --git a/web/templates/admin/list_mail.html b/web/templates/admin/list_mail.html index 27285db5..21a68ef5 100644 --- a/web/templates/admin/list_mail.html +++ b/web/templates/admin/list_mail.html @@ -50,11 +50,7 @@ - - - - @@ -86,8 +82,8 @@ ?> -
">
diff --git a/web/templates/admin/list_mail_acc.html b/web/templates/admin/list_mail_acc.html index 9607d127..28e1f90b 100644 --- a/web/templates/admin/list_mail_acc.html +++ b/web/templates/admin/list_mail_acc.html @@ -49,11 +49,7 @@
-
- - -
@@ -83,7 +79,7 @@
" - v_unit_id="" v_section="mail_acc" sort-date="" sort-name="" sort-disk="" + v_unit_id="" v_section="mail_acc" sort-date="" sort-name="" sort-disk="" sort-star="">
diff --git a/web/templates/admin/list_packages.html b/web/templates/admin/list_packages.html index d06f0608..1812bd84 100644 --- a/web/templates/admin/list_packages.html +++ b/web/templates/admin/list_packages.html @@ -37,11 +37,7 @@
-
- - -
@@ -56,8 +52,8 @@ ?> -
diff --git a/web/templates/admin/list_rrd.html b/web/templates/admin/list_rrd.html index 756193fb..9245ada4 100644 --- a/web/templates/admin/list_rrd.html +++ b/web/templates/admin/list_rrd.html @@ -41,11 +41,7 @@
-
- - -
@@ -115,4 +111,4 @@
- \ No newline at end of file + diff --git a/web/templates/admin/list_search.html b/web/templates/admin/list_search.html index 3db736d3..110feb87 100644 --- a/web/templates/admin/list_search.html +++ b/web/templates/admin/list_search.html @@ -23,9 +23,6 @@ - - - diff --git a/web/templates/admin/list_services.html b/web/templates/admin/list_services.html index aa85671c..0be6efe4 100644 --- a/web/templates/admin/list_services.html +++ b/web/templates/admin/list_services.html @@ -36,9 +36,6 @@ - - - diff --git a/web/templates/admin/list_ssl.html b/web/templates/admin/list_ssl.html index aa2addf9..41541904 100644 --- a/web/templates/admin/list_ssl.html +++ b/web/templates/admin/list_ssl.html @@ -12,9 +12,7 @@ } ?> - -
@@ -84,4 +82,4 @@ - \ No newline at end of file + diff --git a/web/templates/admin/list_stats.html b/web/templates/admin/list_stats.html index 46bd11a3..bc3192d2 100644 --- a/web/templates/admin/list_stats.html +++ b/web/templates/admin/list_stats.html @@ -37,11 +37,7 @@ - - - - @@ -265,4 +261,4 @@ - \ No newline at end of file + diff --git a/web/templates/admin/list_updates.html b/web/templates/admin/list_updates.html index 86e3c96c..4529dc24 100644 --- a/web/templates/admin/list_updates.html +++ b/web/templates/admin/list_updates.html @@ -35,11 +35,7 @@ - - - - diff --git a/web/templates/admin/list_user.html b/web/templates/admin/list_user.html index ae0651af..a4753aa3 100644 --- a/web/templates/admin/list_user.html +++ b/web/templates/admin/list_user.html @@ -54,11 +54,7 @@ - - - - @@ -81,8 +77,8 @@ } ?> -
diff --git a/web/templates/admin/list_web.html b/web/templates/admin/list_web.html index 7f610b1a..94556eb5 100644 --- a/web/templates/admin/list_web.html +++ b/web/templates/admin/list_web.html @@ -38,16 +38,13 @@
-
+ - - -
@@ -120,9 +117,9 @@ } ?> -
@@ -210,7 +207,7 @@ sort-name="" sort-bandwidth="" sort-dis
- +
@@ -222,7 +219,7 @@ sort-name="" sort-bandwidth="" sort-dis
- +
@@ -251,7 +248,7 @@ sort-name="" sort-bandwidth="" sort-dis - +
:
@@ -259,7 +256,7 @@ sort-name="" sort-bandwidth="" sort-dis
- +
:
diff --git a/web/templates/footer.html b/web/templates/footer.html index e0bd4dea..1a2795f8 100644 --- a/web/templates/footer.html +++ b/web/templates/footer.html @@ -8,10 +8,42 @@ + + +
+
+

+
+ +
+ -
-
@@ -112,4 +110,4 @@ -
\ No newline at end of file + diff --git a/web/templates/user/edit_user.html b/web/templates/user/edit_user.html index 80bf0e31..2b1b2417 100644 --- a/web/templates/user/edit_user.html +++ b/web/templates/user/edit_user.html @@ -12,9 +12,7 @@ } ?> - -
diff --git a/web/templates/user/list_user.html b/web/templates/user/list_user.html index e71d286a..eea0e93a 100644 --- a/web/templates/user/list_user.html +++ b/web/templates/user/list_user.html @@ -52,11 +52,7 @@ - - - - @@ -79,8 +75,8 @@ } ?> -
diff --git a/web/templates/user/list_web.html b/web/templates/user/list_web.html index 9f08d0ab..fefe74d1 100644 --- a/web/templates/user/list_web.html +++ b/web/templates/user/list_web.html @@ -36,18 +36,13 @@
-
- + - - - -
@@ -122,8 +117,8 @@ -