]> git.mxchange.org Git - friendica.git/blobdiff - view/templates/cropbody.tpl
Vier is now a little bit more mobile ready.
[friendica.git] / view / templates / cropbody.tpl
index e6fcd355f4262da1686eb33dea41a75433527ece..4cf030bc9d5124cafeab38b4350d90708b8d9ee0 100644 (file)
@@ -1,8 +1,3 @@
-{{*
- *     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() {
@@ -57,7 +52,7 @@
 <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>