[skin.confluence] v5.12.1

Fixed 'What's New' for addon info
This commit is contained in:
Kevin Goffe 2019-02-08 09:38:12 +00:00
parent c77800929b
commit d24b7155e8
3 changed files with 43 additions and 44 deletions

View File

@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<window> <window>
<defaultcontrol always="true">9000</defaultcontrol> <defaultcontrol always="true">9000</defaultcontrol>
<onload>ClearProperty(WhatsNew,home)</onload>
<coordinates> <coordinates>
<left>185</left> <left>185</left>
<top>40</top> <top>40</top>
@ -64,7 +65,7 @@
<top>0</top> <top>0</top>
<width>440</width> <width>440</width>
<height>25</height> <height>25</height>
<label fallback="416">$INFO[ListItem.AddonType]</label> <label fallback="10005">$INFO[ListItem.AddonType]</label>
<align>left</align> <align>left</align>
<aligny>center</aligny> <aligny>center</aligny>
<font>font13</font> <font>font13</font>
@ -88,7 +89,7 @@
<top>30</top> <top>30</top>
<width>440</width> <width>440</width>
<height>25</height> <height>25</height>
<label fallback="416">$INFO[ListItem.AddonCreator]</label> <label fallback="10005">$INFO[ListItem.AddonCreator]</label>
<align>left</align> <align>left</align>
<aligny>center</aligny> <aligny>center</aligny>
<font>font13</font> <font>font13</font>
@ -112,7 +113,7 @@
<top>60</top> <top>60</top>
<width>440</width> <width>440</width>
<height>25</height> <height>25</height>
<label fallback="416">$INFO[ListItem.AddonVersion]</label> <label fallback="10005">$INFO[ListItem.AddonVersion]</label>
<align>left</align> <align>left</align>
<aligny>center</aligny> <aligny>center</aligny>
<font>font13</font> <font>font13</font>
@ -136,32 +137,7 @@
<top>90</top> <top>90</top>
<width>440</width> <width>440</width>
<height>25</height> <height>25</height>
<label fallback="416">$INFO[ListItem.AddonSummary]</label> <label fallback="10005">$INFO[ListItem.AddonSummary]</label>
<align>left</align>
<aligny>center</aligny>
<font>font13</font>
<scrollout>false</scrollout>
<pauseatend>2000</pauseatend>
</control>
<control type="label">
<description>News txt</description>
<left>10</left>
<top>120</top>
<width>140</width>
<height>25</height>
<label>$LOCALIZE[24054]:</label>
<align>right</align>
<aligny>center</aligny>
<font>font13</font>
<textcolor>blue</textcolor>
</control>
<control type="fadelabel">
<description>News Value</description>
<left>160</left>
<top>120</top>
<width>440</width>
<height>25</height>
<label fallback="416">$INFO[ListItem.AddonNews]</label>
<align>left</align> <align>left</align>
<aligny>center</aligny> <aligny>center</aligny>
<font>font13</font> <font>font13</font>
@ -170,7 +146,7 @@
</control> </control>
<control type="image"> <control type="image">
<left>0</left> <left>0</left>
<top>160</top> <top>130</top>
<width>600</width> <width>600</width>
<height>4</height> <height>4</height>
<texture>separator.png</texture> <texture>separator.png</texture>
@ -178,10 +154,10 @@
<control type="label"> <control type="label">
<description>Description txt</description> <description>Description txt</description>
<left>0</left> <left>0</left>
<top>170</top> <top>140</top>
<width>300</width> <width>300</width>
<height>25</height> <height>25</height>
<label>$LOCALIZE[21821]</label> <label>$VAR[AddonInfoHeading]</label>
<align>left</align> <align>left</align>
<aligny>center</aligny> <aligny>center</aligny>
<font>font13</font> <font>font13</font>
@ -192,7 +168,7 @@
<control type="label"> <control type="label">
<description>Description Page Count</description> <description>Description Page Count</description>
<left>310</left> <left>310</left>
<top>170</top> <top>140</top>
<width>300</width> <width>300</width>
<height>25</height> <height>25</height>
<label>$INFO[Container(400).CurrentPage, $LOCALIZE[31024] [COLOR=blue]([/COLOR]]$INFO[Container(400).NumPages,/,[COLOR=blue])[/COLOR]]</label> <label>$INFO[Container(400).CurrentPage, $LOCALIZE[31024] [COLOR=blue]([/COLOR]]$INFO[Container(400).NumPages,/,[COLOR=blue])[/COLOR]]</label>
@ -204,18 +180,18 @@
<control type="textbox" id="400"> <control type="textbox" id="400">
<description>Description</description> <description>Description</description>
<left>10</left> <left>10</left>
<top>197</top> <top>167</top>
<width>600</width> <width>600</width>
<height>188</height> <height>218</height>
<font>font13</font> <font>font13</font>
<align>justify</align> <align>justify</align>
<textcolor>white</textcolor> <textcolor>white</textcolor>
<label>$INFO[ListItem.AddonDescription]</label> <label>$VAR[AddonInfoDescription]</label>
<pagecontrol>60</pagecontrol> <pagecontrol>60</pagecontrol>
</control> </control>
<control type="scrollbar" id="60"> <control type="scrollbar" id="60">
<left>610</left> <left>610</left>
<top>195</top> <top>165</top>
<width>25</width> <width>25</width>
<height>190</height> <height>190</height>
<texturesliderbackground border="0,14,0,14">ScrollBarV.png</texturesliderbackground> <texturesliderbackground border="0,14,0,14">ScrollBarV.png</texturesliderbackground>
@ -258,7 +234,7 @@
<control type="label"> <control type="label">
<description>Description Page Count</description> <description>Description Page Count</description>
<left>310</left> <left>310</left>
<top>170</top> <top>140</top>
<width>300</width> <width>300</width>
<height>25</height> <height>25</height>
<label>$INFO[Container(401).CurrentPage, $LOCALIZE[31024] [COLOR=blue]([/COLOR]]$INFO[Container(401).NumPages,/,[COLOR=blue])[/COLOR]]</label> <label>$INFO[Container(401).CurrentPage, $LOCALIZE[31024] [COLOR=blue]([/COLOR]]$INFO[Container(401).NumPages,/,[COLOR=blue])[/COLOR]]</label>
@ -270,18 +246,18 @@
<control type="textbox" id="401"> <control type="textbox" id="401">
<description>Description</description> <description>Description</description>
<left>10</left> <left>10</left>
<top>207</top> <top>177</top>
<width>600</width> <width>600</width>
<height>258</height> <height>288</height>
<font>font13</font> <font>font13</font>
<align>left</align> <align>left</align>
<textcolor>white</textcolor> <textcolor>white</textcolor>
<label>$INFO[ListItem.AddonDescription]</label> <label>$VAR[AddonInfoDescription]</label>
<pagecontrol>61</pagecontrol> <pagecontrol>61</pagecontrol>
</control> </control>
<control type="scrollbar" id="61"> <control type="scrollbar" id="61">
<left>610</left> <left>610</left>
<top>205</top> <top>175</top>
<width>25</width> <width>25</width>
<height>260</height> <height>260</height>
<texturesliderbackground border="0,14,0,14">ScrollBarV.png</texturesliderbackground> <texturesliderbackground border="0,14,0,14">ScrollBarV.png</texturesliderbackground>
@ -306,6 +282,17 @@
<onup>9000</onup> <onup>9000</onup>
<ondown>9000</ondown> <ondown>9000</ondown>
<itemgap>2</itemgap> <itemgap>2</itemgap>
<control type="button" id="11">
<description>What's New button</description>
<width>220</width>
<height>43</height>
<label>$VAR[AddonInfoButtonLabel]</label>
<align>center</align>
<font>font12_title</font>
<onclick condition="!String.IsEmpty(Window(home).Property(WhatsNew))">ClearProperty(WhatsNew,home)</onclick>
<onclick condition="String.IsEmpty(Window(home).Property(WhatsNew))">SetProperty(WhatsNew,True,home)</onclick>
<visible>!String.IsEmpty(ListItem.AddonNews)</visible>
</control>
<control type="button" id="9"> <control type="button" id="9">
<description>Configure Addon</description> <description>Configure Addon</description>
<width>220</width> <width>220</width>

View File

@ -38,6 +38,18 @@
<constant name="DepthFloor">-0.20</constant> <constant name="DepthFloor">-0.20</constant>
<constant name="DepthSideBlade">0.15</constant> <constant name="DepthSideBlade">0.15</constant>
<!-- VARIABLES --> <!-- VARIABLES -->
<variable name="AddonInfoHeading">
<value condition="!String.IsEmpty(Window(home).Property(WhatsNew))">$LOCALIZE[24054]</value>
<value>$LOCALIZE[21821]</value>
</variable>
<variable name="AddonInfoDescription">
<value condition="!String.IsEmpty(Window(home).Property(WhatsNew))">$INFO[ListItem.AddonNews]</value>
<value>$INFO[ListItem.AddonDescription]</value>
</variable>
<variable name="AddonInfoButtonLabel">
<value condition="!String.IsEmpty(Window(home).Property(WhatsNew))">$LOCALIZE[21821]</value>
<value>$LOCALIZE[24054]</value>
</variable>
<variable name="AddonLabel2"> <variable name="AddonLabel2">
<value condition="!String.IsEmpty(ListItem.Property(Addon.Status))">$INFO[ListItem.Property(Addon.Status)]</value> <value condition="!String.IsEmpty(ListItem.Property(Addon.Status))">$INFO[ListItem.Property(Addon.Status)]</value>
<value condition="!String.IsEmpty(ListItem.AddonSize)">$INFO[ListItem.AddonSize]</value> <value condition="!String.IsEmpty(ListItem.AddonSize)">$INFO[ListItem.AddonSize]</value>

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<addon id="skin.confluence" version="3.1.5" name="Confluence" provider-name="Jezz_X, Team Kodi"> <addon id="skin.confluence" version="3.1.5" name="Confluence" provider-name="Jezz_X, Team Kodi">
<requires> <requires>
<import addon="xbmc.gui" version="5.12.0"/> <import addon="xbmc.gui" version="5.12.1"/>
</requires> </requires>
<extension point="xbmc.gui.skin" debugging="false" effectslowdown="1.0"> <extension point="xbmc.gui.skin" debugging="false" effectslowdown="1.0">
<res width="1280" height="720" aspect="16:9" default="true" folder="720p" /> <res width="1280" height="720" aspect="16:9" default="true" folder="720p" />
@ -145,6 +145,6 @@
<screenshot>resources/screenshot-08.jpg</screenshot> <screenshot>resources/screenshot-08.jpg</screenshot>
<screenshot>resources/screenshot-09.jpg</screenshot> <screenshot>resources/screenshot-09.jpg</screenshot>
</assets> </assets>
<news>Updated language files</news> <news>Fixed 'What's New' for addon info</news>
</extension> </extension>
</addon> </addon>