<%* Default display template Used when displaying lowres/highres picture Layout - Navigation bar (Using an include of navbar.tpl) - Title & rating - Picture - Metadata - Comments *%> <%* !! Navigation bar !! *%> <% include file="navbar.tpl" %> <%* !! Title & Rating !! *%> <%* Picture properties $picture[type] - In reality should be filetype (image/video/audio/text/etc.) $picture[name] - Real filename (without directory path) $picture[title] - Title $picture[url] - URL of the picture/file (to use within img) $picture[path] - Full path of the picture (directory + filename) $picture[link] - URL when clicking on the picture (to use with ahref) $picture[metadata_found] - Set to 1 if the picture does contains IPTC metadata $picture[mime] - MIME type (if listed in filetypes.inc.php) - Used for videos $picture[player] - Recommended player (used along with video) $rating - An array dedicated to the rating module *%>
<% $picture[title] %> <% if $config[use_iptc] %> <% if $picture[metadata_found] %> <% $txt[Found_IPTC_metadata] %> <% else %> <% $txt[No_IPTC_metadata_found] %> <% /if %> <% /if %>
<% $picnavbar %>
<%* Pictures settings [admin only] *%> <% if $admin %> <% $adminpicturebox %> <% /if %> <% if $config[use_rating] %>
<% if $rating[current_rating_raw] %> <% $txt[pic_rating] %> <% $rating[current_rating_formatted] %> <% else %> <% $txt[no_rating] %> <% /if %> <% if ! $rating[already_rated] %>
<% /if %>
<% /if %> <% if $picture[link] %> <% /if %> <% if $picture[type] == 'image' %> <% $picture[title] %> <% elseif $picture[type] == 'video' %> <%* Firefox doesnt need all this crap but IE does... *%> <% if $picture[player] == 'qt' %> <% elseif $picture[player] == 'wmp' %> <% elseif $picture[player] == 'rp' %>
<% elseif $picture[player] == 'flash' %> <% elseif $picture[player] == 'flv' %>
Get Flash to see this player.
<% /if %> <% elseif $picture[type] == 'audio' %> <% $picture[title] %> <% else %> <% $picture[title] %> <% /if %> <% if $picture[link] %><% /if %> <% if $config[use_exif] && $picture[formatted_exif_metadata] %>
<% $picture[formatted_exif_metadata] %>
<% /if %> <% if $config[use_iptc] && $picture[formatted_iptc_metadata] %>
<% $picture[formatted_iptc_metadata] %>
<% /if %> <% if ($config[use_iptc] || $config[use_exif]) && $picture[metadata_array] %>
<% $txt[show_me_more] %>
<% /if %> <% if $picture[type] != 'image' %> <% $txt[Save_as] %> <% /if %> <% if $config[use_comments] %>
<% $txt[comments] %> <% if $picture[user_can_post_comments] %> <% $txt[add_comment] %> <% /if %> <% if $comments %> <% foreach value=comment from=$comments %>
<% $txt[comment_from] %><% $comment[user] %><% $txt[comment_on] %> <% $comment[datetime] %> <% if $admin %> | <% $txt[del_comment] %> <% /if %>
<% $comment[text] %>
<% /foreach %> <% /if %>
<% /if %>