@@ -93,7 +93,7 @@ discard block |
||
| 93 | 93 | define('_AM_EXTCAL_MD_FILE_DONT_EXIST_SHORT', "Module files don't exist"); |
| 94 | 94 | define('_AM_EXTCAL_MODULE_ADMIN_SUMMARY', 'eXtCal Administration Summary'); |
| 95 | 95 | define('_AM_EXTCAL_MULTIUPLOADS_NOT_OK', |
| 96 | - "The multiuploads component is not installed.<br><br><a href='http://xoops.kiolo.com/modules/mydownloads/'>Download here the multiuploads component</a><br><br>and install it in the folder 'class/xoopsform/'"); |
|
| 96 | + "The multiuploads component is not installed.<br><br><a href='http://xoops.kiolo.com/modules/mydownloads/'>Download here the multiuploads component</a><br><br>and install it in the folder 'class/xoopsform/'"); |
|
| 97 | 97 | define('_AM_EXTCAL_NAME', 'Name'); |
| 98 | 98 | define('_AM_EXTCAL_NOPERMSSET', 'Permission cannot be set: There are no Categories created yet! Please create a Category first.'); |
| 99 | 99 | define('_AM_EXTCAL_PENDING', 'Pending'); |
@@ -103,7 +103,7 @@ discard block |
||
| 103 | 103 | define('_AM_EXTCAL_PREFERENCES', 'Preferences'); |
| 104 | 104 | define('_AM_EXTCAL_PUBLIC_PERM_MASK', 'Public permissions mask'); |
| 105 | 105 | define('_AM_EXTCAL_PUBLIC_PERM_MASK_INFO', |
| 106 | - "You can set here the default mask permission who will be apply to new category. Be careful to don't give excessive permissions here because all new category will give them."); |
|
| 106 | + "You can set here the default mask permission who will be apply to new category. Be careful to don't give excessive permissions here because all new category will give them."); |
|
| 107 | 107 | define('_AM_EXTCAL_REDIRECT_DELOK', 'successfully deleted'); |
| 108 | 108 | define('_AM_EXTCAL_START_DATE', 'Start Date'); |
| 109 | 109 | define('_AM_EXTCAL_SUBMIT_PERMISSION', 'Submit permission'); |
@@ -157,7 +157,7 @@ |
||
| 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"); |
|
@@ -1,9 +1,9 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | 3 | // defined('XOOPS_ROOT_PATH') || die('XOOPS Root Path not defined'); |
| 4 | -include_once __DIR__ . '/include/constantes.php'; |
|
| 5 | -include_once __DIR__ . '/include/agenda_fnc.php'; |
|
| 6 | -include_once __DIR__ . '/class/config.php'; |
|
| 4 | +include_once __DIR__.'/include/constantes.php'; |
|
| 5 | +include_once __DIR__.'/include/agenda_fnc.php'; |
|
| 6 | +include_once __DIR__.'/class/config.php'; |
|
| 7 | 7 | //$loc_de = setlocale (LC_ALL, 'french'); |
| 8 | 8 | |
| 9 | 9 | //echo "local :" . setlocale(LC_TIME, $xoopsConfig['language'])."</ br>"; |
@@ -489,7 +489,7 @@ discard block |
||
| 489 | 489 | $modversion['config'][$i]['default'] = 5; |
| 490 | 490 | |
| 491 | 491 | ++$i; |
| 492 | -$modversion['config'][$i]['name'] = 'break' . $i; |
|
| 492 | +$modversion['config'][$i]['name'] = 'break'.$i; |
|
| 493 | 493 | $modversion['config'][$i]['title'] = '_MI_EXTCAL_SHOW_OTHEROPTIONS'; |
| 494 | 494 | $modversion['config'][$i]['description'] = ''; |
| 495 | 495 | $modversion['config'][$i]['formtype'] = 'line_break'; |
@@ -65,8 +65,8 @@ |
||
| 65 | 65 | // Flag current day |
| 66 | 66 | $selectedDays = array( |
| 67 | 67 | new Calendar_Day(date('Y', xoops_getUserTimestamp(time(), $extcalTimeHandler->_getUserTimeZone($xoopsUser))), |
| 68 | - date('n', xoops_getUserTimestamp(time(), $extcalTimeHandler->_getUserTimeZone($xoopsUser))), |
|
| 69 | - date('j', xoops_getUserTimestamp(time(), $extcalTimeHandler->_getUserTimeZone($xoopsUser)))), |
|
| 68 | + date('n', xoops_getUserTimestamp(time(), $extcalTimeHandler->_getUserTimeZone($xoopsUser))), |
|
| 69 | + date('j', xoops_getUserTimestamp(time(), $extcalTimeHandler->_getUserTimeZone($xoopsUser)))), |
|
| 70 | 70 | ); |
| 71 | 71 | |
| 72 | 72 | // Build calendar object |
@@ -59,9 +59,9 @@ |
||
| 59 | 59 | $rediredtMessage = _MD_EXTCAL_MAX_MEMBER_REACHED; |
| 60 | 60 | } else { |
| 61 | 61 | $eventMemberHandler->createEventmember(array( |
| 62 | - 'event_id' => (int) $_POST['event'], |
|
| 63 | - 'uid' => $xoopsUser->getVar('uid'), |
|
| 64 | - )); |
|
| 62 | + 'event_id' => (int) $_POST['event'], |
|
| 63 | + 'uid' => $xoopsUser->getVar('uid'), |
|
| 64 | + )); |
|
| 65 | 65 | sendMail2member($mode, $event_id, $member_uid, _MD_EXTCAL_SUBJECT_1, _MD_EXTCAL_MSG_1); |
| 66 | 66 | $rediredtMessage = _MD_EXTCAL_WHOS_GOING_ADDED_TO_EVENT; |
| 67 | 67 | } |
@@ -5,14 +5,14 @@ discard block |
||
| 5 | 5 | $moduleDirName = basename(dirname(__DIR__)); |
| 6 | 6 | $moduleHandler = xoops_getHandler('module'); |
| 7 | 7 | $module = $moduleHandler->getByDirname($moduleDirName); |
| 8 | -$pathIcon32 = '../../' . $module->getInfo('sysicons32'); |
|
| 9 | -$pathModIcon32 = './' . $module->getInfo('modicons32'); |
|
| 8 | +$pathIcon32 = '../../'.$module->getInfo('sysicons32'); |
|
| 9 | +$pathModIcon32 = './'.$module->getInfo('modicons32'); |
|
| 10 | 10 | xoops_loadLanguage('modinfo', $moduleDirName); |
| 11 | 11 | |
| 12 | -$xoopsModuleAdminPath = XOOPS_ROOT_PATH . '/' . $module->getInfo('dirmoduleadmin'); |
|
| 12 | +$xoopsModuleAdminPath = XOOPS_ROOT_PATH.'/'.$module->getInfo('dirmoduleadmin'); |
|
| 13 | 13 | |
| 14 | -if (!file_exists($fileinc = $xoopsModuleAdminPath . '/language/' . $GLOBALS['xoopsConfig']['language'] . '/' . 'main.php')) { |
|
| 15 | - $fileinc = $xoopsModuleAdminPath . '/language/english/main.php'; |
|
| 14 | +if (!file_exists($fileinc = $xoopsModuleAdminPath.'/language/'.$GLOBALS['xoopsConfig']['language'].'/'.'main.php')) { |
|
| 15 | + $fileinc = $xoopsModuleAdminPath.'/language/english/main.php'; |
|
| 16 | 16 | } |
| 17 | 17 | |
| 18 | 18 | include_once $fileinc; |
@@ -20,33 +20,33 @@ discard block |
||
| 20 | 20 | $adminmenu[] = array( |
| 21 | 21 | 'title' => _AM_MODULEADMIN_HOME, |
| 22 | 22 | 'link' => 'admin/index.php', |
| 23 | - 'icon' => $pathIcon32 . '/home.png' |
|
| 23 | + 'icon' => $pathIcon32.'/home.png' |
|
| 24 | 24 | ); |
| 25 | 25 | |
| 26 | 26 | $adminmenu[] = array( |
| 27 | 27 | 'title' => _MI_EXTCAL_CATEGORY, |
| 28 | 28 | 'link' => 'admin/cat.php', |
| 29 | - 'icon' => $pathIcon32 . '/category.png' |
|
| 29 | + 'icon' => $pathIcon32.'/category.png' |
|
| 30 | 30 | ); |
| 31 | 31 | |
| 32 | 32 | $adminmenu[] = array( |
| 33 | 33 | 'title' => _MI_EXTCAL_EVENT, |
| 34 | 34 | 'link' => 'admin/event.php', |
| 35 | - 'icon' => $pathIcon32 . '/event.png' |
|
| 35 | + 'icon' => $pathIcon32.'/event.png' |
|
| 36 | 36 | ); |
| 37 | 37 | $adminmenu[] = array( |
| 38 | 38 | 'title' => _MI_EXTCAL_ETABLISSEMENTS, |
| 39 | 39 | 'link' => 'admin/etablissement.php', |
| 40 | - 'icon' => $pathModIcon32 . '/etablissement.png' |
|
| 40 | + 'icon' => $pathModIcon32.'/etablissement.png' |
|
| 41 | 41 | ); |
| 42 | 42 | $adminmenu[] = array( |
| 43 | 43 | 'title' => _MI_EXTCAL_PERMISSIONS, |
| 44 | 44 | 'link' => 'admin/permissions.php', |
| 45 | - 'icon' => $pathIcon32 . '/permissions.png' |
|
| 45 | + 'icon' => $pathIcon32.'/permissions.png' |
|
| 46 | 46 | ); |
| 47 | 47 | |
| 48 | 48 | $adminmenu[] = array( |
| 49 | 49 | 'title' => _AM_MODULEADMIN_ABOUT, |
| 50 | 50 | 'link' => 'admin/about.php', |
| 51 | - 'icon' => $pathIcon32 . '/about.png' |
|
| 51 | + 'icon' => $pathIcon32.'/about.png' |
|
| 52 | 52 | ); |
@@ -129,9 +129,9 @@ discard block |
||
| 129 | 129 | echo '<td align="center"><b>'.$etablissement_telephone.'</td>'; |
| 130 | 130 | echo '<td align="center" width="15%">'; |
| 131 | 131 | echo '<a href="etablissement.php?op=edit_etablissement&etablissement_id='.$etablissement_id.'"><img src='.$pathIcon16.'/edit.png alt="'._AM_EXTCAL_ETABLISSEMENT_FORM_EDIT |
| 132 | - .'" title="'._AM_EXTCAL_ETABLISSEMENT_FORM_EDIT.'"></a> '; |
|
| 132 | + .'" title="'._AM_EXTCAL_ETABLISSEMENT_FORM_EDIT.'"></a> '; |
|
| 133 | 133 | echo '<a href="etablissement.php?op=delete_etablissement&etablissement_id='.$etablissement_id.'"><img src='.$pathIcon16.'/delete.png alt="' |
| 134 | - ._AM_EXTCAL_ETABLISSEMENT_FORM_DELETE.'" title="'._AM_EXTCAL_ETABLISSEMENT_FORM_DELETE.'"></a> '; |
|
| 134 | + ._AM_EXTCAL_ETABLISSEMENT_FORM_DELETE.'" title="'._AM_EXTCAL_ETABLISSEMENT_FORM_DELETE.'"></a> '; |
|
| 135 | 135 | echo '</td>'; |
| 136 | 136 | } |
| 137 | 137 | echo '</table><br>'; |
@@ -157,10 +157,10 @@ discard block |
||
| 157 | 157 | } |
| 158 | 158 | } else { |
| 159 | 159 | xoops_confirm(array( |
| 160 | - 'ok' => 1, |
|
| 161 | - 'etablissement_id' => $_REQUEST['etablissement_id'], |
|
| 162 | - 'op' => 'delete_etablissement', |
|
| 163 | - ), $_SERVER['REQUEST_URI'], _AM_EXTCAL_ETABLISSEMENT_SURDEL.'<br>'); |
|
| 160 | + 'ok' => 1, |
|
| 161 | + 'etablissement_id' => $_REQUEST['etablissement_id'], |
|
| 162 | + 'op' => 'delete_etablissement', |
|
| 163 | + ), $_SERVER['REQUEST_URI'], _AM_EXTCAL_ETABLISSEMENT_SURDEL.'<br>'); |
|
| 164 | 164 | } |
| 165 | 165 | break; |
| 166 | 166 | |
@@ -76,7 +76,7 @@ discard block |
||
| 76 | 76 | * Public category permission mask |
| 77 | 77 | */ |
| 78 | 78 | 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" /> ' |
| 79 | - ._AM_EXTCAL_PUBLIC_PERM_MASK.'</a></legend><div id="default">'; |
|
| 79 | + ._AM_EXTCAL_PUBLIC_PERM_MASK.'</a></legend><div id="default">'; |
|
| 80 | 80 | echo '<fieldset><legend style="font-weight:bold; color:#0A3760;">'._AM_EXTCAL_INFORMATION.'</legend>'; |
| 81 | 81 | echo _AM_EXTCAL_PUBLIC_PERM_MASK_INFO; |
| 82 | 82 | echo '</fieldset><br>'; |
@@ -126,7 +126,7 @@ discard block |
||
| 126 | 126 | } |
| 127 | 127 | |
| 128 | 128 | echo '<fieldset id="'.$permName.'Bookmark"><legend><a href="#'.$permName.'Bookmark" style="font-weight:bold; color:#990000;" onClick="toggle(\''.$permName.'\'); toggleIcon(\'' |
| 129 | - .$permName.'Icon\');"><img id="'.$permName.'Icon" src="../assets/images/icons/minus.gif" /> '.$titleOfForm.'</a></legend><div id="'.$permName.'">'; |
|
| 129 | + .$permName.'Icon\');"><img id="'.$permName.'Icon" src="../assets/images/icons/minus.gif" /> '.$titleOfForm.'</a></legend><div id="'.$permName.'">'; |
|
| 130 | 130 | echo '<fieldset><legend style="font-weight:bold; color:#0A3760;">'._AM_EXTCAL_INFORMATION.'</legend>'; |
| 131 | 131 | echo $permDesc; |
| 132 | 132 | echo '</fieldset>'; |
@@ -151,7 +151,7 @@ discard block |
||
| 151 | 151 | } |
| 152 | 152 | |
| 153 | 153 | echo '<fieldset id="'.$permName.'Bookmark"><legend><a href="#'.$permName.'Bookmark" style="font-weight:bold; color:#990000;" onClick="toggle(\''.$permName.'\'); toggleIcon(\'' |
| 154 | - .$permName.'Icon\');"><img id="'.$permName.'Icon" src="../assets/images/icons/minus.gif" /> '.$titleOfForm.'</a></legend><div id="'.$permName.'">'; |
|
| 154 | + .$permName.'Icon\');"><img id="'.$permName.'Icon" src="../assets/images/icons/minus.gif" /> '.$titleOfForm.'</a></legend><div id="'.$permName.'">'; |
|
| 155 | 155 | echo '<fieldset><legend style="font-weight:bold; color:#0A3760;">'._AM_EXTCAL_INFORMATION.'</legend>'; |
| 156 | 156 | echo $permDesc; |
| 157 | 157 | echo '</fieldset>'; |
@@ -175,7 +175,7 @@ discard block |
||
| 175 | 175 | } |
| 176 | 176 | |
| 177 | 177 | echo '<fieldset id="'.$permName.'Bookmark"><legend><a href="#'.$permName.'Bookmark" style="font-weight:bold; color:#990000;" onClick="toggle(\''.$permName.'\'); toggleIcon(\'' |
| 178 | - .$permName.'Icon\');"><img id="'.$permName.'Icon" src="../assets/images/icons/minus.gif" /> '.$titleOfForm.'</a></legend><div id="'.$permName.'">'; |
|
| 178 | + .$permName.'Icon\');"><img id="'.$permName.'Icon" src="../assets/images/icons/minus.gif" /> '.$titleOfForm.'</a></legend><div id="'.$permName.'">'; |
|
| 179 | 179 | echo '<fieldset><legend style="font-weight:bold; color:#0A3760;">'._AM_EXTCAL_INFORMATION.'</legend>'; |
| 180 | 180 | echo $permDesc; |
| 181 | 181 | echo '</fieldset>'; |
@@ -199,7 +199,7 @@ discard block |
||
| 199 | 199 | } |
| 200 | 200 | |
| 201 | 201 | echo '<fieldset id="'.$permName.'Bookmark"><legend><a href="#'.$permName.'Bookmark" style="font-weight:bold; color:#990000;" onClick="toggle(\''.$permName.'\'); toggleIcon(\'' |
| 202 | - .$permName.'Icon\');"><img id="'.$permName.'Icon" src="../assets/images/icons/minus.gif" /> '.$titleOfForm.'</a></legend><div id="'.$permName.'">'; |
|
| 202 | + .$permName.'Icon\');"><img id="'.$permName.'Icon" src="../assets/images/icons/minus.gif" /> '.$titleOfForm.'</a></legend><div id="'.$permName.'">'; |
|
| 203 | 203 | echo '<fieldset><legend style="font-weight:bold; color:#0A3760;">'._AM_EXTCAL_INFORMATION.'</legend>'; |
| 204 | 204 | echo $permDesc; |
| 205 | 205 | echo '</fieldset>'; |
@@ -18,7 +18,7 @@ |
||
| 18 | 18 | * @author Mamba (www.xoops.org) |
| 19 | 19 | **/ |
| 20 | 20 | echo "<div class='adminfooter'>\n"." <div style='text-align: center;'>\n" |
| 21 | - ." <a href='http://xoops.org' rel='external'><img src='{$pathIcon32}/xoopsmicrobutton.gif' alt='XOOPS' title='XOOPS'></a>\n"." </div>\n".' '._AM_MODULEADMIN_ADMIN_FOOTER."\n" |
|
| 22 | - .'</div>'; |
|
| 21 | + ." <a href='http://xoops.org' rel='external'><img src='{$pathIcon32}/xoopsmicrobutton.gif' alt='XOOPS' title='XOOPS'></a>\n"." </div>\n".' '._AM_MODULEADMIN_ADMIN_FOOTER."\n" |
|
| 22 | + .'</div>'; |
|
| 23 | 23 | |
| 24 | 24 | xoops_cp_footer(); |