From 216e7d24acc348aaacaf564e9cc0cb35ec39aa40 Mon Sep 17 00:00:00 2001 From: Sebastian Mendel Date: Wed, 3 May 2006 10:04:41 +0000 Subject: [PATCH] fixed image paths --- aqua/css/theme_right.css.php | 8 ++++---- aqua/layout.inc.php | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/aqua/css/theme_right.css.php b/aqua/css/theme_right.css.php index 174b5b125..35cffed17 100644 --- a/aqua/css/theme_right.css.php +++ b/aqua/css/theme_right.css.php @@ -440,7 +440,7 @@ fieldset.confirmation legend { font-weight: normal; color: #000000; background-color: #DDDDDD; - background-image: url(../themes/aqua/img/AquaStringGreyLarge.png); + background-image: url(../getImgPath(); ?>AquaStringGreyLarge.png); background-repeat: repeat-x; } @@ -566,7 +566,7 @@ ul#topmenu li { /* default tab styles */ .tab, .tabcaution, .tabactive { - background-image: url(../themes/aqua/img/AquaStringGrey.png); background-repeat: repeat-x; + background-image: url(../getImgPath(); ?>AquaStringGrey.png); background-repeat: repeat-x; background-color: #E5E5E5; border: 0.1em solid silver; border-bottom: 0; @@ -585,7 +585,7 @@ a.tabcaution:hover, padding: 0.2em 0.4em 0.2em 0.4em; text-decoration: none; background-color: #E5E5E5; - background-image: url(../themes/aqua/img/AquaStringGrey.png); background-repeat: repeat-x; + background-image: url(../getImgPath(); ?>AquaStringGrey.png); background-repeat: repeat-x; } a.tabcaution:hover { @@ -601,7 +601,7 @@ a.tab:hover, font-weight: bold; color: #FFFFFF; background-color: #8FBDE9; - background-image: url(../themes/aqua/img/AquaString.png); background-repeat: repeat-x; + background-image: url(../getImgPath(); ?>AquaString.png); background-repeat: repeat-x; } /* disabled drop/empty tabs */ diff --git a/aqua/layout.inc.php b/aqua/layout.inc.php index 4057c0849..6184dc808 100644 --- a/aqua/layout.inc.php +++ b/aqua/layout.inc.php @@ -14,7 +14,7 @@ $GLOBALS['cfg']['NaviWidth'] = 175; $GLOBALS['cfg']['NaviColor'] = '#ffffff'; // background for the navi frame -$GLOBALS['cfg']['NaviBackground'] = '#3E7BB6 right repeat-y url(../themes/aqua/img/bg_aquaGrad.png)'; +$GLOBALS['cfg']['NaviBackground'] = '#3E7BB6 right repeat-y url(../' . $_SESSION['PMA_Theme']->getImgPath() . 'bg_aquaGrad.png)'; // color of the pointer in navi frame $GLOBALS['cfg']['NaviPointerColor'] = 'Navy'; @@ -26,7 +26,7 @@ $GLOBALS['cfg']['NaviPointerColor'] = 'Navy'; $GLOBALS['cfg']['MainColor'] = '#000000'; // background for the main frame -//$GLOBALS['cfg']['MainBackground'] = '#3E7BB6 right repeat url(../themes/aqua/img/bg_main.png)'; +//$GLOBALS['cfg']['MainBackground'] = '#3E7BB6 right repeat url(../' . $_SESSION['PMA_Theme']->getImgPath() . 'bg_main.png)'; $GLOBALS['cfg']['MainBackground'] = 'white'; // color of the pointer in browse mode @@ -61,7 +61,7 @@ $GLOBALS['cfg']['FontSize'] = ''; // border $GLOBALS['cfg']['Border'] = 0; // table header and footer color -$GLOBALS['cfg']['ThBackground'] = '#cacaca repeat-x url(../themes/aqua/img/bg_tblHeaders.png)'; +$GLOBALS['cfg']['ThBackground'] = '#cacaca repeat-x url(../' . $_SESSION['PMA_Theme']->getImgPath() . 'bg_tblHeaders.png)'; // table header and footer background $GLOBALS['cfg']['ThColor'] = '#000000'; // table data row background