function quotes_user_page in Quotes 6
Same name and namespace in other branches
- 5 quotes.user.inc \quotes_user_page()
- 7 quotes.user.inc \quotes_user_page()
@file Displays a Drupal page containing quotes submitted by a given user.
1 string reference to 'quotes_user_page'
- quotes_menu in ./
quotes.module - Implementation of hook_menu().
File
- ./
quotes.user.inc, line 6 - Displays a Drupal page containing quotes submitted by a given user.
Code
function quotes_user_page($account) {
$save_hp = $account->homepage;
unset($account->homepage);
$trail = array(
l(t('Home'), ''),
theme('username', $account, array(
'levels' => FALSE,
)),
);
$account->homepage = $save_hp;
drupal_set_breadcrumb($trail);
$output = drupal_get_form('quotes_user_form', $account);
return $output;
}