@@ -37,9 +37,9 @@ |
||
| 37 | 37 | if ('add' === $_POST['mode']) { |
| 38 | 38 | $event = $eventHandler->getEvent(\Xmf\Request::getInt('event', 0, 'POST'), $xoopsUser); |
| 39 | 39 | $eventNotMemberHandler->createEventNotMember([ |
| 40 | - 'event_id' => \Xmf\Request::getInt('event', 0, 'POST'), |
|
| 41 | - 'uid' => $xoopsUser->getVar('uid'), |
|
| 42 | - ]); |
|
| 40 | + 'event_id' => \Xmf\Request::getInt('event', 0, 'POST'), |
|
| 41 | + 'uid' => $xoopsUser->getVar('uid'), |
|
| 42 | + ]); |
|
| 43 | 43 | sendMail2member($mode, $event_id, $member_uid, _MD_EXTCAL_SUBJECT_3, _MD_EXTCAL_MSG_3); |
| 44 | 44 | $rediredtMessage = _MD_EXTCAL_WHOSNOT_GOING_ADDED_TO_EVENT; |
| 45 | 45 | |
@@ -34,8 +34,8 @@ |
||
| 34 | 34 | public function __construct($debug = false) |
| 35 | 35 | { |
| 36 | 36 | $this->debug = $debug; |
| 37 | - $moduleDirName = basename(dirname(__DIR__)); |
|
| 38 | - parent::__construct($moduleDirName); |
|
| 37 | + $moduleDirName = basename(dirname(__DIR__)); |
|
| 38 | + parent::__construct($moduleDirName); |
|
| 39 | 39 | } |
| 40 | 40 | |
| 41 | 41 | /** |
@@ -56,22 +56,22 @@ |
||
| 56 | 56 | $edit_delete = ''; |
| 57 | 57 | if (is_object($xoopsUser) && $isAdmin) { |
| 58 | 58 | $edit_delete = '<a href="' |
| 59 | - . XOOPS_URL |
|
| 60 | - . '/modules/extcal/admin/Location.php?op=edit_location&location_id=' |
|
| 61 | - . $location_id |
|
| 62 | - . '"><img src="' |
|
| 63 | - . $pathIcon16 |
|
| 64 | - . '/edit.png" width="16px" height="16px" border="0" title="' |
|
| 65 | - . _MD_EXTCAL_LOCATION_EDIT |
|
| 66 | - . '"></a><a href="' |
|
| 67 | - . XOOPS_URL |
|
| 68 | - . '/modules/extcal/admin/Location.php?op=delete_location&location_id=' |
|
| 69 | - . $location_id |
|
| 70 | - . '"><img src="' |
|
| 71 | - . $pathIcon16 |
|
| 72 | - . '/delete.png" width="16px" height="16px" border="0" title="' |
|
| 73 | - . _MD_EXTCAL_LOCATION_DELETE |
|
| 74 | - . '"></a>'; |
|
| 59 | + . XOOPS_URL |
|
| 60 | + . '/modules/extcal/admin/Location.php?op=edit_location&location_id=' |
|
| 61 | + . $location_id |
|
| 62 | + . '"><img src="' |
|
| 63 | + . $pathIcon16 |
|
| 64 | + . '/edit.png" width="16px" height="16px" border="0" title="' |
|
| 65 | + . _MD_EXTCAL_LOCATION_EDIT |
|
| 66 | + . '"></a><a href="' |
|
| 67 | + . XOOPS_URL |
|
| 68 | + . '/modules/extcal/admin/Location.php?op=delete_location&location_id=' |
|
| 69 | + . $location_id |
|
| 70 | + . '"><img src="' |
|
| 71 | + . $pathIcon16 |
|
| 72 | + . '/delete.png" width="16px" height="16px" border="0" title="' |
|
| 73 | + . _MD_EXTCAL_LOCATION_DELETE |
|
| 74 | + . '"></a>'; |
|
| 75 | 75 | } |
| 76 | 76 | $xoopsTpl->assign('edit_delete', $edit_delete); |
| 77 | 77 | |
@@ -156,10 +156,10 @@ |
||
| 156 | 156 | } |
| 157 | 157 | } else { |
| 158 | 158 | xoops_confirm([ |
| 159 | - 'ok' => 1, |
|
| 160 | - 'location_id' => $_REQUEST['location_id'], |
|
| 161 | - 'op' => 'delete_location', |
|
| 162 | - ], $_SERVER['REQUEST_URI'], _AM_EXTCAL_LOCATION_SURDEL . '<br>'); |
|
| 159 | + 'ok' => 1, |
|
| 160 | + 'location_id' => $_REQUEST['location_id'], |
|
| 161 | + 'op' => 'delete_location', |
|
| 162 | + ], $_SERVER['REQUEST_URI'], _AM_EXTCAL_LOCATION_SURDEL . '<br>'); |
|
| 163 | 163 | } |
| 164 | 164 | break; |
| 165 | 165 | |
@@ -63,9 +63,9 @@ |
||
| 63 | 63 | $rediredtMessage = _MD_EXTCAL_MAX_MEMBER_REACHED; |
| 64 | 64 | } else { |
| 65 | 65 | $eventMemberHandler->createEventmember([ |
| 66 | - 'event_id' => \Xmf\Request::getInt('event', 0, 'POST'), |
|
| 67 | - 'uid' => $xoopsUser->getVar('uid'), |
|
| 68 | - ]); |
|
| 66 | + 'event_id' => \Xmf\Request::getInt('event', 0, 'POST'), |
|
| 67 | + 'uid' => $xoopsUser->getVar('uid'), |
|
| 68 | + ]); |
|
| 69 | 69 | sendMail2member($mode, $event_id, $member_uid, _MD_EXTCAL_SUBJECT_1, _MD_EXTCAL_MSG_1); |
| 70 | 70 | $rediredtMessage = _MD_EXTCAL_WHOS_GOING_ADDED_TO_EVENT; |
| 71 | 71 | } |