/** * @param class_model|interface_admin_listable|interface_model $objOneIterable * @param string $strListIdentifier * * @return string */ public function getActionIcons($objOneIterable, $strListIdentifier = "") { if ($strListIdentifier == self::INT_LISTTYPE_FOLDERVIEW) { $strTargetfield = $this->getParam("form_element"); if ($objOneIterable instanceof class_module_mediamanager_file && $objOneIterable->rightView()) { if ($objOneIterable->getIntType() == class_module_mediamanager_file::$INT_TYPE_FOLDER) { return $this->objToolkit->listButton(class_link::getLinkAdmin($this->getArrModule("modul"), "folderContentFolderviewMode", "&form_element=" . $strTargetfield . "&systemid=" . $objOneIterable->getSystemid(), "", $this->getLang("action_open_folder"), "icon_folderActionOpen")); } else { if ($objOneIterable->getIntType() == class_module_mediamanager_file::$INT_TYPE_FILE) { return $this->objToolkit->listButton("<a href=\"#\" title=\"" . $this->getLang("commons_accept") . "\" rel=\"tooltip\" onclick=\"KAJONA.admin.folderview.selectCallback([['" . $strTargetfield . "', '" . $objOneIterable->getStrFilename() . "']]);\">" . class_adminskin_helper::getAdminImage("icon_accept") . "</a>"); } } } return ""; } return parent::getActionIcons($objOneIterable, $strListIdentifier); }