芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/thefirstcookout.com/support/application/libraries/APPAddOnsMenu.php
addonObj=$addonObj; $url=!empty($action)?$addonObj->getAdminActionURI($action,$uriParam,$param):""; $thisObj->currentMenu=AppMenu::AddAddonMenu($menutype,$title,$url,$icon,[],$cssClass,$rightText,$color,$isGrupMenu); if(!$isGrupMenu && !empty($url)){ $thisObj->addonObj->AddResourcePageForACL($action,$title); } return $thisObj; } /** * @param $privilige * @param $title * @param $url * @param string $icon * @param string $cssClass * @param array $SelectedPageList */ function AddSubMenu($title,$icon,$action,$uriParam=[],$param=[], $cssClass="", $menutype='ADA'){ $url=!empty($action)?$this->addonObj->getAdminActionURI($action,$uriParam,$param):""; if(ACL::HasPermission($this->addonObj->getACLSLug($action))){ $this->currentMenu->AddSubMenu($menutype, $title, $url, $icon, $cssClass, []); $this->addonObj->AddResourcePageForACL($action,$title); } } }