aboutsummaryrefslogtreecommitdiff
path: root/views/default/account
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/account')
-rw-r--r--views/default/account/forms/forgotten_password.php2
-rw-r--r--views/default/account/forms/login.php4
-rw-r--r--views/default/account/forms/register.php2
-rw-r--r--views/default/account/forms/useradd.php2
-rw-r--r--views/default/account/login_dropdown.php18
-rw-r--r--views/default/account/login_walled_garden.php8
6 files changed, 18 insertions, 18 deletions
diff --git a/views/default/account/forms/forgotten_password.php b/views/default/account/forms/forgotten_password.php
index 2fe2bc9d9..48fafe4d8 100644
--- a/views/default/account/forms/forgotten_password.php
+++ b/views/default/account/forms/forgotten_password.php
@@ -15,7 +15,7 @@ $form_body .= "<p>" . elgg_view('input/submit', array('value' => elgg_echo('requ
echo elgg_view('input/form', array(
'action' => "action/user/requestnewpassword",
'body' => $form_body,
- 'class' => "margin_top"
+ 'class' => "margin-top"
));
?>
diff --git a/views/default/account/forms/login.php b/views/default/account/forms/login.php
index 8b4d88583..87dd6d5ad 100644
--- a/views/default/account/forms/login.php
+++ b/views/default/account/forms/login.php
@@ -9,9 +9,9 @@
<p class='loginbox'>
<label><?php echo elgg_echo('loginusername'); ?></label>
- <?php echo elgg_view('input/text', array('internalname' => 'username', 'class' => 'login_textarea')); ?>
+ <?php echo elgg_view('input/text', array('internalname' => 'username', 'class' => 'login-textarea')); ?>
<label><?php echo elgg_echo('password'); ?></label>
- <?php echo elgg_view('input/password', array('internalname' => 'password', 'class' => 'login_textarea')); ?>
+ <?php echo elgg_view('input/password', array('internalname' => 'password', 'class' => 'login-textarea')); ?>
<?php echo elgg_view('input/submit', array('value' => elgg_echo('login'))); ?>
diff --git a/views/default/account/forms/register.php b/views/default/account/forms/register.php
index b0a48cf35..bf629b589 100644
--- a/views/default/account/forms/register.php
+++ b/views/default/account/forms/register.php
@@ -46,7 +46,7 @@ $form_body .= elgg_view('input/submit', array('internalname' => 'submit', 'value
echo elgg_view('input/form', array(
'action' => "{$login_url}action/register",
'body' => $form_body,
- 'class' => "margin_top"
+ 'class' => "margin-top"
));
?>
diff --git a/views/default/account/forms/useradd.php b/views/default/account/forms/useradd.php
index 4729048e6..7c1969f1b 100644
--- a/views/default/account/forms/useradd.php
+++ b/views/default/account/forms/useradd.php
@@ -25,7 +25,7 @@ if ($admin_option) {
$form_body .= elgg_view('input/submit', array('internalname' => 'submit', 'value' => elgg_echo('register'))) . "</p>";
?>
-<div class="admin_settings add_user">
+<div class="admin_settings add-user">
<h3><?php echo elgg_echo('adduser'); ?></h3>
<?php echo elgg_view('input/form', array('action' => "action/useradd", 'body' => $form_body)) ?>
</div> \ No newline at end of file
diff --git a/views/default/account/login_dropdown.php b/views/default/account/login_dropdown.php
index 29eca2347..dc124f4e8 100644
--- a/views/default/account/login_dropdown.php
+++ b/views/default/account/login_dropdown.php
@@ -18,11 +18,11 @@ if ((isset($CONFIG->https_login)) && ($CONFIG->https_login)) {
?>
-<div id="login_dropdown">
- <div id="signin_button" class="signin_button">
+<div id="login-dropdown">
+ <div id="signin-button" class="signin-button">
<a href="<?php echo $CONFIG->url; ?>pg/login" class="signin"><span><?php echo elgg_echo('login') ?></span></a>
</div>
- <fieldset id="signin_menu">
+ <fieldset id="signin-menu">
<?php echo elgg_view('input/form', array('body' => $form_body, 'action' => "{$login_url}action/login")); ?>
</fieldset>
</div>
@@ -32,19 +32,19 @@ $(document).ready(function() {
$(".signin").click(function(e) {
e.preventDefault();
- $("fieldset#signin_menu").toggle();
- $(".signin").toggleClass("menu_open");
- $('.login_textarea.name').focus();
+ $("fieldset#signin-menu").toggle();
+ $(".signin").toggleClass("menu-open");
+ $('.login-textarea.name').focus();
});
- $("fieldset#signin_menu").mouseup(function() {
+ $("fieldset#signin-menu").mouseup(function() {
return false
});
$(document).mouseup(function(e) {
if($(e.target).parent("a.signin").length==0) {
- $(".signin").removeClass("menu_open");
- $("fieldset#signin_menu").hide();
+ $(".signin").removeClass("menu-open");
+ $("fieldset#signin-menu").hide();
}
});
diff --git a/views/default/account/login_walled_garden.php b/views/default/account/login_walled_garden.php
index e24c80f78..9f407bdff 100644
--- a/views/default/account/login_walled_garden.php
+++ b/views/default/account/login_walled_garden.php
@@ -6,9 +6,9 @@
global $CONFIG;
/*
-$form_body = "<label>" . elgg_echo('username') . "<br />" . elgg_view('input/text', array('internalname' => 'username', 'class' => 'login_textarea username')) . "</label>";
+$form_body = "<label>" . elgg_echo('username') . "<br />" . elgg_view('input/text', array('internalname' => 'username', 'class' => 'login-textarea username')) . "</label>";
$form_body .= "<br />";
-$form_body .= "<label>" . elgg_echo('password') . "<br />" . elgg_view('input/password', array('internalname' => 'password', 'class' => 'login_textarea')) . "</label><br />";
+$form_body .= "<label>" . elgg_echo('password') . "<br />" . elgg_view('input/password', array('internalname' => 'password', 'class' => 'login-textarea')) . "</label><br />";
$form_body .= elgg_view('input/submit', array('value' => elgg_echo('login')));
$form_body .= "<div class='remember_me'><label><input type='checkbox' name='persistent' checked value='true' />".elgg_echo('user:persistent')."</label></div>";
@@ -54,8 +54,8 @@ __HTML;
?>
<?php
$lostpassword_form_body = "<p>" . elgg_echo('user:password:text') . "</p>";
- $lostpassword_form_body .= "<p class='margin_none'><label>". elgg_echo('username') . " "
- . elgg_view('input/text', array('internalname' => 'username', 'class' => 'login_textarea lostusername')) . "</label></p>";
+ $lostpassword_form_body .= "<p class='margin-none'><label>". elgg_echo('username') . " "
+ . elgg_view('input/text', array('internalname' => 'username', 'class' => 'login-textarea lostusername')) . "</label></p>";
$lostpassword_form_body .= elgg_view('input/captcha');
$lostpassword_form_body .= "<p>" . elgg_view('input/submit', array('value' => elgg_echo('request'))) . "<input class='action-button disabled cancel_request' type='reset' value='Cancel'></p>";