diff options
author | Friendika <info@friendika.com> | 2011-03-29 17:19:12 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-03-29 17:19:12 -0700 |
commit | f1db34eebcef28cb0748931153926374f6442be6 (patch) | |
tree | 5ea7c9053b1cd6f7ee7166eec70a6caee81a27b6 /view/fr/cropbody.tpl | |
parent | e1fd2ecb16a212c56567ac5c5910d2a2d9754b47 (diff) | |
download | volse-hubzilla-f1db34eebcef28cb0748931153926374f6442be6.tar.gz volse-hubzilla-f1db34eebcef28cb0748931153926374f6442be6.tar.bz2 volse-hubzilla-f1db34eebcef28cb0748931153926374f6442be6.zip |
more templates gone
Diffstat (limited to 'view/fr/cropbody.tpl')
-rw-r--r-- | view/fr/cropbody.tpl | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/view/fr/cropbody.tpl b/view/fr/cropbody.tpl deleted file mode 100644 index 6c509ce1d..000000000 --- a/view/fr/cropbody.tpl +++ /dev/null @@ -1,57 +0,0 @@ -<h1>Crop Image</h1> -<p id="cropimage-desc"> -Merci d'ajuster le cadre de l'image pour un affichage optimal. -</p> -<div id="cropimage-wrapper"> -<img src="$image_url" id="croppa" class="imgCrop" alt="" /> -</div> -<div id="cropimage-preview-wrapper" > -<div id="previewWrap" ></div> -</div> - -<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; - } - - Event.observe( window, 'load', function() { - new Cropper.ImgWithPreview( - 'croppa', - { - previewWrap: 'previewWrap', - minWidth: 175, - minHeight: 175, - maxWidth: 640, - maxHeight: 640, - ratioDim: { x: 100, y:100 }, - displayOnInit: true, - onEndCrop: onEndCrop - } - ); - } - ); - -</script> - -<form action="profile_photo/$resource" id="crop-image-form" method="post" /> - -<input type="hidden" name="imagename" value="$hash" /> -<input type="hidden" name="cropfinal" value="1" /> -<input type="hidden" name="xstart" id="x1" /> -<input type="hidden" name="ystart" id="y1" /> -<input type="hidden" name="xfinal" id="x2" /> -<input type="hidden" name="yfinal" id="y2" /> -<input type="hidden" name="height" id="height" /> -<input type="hidden" name="width" id="width" /> - -<div id="crop-image-submit-wrapper" > -<input type="submit" name="submit" value="Edition terminée" /> -</div> - -</form> |