aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2010-04-03 21:49:41 +0000
committerpatdenice <patdenice@piwigo.org>2010-04-03 21:49:41 +0000
commit389072590498db66414ce8b1aba1ec5e5e0cd439 (patch)
tree876df94736e729eb793352b2c048ef915f032d8d /admin
parent23e4dd37dbf6d437177bca740b25db56b5e68da0 (diff)
Feature 1533: Add download button to display configuration.
git-svn-id: http://piwigo.org/svn/trunk@5618 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin')
-rw-r--r--admin/configuration.php1
-rw-r--r--admin/themes/default/template/configuration.tpl7
2 files changed, 8 insertions, 0 deletions
diff --git a/admin/configuration.php b/admin/configuration.php
index 436661803..7fd66e51f 100644
--- a/admin/configuration.php
+++ b/admin/configuration.php
@@ -86,6 +86,7 @@ $display_checkboxes = array(
'picture_metadata_icon',
'picture_slideshow_icon',
'picture_favorite_icon',
+ 'picture_download_icon',
'picture_navigation_icons',
'picture_navigation_thumb',
);
diff --git a/admin/themes/default/template/configuration.tpl b/admin/themes/default/template/configuration.tpl
index fbe5380fa..4db63e05c 100644
--- a/admin/themes/default/template/configuration.tpl
+++ b/admin/themes/default/template/configuration.tpl
@@ -274,6 +274,13 @@
<li>
<label>
+ <span class="property">{'download this file'|@translate|@ucfirst|@string_format:$pwg->l10n('Activate icon "%s"')}</span>
+ <input type="checkbox" name="picture_download_icon" {if ($display.picture_download_icon)}checked="checked"{/if}>
+ </label>
+ </li>
+
+ <li>
+ <label>
<span class="property">{'add this image to your favorites'|@translate|@ucfirst|@string_format:$pwg->l10n('Activate icon "%s"')}</span>
<input type="checkbox" name="picture_favorite_icon" {if ($display.picture_favorite_icon)}checked="checked"{/if}>
</label>