Support for site configurable header and footer (patch #893477).
This commit is contained in:
@@ -20,6 +20,10 @@ $Source$
|
|||||||
* libraries/config_import.lib.php, libraries/common.lib.php,
|
* libraries/config_import.lib.php, libraries/common.lib.php,
|
||||||
libraries/display_export.lib.php, libraries/export/sql.php, lang/*: Can
|
libraries/display_export.lib.php, libraries/export/sql.php, lang/*: Can
|
||||||
add custom text to SQL export headers (RFE #874361).
|
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 <lem9@users.sourceforge.net>
|
2004-03-05 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* libraries/sqlparser.lib.php: bug 909752, floating point digit
|
* libraries/sqlparser.lib.php: bug 909752, floating point digit
|
||||||
|
6
config.footer.inc.php
Normal file
6
config.footer.inc.php
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* In this file you may add PHP or HTML statements that will be used to define
|
||||||
|
* the footer for phpMyAdmin pages.
|
||||||
|
*/
|
||||||
|
?>
|
6
config.header.inc.php
Normal file
6
config.header.inc.php
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* In this file you may add PHP or HTML statements that will be used to define
|
||||||
|
* the header for phpMyAdmin pages.
|
||||||
|
*/
|
||||||
|
?>
|
@@ -3,9 +3,6 @@
|
|||||||
// vim: expandtab sw=4 ts=4 sts=4:
|
// 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
|
* WARNING: This script has to be included at the very end of your code because
|
||||||
* it will stop the script execution!
|
* it will stop the script execution!
|
||||||
*/
|
*/
|
||||||
@@ -130,6 +127,8 @@ if (isset($GLOBALS['userlink']) && $GLOBALS['userlink']) {
|
|||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
<?php include('./config.footer.inc.php'); ?>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
@@ -122,7 +122,10 @@ if (empty($GLOBALS['is_header_sent'])) {
|
|||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<body bgcolor="<?php echo $GLOBALS['cfg']['RightBgColor'] . '"' . $bkg_img; ?>>
|
<body bgcolor="<?php echo $GLOBALS['cfg']['RightBgColor'] . '"' . $bkg_img; ?>>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
include('./config.header.inc.php');
|
||||||
|
|
||||||
if (!defined('PMA_DISPLAY_HEADING')) {
|
if (!defined('PMA_DISPLAY_HEADING')) {
|
||||||
define('PMA_DISPLAY_HEADING', 1);
|
define('PMA_DISPLAY_HEADING', 1);
|
||||||
}
|
}
|
||||||
|
@@ -204,6 +204,9 @@ input.textfield {font-family: <?php echo $right_font_family; ?>; font-size: <?ph
|
|||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body bgcolor="<?php echo $cfg['RightBgColor']; ?>">
|
<body bgcolor="<?php echo $cfg['RightBgColor']; ?>">
|
||||||
|
|
||||||
|
<?php include('./config.header.inc.php'); ?>
|
||||||
|
|
||||||
<center>
|
<center>
|
||||||
<a href="http://www.phpmyadmin.net" target="_blank"><img name="imLogo" id="imLogo" src="images/pma_logo.png" border="0" width="88" height="31" alt="phpMyAdmin" /></a>
|
<a href="http://www.phpmyadmin.net" target="_blank"><img name="imLogo" id="imLogo" src="images/pma_logo.png" border="0" width="88" height="31" alt="phpMyAdmin" /></a>
|
||||||
<h1><?php echo sprintf($GLOBALS['strWelcome'], ' phpMyAdmin ' . PMA_VERSION . ' - ' . $GLOBALS['strLogin']); ?></h1>
|
<h1><?php echo sprintf($GLOBALS['strWelcome'], ' phpMyAdmin ' . PMA_VERSION . ' - ' . $GLOBALS['strLogin']); ?></h1>
|
||||||
@@ -247,6 +250,9 @@ input.textfield {font-family: <?php echo $right_font_family; ?>; font-size: <?ph
|
|||||||
if ($GLOBALS['cfg']['blowfish_secret']=='') {
|
if ($GLOBALS['cfg']['blowfish_secret']=='') {
|
||||||
?>
|
?>
|
||||||
<p class="warning"><?php echo $GLOBALS['strSecretRequired']; ?></p>
|
<p class="warning"><?php echo $GLOBALS['strSecretRequired']; ?></p>
|
||||||
|
|
||||||
|
<?php include('./config.footer.inc.php'); ?>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
<?php
|
<?php
|
||||||
@@ -370,6 +376,9 @@ if (uname.value == '') {
|
|||||||
}
|
}
|
||||||
//-->
|
//-->
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<?php include('./config.footer.inc.php'); ?>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
@@ -46,12 +46,18 @@ h1 {font-family: <?php echo $right_font_family; ?>; font-size: <?php echo
|
|||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body bgcolor="<?php echo $GLOBALS['cfg']['RightBgColor']; ?>">
|
<body bgcolor="<?php echo $GLOBALS['cfg']['RightBgColor']; ?>">
|
||||||
|
|
||||||
|
<?php include('./config.header.inc.php'); ?>
|
||||||
|
|
||||||
<br /><br />
|
<br /><br />
|
||||||
<center>
|
<center>
|
||||||
<h1><?php echo sprintf($GLOBALS['strWelcome'], ' phpMyAdmin ' . PMA_VERSION); ?></h1>
|
<h1><?php echo sprintf($GLOBALS['strWelcome'], ' phpMyAdmin ' . PMA_VERSION); ?></h1>
|
||||||
</center>
|
</center>
|
||||||
<br />
|
<br />
|
||||||
<p><?php echo $GLOBALS['strWrongUser']; ?></p>
|
<p><?php echo $GLOBALS['strWrongUser']; ?></p>
|
||||||
|
|
||||||
|
<?php include('./config.footer.inc.php'); ?>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
Reference in New Issue
Block a user