/** * smarty function for setting up a menu * * @param int $a parent ID * * @return string HTML of the menu */ function menuDisplay($opts = array()) { $opts = array_merge(array('pid' => 0, 'direction' => 'horizontal', 'type' => 'ajaxmenu'), $opts); require_once SCRIPTBASE . 'ww.incs/menus.php'; return Menu_show($opts); }
function menuDisplay($a = 0) { require_once SCRIPTBASE . 'ww.incs/menus.php'; return Menu_show($a); }