aboutsummaryrefslogtreecommitdiffstats
path: root/themes
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2010-03-24 00:39:34 +0000
committerpatdenice <patdenice@piwigo.org>2010-03-24 00:39:34 +0000
commit151920ed0943568ad51bd6d9bacadcdea46fea4f (patch)
tree1af7e76fe85079e485a9eedc19d8daaefab27243 /themes
parent8802877a844a9604072dd2ebbfddc668d53a12d2 (diff)
Feature 1533: Allow activation or deactivation of download icon.
Add display configuration for picture properties. git-svn-id: http://piwigo.org/svn/trunk@5304 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'themes')
-rw-r--r--themes/default/template/picture.tpl22
1 files changed, 20 insertions, 2 deletions
diff --git a/themes/default/template/picture.tpl b/themes/default/template/picture.tpl
index 84dd8e43f..b1378132e 100644
--- a/themes/default/template/picture.tpl
+++ b/themes/default/template/picture.tpl
@@ -114,30 +114,43 @@ y.callService(
{/if}
<table id="standard" class="infoTable" summary="{'Some info about this picture'|@translate}">
+ {if $display_info.author}
<tr id="Author">
<td class="label">{'Author'|@translate}</td>
<td class="value">{if isset($INFO_AUTHOR)}{$INFO_AUTHOR}{else}{'N/A'|@translate}{/if}</td>
</tr>
+ {/if}
+ {if $display_info.created_on}
<tr id="datecreate">
<td class="label">{'Created on'|@translate}</td>
<td class="value">{if isset($INFO_CREATION_DATE)}{$INFO_CREATION_DATE}{else}{'N/A'|@translate}{/if}</td>
</tr>
+ {/if}
+ {if $display_info.posted_on}
<tr id="datepost">
<td class="label">{'Posted on'|@translate}</td>
<td class="value">{$INFO_POSTED_DATE}</td>
</tr>
+ {/if}
+ {if $display_info.dimensions}
<tr id="Dimensions">
<td class="label">{'Dimensions'|@translate}</td>
<td class="value">{if isset($INFO_DIMENSIONS)}{$INFO_DIMENSIONS}{else}{'N/A'|@translate}{/if}</td>
</tr>
+ {/if}
+ {if $display_info.file}
<tr id="File">
<td class="label">{'File'|@translate}</td>
<td class="value">{$INFO_FILE}</td>
</tr>
+ {/if}
+ {if $display_info.filesize}
<tr id="Filesize">
<td class="label">{'Filesize'|@translate}</td>
<td class="value">{if isset($INFO_FILESIZE)}{$INFO_FILESIZE}{else}{'N/A'|@translate}{/if}</td>
</tr>
+ {/if}
+ {if $display_info.tags}
<tr id="Tags">
<td class="label">{'Tags'|@translate}</td>
<td class="value">
@@ -147,6 +160,8 @@ y.callService(
{/if}
</td>
</tr>
+ {/if}
+ {if $display_info.categories}
<tr id="Categories">
<td class="label">{'Categories'|@translate}</td>
<td class="value">
@@ -159,12 +174,15 @@ y.callService(
{/if}
</td>
</tr>
+ {/if}
+ {if $display_info.visits}
<tr id="Visits">
<td class="label">{'Visits'|@translate}</td>
<td class="value">{$INFO_VISITS}</td>
</tr>
+ {/if}
-{if isset($rate_summary) }
+{if $display_info.average_rate and isset($rate_summary) }
<tr id="Average">
<td class="label">{'Average rate'|@translate}</td>
<td class="value" id="ratingSummary">
@@ -206,7 +224,7 @@ y.callService(
</tr>
{/if}
-{if isset($available_permission_levels) }
+{if $display_info.privacy_level and isset($available_permission_levels) }
<tr id="Privacy">
<td class="label">{'Privacy level'|@translate}:</td>
<td class="value">