-{{*
- * AUTOMATICALLY GENERATED TEMPLATE
- * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
- *
- *}}
<h1>{{$title}}</h1>
<p id="cropimage-desc">
{{$desc}}
<script type="text/javascript" language="javascript">
function onEndCrop( coords, dimensions ) {
- $( 'x1' ).value = coords.x1;
- $( 'y1' ).value = coords.y1;
- $( 'x2' ).value = coords.x2;
- $( 'y2' ).value = coords.y2;
- $( 'width' ).value = dimensions.width;
- $( 'height' ).value = dimensions.height;
+ $PR( 'x1' ).value = coords.x1;
+ $PR( 'y1' ).value = coords.y1;
+ $PR( 'x2' ).value = coords.x2;
+ $PR( 'y2' ).value = coords.y2;
+ $PR( 'width' ).value = dimensions.width;
+ $PR( 'height' ).value = dimensions.height;
}
Event.observe( window, 'load', function() {
<input type="hidden" name="width" id="width" />
<div id="crop-image-submit-wrapper" >
-<input type="submit" name="submit" value="{{$done}}" />
+<input type="submit" name="submit" value="{{$done|escape:'html'}}" />
</div>
</form>