summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-01-23 19:09:46 +0000
committerDries Buytaert <dries@buytaert.net>2007-01-23 19:09:46 +0000
commit35fa510657ccc1f34c132837cb0311b9c0be2845 (patch)
treed6eee6032f84403890f3ba6280fdb1bae25215d5
parent4522cf67f00f2d5881ec7e3c4d55d213f3ed0ee7 (diff)
downloadbrdo-35fa510657ccc1f34c132837cb0311b9c0be2845.tar.gz
brdo-35fa510657ccc1f34c132837cb0311b9c0be2845.tar.bz2
- Patch #108731 by add1sun: code cleanup.
-rw-r--r--modules/profile/profile.module6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/profile/profile.module b/modules/profile/profile.module
index 23cd8bc34..bc7eeb8d2 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 .= '<div>' . l(t('View full user profile'), 'user/' . $account->uid) . '</div>';
+ $output .= '<div>'. l(t('View full user profile'), 'user/'. $account->uid) .'</div>';
}
}
@@ -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 <a href="@edit-field">edit this field</a> 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 <a href="@edit-field">edit this field</a> 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));