#54151, nicer formatting for contact.module, patch by Zen.
parent
dae2bdbb3b
commit
d12faf546d
|
@ -95,8 +95,12 @@ function contact_menu($may_cache) {
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if (arg(0) == 'user' && is_numeric(arg(1))) {
|
if (arg(0) == 'user' && is_numeric(arg(1))) {
|
||||||
$items[] = array('path' => "user/". arg(1) ."/contact", 'title' => t('contact'),
|
$items[] = array('path' => "user/". arg(1) ."/contact",
|
||||||
'callback' => 'contact_mail_user', 'type' => MENU_LOCAL_TASK, 'weight' => 2);
|
'title' => t('contact'),
|
||||||
|
'callback' => 'contact_mail_user',
|
||||||
|
'type' => MENU_LOCAL_TASK,
|
||||||
|
'weight' => 2,
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -95,8 +95,12 @@ function contact_menu($may_cache) {
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if (arg(0) == 'user' && is_numeric(arg(1))) {
|
if (arg(0) == 'user' && is_numeric(arg(1))) {
|
||||||
$items[] = array('path' => "user/". arg(1) ."/contact", 'title' => t('contact'),
|
$items[] = array('path' => "user/". arg(1) ."/contact",
|
||||||
'callback' => 'contact_mail_user', 'type' => MENU_LOCAL_TASK, 'weight' => 2);
|
'title' => t('contact'),
|
||||||
|
'callback' => 'contact_mail_user',
|
||||||
|
'type' => MENU_LOCAL_TASK,
|
||||||
|
'weight' => 2,
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue