aboutsummaryrefslogtreecommitdiffstats
path: root/admin/themes
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2012-02-07 21:25:20 +0000
committerrvelices <rv-github@modusoptimus.com>2012-02-07 21:25:20 +0000
commitecf196ba31267f589618fdddec007e3570866334 (patch)
tree7bc37e1c91ebb30a387adfe6c6542c3278c6c3a0 /admin/themes
parent14a17a5ab2c5d2b8674506572f7eb0c7c4958bae (diff)
upgrade jquery to 1.7.1
mouseout on index drop down bozes improved multisize center of interest git-svn-id: http://piwigo.org/svn/trunk@13052 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/themes/default/template/picture_coi.tpl20
1 files changed, 12 insertions, 8 deletions
diff --git a/admin/themes/default/template/picture_coi.tpl b/admin/themes/default/template/picture_coi.tpl
index 8287d3701..8465a5765 100644
--- a/admin/themes/default/template/picture_coi.tpl
+++ b/admin/themes/default/template/picture_coi.tpl
@@ -8,13 +8,17 @@
<a href="{$U_EDIT}">{'Edit photo information'|@translate}</a>
</div>
-<div>
-<img src="{$U_SQUARE}" alt="{$ALT}">
-<img src="{$U_THUMB}" alt="{$ALT}">
-</div>
-
-<div>
<form method="post">
+
+<fieldset>
+<legend>{'Crop'|@translate}</legend>
+{foreach from=$cropped_derivatives item=deriv}
+<img src="{$deriv.U_IMG}" alt="{$ALT}" {$deriv.HTM_SIZE}>
+{/foreach}
+</fieldset>
+
+<fieldset>
+<legend>{'Center of interest'|@translate}</legend>
<input type="hidden" id="l" name="l" value="{if isset($coi)}{$coi.l}{/if}">
<input type="hidden" id="t" name="t" value="{if isset($coi)}{$coi.t}{/if}">
<input type="hidden" id="r" name="r" value="{if isset($coi)}{$coi.r}{/if}">
@@ -25,8 +29,8 @@
<p>
<input type="submit" name="submit" value="{'Submit'|@translate}">
</p>
+</fieldset>
</form>
-</div>
{footer_script}
{literal}
@@ -51,7 +55,7 @@ function jOnRelease() {
{/literal}
jQuery("#jcrop").Jcrop( {ldelim}
- boxWidth: 400, boxHeight: 400,
+ boxWidth: 500, boxHeight: 400,
onChange: jOnChange,
onRelease: jOnRelease
}