summaryrefslogtreecommitdiff
path: root/includes/menu.inc
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-12-06 09:58:34 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-12-06 09:58:34 +0000
commitd83289f857853b2efca194cd663267c24dbfd305 (patch)
treeb950cd9d0c4df0068164d6131c2f40fafad7022f /includes/menu.inc
parentbaf6910cc1002c7b40b2899162a122b3ed441e6d (diff)
downloadbrdo-d83289f857853b2efca194cd663267c24dbfd305.tar.gz
brdo-d83289f857853b2efca194cd663267c24dbfd305.tar.bz2
#196667 (GHOP 45) by fberci: add '@ingroup themeable' to all themeable functions
Diffstat (limited to 'includes/menu.inc')
-rw-r--r--includes/menu.inc8
1 files changed, 8 insertions, 0 deletions
diff --git a/includes/menu.inc b/includes/menu.inc
index b25ad9376..0b59c9362 100644
--- a/includes/menu.inc
+++ b/includes/menu.inc
@@ -979,6 +979,8 @@ function _menu_tree_data($result, $parents, $depth, $previous_element = '') {
/**
* Generate the HTML output for a single menu link.
+ *
+ * @ingroup themeable
*/
function theme_menu_item_link($link) {
if (empty($link['options'])) {
@@ -990,6 +992,8 @@ function theme_menu_item_link($link) {
/**
* Generate the HTML output for a menu tree
+ *
+ * @ingroup themeable
*/
function theme_menu_tree($tree) {
return '<ul class="menu">'. $tree .'</ul>';
@@ -997,6 +1001,8 @@ function theme_menu_tree($tree) {
/**
* Generate the HTML output for a menu item and submenu.
+ *
+ * @ingroup themeable
*/
function theme_menu_item($link, $has_children, $menu = '', $in_active_trail = FALSE, $extra_class = NULL) {
$class = ($menu ? 'expanded' : ($has_children ? 'collapsed' : 'leaf'));
@@ -1011,6 +1017,8 @@ function theme_menu_item($link, $has_children, $menu = '', $in_active_trail = FA
/**
* Generate the HTML output for a single local task link.
+ *
+ * @ingroup themeable
*/
function theme_menu_local_task($link, $active = FALSE) {
return '<li '. ($active ? 'class="active" ' : '') .'>'. $link .'</li>';