From 4fee252b31d083c40bab6a93b7aa4e0665afb1af Mon Sep 17 00:00:00 2001 From: Ruan Date: Wed, 8 Jul 2015 08:36:27 +0200 Subject: [PATCH] Clean up page headers --- bans.php | 10 +--------- includes/page.php | 10 ++++++++++ mutes.php | 10 +--------- warnings.php | 10 +--------- 4 files changed, 13 insertions(+), 27 deletions(-) diff --git a/bans.php b/bans.php index 2e7e84e..948a92c 100644 --- a/bans.php +++ b/bans.php @@ -1,15 +1,7 @@ Tempbans - <?php echo $name; ?>
-
-
-

Bans

- -
-
+
diff --git a/includes/page.php b/includes/page.php index aa69284..3085013 100644 --- a/includes/page.php +++ b/includes/page.php @@ -77,6 +77,16 @@ function clean($text) { return $text; } +function print_page_header($title) { + echo(' +
+
+

' . $title . '

+
+
+ '); +} + function print_table_headers($headers) { echo(""); foreach ($headers as $header) { diff --git a/mutes.php b/mutes.php index 0a22a5e..770274a 100644 --- a/mutes.php +++ b/mutes.php @@ -1,15 +1,7 @@ TempMutes - <?php echo $name; ?>
-
-
-

Mutes

- -
-
+
diff --git a/warnings.php b/warnings.php index 9209551..42a2a9f 100644 --- a/warnings.php +++ b/warnings.php @@ -1,15 +1,7 @@ Warnings - <?php echo $name; ?>
-
-
-

Warnings

- -
-
+