diff options
author | Jezz_X <jezzx2@gmail.com> | 2012-05-12 17:31:28 +1000 |
---|---|---|
committer | Jezz_X <jezzx2@gmail.com> | 2012-05-12 17:54:15 +1000 |
commit | 694a7591dd37c555f8f788d6d6744cab227dd4bf (patch) | |
tree | 6e72045ecf7f4970b5bc5125b7d2fbfb5146a157 /addons/skin.confluence/720p | |
parent | 64dbd935962123a0d38e26449eca65af303e5f82 (diff) |
Fixed: [Confluence] Error in log file about not finding background image
Diffstat (limited to 'addons/skin.confluence/720p')
-rw-r--r-- | addons/skin.confluence/720p/IncludesBackgroundBuilding.xml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/addons/skin.confluence/720p/IncludesBackgroundBuilding.xml b/addons/skin.confluence/720p/IncludesBackgroundBuilding.xml index 96e10a3cd0..b9a645796c 100644 --- a/addons/skin.confluence/720p/IncludesBackgroundBuilding.xml +++ b/addons/skin.confluence/720p/IncludesBackgroundBuilding.xml @@ -1,4 +1,8 @@ <includes> + <variable name="BackgroundImage"> + <value condition="stringcompare(Skin.CurrentTheme,$LOCALIZE[15109])">special://skin/backgrounds/background.jpg</value> + <value condition="!stringcompare(Skin.CurrentTheme,$LOCALIZE[15109])">special://skin/backgrounds/$INFO[Skin.CurrentTheme].jpg</value> + </variable> <include name="CommonBackground"> <control type="Image"> <posx>0</posx> @@ -6,7 +10,7 @@ <width>1280</width> <height>720</height> <aspectratio>scale</aspectratio> - <texture fallback="special://skin/backgrounds/background.jpg">special://skin/backgrounds/$INFO[Skin.CurrentTheme].jpg</texture> + <texture>$VAR[BackgroundImage]</texture> </control> <control type="image"> <posx>0</posx> |