| @@ 30-34 (lines=5) @@ | ||
| 27 | ||
| 28 | include XOOPS_ROOT_PATH . '/include/comment_view.php'; |
|
| 29 | ||
| 30 | if (!isset($_GET['event'])) { |
|
| 31 | $eventId = 0; |
|
| 32 | } else { |
|
| 33 | $eventId = (int)$_GET['event']; |
|
| 34 | } |
|
| 35 | $eventHandler = xoops_getModuleHandler(_EXTCAL_CLS_EVENT, _EXTCAL_MODULE); |
|
| 36 | $fileHandler = xoops_getModuleHandler(_EXTCAL_CLS_FILE, _EXTCAL_MODULE); |
|
| 37 | $eventMemberHandler = xoops_getModuleHandler(_EXTCAL_CLS_MEMBER, _EXTCAL_MODULE); |
|
| @@ 25-29 (lines=5) @@ | ||
| 22 | ||
| 23 | require_once XOOPS_ROOT_PATH . '/language/' . $xoopsConfig['language'] . '/calendar.php'; |
|
| 24 | ||
| 25 | if (!isset($_GET['event'])) { |
|
| 26 | $eventId = 0; |
|
| 27 | } else { |
|
| 28 | $eventId = (int)$_GET['event']; |
|
| 29 | } |
|
| 30 | $eventHandler = xoops_getModuleHandler(_EXTCAL_CLS_EVENT, _EXTCAL_MODULE); |
|
| 31 | $event = $eventHandler->objectToArray($eventHandler->getEvent($eventId), ['cat_id']); |
|
| 32 | ||
| @@ 45-49 (lines=5) @@ | ||
| 42 | $xoTheme->addScript('modules/extcal/include/ToolTips.js'); |
|
| 43 | $xoTheme->addStylesheet('modules/extcal/assets/css/infobulle.css'); |
|
| 44 | ||
| 45 | if (!isset($_GET['event'])) { |
|
| 46 | $eventId = 0; |
|
| 47 | } else { |
|
| 48 | $eventId = (int)$_GET['event']; |
|
| 49 | } |
|
| 50 | if (!isset($_GET['action'])) { |
|
| 51 | $action = 'edit'; |
|
| 52 | } else { |
|