From ab6f25e097800a1cb8f48c9aeda88c03397c5c7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Tue, 9 Mar 2004 17:07:43 +0000 Subject: [PATCH] Support for site configurable header and footer (patch #893477). --- ChangeLog | 4 ++++ config.footer.inc.php | 6 ++++++ config.header.inc.php | 6 ++++++ footer.inc.php | 5 ++--- header.inc.php | 5 ++++- libraries/auth/cookie.auth.lib.php | 9 +++++++++ libraries/auth/http.auth.lib.php | 6 ++++++ 7 files changed, 37 insertions(+), 4 deletions(-) create mode 100644 config.footer.inc.php create mode 100644 config.header.inc.php diff --git a/ChangeLog b/ChangeLog index 3ffbdf4c6..5a5c6ff53 100755 --- a/ChangeLog +++ b/ChangeLog @@ -20,6 +20,10 @@ $Source$ * libraries/config_import.lib.php, libraries/common.lib.php, libraries/display_export.lib.php, libraries/export/sql.php, lang/*: Can add custom text to SQL export headers (RFE #874361). + * config.footer.inc.php, config.header.inc.php, footer.inc.php, + header.inc.php, libraries/auth/cookie.auth.lib.php, + libraries/auth/http.auth.lib.php: Support for site configurable header + and footer (patch #893477). 2004-03-05 Marc Delisle * libraries/sqlparser.lib.php: bug 909752, floating point digit diff --git a/config.footer.inc.php b/config.footer.inc.php new file mode 100644 index 000000000..8a2d1bb90 --- /dev/null +++ b/config.footer.inc.php @@ -0,0 +1,6 @@ + diff --git a/config.header.inc.php b/config.header.inc.php new file mode 100644 index 000000000..d2ba5a296 --- /dev/null +++ b/config.header.inc.php @@ -0,0 +1,6 @@ + diff --git a/footer.inc.php b/footer.inc.php index bae3371e7..c5ba45d30 100644 --- a/footer.inc.php +++ b/footer.inc.php @@ -3,9 +3,6 @@ // vim: expandtab sw=4 ts=4 sts=4: /** - * In this file you may add PHP or HTML statements that will be used to define - * the footer for phpMyAdmin pages. - * * WARNING: This script has to be included at the very end of your code because * it will stop the script execution! */ @@ -130,6 +127,8 @@ if (isset($GLOBALS['userlink']) && $GLOBALS['userlink']) { } ?> + + diff --git a/header.inc.php b/header.inc.php index e1267916d..e686a121a 100644 --- a/header.inc.php +++ b/header.inc.php @@ -122,7 +122,10 @@ if (empty($GLOBALS['is_header_sent'])) { } ?> > - ; font-size: + + +

@@ -247,6 +250,9 @@ input.textfield {font-family: ; font-size:

+ + + + + + diff --git a/libraries/auth/http.auth.lib.php b/libraries/auth/http.auth.lib.php index 17d444355..5bfeeb16b 100644 --- a/libraries/auth/http.auth.lib.php +++ b/libraries/auth/http.auth.lib.php @@ -46,12 +46,18 @@ h1 {font-family: ; font-size: + + +


+ + +