aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authordave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-11 14:23:55 +0000
committerdave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-11 14:23:55 +0000
commit1f0b755db0b82713a57e48c4c4e7c08d429c859d (patch)
treea250672ed10bd542b880e4c5e27daedaa2406665 /views
parent4873cf7c4bb484ba8dfbe12e840402e3edd7c310 (diff)
downloadelgg-1f0b755db0b82713a57e48c4c4e7c08d429c859d.tar.gz
elgg-1f0b755db0b82713a57e48c4c4e7c08d429c859d.tar.bz2
user settings tweaked
git-svn-id: https://code.elgg.org/elgg/trunk@1829 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views')
-rw-r--r--views/default/notifications/settings/usersettings.php68
-rw-r--r--views/default/user/settings/email.php42
-rw-r--r--views/default/user/settings/language.php2
-rw-r--r--views/default/user/settings/name.php42
-rw-r--r--views/default/user/settings/password.php44
5 files changed, 99 insertions, 99 deletions
diff --git a/views/default/notifications/settings/usersettings.php b/views/default/notifications/settings/usersettings.php
index 17f99dd6b..4bf43e254 100644
--- a/views/default/notifications/settings/usersettings.php
+++ b/views/default/notifications/settings/usersettings.php
@@ -1,31 +1,31 @@
-<?php
- /**
- * User settings for notifications.
- *
- * @package Elgg
- * @subpackage Core
- * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
- * @author Curverider Ltd
- * @copyright Curverider Ltd 2008
- * @link http://elgg.org/
- */
-
- global $NOTIFICATION_HANDLERS;
- $notification_settings = get_user_notification_settings(page_owner());
-?>
- <h2><?php echo elgg_echo('notifications:usersettings'); ?></h2>
-
- <p><?php echo elgg_echo('notifications:methods'); ?>
-
- <table>
-<?php
- // Loop through options
- foreach ($NOTIFICATION_HANDLERS as $k => $v)
- {
-?>
- <tr>
- <td><?php echo $k; ?>: </td>
-
+<?php
+ /**
+ * User settings for notifications.
+ *
+ * @package Elgg
+ * @subpackage Core
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @author Curverider Ltd
+ * @copyright Curverider Ltd 2008
+ * @link http://elgg.org/
+ */
+
+ global $NOTIFICATION_HANDLERS;
+ $notification_settings = get_user_notification_settings(page_owner());
+?>
+ <h3><?php echo elgg_echo('notifications:usersettings'); ?></h3>
+
+ <p><?php echo elgg_echo('notifications:methods'); ?>
+
+ <table>
+<?php
+ // Loop through options
+ foreach ($NOTIFICATION_HANDLERS as $k => $v)
+ {
+?>
+ <tr>
+ <td><?php echo $k; ?>: </td>
+
<td>
<?php
@@ -36,10 +36,10 @@
}
echo elgg_view('input/radio',array('internalname' => "method[{$k}]", 'options' => array('yes','no'), 'value' => $val));
-?>
- </td>
- </tr>
-<?php
- }
-?>
+?>
+ </td>
+ </tr>
+<?php
+ }
+?>
</table> \ No newline at end of file
diff --git a/views/default/user/settings/email.php b/views/default/user/settings/email.php
index 075236752..17888840b 100644
--- a/views/default/user/settings/email.php
+++ b/views/default/user/settings/email.php
@@ -1,27 +1,27 @@
-<?php
- /**
- * Provide a way of setting your email
- *
- * @package Elgg
- * @subpackage Core
- * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
- * @author Curverider Ltd
- * @copyright Curverider Ltd 2008
- * @link http://elgg.org/
- */
-
- $user = page_owner_entity();
-
- if ($user) {
-?>
- <h2><?php echo elgg_echo('email:settings'); ?></h2>
- <p>
+<?php
+ /**
+ * Provide a way of setting your email
+ *
+ * @package Elgg
+ * @subpackage Core
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @author Curverider Ltd
+ * @copyright Curverider Ltd 2008
+ * @link http://elgg.org/
+ */
+
+ $user = page_owner_entity();
+
+ if ($user) {
+?>
+ <h3><?php echo elgg_echo('email:settings'); ?></h3>
+ <p>
<?php echo elgg_echo('email:address:label'); ?>:
<?php
echo elgg_view('input/email',array('internalname' => 'email', 'value' => $user->email));
- ?>
- </p>
-
+ ?>
+ </p>
+
<?php } ?> \ No newline at end of file
diff --git a/views/default/user/settings/language.php b/views/default/user/settings/language.php
index 27508e5ec..344faab55 100644
--- a/views/default/user/settings/language.php
+++ b/views/default/user/settings/language.php
@@ -15,7 +15,7 @@
if ($user) {
?>
- <h2><?php echo elgg_echo('user:set:language'); ?></h2>
+ <h3><?php echo elgg_echo('user:set:language'); ?></h3>
<p>
<?php echo elgg_echo('user:language:label'); ?>: <?php
diff --git a/views/default/user/settings/name.php b/views/default/user/settings/name.php
index b482cb116..58cc994e0 100644
--- a/views/default/user/settings/name.php
+++ b/views/default/user/settings/name.php
@@ -1,27 +1,27 @@
-<?php
- /**
- * Provide a way of setting your full name.
- *
- * @package Elgg
- * @subpackage Core
- * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
- * @author Curverider Ltd
- * @copyright Curverider Ltd 2008
- * @link http://elgg.org/
- */
-
- $user = page_owner_entity();
-
- if ($user) {
-?>
- <h2><?php echo elgg_echo('user:set:name'); ?></h2>
- <p>
+<?php
+ /**
+ * Provide a way of setting your full name.
+ *
+ * @package Elgg
+ * @subpackage Core
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @author Curverider Ltd
+ * @copyright Curverider Ltd 2008
+ * @link http://elgg.org/
+ */
+
+ $user = page_owner_entity();
+
+ if ($user) {
+?>
+ <h3><?php echo elgg_echo('user:set:name'); ?></h3>
+ <p>
<?php echo elgg_echo('user:name:label'); ?>:
<?php
echo elgg_view('input/text',array('internalname' => 'name', 'value' => $user->name));
- ?>
- </p>
-
+ ?>
+ </p>
+
<?php } ?> \ No newline at end of file
diff --git a/views/default/user/settings/password.php b/views/default/user/settings/password.php
index c020fb819..d3f52fb9b 100644
--- a/views/default/user/settings/password.php
+++ b/views/default/user/settings/password.php
@@ -1,28 +1,28 @@
-<?php
- /**
- * Provide a way of setting your password
- *
- * @package Elgg
- * @subpackage Core
- * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
- * @author Curverider Ltd
- * @copyright Curverider Ltd 2008
- * @link http://elgg.org/
- */
-
- $user = page_owner_entity();
-
- if ($user) {
-?>
- <h3><?php echo elgg_echo('user:set:password'); ?></h3>
- <p>
+<?php
+ /**
+ * Provide a way of setting your password
+ *
+ * @package Elgg
+ * @subpackage Core
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @author Curverider Ltd
+ * @copyright Curverider Ltd 2008
+ * @link http://elgg.org/
+ */
+
+ $user = page_owner_entity();
+
+ if ($user) {
+?>
+ <h3><?php echo elgg_echo('user:set:password'); ?></h3>
+ <p>
<?php echo elgg_echo('user:password:label'); ?>:
<?php
echo elgg_view('input/password',array('internalname' => 'password'));
- ?><br />
+ ?></p><p>
<?php echo elgg_echo('user:password2:label'); ?>: <?php
echo elgg_view('input/password',array('internalname' => 'password2'));
- ?>
- </p>
-
+ ?>
+ </p>
+
<?php } ?> \ No newline at end of file