Support for site configurable header and footer (patch #893477).

This commit is contained in:
Michal Čihař
2004-03-09 17:07:43 +00:00
parent 0914c72f15
commit ab6f25e097
7 changed files with 37 additions and 4 deletions

View File

@@ -204,6 +204,9 @@ input.textfield {font-family: <?php echo $right_font_family; ?>; font-size: <?ph
</head>
<body bgcolor="<?php echo $cfg['RightBgColor']; ?>">
<?php include('./config.header.inc.php'); ?>
<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>
<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']=='') {
?>
<p class="warning"><?php echo $GLOBALS['strSecretRequired']; ?></p>
<?php include('./config.footer.inc.php'); ?>
</body>
</html>
<?php
@@ -370,6 +376,9 @@ if (uname.value == '') {
}
//-->
</script>
<?php include('./config.footer.inc.php'); ?>
</body>
</html>

View File

@@ -46,12 +46,18 @@ h1 {font-family: <?php echo $right_font_family; ?>; font-size: <?php echo
</head>
<body bgcolor="<?php echo $GLOBALS['cfg']['RightBgColor']; ?>">
<?php include('./config.header.inc.php'); ?>
<br /><br />
<center>
<h1><?php echo sprintf($GLOBALS['strWelcome'], ' phpMyAdmin ' . PMA_VERSION); ?></h1>
</center>
<br />
<p><?php echo $GLOBALS['strWrongUser']; ?></p>
<?php include('./config.footer.inc.php'); ?>
</body>
</html>