protected function getNewEntryAction($strListIdentifier, $bitDialog = false)
 {
     if ($this->getObjModule()->rightEdit() && $this->getStrCurObjectTypeName() != "Post") {
         return parent::getNewEntryAction($strListIdentifier, $bitDialog);
     }
     return "";
 }
 /**
  * @param string $strListIdentifier
  * @param bool $bitDialog
  *
  * @return array|string
  */
 protected function getNewEntryAction($strListIdentifier, $bitDialog = false)
 {
     return parent::getNewEntryAction($strListIdentifier, true);
 }
 /**
  * @param string $strListIdentifier
  * @param bool $bitDialog
  *
  * @return array|string
  */
 protected function getNewEntryAction($strListIdentifier, $bitDialog = false)
 {
     if ($strListIdentifier == class_module_mediamanager_admin::INT_LISTTYPE_FOLDER || $strListIdentifier == class_module_mediamanager_admin::INT_LISTTYPE_FOLDERVIEW) {
         if (validateSystemid($this->getSystemid())) {
             $objCur = class_objectfactory::getInstance()->getObject($this->getSystemid());
             if ($objCur->rightEdit()) {
                 return $this->objToolkit->listButton(class_link::getLinkAdminManual("href=\"javascript:init_fm_newfolder_dialog();\"", "", $this->getLang("commons_create_folder"), "icon_new"));
             }
         }
     } else {
         return parent::getNewEntryAction($strListIdentifier, $bitDialog);
     }
     return "";
 }
 /**
  * @param string $strListIdentifier
  * @param bool $bitDialog
  *
  * @return array|string
  */
 protected function getNewEntryAction($strListIdentifier, $bitDialog = false)
 {
     if ($strListIdentifier == class_module_news_admin::STR_CAT_LIST) {
         return $this->objToolkit->listButton(class_link::getLinkAdmin($this->getArrModule("modul"), "newCategory", "", $this->getLang("commons_create_category"), $this->getLang("commons_create_category"), "icon_new"));
     } else {
         if ($strListIdentifier == class_module_news_admin::STR_NEWS_LIST) {
             return $this->objToolkit->listButton(class_link::getLinkAdmin($this->getArrModule("modul"), "newNews", "", $this->getLang("action_new_news"), $this->getLang("action_new_news"), "icon_new"));
         }
     }
     return parent::getNewEntryAction($strListIdentifier, $bitDialog);
 }