4 include_once
'./Services/Payment/classes/class.ilShopPageGUI.php';
5 include_once
'Services/Payment/classes/class.ilShopBaseGUI.php';
27 $next_class = $this->ctrl->getNextClass($this);
28 $cmd = $this->ctrl->getCmd();
37 $this->tpl->setContent(
$ret);
57 include_once
'Services/Payment/classes/class.ilShopPage.php';
58 include_once
'Services/Payment/classes/class.ilShopPageGUI.php';
66 include_once
'Services/Style/classes/class.ilObjStyleSheet.php';
70 $page_gui =
new ilShopPageGUI(self::SHOP_PAGE_EDITOR_PAGE_ID);
72 return $page_gui->showPage();
79 $ilTabs->clearTargets();
80 $ilTabs->setBackTarget($lng->txt(
'back'), $this->ctrl->getLinkTarget($this),
'_top');
83 include_once
'Services/Payment/classes/class.ilShopPage.php';
84 include_once
'Services/Payment/classes/class.ilShopPageGUI.php';
86 $lng->loadLanguageModule(
'content');
88 include_once(
'./Services/Style/classes/class.ilObjStyleSheet.php');
95 $new_page_object->setParentId(0);
96 $new_page_object->setId(self::SHOP_PAGE_EDITOR_PAGE_ID);
97 $new_page_object->createFromXML();
100 $this->ctrl->setReturnByClass(
'ilshoppagegui',
'edit');
102 $page_gui =
new ilShopPageGUI(self::SHOP_PAGE_EDITOR_PAGE_ID);
104 return $this->ctrl->forwardCommand($page_gui);
109 global
$ilUser, $rbacreview, $ilToolbar;
111 if($rbacreview->isAssigned($ilUser->getId(), SYSTEM_ROLE_ID))
113 $ilToolbar->addButton($this->lng->txt(
'edit_page'), $this->ctrl->getLinkTargetByClass(array(
'ilshoppagegui'),
'edit'));
116 $this->tpl->setVariable(
'ADM_CONTENT', $this->
getPageHTML());
125 $ilTabs->setTabActive(
'terms_conditions');