[skin.confluence] v4.5.0
Update 'News' handling in addon info
This commit is contained in:
parent
557880b423
commit
00745d82c6
@ -1,6 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<window>
|
||||
<defaultcontrol always="true">9000</defaultcontrol>
|
||||
<onload>ClearProperty(WhatsNew,home)</onload>
|
||||
<coordinates>
|
||||
<left>185</left>
|
||||
<top>40</top>
|
||||
@ -143,34 +144,9 @@
|
||||
<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>
|
||||
<aligny>center</aligny>
|
||||
<font>font13</font>
|
||||
<scrollout>false</scrollout>
|
||||
<pauseatend>2000</pauseatend>
|
||||
</control>
|
||||
<control type="image">
|
||||
<left>0</left>
|
||||
<top>160</top>
|
||||
<top>130</top>
|
||||
<width>600</width>
|
||||
<height>4</height>
|
||||
<texture>separator.png</texture>
|
||||
@ -178,10 +154,10 @@
|
||||
<control type="label">
|
||||
<description>Description txt</description>
|
||||
<left>0</left>
|
||||
<top>170</top>
|
||||
<top>140</top>
|
||||
<width>300</width>
|
||||
<height>25</height>
|
||||
<label>$LOCALIZE[21821]</label>
|
||||
<label>$VAR[AddonInfoHeading]</label>
|
||||
<align>left</align>
|
||||
<aligny>center</aligny>
|
||||
<font>font13</font>
|
||||
@ -192,7 +168,7 @@
|
||||
<control type="label">
|
||||
<description>Description Page Count</description>
|
||||
<left>310</left>
|
||||
<top>170</top>
|
||||
<top>140</top>
|
||||
<width>300</width>
|
||||
<height>25</height>
|
||||
<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">
|
||||
<description>Description</description>
|
||||
<left>10</left>
|
||||
<top>197</top>
|
||||
<top>167</top>
|
||||
<width>600</width>
|
||||
<height>188</height>
|
||||
<height>218</height>
|
||||
<font>font13</font>
|
||||
<align>justify</align>
|
||||
<textcolor>white</textcolor>
|
||||
<label>$INFO[ListItem.AddonDescription]</label>
|
||||
<label>$VAR[AddonInfoDescription]</label>
|
||||
<pagecontrol>60</pagecontrol>
|
||||
</control>
|
||||
<control type="scrollbar" id="60">
|
||||
<left>610</left>
|
||||
<top>195</top>
|
||||
<top>165</top>
|
||||
<width>25</width>
|
||||
<height>190</height>
|
||||
<texturesliderbackground border="0,14,0,14">ScrollBarV.png</texturesliderbackground>
|
||||
@ -258,7 +234,7 @@
|
||||
<control type="label">
|
||||
<description>Description Page Count</description>
|
||||
<left>310</left>
|
||||
<top>170</top>
|
||||
<top>140</top>
|
||||
<width>300</width>
|
||||
<height>25</height>
|
||||
<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">
|
||||
<description>Description</description>
|
||||
<left>10</left>
|
||||
<top>207</top>
|
||||
<top>177</top>
|
||||
<width>600</width>
|
||||
<height>258</height>
|
||||
<height>288</height>
|
||||
<font>font13</font>
|
||||
<align>left</align>
|
||||
<textcolor>white</textcolor>
|
||||
<label>$INFO[ListItem.AddonDescription]</label>
|
||||
<label>$VAR[AddonInfoDescription]</label>
|
||||
<pagecontrol>61</pagecontrol>
|
||||
</control>
|
||||
<control type="scrollbar" id="61">
|
||||
<left>610</left>
|
||||
<top>205</top>
|
||||
<top>175</top>
|
||||
<width>25</width>
|
||||
<height>260</height>
|
||||
<texturesliderbackground border="0,14,0,14">ScrollBarV.png</texturesliderbackground>
|
||||
@ -306,6 +282,17 @@
|
||||
<onup>9000</onup>
|
||||
<ondown>9000</ondown>
|
||||
<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">
|
||||
<description>Configure Addon</description>
|
||||
<width>220</width>
|
||||
@ -354,6 +341,14 @@
|
||||
<align>center</align>
|
||||
<font>font12_title</font>
|
||||
</control>
|
||||
<control type="button" id="10">
|
||||
<description>Dependencies button</description>
|
||||
<width>220</width>
|
||||
<height>43</height>
|
||||
<label>39024</label>
|
||||
<align>center</align>
|
||||
<font>font12_title</font>
|
||||
</control>
|
||||
</control>
|
||||
<control type="group">
|
||||
<visible>!String.IsEmpty(ListItem.AddonBroken)</visible>
|
||||
|
@ -39,6 +39,18 @@
|
||||
<constant name="DepthFloor">-0.20</constant>
|
||||
<constant name="DepthSideBlade">0.15</constant>
|
||||
<!-- 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="GameSelectHeader">
|
||||
<value condition="Window.IsActive(gamevideofilter)">$LOCALIZE[230]</value>
|
||||
<value condition="Window.IsActive(gameviewmode)">$LOCALIZE[35233]</value>
|
||||
|
Loading…
Reference in New Issue
Block a user