예제 #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);
 }