remove per theme header and footer.
This commit is contained in:
@@ -11,7 +11,7 @@ $Source$
|
|||||||
libraries/footer.inc.php, libraries/footer_custom.inc.php,
|
libraries/footer.inc.php, libraries/footer_custom.inc.php,
|
||||||
libraries/header.inc.php, libraries/header_custom.inc.php,
|
libraries/header.inc.php, libraries/header_custom.inc.php,
|
||||||
libraries/auth/cookie.auth.lib.php, libraries/auth/http.auth.lib.php:
|
libraries/auth/cookie.auth.lib.php, libraries/auth/http.auth.lib.php:
|
||||||
Header and footer per themes (RFE #984152),
|
Header and footer per themes (RFE #984152) [this part removed later],
|
||||||
config.{header,footer}.inc.php files are now optional.
|
config.{header,footer}.inc.php files are now optional.
|
||||||
* libraries/select_lang.lib.php: Fix undefined indexes.
|
* libraries/select_lang.lib.php: Fix undefined indexes.
|
||||||
* */.cvsignore: Ignore custom headers and temporary files from Vim.
|
* */.cvsignore: Ignore custom headers and temporary files from Vim.
|
||||||
|
@@ -2899,8 +2899,6 @@ RewriteRule ^([a-zA-Z0-9_]+)$ index.php?db=$1 [R]
|
|||||||
<li>edit <tt>layout.inc.php</tt> in "your_theme_name"</li>
|
<li>edit <tt>layout.inc.php</tt> in "your_theme_name"</li>
|
||||||
<li>edit <tt>info.inc.php</tt> in "your_theme_name" to
|
<li>edit <tt>info.inc.php</tt> in "your_theme_name" to
|
||||||
contain your chosen theme name, that will be visible in user interface</li>
|
contain your chosen theme name, that will be visible in user interface</li>
|
||||||
<li>optionally you can add header.inc.php and footer.inc.php files
|
|
||||||
that will be included in header and footer of each page</li>
|
|
||||||
<li>make a new screenshot of your theme and save it under "your_theme_name/screen.png"</li>
|
<li>make a new screenshot of your theme and save it under "your_theme_name/screen.png"</li>
|
||||||
</ul>
|
</ul>
|
||||||
<br />
|
<br />
|
||||||
|
@@ -8,9 +8,4 @@
|
|||||||
if (file_exists('./config.footer.inc.php')) {
|
if (file_exists('./config.footer.inc.php')) {
|
||||||
require('./config.footer.inc.php');
|
require('./config.footer.inc.php');
|
||||||
}
|
}
|
||||||
|
|
||||||
// Include theme footer
|
|
||||||
if (file_exists($GLOBALS['pmaThemePath'] . 'footer.inc.php')) {
|
|
||||||
require($GLOBALS['pmaThemePath'] . 'footer.inc.php');
|
|
||||||
}
|
|
||||||
?>
|
?>
|
||||||
|
@@ -4,11 +4,6 @@
|
|||||||
|
|
||||||
// This file includes all custom headers if they exist.
|
// This file includes all custom headers if they exist.
|
||||||
|
|
||||||
// Include theme header
|
|
||||||
if (file_exists($GLOBALS['pmaThemePath'] . 'header.inc.php')) {
|
|
||||||
require($GLOBALS['pmaThemePath'] . 'header.inc.php');
|
|
||||||
}
|
|
||||||
|
|
||||||
// Include site header
|
// Include site header
|
||||||
if (file_exists('./config.header.inc.php')) {
|
if (file_exists('./config.header.inc.php')) {
|
||||||
require('./config.header.inc.php');
|
require('./config.header.inc.php');
|
||||||
|
Reference in New Issue
Block a user