From ff3279c1aa32b80a53427c4dc60ae4ffcf23930c Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 23 Jan 2007 19:09:58 +0000 Subject: [PATCH] - Patch #108731 by add1sun: code cleanup. --- modules/profile/profile.module | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/profile/profile.module b/modules/profile/profile.module index 23cd8bc3495e..bc7eeb8d2d7e 100644 --- a/modules/profile/profile.module +++ b/modules/profile/profile.module @@ -149,7 +149,7 @@ function profile_block($op = 'list', $delta = 0, $edit = array()) { } if (isset($use_fields['user_profile']) && $use_fields['user_profile']) { - $output .= '
' . l(t('View full user profile'), 'user/' . $account->uid) . '
'; + $output .= '
'. l(t('View full user profile'), 'user/'. $account->uid) .'
'; } } @@ -371,7 +371,7 @@ function profile_field_delete($fid) { return confirm_form($form, t('Are you sure you want to delete the field %field?', array('%field' => $field->title)), 'admin/user/profile', - t('This action cannot be undone. If users have entered values into this field in their profile, these entries will also be deleted. If you want to keep the user-entered data, instead of deleting the field you may wish to edit this field and change it to a hidden profile field so that it may only be accessed by administrators.', array('@edit-field' => url('admin/user/profile/edit/' . $fid))), + t('This action cannot be undone. If users have entered values into this field in their profile, these entries will also be deleted. If you want to keep the user-entered data, instead of deleting the field you may wish to edit this field and change it to a hidden profile field so that it may only be accessed by administrators.', array('@edit-field' => url('admin/user/profile/edit/'. $fid))), t('Delete'), t('Cancel')); } @@ -422,7 +422,7 @@ function profile_admin_overview() { */ function profile_browse() { $name = arg(1); - list(,,$value) = explode('/', $_GET['q'], 3); + list(, , $value) = explode('/', $_GET['q'], 3); $field = db_fetch_object(db_query("SELECT DISTINCT(fid), type, title, page, visibility FROM {profile_fields} WHERE name = '%s'", $name));