示例#1
0
 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);
 }
示例#2
0
 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;
 }
示例#3
0
 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();
     			}
     		}*/
 }
示例#4
0
 public function executeEditUser()
 {
     $this->setLayout(false);
     $this->user = $this->getUser()->getSubscriber();
     return PanelService::objectEdit('user', 'User', $this);
 }
示例#5
0
 public function executeEditClient()
 {
     $this->setLayout(false);
     return PanelService::objectEdit('clients', 'Client', $this);
 }
示例#6
0
 public function executeEditTag()
 {
     $this->setLayout(false);
     return PanelService::objectEdit('admin', 'Tag', $this);
 }
示例#7
0
 public function executeEditMailinglist()
 {
     $this->setLayout(false);
     PanelService::objectEdit('newsletter', 'Mailinglist', $this);
 }
示例#8
0
 public function executeEditNews()
 {
     $this->setLayout(false);
     return PanelService::objectEdit('news', 'News', $this);
 }
示例#9
0
 public function executeEditGallery()
 {
     $this->setLayout(false);
     return PanelService::objectEdit('galleries', 'Gallery', $this);
 }
示例#10
0
 public function executeEditKeyword()
 {
     $this->setLayout(false);
     return PanelService::objectEdit('keywords', 'Keyword', $this);
 }
示例#11
0
 public function executeEditSearch()
 {
     $this->setLayout(false);
     return PanelService::objectEdit('search', 'Search', $this);
 }
示例#12
0
 public function executeEditProduct()
 {
     $this->setLayout(false);
     return PanelService::objectEdit('products', 'Product', $this);
 }
示例#13
0
 public function executeEditSlider()
 {
     $this->setLayout(false);
     return PanelService::objectEdit('slider', 'Slider', $this);
 }
示例#14
0
 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);
 }