theme_menu_local_tasks
includes/menu.inc, строка 1455
- Версии
- 5 – 6
theme_menu_local_tasks()
Returns the rendered local tasks. The default implementation renders them as tabs.
Связанные темы
Код
<?php
function theme_menu_local_tasks() {
$output = '';
if ($primary = menu_primary_local_tasks()) {
$output .= "<ul class=\"tabs primary\">\n". $primary ."</ul>\n";
}
if ($secondary = menu_secondary_local_tasks()) {
$output .= "<ul class=\"tabs secondary\">\n". $secondary ."</ul>\n";
}
return $output;
}
?>
Войдите или зарегистрируйтесь, чтобы получить возможность отправлять комментарии