aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authordave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-04 17:29:03 +0000
committerdave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-04 17:29:03 +0000
commitde38652b931cd62f8d6d7248acf2b2575fcac062 (patch)
tree08d0b8c992bd8e1b88e7c7b150896cf17f50d01e /mod
parent51f4bbf32d5d560e08dda3073bfdefc3799c09f4 (diff)
downloadelgg-de38652b931cd62f8d6d7248acf2b2575fcac062.tar.gz
elgg-de38652b931cd62f8d6d7248acf2b2575fcac062.tar.bz2
changes to the icon editing page.
git-svn-id: https://code.elgg.org/elgg/trunk@1302 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod')
-rw-r--r--mod/profile/views/default/profile/editicon.php32
1 files changed, 4 insertions, 28 deletions
diff --git a/mod/profile/views/default/profile/editicon.php b/mod/profile/views/default/profile/editicon.php
index 7bc142a26..b580426b7 100644
--- a/mod/profile/views/default/profile/editicon.php
+++ b/mod/profile/views/default/profile/editicon.php
@@ -5,7 +5,7 @@
*
* @package ElggProfile
* @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
- * @author Ben Werdmuller <ben@curverider.co.uk>
+ * @author Curverider
* @copyright Curverider Ltd 2008
* @link http://elgg.com/
*
@@ -61,14 +61,6 @@
var $x1, $y1, $x2, $y2, $w, $h;
function selectChange(img, selection){
-
- //delete this once we have tested, it is for the coordinate display
- $x1.text(selection.x1);
- $y1.text(selection.y1);
- $x2.text(selection.x2);
- $y2.text(selection.y2);
- $w.text(selection.width);
- $h.text(selection.height);
//populate the form with the correct coordinates once a user has cropped their image
document.getElementById('x_1').value = selection.x1;
@@ -110,24 +102,6 @@
style="float: left; margin-right: 10px;" />
<br />
</p>
-
- <div style="float: right; margin-left: 10px; margin-top:-200px;">
- <p style="background: #eee; border: solid 1px #ddd; margin: 0; padding: 10px;">
- <b>Selection coordinates:</b><br />
-
- <b>X<sub>1</sub>:</b> <span id="x1"></span><br />
- <b>Y<sub>1</sub>:</b> <span id="y1"></span><br />
- <b>X<sub>2</sub>:</b> <span id="x2"></span><br />
-
- <b>Y<sub>2</sub>:</b> <span id="y2"></span><br />
- <br />
- <b>Selection dimensions:</b><br />
- <b>Width:</b> <span id="w"></span><br />
- <b>Height:</b> <span id="h"></span>
-
- </p>
- </div>
-
<form action="<?php echo $vars['url']; ?>action/profile/cropicon" method="post" />
<input type="hidden" name="username" value="<?php echo $vars['user']->username; ?>" />
<input type="hidden" name="x_1" value="<?php echo $vars['user']->x1; ?>" id="x_1" />
@@ -135,4 +109,6 @@
<input type="hidden" name="y_1" value="<?php echo $vars['user']->y1; ?>" id="y_1" />
<input type="hidden" name="y_2" value="<?php echo $vars['user']->y2; ?>" id="y_2" />
<input type="submit" name="submit" value="<?php echo elgg_echo("profile:createicon"); ?>" />
-</form> \ No newline at end of file
+</form>
+
+<div class="clearfloat"></div> \ No newline at end of file