From 796b6b3ffef5bb4798aab075ff197f8cdfd62f3d Mon Sep 17 00:00:00 2001 From: plegall Date: Thu, 19 Apr 2012 14:43:30 +0000 Subject: feature 2606: second step on multiple size configuration screen redesign. Configuration settings are saved on form submission. The old screen is still available for tests. Default resize quality set to 95 instead of 85. git-svn-id: http://piwigo.org/svn/trunk@14221 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/themes/default/template/configuration.tpl | 42 +++++++++++++++---------- 1 file changed, 26 insertions(+), 16 deletions(-) (limited to 'admin/themes') diff --git a/admin/themes/default/template/configuration.tpl b/admin/themes/default/template/configuration.tpl index ca54e90d1..d6f0b0064 100644 --- a/admin/themes/default/template/configuration.tpl +++ b/admin/themes/default/template/configuration.tpl @@ -319,8 +319,10 @@ jQuery(document).ready(function(){ }); {/literal}{/footer_script} -{literal} - -{/literal} +{/literal}{/html_head}
{'Original Size'|@translate} @@ -344,27 +346,34 @@ jQuery(document).ready(function(){ - + - + - +
{'Maximum Width'|@translate} {'pixels'|@translate} + {'pixels'|@translate} + {if isset($ferrors.original_resize_maxwidth)}!{/if} +
{'Maximum Height'|@translate} {'pixels'|@translate} + {'pixels'|@translate} + {if isset($ferrors.original_resize_maxheight)}!{/if} +
{'Image Quality'|@translate} % + % + {if isset($ferrors.original_resize_quality)}!{/if} +
-
Warning: the following fields are for test "user interface" test only. Any change won't be saved.
See screen [Administration > Configuration > Multiple Size] to configure sizes.
-
{'Multiple Size'|@translate} @@ -384,17 +393,17 @@ jQuery(document).ready(function(){ - +
- {$d.w} x {$d.h} {'pixels'|@translate}{if $d.crop}, {'Crop'|@translate|lower}{/if} + {$d.w} x {$d.h} {'pixels'|@translate}{if $d.crop}, {'Crop'|@translate|lower}{/if} - + {'edit'|@translate}
{if !$d.must_square} @@ -411,7 +420,7 @@ jQuery(document).ready(function(){ @@ -421,7 +430,7 @@ jQuery(document).ready(function(){ @@ -433,9 +442,10 @@ jQuery(document).ready(function(){ {/foreach}
{if $d.must_square or $d.crop}{'Width'|@translate}{else}{'Maximum Width'|@translate}{/if} - + {'pixels'|@translate} {if isset($ferrors.$type.w)}!{/if}
{if $d.crop}{'Height'|@translate}{else}{'Maximum Height'|@translate}{/if} - + {'pixels'|@translate} {if isset($ferrors.$type.h)}!{/if}
-

+

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

{/if} -- cgit v1.2.3