diff options
-rw-r--r-- | views/default/notifications/settings/usersettings.php | 68 | ||||
-rw-r--r-- | views/default/user/settings/email.php | 42 | ||||
-rw-r--r-- | views/default/user/settings/language.php | 2 | ||||
-rw-r--r-- | views/default/user/settings/name.php | 42 | ||||
-rw-r--r-- | views/default/user/settings/password.php | 44 |
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 |