aboutsummaryrefslogtreecommitdiff
path: root/views/default/forms
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/forms')
-rw-r--r--views/default/forms/avatar/crop.php4
-rw-r--r--views/default/forms/register.php2
-rw-r--r--views/default/forms/user/requestnewpassword.php2
3 files changed, 4 insertions, 4 deletions
diff --git a/views/default/forms/avatar/crop.php b/views/default/forms/avatar/crop.php
index 856546020..cceb42e44 100644
--- a/views/default/forms/avatar/crop.php
+++ b/views/default/forms/avatar/crop.php
@@ -26,7 +26,7 @@ echo elgg_view('input/submit', array('value' => elgg_echo('avatar:create')));
?>
<!-- grab the required js for icon cropping -->
<script type="text/javascript" src="<?php echo elgg_get_site_url(); ?>vendors/jquery/jquery.imgareaselect-0.8.min.js"></script>
-
+<?php //@todo JS 1.8: no ?>
<script type="text/javascript">
// display a preview of the users cropped section
@@ -58,7 +58,7 @@ echo elgg_view('input/submit', array('value' => elgg_echo('avatar:create')));
$(document).ready(function() {
$('<div id="user-avatar-preview"><img src="<?php echo $master_image; ?>" /></div>').insertAfter($('#user-avatar'));
- $('<div id="user-avatar-preview-title"><label><?php echo elgg_echo('avatar:preview'); ?></label></div>').insertBefore($('#user-avatar-preview'));
+ $('<div id="user-avatar-preview-title"><label><?php echo elgg_echo('avatar:preview'); ?></label></div>').insertBefore($('#user-avatar-preview'));
// this produces the coordinates
$('#user-avatar').imgAreaSelect({ selectionOpacity: 0, onSelectEnd: selectChange });
diff --git a/views/default/forms/register.php b/views/default/forms/register.php
index b2f4d14f7..c2a23ad8c 100644
--- a/views/default/forms/register.php
+++ b/views/default/forms/register.php
@@ -57,7 +57,7 @@ echo elgg_view('input/hidden', array('internalname' => 'friend_guid', 'value' =>
echo elgg_view('input/hidden', array('internalname' => 'invitecode', 'value' => $vars['invitecode']));
echo elgg_view('input/submit', array('internalname' => 'submit', 'value' => elgg_echo('register')));
?>
-
+<?php //@todo JS 1.8: no ?>
<script type="text/javascript">
$(document).ready(function() {
$('input[name=name]').focus();
diff --git a/views/default/forms/user/requestnewpassword.php b/views/default/forms/user/requestnewpassword.php
index a235f2cc6..d3823f22b 100644
--- a/views/default/forms/user/requestnewpassword.php
+++ b/views/default/forms/user/requestnewpassword.php
@@ -18,7 +18,7 @@
<p>
<?php echo elgg_view('input/submit', array('value' => elgg_echo('request'))); ?>
</p>
-
+<?php //@todo JS 1.8: no ?>
<script type="text/javascript">
$(document).ready(function() {
$('input[name=username]').focus();