return $items;
}
+
+ function item($actionName, $args, $label, $description, $id=null, $cls=null)
+ {
+ if (empty($id)) {
+ $id = $this->menuItemID($actionName, $args);
+ }
+
+ if ($actionname == 'searchsub') {
+ // Add 'q' as a search param, not part of the url path
+ $url = common_local_url($actionName, array(), $args);
+ } else {
+ $url = common_local_url($actionName, $args);
+ }
+
+ $this->out->menuItem($url,
+ $label,
+ $description,
+ $this->isCurrent($actionName, $args),
+ $id,
+ $cls);
+ }
}
+