diff options
author | Sebastian Mendel <cybot_tm@users.sourceforge.net> | 2006-04-12 15:16:22 +0400 |
---|---|---|
committer | Sebastian Mendel <cybot_tm@users.sourceforge.net> | 2006-04-12 15:16:22 +0400 |
commit | 12f2005466235712d87e9d8169042b95fe140b01 (patch) | |
tree | 48634f37cce1ce50be9256bf20d51d8e66428eb7 /scripts | |
parent | 2511a0372912866b83ad6305487a4c740b385e80 (diff) |
fixed bug #1444466 theme directory not being processed correctly
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/setup.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/setup.php b/scripts/setup.php index 3a21942e3a..b0b1f6d616 100644 --- a/scripts/setup.php +++ b/scripts/setup.php @@ -81,7 +81,7 @@ echo '<?xml version="1.0" encoding="utf-8"?>' . "\n"; div.notice { margin: 0.5em 0 0.5em 0; border: 0.1em solid #FFD700; - background-image: url(../themes/original/img/s_notice.png); + background-image: url(../<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/s_notice.png); background-repeat: no-repeat; background-position: 10px 50%; padding: 10px 10px 10px 36px; @@ -102,7 +102,7 @@ echo '<?xml version="1.0" encoding="utf-8"?>' . "\n"; div.warning { margin: 0.5em 0 0.5em 0; border: 0.1em solid #CC0000; - background-image: url(../themes/original/img/s_warn.png); + background-image: url(../<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/s_warn.png); background-repeat: no-repeat; background-position: 10px 50%; padding: 10px 10px 10px 36px; @@ -123,7 +123,7 @@ echo '<?xml version="1.0" encoding="utf-8"?>' . "\n"; div.error { margin: 0.5em 0 0.5em 0; border: 0.1em solid #ff0000; - background-image: url(../themes/original/img/s_error.png); + background-image: url(../<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/s_error.png); background-repeat: no-repeat; background-position: 10px 50%; padding: 10px 10px 10px 36px; @@ -268,7 +268,7 @@ function version_to_int($version) { * @return string HTML link to documentation */ function get_cfg_doc($anchor) { - return '<a href="../Documentation.html#cfg_' . $anchor . '" target="pma_doc" class="doc"><img class="icon" src="../themes/original/img/b_help.png" width="11" height="11" alt="Documentation" title="Documentation" /></a>'; + return '<a href="../Documentation.html#cfg_' . $anchor . '" target="pma_doc" class="doc"><img class="icon" src="../' . $GLOBALS['cfg']['ThemePath'] . '/original/img/b_help.png" width="11" height="11" alt="Documentation" title="Documentation" /></a>'; } /** |