2015-07-28, 18:14
I managed to get the time and rating next to the title.
But when no movie is selected I want the time to be invisible, same as the rating.
I need some help with this.
But when no movie is selected I want the time to be invisible, same as the rating.
I need some help with this.
PHP Code:
<!-- DOWN: movie duration [TIME IN MINUTES] -->
<control type="group">
<width>160</width>
<visible>![Container.Content(tvshows) + Skin.HasSetting(Disable.NextAired)]</visible>
<control type="label">
<left>0</left>
<top>10</top>
<width>140</width>
<height>60</height>
<align>center</align>
<label>[B]$VAR[DurationVar][/B]</label>
<font>font48</font>
<textcolor>grey</textcolor>
</control>
<control type="label">
<top>60</top>
<width>140</width>
<height>30</height>
<align>center</align>
<label>[LOWERCASE]$LOCALIZE[12391][/LOWERCASE]</label>
<font>font12</font>
<textcolor>grey</textcolor>
</control>
</control>
<!-- UP: movie duration [TIME IN MINUTES] -->
<!-- DOWN: movie rating [RATING AND VOTES] -->
<control type="group">
<visible>!IsEmpty(ListItem.Rating)</visible>
<left>150</left>
<width>160</width>
<control type="label">
<top>10</top>
<width>200</width>
<height>60</height>
<align>center</align>
<label>[B]$INFO[ListItem.Rating][/B]</label>
<font>font48</font>
<textcolor>grey</textcolor>
</control>
<control type="label">
<top>60</top>
<width>200</width>
<height>30</height>
<align>center</align>
<label>[LOWERCASE]$VAR[RatingAndVotesVar][/LOWERCASE]</label>
<font>font12</font>
<textcolor>grey</textcolor>
</control>
</control>
<!-- UP: movie rating [RATING AND VOTES] -->