aboutsummaryrefslogtreecommitdiff
path: root/views/default/core
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/core')
-rw-r--r--views/default/core/account/login_box.php9
-rw-r--r--views/default/core/settings/account/notifications.php2
2 files changed, 1 insertions, 10 deletions
diff --git a/views/default/core/account/login_box.php b/views/default/core/account/login_box.php
index 274172bdb..8c586d425 100644
--- a/views/default/core/account/login_box.php
+++ b/views/default/core/account/login_box.php
@@ -15,12 +15,3 @@ $title = elgg_echo('login');
$body = elgg_view_form('login', array('action' => "{$login_url}action/login"));
echo elgg_view_module('aside', $title, $body);
-
-?>
-
-
-<script type="text/javascript">
- elgg.register_hook_handler('init', 'system', function() {
- $('input[name=username]').focus();
- });
-</script>
diff --git a/views/default/core/settings/account/notifications.php b/views/default/core/settings/account/notifications.php
index ae5fe40bb..51292b2c9 100644
--- a/views/default/core/settings/account/notifications.php
+++ b/views/default/core/settings/account/notifications.php
@@ -24,7 +24,7 @@ $notification_settings = get_user_notification_settings(elgg_get_page_owner_guid
foreach ($NOTIFICATION_HANDLERS as $k => $v) {
?>
<tr>
- <td><?php echo elgg_echo($k); ?>: </td>
+ <td><?php echo elgg_echo("notification:method:$k"); ?>: </td>
<td>
<?php