diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-08-31 19:05:21 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-08-31 19:05:21 +0000 |
commit | c5cc2821311012a8a4385a304a043c4b41f2afbb (patch) | |
tree | 3703351e4b5d56905eb52547d6129ffa14cb2a32 /views/default/user | |
parent | 775a5f08c501acc565c69659022bc31052677485 (diff) | |
download | elgg-c5cc2821311012a8a4385a304a043c4b41f2afbb.tar.gz elgg-c5cc2821311012a8a4385a304a043c4b41f2afbb.tar.bz2 |
All line endings are now Unix-style.
git-svn-id: https://code.elgg.org/elgg/trunk@3451 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/user')
-rw-r--r-- | views/default/user/default.php | 40 | ||||
-rw-r--r-- | views/default/user/settings/default_access.php | 54 | ||||
-rw-r--r-- | views/default/user/settings/email.php | 48 | ||||
-rw-r--r-- | views/default/user/settings/name.php | 48 | ||||
-rw-r--r-- | views/default/user/settings/password.php | 50 |
5 files changed, 120 insertions, 120 deletions
diff --git a/views/default/user/default.php b/views/default/user/default.php index 58b5ede8a..0e83b5fb0 100644 --- a/views/default/user/default.php +++ b/views/default/user/default.php @@ -1,23 +1,23 @@ -<?php
-
- /**
- * Elgg user display
- *
- * @package Elgg
- * @subpackage Core
+<?php + /** + * Elgg user display + * + * @package Elgg + * @subpackage Core - * @link http://elgg.org/
- */
-
- if ($vars['full']) {
- echo elgg_view("profile/userdetails",$vars);
- } else {
- if (get_input('search_viewtype') == "gallery") {
- echo elgg_view('profile/gallery',$vars);
- } else {
- echo elgg_view("profile/listing",$vars);
- }
- }
-
+ + * @link http://elgg.org/ + */ + + if ($vars['full']) { + echo elgg_view("profile/userdetails",$vars); + } else { + if (get_input('search_viewtype') == "gallery") { + echo elgg_view('profile/gallery',$vars); + } else { + echo elgg_view("profile/listing",$vars); + } + } + ?>
\ No newline at end of file diff --git a/views/default/user/settings/default_access.php b/views/default/user/settings/default_access.php index 38b194d7d..d5df5e426 100644 --- a/views/default/user/settings/default_access.php +++ b/views/default/user/settings/default_access.php @@ -1,30 +1,30 @@ -<?php
- /**
- * Provide a way of setting your default access
- *
- * @package Elgg
- * @subpackage Core
+<?php + /** + * Provide a way of setting your default access + * + * @package Elgg + * @subpackage Core - * @author Curverider Ltd
+ * @author Curverider Ltd + + * @link http://elgg.org/ + */ + if ($vars['config']->allow_user_default_access) { + $user = page_owner_entity(); + + if ($user) { + if (false === ($default_access = $user->getPrivateSetting('elgg_default_access'))) { + $default_access = $vars['config']->default_access; + } + ?> + <h3><?php echo elgg_echo('default_access:settings'); ?></h3> + <p> + <?php echo elgg_echo('default_access:label'); ?>: + <?php + + echo elgg_view('input/access',array('internalname' => 'default_access', 'value' => $default_access)); + + ?> + </p> - * @link http://elgg.org/
- */
- if ($vars['config']->allow_user_default_access) {
- $user = page_owner_entity();
-
- if ($user) {
- if (false === ($default_access = $user->getPrivateSetting('elgg_default_access'))) {
- $default_access = $vars['config']->default_access;
- }
- ?>
- <h3><?php echo elgg_echo('default_access:settings'); ?></h3>
- <p>
- <?php echo elgg_echo('default_access:label'); ?>:
- <?php
-
- echo elgg_view('input/access',array('internalname' => 'default_access', 'value' => $default_access));
-
- ?>
- </p>
-
<?php }} ?>
\ No newline at end of file diff --git a/views/default/user/settings/email.php b/views/default/user/settings/email.php index 8a9d986d9..60f2f7acd 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
+<?php + /** + * Provide a way of setting your email + * + * @package Elgg + * @subpackage Core - * @author Curverider Ltd
+ * @author Curverider Ltd + + * @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> - * @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>
-
<?php } ?>
\ No newline at end of file diff --git a/views/default/user/settings/name.php b/views/default/user/settings/name.php index f127532d6..56f6139e7 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
+<?php + /** + * Provide a way of setting your full name. + * + * @package Elgg + * @subpackage Core - * @author Curverider Ltd
+ * @author Curverider Ltd + + * @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)); + echo elgg_view('input/hidden',array('internalname' => 'guid', 'value' => $user->guid)); + ?> + </p> - * @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));
- echo elgg_view('input/hidden',array('internalname' => 'guid', 'value' => $user->guid));
- ?>
- </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 d467cd05e..d2b794808 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
+<?php + /** + * Provide a way of setting your password + * + * @package Elgg + * @subpackage Core - * @author Curverider Ltd
+ * @author Curverider Ltd + + * @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')); + ?></p><p> + <?php echo elgg_echo('user:password2:label'); ?>: <?php + echo elgg_view('input/password',array('internalname' => 'password2')); + ?> + </p> - * @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'));
- ?></p><p>
- <?php echo elgg_echo('user:password2:label'); ?>: <?php
- echo elgg_view('input/password',array('internalname' => 'password2'));
- ?>
- </p>
-
<?php } ?>
\ No newline at end of file |