commit 9569d4ce0725a196d43f803cffdd962ba6a6d317 from: mischa date: Tue Sep 06 12:47:12 2022 UTC template cleanup commit - fae4c3876fd433069bb252131982c03593043a4f commit + 9569d4ce0725a196d43f803cffdd962ba6a6d317 blob - ffe1f72d9b2e502024b64275e632f2e4409574cf blob + 188dd0c0a3e73aba81b5d375fa1414a11ecbf8ca --- templates/footer.tpl +++ templates/footer.tpl @@ -2,8 +2,8 @@ OpenSMTPD Admin " . FOOTER_TEXT . ""; + echo '   |   '; + echo '' . FOOTER_TEXT . ''; } ?> blob - 705f4dcf0d08f08d1c69f50807339cde18728447 blob + 4dcc433647adb5ae45bb7538d55e552630f19bb5 --- templates/header.tpl +++ templates/header.tpl @@ -10,25 +10,18 @@ -"; -if (file_exists(realpath("../stylesheet.css"))) echo ""; -?> + OpenSMTPD Admin - <?php echo $_SERVER['HTTP_HOST']; ?>
"; - echo ""; + echo ''; + echo ''; } -if (file_exists(realpath("../stylesheet.css"))) { - echo ""; - echo ""; -} if (SHOW_HEADER == "YES" && HEADER_TEXT) { - echo "

" . HEADER_TEXT . "

"; + echo '

' . HEADER_TEXT . '

'; } ?>
blob - a2d281dcbf0bc6ce0673835e99ab7b15919ee465 blob + 47305996479aff1eec5fe02073eee3d54d9b0c56 --- templates/menu.tpl +++ templates/menu.tpl @@ -6,10 +6,8 @@
  • -
  • -
  • @@ -28,8 +26,8 @@ "; - include("motd.txt"); - echo ""; + echo '
    '; + include 'motd.txt'; + echo '
    '; } ?>