, nicer formatting for contact.module, patch by Zen.

4.7.x
Gerhard Killesreiter 2006-03-21 07:31:50 +00:00
parent dae2bdbb3b
commit d12faf546d
2 changed files with 14 additions and 6 deletions

View File

@ -95,8 +95,12 @@ function contact_menu($may_cache) {
}
else {
if (arg(0) == 'user' && is_numeric(arg(1))) {
$items[] = array('path' => "user/". arg(1) ."/contact", 'title' => t('contact'),
'callback' => 'contact_mail_user', 'type' => MENU_LOCAL_TASK, 'weight' => 2);
$items[] = array('path' => "user/". arg(1) ."/contact",
'title' => t('contact'),
'callback' => 'contact_mail_user',
'type' => MENU_LOCAL_TASK,
'weight' => 2,
);
}
}

View File

@ -95,8 +95,12 @@ function contact_menu($may_cache) {
}
else {
if (arg(0) == 'user' && is_numeric(arg(1))) {
$items[] = array('path' => "user/". arg(1) ."/contact", 'title' => t('contact'),
'callback' => 'contact_mail_user', 'type' => MENU_LOCAL_TASK, 'weight' => 2);
$items[] = array('path' => "user/". arg(1) ."/contact",
'title' => t('contact'),
'callback' => 'contact_mail_user',
'type' => MENU_LOCAL_TASK,
'weight' => 2,
);
}
}