aboutsummaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2007-03-09 16:28:49 +0000
committerplegall <plg@piwigo.org>2007-03-09 16:28:49 +0000
commitb0478ef330b8f729554aec55baa81d9e3d02a063 (patch)
tree2be4688f02ba35fe2297f2b7d7de03e8f9eaf5e2 /template
parent81030a7ab40a481d6d8c93539162a4a035ea09d1 (diff)
New: #images.high_filesize was added so that we can sum the filesizes in the
filtered history. #images.high_filesize is filled during metadata synchronization. Bug fixed: in getAttribute XML function, when asking "filesize", it was returning high_filesize. The regex was too simple. git-svn-id: http://piwigo.org/svn/trunk@1883 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template')
-rw-r--r--template/yoga/admin/history.tpl10
-rw-r--r--template/yoga/admin/picture_modify.tpl7
2 files changed, 16 insertions, 1 deletions
diff --git a/template/yoga/admin/history.tpl b/template/yoga/admin/history.tpl
index 570118797..64c0f9535 100644
--- a/template/yoga/admin/history.tpl
+++ b/template/yoga/admin/history.tpl
@@ -65,7 +65,15 @@
</fieldset>
</form>
-<h3>{L_DATE_TITLE}</h3>
+<!-- BEGIN summary -->
+<fieldset>
+ <legend>{lang:Summary}</legend>
+
+ <ul>
+ <li>{summary.FILESIZE}</li>
+ </ul>
+</fieldset>
+<!-- END summary -->
<!-- BEGIN navigation -->
<div class="admin">
diff --git a/template/yoga/admin/picture_modify.tpl b/template/yoga/admin/picture_modify.tpl
index 8ea3360be..283cae73a 100644
--- a/template/yoga/admin/picture_modify.tpl
+++ b/template/yoga/admin/picture_modify.tpl
@@ -37,6 +37,13 @@
<td>{FILESIZE}</td>
</tr>
+<!-- BEGIN high -->
+ <tr>
+ <td><strong>{lang:High filesize}</strong></td>
+ <td>{high.FILESIZE}</td>
+ </tr>
+<!-- END high -->
+
<tr>
<td><strong>{lang:Storage category}</strong></td>
<td>{STORAGE_CATEGORY}</td>