diff options
author | rvelices <rv-github@modusoptimus.com> | 2012-08-01 19:00:54 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2012-08-01 19:00:54 +0000 |
commit | 5bc53c4d746391fcfe4fb0ea82ad88b4794e185e (patch) | |
tree | 52c86db9958fc36f100ee46c3c1eb1333230923b /admin/themes/default/template | |
parent | 4b181b746fa3660f63de96373caf66686cc470b4 (diff) |
feature 2708: in admin, display allowed custom derivatives and ability to delete them
git-svn-id: http://piwigo.org/svn/branches/2.4@17295 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/themes/default/template')
-rw-r--r-- | admin/themes/default/template/configuration.tpl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/admin/themes/default/template/configuration.tpl b/admin/themes/default/template/configuration.tpl index 7fbbb26ad..f612c8386 100644 --- a/admin/themes/default/template/configuration.tpl +++ b/admin/themes/default/template/configuration.tpl @@ -454,6 +454,15 @@ jQuery(document).ready(function(){ <p style="margin:10px 0 0 0;{if isset($ferrors)} display:block;{/if}" class="sizeDetails"> <a href="{$F_ACTION}&action=restore_settings" onclick="return confirm('{'Are you sure?'|@translate|@escape:javascript}');">{'Reset to default values'|@translate}</a> </p> + +{if !empty($custom_derivatives)} +<fieldset class="sizeDetails"><legend>{'custom'|@translate}</legend><table style="margin:0"> +{foreach from=$custom_derivatives item=time key=custom} +<tr><td><label><input type="checkbox" name="delete_custom_derivative_{$custom}"> {'Delete'|@translate} {$custom} ({'Last hit'|@translate}: {$time})</label></td></tr> +{/foreach} +</table></fieldset> +{/if} + </fieldset> {/if} |