@@ -86,35 +86,35 @@ |
||
| 86 | 86 | xoops_cp_header(); |
| 87 | 87 | $fromemail = !empty($xoopsConfig['adminmail']) ? $xoopsConfig['adminmail'] : $xoopsUser->getVar('email', 'E'); |
| 88 | 88 | $subjectCaption = _AM_EXTCAL_SUBJECT |
| 89 | - . "<br><br><span style='font-size:x-small;font-weight:bold;'>" |
|
| 90 | - . _AM_EXTCAL_USEFUL_TAGS |
|
| 91 | - . "</span><br><span style='font-size:x-small;font-weight:normal;'>" |
|
| 92 | - . _AM_EXTCAL_MAILTAGS6 |
|
| 93 | - . '<br>' |
|
| 94 | - . _AM_EXTCAL_MAILTAGS2 |
|
| 95 | - . '</span> '; |
|
| 89 | + . "<br><br><span style='font-size:x-small;font-weight:bold;'>" |
|
| 90 | + . _AM_EXTCAL_USEFUL_TAGS |
|
| 91 | + . "</span><br><span style='font-size:x-small;font-weight:normal;'>" |
|
| 92 | + . _AM_EXTCAL_MAILTAGS6 |
|
| 93 | + . '<br>' |
|
| 94 | + . _AM_EXTCAL_MAILTAGS2 |
|
| 95 | + . '</span> '; |
|
| 96 | 96 | $bodyCaption = _AM_EXTCAL_BODY |
| 97 | - . "<br><br><span style='font-size:x-small;font-weight:bold;'>" |
|
| 98 | - . _AM_EXTCAL_USEFUL_TAGS |
|
| 99 | - . "</span><br><span style='font-size:x-small;font-weight:normal;'>" |
|
| 100 | - . _AM_EXTCAL_MAILTAGS1 |
|
| 101 | - . '<br>' |
|
| 102 | - . _AM_EXTCAL_MAILTAGS2 |
|
| 103 | - . '<br>' |
|
| 104 | - . _AM_EXTCAL_MAILTAGS3 |
|
| 105 | - . '<br>' |
|
| 106 | - . _AM_EXTCAL_MAILTAGS4 |
|
| 107 | - . '<br>' |
|
| 108 | - . _AM_EXTCAL_MAILTAGS5 |
|
| 109 | - . '<br>' |
|
| 110 | - . _AM_EXTCAL_MAILTAGS6 |
|
| 111 | - . '<br>' |
|
| 112 | - . _AM_EXTCAL_MAILTAGS7 |
|
| 113 | - . '<br>' |
|
| 114 | - . _AM_EXTCAL_MAILTAGS8 |
|
| 115 | - . '<br>' |
|
| 116 | - . _AM_EXTCAL_MAILTAGS9 |
|
| 117 | - . '</span> '; |
|
| 97 | + . "<br><br><span style='font-size:x-small;font-weight:bold;'>" |
|
| 98 | + . _AM_EXTCAL_USEFUL_TAGS |
|
| 99 | + . "</span><br><span style='font-size:x-small;font-weight:normal;'>" |
|
| 100 | + . _AM_EXTCAL_MAILTAGS1 |
|
| 101 | + . '<br>' |
|
| 102 | + . _AM_EXTCAL_MAILTAGS2 |
|
| 103 | + . '<br>' |
|
| 104 | + . _AM_EXTCAL_MAILTAGS3 |
|
| 105 | + . '<br>' |
|
| 106 | + . _AM_EXTCAL_MAILTAGS4 |
|
| 107 | + . '<br>' |
|
| 108 | + . _AM_EXTCAL_MAILTAGS5 |
|
| 109 | + . '<br>' |
|
| 110 | + . _AM_EXTCAL_MAILTAGS6 |
|
| 111 | + . '<br>' |
|
| 112 | + . _AM_EXTCAL_MAILTAGS7 |
|
| 113 | + . '<br>' |
|
| 114 | + . _AM_EXTCAL_MAILTAGS8 |
|
| 115 | + . '<br>' |
|
| 116 | + . _AM_EXTCAL_MAILTAGS9 |
|
| 117 | + . '</span> '; |
|
| 118 | 118 | $toCheckBbox = new XoopsFormCheckBox(_AM_EXTCAL_SEND_TO, 'mail_send_to', 'mail'); |
| 119 | 119 | $toCheckBox->addOption('mail', _AM_EXTCAL_EMAIL); |
| 120 | 120 | $toCheckBox->addOption('pm', _AM_EXTCAL_PM); |
@@ -93,8 +93,8 @@ discard block |
||
| 93 | 93 | * Public category permission mask |
| 94 | 94 | */ |
| 95 | 95 | echo '<fieldset id="defaultBookmark"><legend><a href="#defaultBookmark" style="font-weight:bold; color:#990000;" onClick="toggle(\'default\'); toggleIcon(\'defaultIcon\');"><img id="defaultIcon" src="../assets/images/icons/minus.gif"> ' |
| 96 | - . _AM_EXTCAL_PUBLIC_PERM_MASK |
|
| 97 | - . '</a></legend><div id="default">'; |
|
| 96 | + . _AM_EXTCAL_PUBLIC_PERM_MASK |
|
| 97 | + . '</a></legend><div id="default">'; |
|
| 98 | 98 | echo '<fieldset><legend style="font-weight:bold; color:#0A3760;">' . _AM_EXTCAL_INFORMATION . '</legend>'; |
| 99 | 99 | echo _AM_EXTCAL_PUBLIC_PERM_MASK_INFO; |
| 100 | 100 | echo '</fieldset><br>'; |
@@ -144,20 +144,20 @@ discard block |
||
| 144 | 144 | } |
| 145 | 145 | |
| 146 | 146 | echo '<fieldset id="' |
| 147 | - . $permName |
|
| 148 | - . 'Bookmark"><legend><a href="#' |
|
| 149 | - . $permName |
|
| 150 | - . 'Bookmark" style="font-weight:bold; color:#990000;" onClick="toggle(\'' |
|
| 151 | - . $permName |
|
| 152 | - . '\'); toggleIcon(\'' |
|
| 153 | - . $permName |
|
| 154 | - . 'Icon\');"><img id="' |
|
| 155 | - . $permName |
|
| 156 | - . 'Icon" src="../assets/images/icons/minus.gif"> ' |
|
| 157 | - . $titleOfForm |
|
| 158 | - . '</a></legend><div id="' |
|
| 159 | - . $permName |
|
| 160 | - . '">'; |
|
| 147 | + . $permName |
|
| 148 | + . 'Bookmark"><legend><a href="#' |
|
| 149 | + . $permName |
|
| 150 | + . 'Bookmark" style="font-weight:bold; color:#990000;" onClick="toggle(\'' |
|
| 151 | + . $permName |
|
| 152 | + . '\'); toggleIcon(\'' |
|
| 153 | + . $permName |
|
| 154 | + . 'Icon\');"><img id="' |
|
| 155 | + . $permName |
|
| 156 | + . 'Icon" src="../assets/images/icons/minus.gif"> ' |
|
| 157 | + . $titleOfForm |
|
| 158 | + . '</a></legend><div id="' |
|
| 159 | + . $permName |
|
| 160 | + . '">'; |
|
| 161 | 161 | echo '<fieldset><legend style="font-weight:bold; color:#0A3760;">' . _AM_EXTCAL_INFORMATION . '</legend>'; |
| 162 | 162 | echo $permDesc; |
| 163 | 163 | echo '</fieldset>'; |
@@ -182,20 +182,20 @@ discard block |
||
| 182 | 182 | } |
| 183 | 183 | |
| 184 | 184 | echo '<fieldset id="' |
| 185 | - . $permName |
|
| 186 | - . 'Bookmark"><legend><a href="#' |
|
| 187 | - . $permName |
|
| 188 | - . 'Bookmark" style="font-weight:bold; color:#990000;" onClick="toggle(\'' |
|
| 189 | - . $permName |
|
| 190 | - . '\'); toggleIcon(\'' |
|
| 191 | - . $permName |
|
| 192 | - . 'Icon\');"><img id="' |
|
| 193 | - . $permName |
|
| 194 | - . 'Icon" src="../assets/images/icons/minus.gif"> ' |
|
| 195 | - . $titleOfForm |
|
| 196 | - . '</a></legend><div id="' |
|
| 197 | - . $permName |
|
| 198 | - . '">'; |
|
| 185 | + . $permName |
|
| 186 | + . 'Bookmark"><legend><a href="#' |
|
| 187 | + . $permName |
|
| 188 | + . 'Bookmark" style="font-weight:bold; color:#990000;" onClick="toggle(\'' |
|
| 189 | + . $permName |
|
| 190 | + . '\'); toggleIcon(\'' |
|
| 191 | + . $permName |
|
| 192 | + . 'Icon\');"><img id="' |
|
| 193 | + . $permName |
|
| 194 | + . 'Icon" src="../assets/images/icons/minus.gif"> ' |
|
| 195 | + . $titleOfForm |
|
| 196 | + . '</a></legend><div id="' |
|
| 197 | + . $permName |
|
| 198 | + . '">'; |
|
| 199 | 199 | echo '<fieldset><legend style="font-weight:bold; color:#0A3760;">' . _AM_EXTCAL_INFORMATION . '</legend>'; |
| 200 | 200 | echo $permDesc; |
| 201 | 201 | echo '</fieldset>'; |
@@ -219,20 +219,20 @@ discard block |
||
| 219 | 219 | } |
| 220 | 220 | |
| 221 | 221 | echo '<fieldset id="' |
| 222 | - . $permName |
|
| 223 | - . 'Bookmark"><legend><a href="#' |
|
| 224 | - . $permName |
|
| 225 | - . 'Bookmark" style="font-weight:bold; color:#990000;" onClick="toggle(\'' |
|
| 226 | - . $permName |
|
| 227 | - . '\'); toggleIcon(\'' |
|
| 228 | - . $permName |
|
| 229 | - . 'Icon\');"><img id="' |
|
| 230 | - . $permName |
|
| 231 | - . 'Icon" src="../assets/images/icons/minus.gif"> ' |
|
| 232 | - . $titleOfForm |
|
| 233 | - . '</a></legend><div id="' |
|
| 234 | - . $permName |
|
| 235 | - . '">'; |
|
| 222 | + . $permName |
|
| 223 | + . 'Bookmark"><legend><a href="#' |
|
| 224 | + . $permName |
|
| 225 | + . 'Bookmark" style="font-weight:bold; color:#990000;" onClick="toggle(\'' |
|
| 226 | + . $permName |
|
| 227 | + . '\'); toggleIcon(\'' |
|
| 228 | + . $permName |
|
| 229 | + . 'Icon\');"><img id="' |
|
| 230 | + . $permName |
|
| 231 | + . 'Icon" src="../assets/images/icons/minus.gif"> ' |
|
| 232 | + . $titleOfForm |
|
| 233 | + . '</a></legend><div id="' |
|
| 234 | + . $permName |
|
| 235 | + . '">'; |
|
| 236 | 236 | echo '<fieldset><legend style="font-weight:bold; color:#0A3760;">' . _AM_EXTCAL_INFORMATION . '</legend>'; |
| 237 | 237 | echo $permDesc; |
| 238 | 238 | echo '</fieldset>'; |
@@ -256,20 +256,20 @@ discard block |
||
| 256 | 256 | } |
| 257 | 257 | |
| 258 | 258 | echo '<fieldset id="' |
| 259 | - . $permName |
|
| 260 | - . 'Bookmark"><legend><a href="#' |
|
| 261 | - . $permName |
|
| 262 | - . 'Bookmark" style="font-weight:bold; color:#990000;" onClick="toggle(\'' |
|
| 263 | - . $permName |
|
| 264 | - . '\'); toggleIcon(\'' |
|
| 265 | - . $permName |
|
| 266 | - . 'Icon\');"><img id="' |
|
| 267 | - . $permName |
|
| 268 | - . 'Icon" src="../assets/images/icons/minus.gif"> ' |
|
| 269 | - . $titleOfForm |
|
| 270 | - . '</a></legend><div id="' |
|
| 271 | - . $permName |
|
| 272 | - . '">'; |
|
| 259 | + . $permName |
|
| 260 | + . 'Bookmark"><legend><a href="#' |
|
| 261 | + . $permName |
|
| 262 | + . 'Bookmark" style="font-weight:bold; color:#990000;" onClick="toggle(\'' |
|
| 263 | + . $permName |
|
| 264 | + . '\'); toggleIcon(\'' |
|
| 265 | + . $permName |
|
| 266 | + . 'Icon\');"><img id="' |
|
| 267 | + . $permName |
|
| 268 | + . 'Icon" src="../assets/images/icons/minus.gif"> ' |
|
| 269 | + . $titleOfForm |
|
| 270 | + . '</a></legend><div id="' |
|
| 271 | + . $permName |
|
| 272 | + . '">'; |
|
| 273 | 273 | echo '<fieldset><legend style="font-weight:bold; color:#0A3760;">' . _AM_EXTCAL_INFORMATION . '</legend>'; |
| 274 | 274 | echo $permDesc; |
| 275 | 275 | echo '</fieldset>'; |
@@ -44,8 +44,8 @@ |
||
| 44 | 44 | |
| 45 | 45 | // Create who's not going table to fix bug. If the table exist, the query will faile |
| 46 | 46 | $sql = 'CREATE TABLE `' |
| 47 | - . $xoopsDB->prefix('extcal_eventnotmember') |
|
| 48 | - . "` (`eventnotmember_id` INT(11) NOT NULL AUTO_INCREMENT,`event_id` INT(11) NOT NULL DEFAULT '0',`uid` INT(11) NOT NULL DEFAULT '0',PRIMARY KEY (`eventnotmember_id`),UNIQUE KEY `eventnotmember` (`event_id`,`uid`)) COMMENT='eXtcal By Zoullou' ;"; |
|
| 47 | + . $xoopsDB->prefix('extcal_eventnotmember') |
|
| 48 | + . "` (`eventnotmember_id` INT(11) NOT NULL AUTO_INCREMENT,`event_id` INT(11) NOT NULL DEFAULT '0',`uid` INT(11) NOT NULL DEFAULT '0',PRIMARY KEY (`eventnotmember_id`),UNIQUE KEY `eventnotmember` (`event_id`,`uid`)) COMMENT='eXtcal By Zoullou' ;"; |
|
| 49 | 49 | $xoopsDB->query($sql); |
| 50 | 50 | } |
| 51 | 51 | |
@@ -51,13 +51,13 @@ |
||
| 51 | 51 | $xoopsDB->query($sql); |
| 52 | 52 | |
| 53 | 53 | $sql = 'CREATE TABLE `' |
| 54 | - . $xoopsDB->prefix('extcal_event') |
|
| 55 | - . "` (`eventnotmember_id` INT(11) NOT NULL AUTO_INCREMENT,`event_id` INT(11) NOT NULL DEFAULT '0',`uid` INT(11) NOT NULL DEFAULT '0',PRIMARY KEY (`eventnotmember_id`),UNIQUE KEY `eventnotmember` (`event_id`,`uid`)) COMMENT='eXtcal By Zoullou' ;"; |
|
| 54 | + . $xoopsDB->prefix('extcal_event') |
|
| 55 | + . "` (`eventnotmember_id` INT(11) NOT NULL AUTO_INCREMENT,`event_id` INT(11) NOT NULL DEFAULT '0',`uid` INT(11) NOT NULL DEFAULT '0',PRIMARY KEY (`eventnotmember_id`),UNIQUE KEY `eventnotmember` (`event_id`,`uid`)) COMMENT='eXtcal By Zoullou' ;"; |
|
| 56 | 56 | $xoopsDB->query($sql); |
| 57 | 57 | |
| 58 | 58 | $sql = 'CREATE TABLE `' |
| 59 | - . $xoopsDB->prefix('extcal_file') |
|
| 60 | - . "` (`file_id` INT(11) NOT NULL AUTO_INCREMENT,`file_name` VARCHAR(255) NOT NULL,`file_nicename` VARCHAR(255) NOT NULL,`file_mimetype` VARCHAR(255) NOT NULL,`file_size` INT(11) NOT NULL,`file_download` INT(11) NOT NULL,`file_date` INT(11) NOT NULL,`file_approved` TINYINT(1) NOT NULL,`event_id` INT(11) NOT NULL,`uid` INT(11) NOT NULL,PRIMARY KEY (`file_id`)) COMMENT='eXtcal By Zoullou' ;"; |
|
| 59 | + . $xoopsDB->prefix('extcal_file') |
|
| 60 | + . "` (`file_id` INT(11) NOT NULL AUTO_INCREMENT,`file_name` VARCHAR(255) NOT NULL,`file_nicename` VARCHAR(255) NOT NULL,`file_mimetype` VARCHAR(255) NOT NULL,`file_size` INT(11) NOT NULL,`file_download` INT(11) NOT NULL,`file_date` INT(11) NOT NULL,`file_approved` TINYINT(1) NOT NULL,`event_id` INT(11) NOT NULL,`uid` INT(11) NOT NULL,PRIMARY KEY (`file_id`)) COMMENT='eXtcal By Zoullou' ;"; |
|
| 61 | 61 | $xoopsDB->query($sql); |
| 62 | 62 | } |
| 63 | 63 | |
@@ -157,10 +157,10 @@ |
||
| 157 | 157 | |
| 158 | 158 | define('_MI_EXTCAL_EDITOR_ADMIN', 'Editor to use (admin):'); |
| 159 | 159 | define('_MI_EXTCAL_EDITOR_ADMIN_DESC', |
| 160 | - "Select the editor to use for admin side. If you have a 'simple' install (e.g you use only XOOPS core editor class, provided in the standard xoops core package), then you can just select DHTML and Compact"); |
|
| 160 | + "Select the editor to use for admin side. If you have a 'simple' install (e.g you use only XOOPS core editor class, provided in the standard xoops core package), then you can just select DHTML and Compact"); |
|
| 161 | 161 | define('_MI_EXTCAL_EDITOR_USER', 'Editor to use (user):'); |
| 162 | 162 | define('_MI_EXTCAL_EDITOR_USER_DESC', |
| 163 | - "Select the editor to use for user side. If you have a 'simple' install (e.g you use only XOOPS core editor class, provided in the standard xoops core package), then you can just select DHTML and Compact"); |
|
| 163 | + "Select the editor to use for user side. If you have a 'simple' install (e.g you use only XOOPS core editor class, provided in the standard xoops core package), then you can just select DHTML and Compact"); |
|
| 164 | 164 | |
| 165 | 165 | //Help |
| 166 | 166 | define('_MI_EXTCAL_DIRNAME', basename(dirname(dirname(__DIR__)))); |