fixes #428, ability to hide "sizes" icon on index.php or picture.php

This commit is contained in:
plegall
2017-04-06 15:52:47 +02:00
parent 1d5279e4a8
commit b0ae23e34d
6 changed files with 82 additions and 19 deletions
+2
View File
@@ -86,10 +86,12 @@ $display_checkboxes = array(
'index_posted_date_icon',
'index_created_date_icon',
'index_slideshow_icon',
'index_sizes_icon',
'index_new_icon',
'picture_metadata_icon',
'picture_slideshow_icon',
'picture_favorite_icon',
'picture_sizes_icon',
'picture_download_icon',
'picture_navigation_icons',
'picture_navigation_thumb',
@@ -65,6 +65,14 @@
</label>
</li>
<li>
<label class="font-checkbox">
<span class="icon-check"></span>
<input type="checkbox" name="index_sizes_icon" {if ($display.index_sizes_icon)}checked="checked"{/if}>
{'Activate icon "%s"'|translate:('Photo sizes'|translate|@ucfirst)}
</label>
</li>
<li>
<label>
{'Number of albums per page'|translate}
@@ -109,6 +117,14 @@
</label>
</li>
<li>
<label class="font-checkbox">
<span class="icon-check"></span>
<input type="checkbox" name="picture_sizes_icon" {if ($display.picture_sizes_icon)}checked="checked"{/if}>
{'Activate icon "%s"'|translate:('Photo sizes'|translate|@ucfirst)}
</label>
</li>
<li>
<label class="font-checkbox">
<span class="icon-check"></span>