]> git.mxchange.org Git - friendica.git/blobdiff - view/cropbody.tpl
Merge https://github.com/friendica/friendica into pull
[friendica.git] / view / cropbody.tpl
index 39395af8e14c257314db03fa2dd33f3eb320dc0d..b484d15bf7f2fb3f81b549ce7a150b2a56966e9f 100644 (file)
@@ -1,9 +1,9 @@
-<h1>Crop Image</h1>
+<h1>$title</h1>
 <p id="cropimage-desc">
-Please adjust the image cropping for optimum viewing.
+$desc
 </p>
 <div id="cropimage-wrapper">
-<img src="$image_url" id="croppa" class="imgCrop" alt="" />
+<img src="$image_url" id="croppa" class="imgCrop" alt="$title" />
 </div>
 <div id="cropimage-preview-wrapper" >
 <div id="previewWrap" ></div>
@@ -40,8 +40,8 @@ Please adjust the image cropping for optimum viewing.
 </script>
 
 <form action="profile_photo/$resource" id="crop-image-form" method="post" />
+<input type='hidden' name='form_security_token' value='$form_security_token'>
 
-<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" />
@@ -51,7 +51,7 @@ Please adjust the image cropping for optimum viewing.
 <input type="hidden" name="width"  id="width" />
 
 <div id="crop-image-submit-wrapper" >
-<input type="submit" name="submit" value="Done Editing" />
+<input type="submit" name="submit" value="$done" />
 </div>
 
 </form>