--- show.tpl 2004-06-18 05:12:05.000000000 +0200 +++ /root/videodb-show.tpl 2004-06-11 01:16:21.000000000 +0200 @@ -1,301 +1,270 @@ -{* - Template for the video detailview - $Id: show.tpl,v 2.24 2004/06/13 15:00:47 andig2 Exp $ -*} - - -
-{if $video.editable} - - - - - -
  -
- - - - -
-
-
- - -
-
-
- - -
-
-
- - -
-
-{else} - {include file="topspacer.tpl"} -{/if} - - - - - - - - - - - - - - - - - - -
- {if $link} - {if $config.imdbBrowser}{assign var="link" value=$link|escape:url}{assign var="link" value="trace.php?urlid=$link"}{/if} - {/if} -{* - {if $video.imdbID}{/if} *} - {html_image file=$video.imgurl link=$link max_width="97" max_height="144"} - - {$video.title} - {if $video.subtitle} -
- {$video.subtitle} - {/if} -
- {if $video.diskid} - {$video.diskid} - {if $video.who} -
- {$lang.notavail} {$video.who} - {/if} - {/if} -
- - {if $video.year != '0000'} - - {/if} - - {if $video.director} - - {/if} - - {if $video.country} - - {/if} - - - - - -
{$lang.year}:{$video.year}
{$lang.director}:{$video.director}
{$lang.country}:{$video.country}
{$lang.seen}: -
- - - {if $video.seen} - {if $video.editable} - - {/if} - - {else} - {if $video.editable} - - {/if} - {/if} -
-
-
- - {if $video.runtime > 0} - - {/if} - - {if $video.language} - - {/if} - - {if $video.mediatype} - - {/if} - - {if $video.owner} - - - - - {/if} - {if $video.custom1name && $video.custom1out} - - - - - {/if} - {if $video.custom2name && $video.custom2out} - - - - - {/if} - {if $video.custom3name && $video.custom3out} - - - - - {/if} - {if $video.custom4name && $video.custom4out} - - - - - {/if} -
{$lang.length}:{math equation="floor(x/60)" x=$video.runtime} hr(s) {math equation="x - floor(x/60) * 60" x=$video.runtime} min ({$video.runtime} min)
{$lang.language}:{$video.language}
{$lang.mediatype}:{$video.mediatype}
{$lang.owner}:{$video.owner} - {if $loggedin and $video.email and $video.owner != $loggedin and $video.who == '' and $video.diskid} - [ {$lang.borrowask} ] - {/if} -
{$video.custom1name}:{$video.custom1out}
{$video.custom2name}:{$video.custom2out}
{$video.custom3name}:{$video.custom3out}
{$video.custom4name}:{$video.custom4out}
-
- {if $genres} - {$lang.genres}:
- {foreach item=genre from=$genres} - {$genre.name}
- {/foreach} - {/if} -
- - -{if $video.plot} - - - - -
- {$lang.plot}:
{$video.plot}
-
-{/if} - -{if $video.filename} - - - - - - -
- - {if $video.filename} - - {/if} - {if $video.filesize > 0} - - {/if} - {if $video.filedate != "0000-00-00 00:00:00"} - - {/if} - {if $video.audio_codec} - - {/if} - {if $video.video_codec} - - {/if} - {if $video.video_height > 0 || $video.video_width > 0} - - {/if} -
{$lang.filename}:{$video.filename}
{$lang.filesize}:{$video.filesize} mb
{$lang.filedate}:{$video.filedate}
{$lang.audiocodec}:{$video.audio_codec}
{$lang.videocodec}:{$video.video_codec}
{$lang.dimension}:{$video.video_width}x{$video.video_height}

-
- - {if $video.comment} - - - - - {/if} - - {if $video.custom1name && $video.custom1out} - - - - - {/if} - - {if $video.custom2name && $video.custom2out} - - - - - {/if} - - {if $video.custom3name && $video.custom3out} - - - - - {/if} - - {if $video.custom4name && $video.custom4out} - - - - - {/if} - -
{$lang.comment}:{$video.comment}
{$video.custom1name}:{$video.custom1out}
{$video.custom2name}:{$video.custom2out}
{$video.custom3name}:{$video.custom3out}
{$video.custom4name}:{$video.custom4out}
-
-{/if} - -{if $video.actors} - - - - -
- {$lang.cast}: - - {counter start=0 print=false name=castcount} - {foreach item=actor from=$video.cast} - - {if $count == 0} - - {/if} - - - - {counter assign=count name=castcount} - {if $count == $config.castcolumns} - {counter start=0 print=false name=castcount} - - {/if} - {/foreach} - - {if $count != 0} - {section name="columnLoop" start=$count loop=$config.castcolumns} - - {/section} - - {/if} - -
-
- {if $actor.imgurl} - {assign var="link" value=$actor.imdburl} - {html_image file=$actor.imgurl max_width=45 max_height=60 align=left}{**} - {/if} - -
{$actor.name}
-
- {foreach item=role from=$actor.roles} - {$role}
- {/foreach} -
-
-
 
-
-{/if} - - -
+{* + Template for the video detailview + $Id: show.tpl,v 2.22 2004/06/05 11:57:34 agohr Exp $ +*} + + + + + + +{if $video.comment != ''} + + + +{/if} +
+{if $video.editable} + + + + + +
  +
+ + + + +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+
+{else} + {include file="topspacer.tpl"} +{/if} + + + + + + + + + + + + + + + + + +
+ {if $video.imdbID} + {assign var="link" value="http://uk.imdb.com/title/tt"|cat:$video.imdbID|cat:"/"} + {if $config.imdbBrowser}{assign var="link" value=$link|escape:url}{assign var="link" value="trace.php?urlid=$link"}{/if} + {/if} +{* + {if $video.imdbID}{/if} *} + {html_image file=$video.imgurl link=$link max_width="97" max_height="144"} + + {$video.title} + {if $video.subtitle} +
+ {$video.subtitle} + {/if} +
+ {if $video.diskid} + {$video.diskid} + {if $video.who} +
+ {$lang.notavail} {$video.who} + {/if} + {/if} +
+ + {if $video.year != '0000'} + + {/if} + + {if $video.director} + + {/if} + + {if $video.country} + + {/if} + + + + + +
{$lang.year}:{$video.year}
{$lang.director}:{$video.director}
{$lang.country}:{$video.country}
{$lang.seen}: +
+ + + {if $video.seen} + {if $video.editable} + + {/if} + + {else} + {if $video.editable} + + {/if} + {/if} +
+
+
+ + {if $video.runtime > 0} + + {/if} + + {if $video.language} + + {/if} + + {if $video.mediatype} + + {/if} + + {if $video.owner} + + + + + {/if} + {if $video.custom1name && $video.custom1out} + + + + + {/if} + {if $video.custom2name && $video.custom2out} + + + + + {/if} + {if $video.custom3name && $video.custom3out} + + + + + {/if} + {if $video.custom4name && $video.custom4out} + + + + + {/if} +
{$lang.length}:{math equation="floor(x/60)" x=$video.runtime} hr(s) {math equation="x - floor(x/60) * 60" x=$video.runtime} min ({$video.runtime} min)
{$lang.language}:{$video.language}
{$lang.mediatype}:{$video.mediatype}
{$lang.owner}:{$video.owner} + {if $loggedin and $video.email and $video.owner != $loggedin and $video.who == '' and $video.diskid} + [ {$lang.borrowask} ] + {/if} +
{$video.custom1name}:{$video.custom1out}
{$video.custom2name}:{$video.custom2out}
{$video.custom3name}:{$video.custom3out}
{$video.custom4name}:{$video.custom4out}
+
+ {if $genres} + {$lang.genres}:
+ {foreach item=genre from=$genres} + {$genre.name}
+ {/foreach} + {/if} +
+ + +{if $video.plot} + + + + +
+ {$lang.plot}:
{$video.plot}
+
+{/if} + +
+ + {if $video.filename} + + {/if} + {if $video.filesize > 0} + + {/if} + {if $video.filedate != "0000-00-00 00:00:00"} + + {/if} + {if $video.audio_codec} + + {/if} + {if $video.video_codec} + + {/if} + {if $video.video_height > 0 || $video.video_width > 0} + + {/if} +
{$lang.filename}:{$video.filename}
{$lang.filesize}:{$video.filesize} mb
{$lang.filedate}:{$video.filedate}
{$lang.audiocodec}:{$video.audio_codec}
{$lang.videocodec}:{$video.video_codec}
{$lang.dimension}:{$video.video_width}x{$video.video_height}

+
+ + + + +
{$lang.comment}:
{$video.comment}
+
+ +{if $video.actors} + + + + +
+ {$lang.cast}: + + {counter start=0 print=false name=castcount} + {foreach item=actor from=$video.cast} + + {if $count == 0} + + {/if} + + + + {counter assign=count name=castcount} + {if $count == $config.castcolumns} + {counter start=0 print=false name=castcount} + + {/if} + {/foreach} + + {if $count != 0} + {section name="columnLoop" start=$count loop=$config.castcolumns-$count} + + {/section} + + {/if} + +
+
+ {if $actor.imgurl} + {assign var="link" value=$actor.imdburl} + {html_image file=$actor.imgurl max_width=45 max_height=60 align=left}{**} + {/if} + +
{$actor.name}
+
+ {foreach item=role from=$actor.roles} + {$role}
+ {/foreach} +
+
+
 
+
+{/if} + + +