diff --git a/templates/footer.tpl b/templates/footer.tpl index ffe1f72..188dd0c 100644 --- a/templates/footer.tpl +++ b/templates/footer.tpl @@ -2,8 +2,8 @@ OpenSMTPD Admin " . FOOTER_TEXT . ""; + echo '   |   '; + echo '' . FOOTER_TEXT . ''; } ?> diff --git a/templates/header.tpl b/templates/header.tpl index 705f4dc..4dcc433 100644 --- a/templates/header.tpl +++ b/templates/header.tpl @@ -10,25 +10,18 @@ -"; -if (file_exists(realpath("../stylesheet.css"))) echo ""; -?> + OpenSMTPD Admin - <?php echo $_SERVER['HTTP_HOST']; ?>
"; - echo ""; -} -if (file_exists(realpath("../stylesheet.css"))) { - echo ""; - echo ""; + echo ''; + echo ''; } if (SHOW_HEADER == "YES" && HEADER_TEXT) { - echo "

" . HEADER_TEXT . "

"; + echo '

' . HEADER_TEXT . '

'; } ?>
diff --git a/templates/menu.tpl b/templates/menu.tpl index a2d281d..4730599 100644 --- a/templates/menu.tpl +++ b/templates/menu.tpl @@ -6,10 +6,8 @@
  • -
  • -
  • @@ -28,8 +26,8 @@ "; - include("motd.txt"); - echo ""; + echo '
    '; + include 'motd.txt'; + echo '
    '; } ?>