diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-17 20:36:36 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-17 20:36:36 +0000 |
commit | db787a3ab93da0c2141d33f3058f9dc2f34d6f2a (patch) | |
tree | dca419a399cb00f45c227aed7a62993b089e0f27 /views/default/user/settings | |
parent | c2add32bbf281d488deb26343cf059e3347fe525 (diff) | |
download | elgg-db787a3ab93da0c2141d33f3058f9dc2f34d6f2a.tar.gz elgg-db787a3ab93da0c2141d33f3058f9dc2f34d6f2a.tar.bz2 |
reorganized the settings views and updated the pages to use new layout
git-svn-id: http://code.elgg.org/elgg/trunk@7663 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/user/settings')
-rw-r--r-- | views/default/user/settings/default_access.php | 29 | ||||
-rw-r--r-- | views/default/user/settings/email.php | 25 | ||||
-rw-r--r-- | views/default/user/settings/language.php | 32 | ||||
-rw-r--r-- | views/default/user/settings/name.php | 15 | ||||
-rw-r--r-- | views/default/user/settings/password.php | 42 |
5 files changed, 0 insertions, 143 deletions
diff --git a/views/default/user/settings/default_access.php b/views/default/user/settings/default_access.php deleted file mode 100644 index e7c280198..000000000 --- a/views/default/user/settings/default_access.php +++ /dev/null @@ -1,29 +0,0 @@ -<?php -/** - * Provide a way of setting your default access - * - * @package Elgg - * @subpackage Core - */ -if ($vars['config']->allow_user_default_access) { - $user = elgg_get_page_owner(); - - if ($user) { - if (false === ($default_access = $user->getPrivateSetting('elgg_default_access'))) { - $default_access = $vars['config']->default_access; - } -?> -<div class="user-settings 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> -</div> -<?php - } -}
\ No newline at end of file diff --git a/views/default/user/settings/email.php b/views/default/user/settings/email.php deleted file mode 100644 index 396f8e79b..000000000 --- a/views/default/user/settings/email.php +++ /dev/null @@ -1,25 +0,0 @@ -<?php -/** - * Provide a way of setting your email - * - * @package Elgg - * @subpackage Core - */ - -$user = elgg_get_page_owner(); - -if ($user) { -?> -<div class="user-settings email"> -<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> -</div> -<?php -}
\ No newline at end of file diff --git a/views/default/user/settings/language.php b/views/default/user/settings/language.php deleted file mode 100644 index ada133791..000000000 --- a/views/default/user/settings/language.php +++ /dev/null @@ -1,32 +0,0 @@ -<?php -/** - * Provide a way of setting your language prefs - * - * @package Elgg - * @subpackage Core - */ - -global $CONFIG; -$user = elgg_get_page_owner(); - -if ($user) { -?> -<div class="user-settings language"> -<h3><?php echo elgg_echo('user:set:language'); ?></h3> -<p> - - <?php echo elgg_echo('user:language:label'); ?>: <?php - - $value = $CONFIG->language; - if ($user->language) { - $value = $user->language; - } - - echo elgg_view("input/pulldown", array('internalname' => 'language', 'value' => $value, 'options_values' => get_installed_translations())); - - ?> - -</p> -</div> -<?php -}
\ No newline at end of file diff --git a/views/default/user/settings/name.php b/views/default/user/settings/name.php deleted file mode 100644 index fad6c488f..000000000 --- a/views/default/user/settings/name.php +++ /dev/null @@ -1,15 +0,0 @@ -<?php -/** - * Provide a way of setting your full name. - * - * @package Elgg - * @subpackage Core - - - */ - -$user = elgg_get_page_owner(); - -// all hidden, but necessary for properly updating user details -echo elgg_view('input/hidden', array('internalname' => 'name', 'value' => $user->name)); -echo elgg_view('input/hidden', array('internalname' => 'guid', 'value' => $user->guid)); diff --git a/views/default/user/settings/password.php b/views/default/user/settings/password.php deleted file mode 100644 index 0bd7f38f8..000000000 --- a/views/default/user/settings/password.php +++ /dev/null @@ -1,42 +0,0 @@ -<?php -/** - * Provide a way of setting your password - * - * @package Elgg - * @subpackage Core - */ - -$user = elgg_get_page_owner(); - -if ($user) { -?> -<div class="user-settings password"> -<h3><?php echo elgg_echo('user:set:password'); ?></h3> - - <?php - // only make the admin user enter current password for changing his own password. - if (!isadminloggedin() || isadminloggedin() && $user->guid == get_loggedin_userid()) { - ?> - <p> - <?php echo elgg_echo('user:current_password:label'); ?>: - <?php - echo elgg_view('input/password', array('internalname' => 'current_password')); - ?> - </p> - <?php } ?> - - <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> -</div> -<?php -}
\ No newline at end of file |