public function executeEditTrademark() { $this->setLayout(false); $this->systemsArr = array(1 => 'BPO - Bulgaria', 2 => 'OAMI - Europe', 3 => 'WIPO - world'); $this->kindsArr = array(1 => 'Text', 2 => 'Image', 3 => 'Mixed'); $this->statusArr = array(1 => 'Pending', 2 => 'Registered', 3 => 'Rejected'); return PanelService::objectEdit('trademarks', 'Trademark', $this); }
public function executeEditPage() { $this->setLayout(false); $this->loadPages(); $res = PanelService::objectEdit('website', 'Page', $this); if ($this->obj) { $this->template = $this->getPageTemplates(true); } else { $this->template = $this->getPageTemplates(); } return $res; }
public function executeEditListitem() { $this->setLayout(false); PanelService::objectEdit('lists', 'Listitem', $this); // if ($user = $this->getUser()->getSubscriber()) // { // $this->userType = $user->getType(); // } /* if ($this->obj) { if ($parent = Document::getParentOf($this->obj->getId())) { $this->listType = $parent->getListType(); } }*/ }
public function executeEditUser() { $this->setLayout(false); $this->user = $this->getUser()->getSubscriber(); return PanelService::objectEdit('user', 'User', $this); }
public function executeEditClient() { $this->setLayout(false); return PanelService::objectEdit('clients', 'Client', $this); }
public function executeEditTag() { $this->setLayout(false); return PanelService::objectEdit('admin', 'Tag', $this); }
public function executeEditMailinglist() { $this->setLayout(false); PanelService::objectEdit('newsletter', 'Mailinglist', $this); }
public function executeEditNews() { $this->setLayout(false); return PanelService::objectEdit('news', 'News', $this); }
public function executeEditGallery() { $this->setLayout(false); return PanelService::objectEdit('galleries', 'Gallery', $this); }
public function executeEditKeyword() { $this->setLayout(false); return PanelService::objectEdit('keywords', 'Keyword', $this); }
public function executeEditSearch() { $this->setLayout(false); return PanelService::objectEdit('search', 'Search', $this); }
public function executeEditProduct() { $this->setLayout(false); return PanelService::objectEdit('products', 'Product', $this); }
public function executeEditSlider() { $this->setLayout(false); return PanelService::objectEdit('slider', 'Slider', $this); }
public function executeEditMedia() { /* if ($id = $this->getRequestParameter('id')) { $this->obj = Document::getDocumentInstance($id); } $this->err = $this->getRequestParameter('err'); $this->tags = Document::getAvailableTagsOf($this->getRequestParameter('module'), 'Media'); */ $this->setLayout(false); return PanelService::objectEdit('media', 'Media', $this); }