22 parent::__construct();
32 $sSubItems = parent::genSubItems($iTItemID);
33 if (
empty($sSubItems)) {
37 $iSelected = (int)$this->aMenuInfo[
'currentCustom'] > 0 ? (
int)$this->aMenuInfo[
'currentCustom'] : $this->
getSubItemFirst($this->aMenuInfo[
'currentTop']);
38 $aSelected = $this->aTopMenu[$iSelected];
40 return $GLOBALS[
'oSysTemplate']->parseHtmlByName(
'navigation_menu_sub_header_submenu.html', array(
42 'onclick' =>
'javascript:return oChEvoTopMenu.showSubmenuSubmenu(this);',
43 'caption' =>
_t($aSelected[
'Caption']),
44 'submenu' => $sSubItems
51 foreach ($this->aTopMenu
as $iItemID => $aItem) {
52 if ($aItem[
'Type'] !=
'custom') {
55 if ($aItem[
'Parent'] != $iTItemID) {
74 $this->sCustomActions .=
$GLOBALS[
'oSysTemplate']->parseHtmlByName(
'action_link_submenu_share.html', array(
75 'popup' =>
$GLOBALS[
'oFunctions']->transBox(
76 $GLOBALS[
'oSysTemplate']->parseHtmlByName(
'share_popup.html', array())
80 parent::genSubHeader($iTItemID, $iFirstID,
$sCaption, $sDisplay, $sPicture);
90 return $GLOBALS[
'oSysTemplate']->parseHtmlByName(
'navigation_menu_mm_item.html', array(
91 'link' =>
'javascript:void(0)',
92 'ch_if:show_active' => array(
96 'ch_if:show_onclick' => array(
99 'onclick' =>
"$(this).parents('td.top:first').hide().siblings('td.top:hidden').show();"
102 'ch_if:show_target' => array(
103 'condition' =>
false,
106 'ch_if:show_style' => array(
107 'condition' =>
false,
110 'ch_if:show_picture' => array(
111 'condition' =>
false,
114 'text' =>
_t(
'_sys_top_menu_more'),