| 1701 |
*/ |
*/ |
| 1702 |
function mosShowVIMenu( &$params ) { |
function mosShowVIMenu( &$params ) { |
| 1703 |
global $my, $cur_template, $Itemid; |
global $my, $cur_template, $Itemid; |
| 1704 |
if (mamboCore::get('mosConfig_shownoauth')) $maxaccess = 0; |
if (mamboCore::get('mosConfig_shownoauth')) $maxaccess = 9999999; |
| 1705 |
else $maxaccess = $my->getAccessGid(); |
else $maxaccess = $my->getAccessGid(); |
| 1706 |
$rows =& $this->getByParentOrder(0, $params->get('menutype'), $maxaccess); |
$rows =& $this->getByParentOrder(0, $params->get('menutype'), $maxaccess); |
| 1707 |
foreach ($rows as $i=>$row) $crosslink[$row->id] = $i; |
foreach ($rows as $i=>$row) $crosslink[$row->id] = $i; |
| 1788 |
function mosShowHFMenu( &$params, $style=0 ) { |
function mosShowHFMenu( &$params, $style=0 ) { |
| 1789 |
global $my, $cur_template, $Itemid; |
global $my, $cur_template, $Itemid; |
| 1790 |
|
|
| 1791 |
if (mamboCore::get('mosConfig_shownoauth')) $maxaccess = 0; |
if (mamboCore::get('mosConfig_shownoauth')) $maxaccess = 9999999; |
| 1792 |
else $maxaccess = $my->getAccessGid(); |
else $maxaccess = $my->getAccessGid(); |
| 1793 |
$rows =& $this->getByParentOrder(0, $params->get('menutype'), $maxaccess, true); |
$rows =& $this->getByParentOrder(0, $params->get('menutype'), $maxaccess, true); |
| 1794 |
|
|