diff --git a/admin/configuration.php b/admin/configuration.php index 70ab9f215..c1cb3099f 100644 --- a/admin/configuration.php +++ b/admin/configuration.php @@ -523,13 +523,13 @@ switch ($page['section']) $template->assign('derivatives', $tpl_vars); $template->assign('resize_quality', ImageStdParams::$quality); - $tpl_vars = array(); - $now = time(); - foreach(ImageStdParams::$custom as $custom=>$time) - { - $tpl_vars[$custom] = ($now-$time<=24*3600) ? l10n('today') : time_since($time, 'day'); - } - $template->assign('custom_derivatives', $tpl_vars); + // $tpl_vars = array(); + // $now = time(); + // foreach(ImageStdParams::$custom as $custom=>$time) + // { + // $tpl_vars[$custom] = ($now-$time<=24*3600) ? l10n('today') : time_since($time, 'day'); + // } + // $template->assign('custom_derivatives', $tpl_vars); } break; diff --git a/admin/themes/default/template/configuration_sizes.tpl b/admin/themes/default/template/configuration_sizes.tpl index 664049b57..db12adde1 100644 --- a/admin/themes/default/template/configuration_sizes.tpl +++ b/admin/themes/default/template/configuration_sizes.tpl @@ -209,33 +209,6 @@ $(".restore-settings-button").each(function() { {/foreach} - -

- {'Image Quality'|translate} - % - {if isset($ferrors.resize_quality)}!{/if} -

-

- {'Reset to default values'|translate} -

- - {if !empty($custom_derivatives)} -
- {'custom'|translate} - - - {foreach from=$custom_derivatives item=time key=custom} - - {/foreach} -
- -
-
- {/if} -