$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) {
returnconfirm_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() {
*/
functionprofile_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));