2009-11-23, 06:12
I'm trying to 'gracefully degrade' my skin so that users that don't have the correct version of XBMC for a function to work can have the menu item 'turned off'. Thus far I have tried the following code, but it always returns true, can anyone give me some idea of how to go about this.
I know again that I could probably looks after this with a short script, but as the problem with my users is that they can't run scripts in my skin as I am using special:// addressing to point to my scripts, this would not solve the problem.
Wyrm (xTV SAF)
PHP Code:
<control type="label">
<description>Test graceful degrade</description>
<posx>650</posx>
<posy>340</posy>
<width>400</width>
<align>right</align>
<label>Test</label>
<font>font13</font>
<textcolor>button-text</textcolor>
<visible>IntegerGreaterThan(System.BuildVersion,21923)</visible>
</control>
Wyrm (xTV SAF)