From: paca70 Date: Tue, 21 Sep 2004 06:09:09 +0000 (+0000) Subject: Removed $user_external and annd isset() around editlocks X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=4bde37a18eb59ef0e8d34b3f0b6d80b130fd22a3;p=moodle.git Removed $user_external and annd isset() around editlocks --- diff --git a/user/edit.html b/user/edit.html index a8c51ebbdf..ee99bdb00a 100644 --- a/user/edit.html +++ b/user/edit.html @@ -70,7 +70,7 @@ if (isadmin()) { : - auth_user_firstname_editlock){ ?> + auth_user_firstname_editlock)){ ?> firstname) ?> @@ -82,7 +82,7 @@ if (isadmin()) { : - auth_user_lastname_editlock){ ?> + auth_user_lastname_editlock)){ ?> lastname) ?> @@ -94,7 +94,7 @@ if (isadmin()) {

: - auth_user_email_editlock){ ?> + auth_user_email_editlock)){ ?> email) ?> @@ -164,7 +164,7 @@ if (isadmin()) { : - auth_user_city_editlock){ ?> + auth_user_city_editlock)){ ?> city) ?> @@ -182,7 +182,7 @@ if (isadmin()) { $user->country = $CFG->country; } - if($user_external && $CFG->auth_user_country_editlock){ ?> + if(isset($CFG->auth_user_country_editlock)){ ?> country); } else { @@ -198,7 +198,7 @@ if (isadmin()) { if (!$user->lang) { $user->lang = $CFG->lang; } - if($user_external && $CFG->auth_user_lang_editlock){ ?> + if(isset($CFG->auth_user_lang_editlock)){ ?> lang); } else { @@ -242,7 +242,7 @@ if (isadmin()) { formerr($err["description"]); echo "
"; } ?> - auth_user_description_editlock){ ?> + auth_user_description_editlock)){ ?> description, FORMAT_MOODLE); } else { @@ -316,7 +316,7 @@ if (isadmin()) { : - auth_user_idnumber_editlock){ ?> + auth_user_idnumber_editlock)){ ?> idnumber) ?> @@ -334,7 +334,7 @@ if (isadmin()) { : - auth_user_department_editlock){ ?> + auth_user_department_editlock)){ ?> department) ?> @@ -346,7 +346,7 @@ if (isadmin()) { 1: - auth_user_phone1_editlock){ ?> + auth_user_phone1_editlock)){ ?> phone1) ?> @@ -358,7 +358,7 @@ if (isadmin()) { 2: - auth_user_phone2_editlock){ ?> + auth_user_phone2_editlock)){ ?> phone2) ?> @@ -370,7 +370,7 @@ if (isadmin()) { : - auth_user_address_editlock){ ?> + auth_user_address_editlock)){ ?> address) ?>