Move footer.inc.php, header.inc.php and header_printview.inc.php to libraries folder as it does not require direct access.

This commit is contained in:
Michal Čihař
2005-11-24 09:12:17 +00:00
parent e040c424fa
commit 6aeabf44d1
65 changed files with 118 additions and 118 deletions

View File

@@ -16,10 +16,10 @@ if (!$cfg['ShowChgPassword']) {
$cfg['ShowChgPassword'] = PMA_DBI_select_db('mysql');
}
if ($cfg['Server']['auth_type'] == 'config' || !$cfg['ShowChgPassword']) {
require_once('./header.inc.php');
require_once('./libraries/header.inc.php');
echo '<p><b>' . $strError . '</b></p>' . "\n"
. '<p>&nbsp;&nbsp;&nbsp;&nbsp;' . $strNoRights . '</p>' . "\n";
require_once('./footer.inc.php');
require_once('./libraries/footer.inc.php');
} // end if
@@ -72,7 +72,7 @@ if (isset($nopass)) {
: '';
// Displays the page
require_once('./header.inc.php');
require_once('./libraries/header.inc.php');
echo '<h1>' . $strChangePassword . '</h1>' . "\n\n";
$show_query = 'y';
PMA_showMessage($strUpdateProfileMessage);
@@ -91,7 +91,7 @@ if (isset($nopass)) {
*/
// Loads the headers
$js_to_run = 'user_password.js';
require_once('./header.inc.php');
require_once('./libraries/header.inc.php');
echo '<h1>' . $strChangePassword . '</h1>' . "\n\n";
// Displays an error message if required
@@ -171,5 +171,5 @@ if (PMA_MYSQL_INT_VERSION >= 40102) {
/**
* Displays the footer
*/
require_once('./footer.inc.php');
require_once('./libraries/footer.inc.php');
?>