aboutsummaryrefslogtreecommitdiff
path: root/views/default/user
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/user')
-rw-r--r--views/default/user/settings/default_access.php29
-rw-r--r--views/default/user/settings/email.php25
-rw-r--r--views/default/user/settings/language.php32
-rw-r--r--views/default/user/settings/name.php15
-rw-r--r--views/default/user/settings/password.php42
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