|
@@ 100-105 (lines=6) @@
|
| 97 |
|
$xoopsTpl->display('db:about_admin_page.tpl'); |
| 98 |
|
break; |
| 99 |
|
|
| 100 |
|
case 'new': |
| 101 |
|
$GLOBALS['xoTheme']->addStylesheet("modules/{$moduleDirName}/assets/css/admin_style.css"); |
| 102 |
|
$page_obj = $page_handler->create(); |
| 103 |
|
$form = include $abtHelper->path("include/form.page.php"); |
| 104 |
|
$form->display(); |
| 105 |
|
break; |
| 106 |
|
|
| 107 |
|
case 'edit': |
| 108 |
|
$GLOBALS['xoTheme']->addStylesheet("modules/{$moduleDirName}/assets/css/admin_style.css"); |
|
@@ 107-112 (lines=6) @@
|
| 104 |
|
$form->display(); |
| 105 |
|
break; |
| 106 |
|
|
| 107 |
|
case 'edit': |
| 108 |
|
$GLOBALS['xoTheme']->addStylesheet("modules/{$moduleDirName}/assets/css/admin_style.css"); |
| 109 |
|
$page_obj = $page_handler->get($page_id); |
| 110 |
|
$form = include $abtHelper->path("include/form.page.php"); |
| 111 |
|
$form->display(); |
| 112 |
|
break; |
| 113 |
|
|
| 114 |
|
case 'save': |
| 115 |
|
if (!$GLOBALS['xoopsSecurity']->check()) { |