summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@users.sourceforge.net>2011-06-04 18:45:55 +0200
committerTomas Bzatek <tbzatek@users.sourceforge.net>2011-06-04 18:45:55 +0200
commitb960b2a4579bf5cd25124191ff37c5ad30a529ff (patch)
tree90a00c525ba7c667bd924bef593d36b6a34698d9 /templates
parenta894e2f163153553e5ac32a1f2600315971e13c4 (diff)
downloadcataract-b960b2a4579bf5cd25124191ff37c5ad30a529ff.tar.xz
Port EXIF table visibility switch to the new defines system
Diffstat (limited to 'templates')
-rw-r--r--templates/default.xml2
-rw-r--r--templates/template_picture.html4
2 files changed, 4 insertions, 2 deletions
diff --git a/templates/default.xml b/templates/default.xml
index 83a1c1a..826133a 100644
--- a/templates/default.xml
+++ b/templates/default.xml
@@ -99,6 +99,8 @@
<!-- image border style, overriden by <border style> tags from the album source file -->
<define name="BORDER_STYLE" value="border_single" />
+ <!-- show EXIF table in single photo view (comment out to hide it) -->
+ <define name="SHOW_EXIF_TABLE" />
</theme>
<!-- Here you can define another theme, with different templates etc.
diff --git a/templates/template_picture.html b/templates/template_picture.html
index d9b72b2..bce658e 100644
--- a/templates/template_picture.html
+++ b/templates/template_picture.html
@@ -41,7 +41,7 @@
<!-- $(END_IMG_FULLSIZE_LINK) -->
</div>
- <!-- $(BEGIN_EXIF_TABLE) -->
+ <!-- $(ifdef(SHOW_EXIF_TABLE)) -->
<!-- ## EXIF -->
<div class="exif">
<div id="exif_table" style="display: none;">
@@ -60,7 +60,7 @@
:: <a href="javascript: set_exif_table_visibility('yes'); write_exif_table_cookie('yes');">Show EXIF</a>
</div>
</div>
- <!-- $(END_EXIF_TABLE) -->
+ <!-- $(endif(SHOW_EXIF_TABLE)) -->
<!-- ## Footnote, also acts as a bottom border -->
<div class="footnote">