@@ -5,7 +5,7 @@ |
||
| 5 | 5 | if (!@include 'Calendar/Calendar.php') { |
| 6 | 6 | define('CALENDAR_ROOT', '../../'); |
| 7 | 7 | } |
| 8 | -require_once CALENDAR_ROOT . 'Day.php'; |
|
| 8 | +require_once CALENDAR_ROOT.'Day.php'; |
|
| 9 | 9 | |
| 10 | 10 | $Day = new Calendar_Day(2003, 10, 23); |
| 11 | 11 | |
@@ -1,4 +1,4 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -include __DIR__ . '/../../mainfile.php'; |
|
| 4 | -include XOOPS_ROOT_PATH . '/include/notification_update.php'; |
|
| 3 | +include __DIR__.'/../../mainfile.php'; |
|
| 4 | +include XOOPS_ROOT_PATH.'/include/notification_update.php'; |
|
@@ -6,9 +6,9 @@ discard block |
||
| 6 | 6 | if (!@include 'Calendar/Calendar.php') { |
| 7 | 7 | define('CALENDAR_ROOT', '../../'); |
| 8 | 8 | } |
| 9 | -require_once CALENDAR_ROOT . 'Day.php'; |
|
| 10 | -require_once CALENDAR_ROOT . 'Month/Weekdays.php'; |
|
| 11 | -require_once CALENDAR_ROOT . 'Decorator/Textual.php'; |
|
| 9 | +require_once CALENDAR_ROOT.'Day.php'; |
|
| 10 | +require_once CALENDAR_ROOT.'Month/Weekdays.php'; |
|
| 11 | +require_once CALENDAR_ROOT.'Decorator/Textual.php'; |
|
| 12 | 12 | |
| 13 | 13 | // Could change language like this |
| 14 | 14 | // setlocale (LC_TIME, "de_DE"); // Unix based (probably) |
@@ -28,12 +28,12 @@ discard block |
||
| 28 | 28 | // Decorate |
| 29 | 29 | $Textual = new Calendar_Decorator_Textual($Calendar); |
| 30 | 30 | |
| 31 | -echo '<hr>Previous month is: ' . $Textual->prevMonthName('two') . '<br>'; |
|
| 32 | -echo 'This month is: ' . $Textual->thisMonthName('short') . '<br>'; |
|
| 33 | -echo 'Next month is: ' . $Textual->nextMonthName() . '<br><hr>'; |
|
| 34 | -echo 'Previous day is: ' . $Textual->prevDayName() . '<br>'; |
|
| 35 | -echo 'This day is: ' . $Textual->thisDayName('short') . '<br>'; |
|
| 36 | -echo 'Next day is: ' . $Textual->nextDayName('one') . '<br><hr>'; |
|
| 31 | +echo '<hr>Previous month is: '.$Textual->prevMonthName('two').'<br>'; |
|
| 32 | +echo 'This month is: '.$Textual->thisMonthName('short').'<br>'; |
|
| 33 | +echo 'Next month is: '.$Textual->nextMonthName().'<br><hr>'; |
|
| 34 | +echo 'Previous day is: '.$Textual->prevDayName().'<br>'; |
|
| 35 | +echo 'This day is: '.$Textual->thisDayName('short').'<br>'; |
|
| 36 | +echo 'Next day is: '.$Textual->nextDayName('one').'<br><hr>'; |
|
| 37 | 37 | |
| 38 | 38 | echo "Creating: new Calendar_Month_Weekdays(date('Y'), date('n'), 6); - Saturday is first day of week<br>"; |
| 39 | 39 | $Calendar = new Calendar_Month_Weekdays(date('Y'), date('n'), 6); |
@@ -43,12 +43,12 @@ discard block |
||
| 43 | 43 | ?> |
| 44 | 44 | <p>Rendering calendar....</p> |
| 45 | 45 | <table> |
| 46 | - <caption><?php echo $Textual->thisMonthName() . ' ' . $Textual->thisYear(); ?></caption> |
|
| 46 | + <caption><?php echo $Textual->thisMonthName().' '.$Textual->thisYear(); ?></caption> |
|
| 47 | 47 | <tr> |
| 48 | 48 | <?php |
| 49 | 49 | $dayheaders = $Textual->orderedWeekdays('short'); |
| 50 | 50 | foreach ($dayheaders as $dayheader) { |
| 51 | - echo '<th>' . $dayheader . '</th>'; |
|
| 51 | + echo '<th>'.$dayheader.'</th>'; |
|
| 52 | 52 | } |
| 53 | 53 | ?> |
| 54 | 54 | </tr> |
@@ -61,7 +61,7 @@ discard block |
||
| 61 | 61 | if ($Day->isEmpty()) { |
| 62 | 62 | echo '<td> </td>'; |
| 63 | 63 | } else { |
| 64 | - echo '<td>' . $Day->thisDay() . '</td>'; |
|
| 64 | + echo '<td>'.$Day->thisDay().'</td>'; |
|
| 65 | 65 | } |
| 66 | 66 | if ($Day->isLast()) { |
| 67 | 67 | echo "</tr>\n"; |
@@ -6,9 +6,9 @@ discard block |
||
| 6 | 6 | if (!@include 'Calendar/Calendar.php') { |
| 7 | 7 | define('CALENDAR_ROOT', '../../'); |
| 8 | 8 | } |
| 9 | -require_once CALENDAR_ROOT . 'Day.php'; |
|
| 10 | -require_once CALENDAR_ROOT . 'Month/Weekdays.php'; |
|
| 11 | -require_once CALENDAR_ROOT . 'Util/Textual.php'; |
|
| 9 | +require_once CALENDAR_ROOT.'Day.php'; |
|
| 10 | +require_once CALENDAR_ROOT.'Month/Weekdays.php'; |
|
| 11 | +require_once CALENDAR_ROOT.'Util/Textual.php'; |
|
| 12 | 12 | |
| 13 | 13 | // Could change language like this |
| 14 | 14 | // setlocale (LC_TIME, "de_DE"); // Unix based (probably) |
@@ -25,12 +25,12 @@ discard block |
||
| 25 | 25 | echo "<hr>Creating: new Calendar_Day(date('Y'), date('n'), date('d'));<br>"; |
| 26 | 26 | $Calendar = new Calendar_Day(date('Y'), date('n'), date('d')); |
| 27 | 27 | |
| 28 | -echo '<hr>Previous month is: ' . Calendar_Util_Textual::prevMonthName($Calendar, 'two') . '<br>'; |
|
| 29 | -echo 'This month is: ' . Calendar_Util_Textual::thisMonthName($Calendar, 'short') . '<br>'; |
|
| 30 | -echo 'Next month is: ' . Calendar_Util_Textual::nextMonthName($Calendar) . '<br><hr>'; |
|
| 31 | -echo 'Previous day is: ' . Calendar_Util_Textual::prevDayName($Calendar) . '<br>'; |
|
| 32 | -echo 'This day is: ' . Calendar_Util_Textual::thisDayName($Calendar, 'short') . '<br>'; |
|
| 33 | -echo 'Next day is: ' . Calendar_Util_Textual::nextDayName($Calendar, 'one') . '<br><hr>'; |
|
| 28 | +echo '<hr>Previous month is: '.Calendar_Util_Textual::prevMonthName($Calendar, 'two').'<br>'; |
|
| 29 | +echo 'This month is: '.Calendar_Util_Textual::thisMonthName($Calendar, 'short').'<br>'; |
|
| 30 | +echo 'Next month is: '.Calendar_Util_Textual::nextMonthName($Calendar).'<br><hr>'; |
|
| 31 | +echo 'Previous day is: '.Calendar_Util_Textual::prevDayName($Calendar).'<br>'; |
|
| 32 | +echo 'This day is: '.Calendar_Util_Textual::thisDayName($Calendar, 'short').'<br>'; |
|
| 33 | +echo 'Next day is: '.Calendar_Util_Textual::nextDayName($Calendar, 'one').'<br><hr>'; |
|
| 34 | 34 | |
| 35 | 35 | echo "Creating: new Calendar_Month_Weekdays(date('Y'), date('n'), 6); - Saturday is first day of week<br>"; |
| 36 | 36 | $Calendar = new Calendar_Month_Weekdays(date('Y'), date('n'), 6); |
@@ -38,12 +38,12 @@ discard block |
||
| 38 | 38 | ?> |
| 39 | 39 | <p>Rendering calendar....</p> |
| 40 | 40 | <table> |
| 41 | - <caption><?php echo Calendar_Util_Textual::thisMonthName($Calendar) . ' ' . $Calendar->thisYear(); ?></caption> |
|
| 41 | + <caption><?php echo Calendar_Util_Textual::thisMonthName($Calendar).' '.$Calendar->thisYear(); ?></caption> |
|
| 42 | 42 | <tr> |
| 43 | 43 | <?php |
| 44 | 44 | $dayheaders = Calendar_Util_Textual::orderedWeekdays($Calendar, 'short'); |
| 45 | 45 | foreach ($dayheaders as $dayheader) { |
| 46 | - echo '<th>' . $dayheader . '</th>'; |
|
| 46 | + echo '<th>'.$dayheader.'</th>'; |
|
| 47 | 47 | } |
| 48 | 48 | ?> |
| 49 | 49 | </tr> |
@@ -56,7 +56,7 @@ discard block |
||
| 56 | 56 | if ($Day->isEmpty()) { |
| 57 | 57 | echo '<td> </td>'; |
| 58 | 58 | } else { |
| 59 | - echo '<td>' . $Day->thisDay() . '</td>'; |
|
| 59 | + echo '<td>'.$Day->thisDay().'</td>'; |
|
| 60 | 60 | } |
| 61 | 61 | if ($Day->isLast()) { |
| 62 | 62 | echo "</tr>\n"; |
@@ -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>'; |
@@ -17,9 +17,9 @@ discard block |
||
| 17 | 17 | * @author XOOPS Development Team, |
| 18 | 18 | */ |
| 19 | 19 | |
| 20 | -require_once __DIR__ . '/../../../include/cp_header.php'; |
|
| 21 | -require_once XOOPS_ROOT_PATH . '/class/xoopsform/grouppermform.php'; |
|
| 22 | -require_once __DIR__ . '/admin_header.php'; |
|
| 20 | +require_once __DIR__.'/../../../include/cp_header.php'; |
|
| 21 | +require_once XOOPS_ROOT_PATH.'/class/xoopsform/grouppermform.php'; |
|
| 22 | +require_once __DIR__.'/admin_header.php'; |
|
| 23 | 23 | |
| 24 | 24 | $step = 'default'; |
| 25 | 25 | if (isset($_POST['step'])) { |
@@ -95,35 +95,35 @@ discard block |
||
| 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 | 96 | . _AM_EXTCAL_PUBLIC_PERM_MASK |
| 97 | 97 | . '</a></legend><div id="default">'; |
| 98 | - echo '<fieldset><legend style="font-weight:bold; color:#0A3760;">' . _AM_EXTCAL_INFORMATION . '</legend>'; |
|
| 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>'; |
| 101 | 101 | echo '<table class="outer" style="width:100%;">'; |
| 102 | 102 | echo '<form method="post" action="permissions.php">'; |
| 103 | 103 | echo '<tr>'; |
| 104 | - echo '<th colspan="8" style="text-align:center;">' . _AM_EXTCAL_PUBLIC_PERM_MASK . '</th>'; |
|
| 104 | + echo '<th colspan="8" style="text-align:center;">'._AM_EXTCAL_PUBLIC_PERM_MASK.'</th>'; |
|
| 105 | 105 | echo '</tr>'; |
| 106 | 106 | echo '<tr>'; |
| 107 | - echo '<td class="head" style="text-align:center;">' . _AM_EXTCAL_GROUP_NAME . '</td>'; |
|
| 108 | - echo '<td class="head" style="text-align:center;">' . _AM_EXTCAL_CAN_VIEW . '</td>'; |
|
| 109 | - echo '<td class="head" style="text-align:center;">' . _AM_EXTCAL_CAN_SUBMIT . '</td>'; |
|
| 110 | - echo '<td class="head" style="text-align:center;">' . _AM_EXTCAL_AUTO_APPROVE . '</td>'; |
|
| 111 | - echo '<td class="head" style="text-align:center;">' . _AM_EXTCAL_CAN_EDIT . '</td>'; |
|
| 107 | + echo '<td class="head" style="text-align:center;">'._AM_EXTCAL_GROUP_NAME.'</td>'; |
|
| 108 | + echo '<td class="head" style="text-align:center;">'._AM_EXTCAL_CAN_VIEW.'</td>'; |
|
| 109 | + echo '<td class="head" style="text-align:center;">'._AM_EXTCAL_CAN_SUBMIT.'</td>'; |
|
| 110 | + echo '<td class="head" style="text-align:center;">'._AM_EXTCAL_AUTO_APPROVE.'</td>'; |
|
| 111 | + echo '<td class="head" style="text-align:center;">'._AM_EXTCAL_CAN_EDIT.'</td>'; |
|
| 112 | 112 | echo '</tr>'; |
| 113 | 113 | $i = 0; |
| 114 | 114 | foreach ($glist as $k => $v) { |
| 115 | 115 | $style = (0 == ++$i % 2) ? 'odd' : 'even'; |
| 116 | 116 | echo '<tr>'; |
| 117 | - echo '<td class="' . $style . '">' . $v . '</td>'; |
|
| 118 | - echo '<td class="' . $style . '" style="text-align:center;"><input name="perms[extcal_perm_mask][group][' . $k . '][1]" type="checkbox"' . getChecked($viewGroup, $k) . '></td>'; |
|
| 119 | - echo '<td class="' . $style . '" style="text-align:center;"><input name="perms[extcal_perm_mask][group][' . $k . '][2]" type="checkbox"' . getChecked($submitGroup, $k) . '></td>'; |
|
| 120 | - echo '<td class="' . $style . '" style="text-align:center;"><input name="perms[extcal_perm_mask][group][' . $k . '][4]" type="checkbox"' . getChecked($autoApproveGroup, $k) . '></td>'; |
|
| 121 | - echo '<td class="' . $style . '" style="text-align:center;"><input name="perms[extcal_perm_mask][group][' . $k . '][8]" type="checkbox"' . getChecked($editGroup, $k) . '></td>'; |
|
| 117 | + echo '<td class="'.$style.'">'.$v.'</td>'; |
|
| 118 | + echo '<td class="'.$style.'" style="text-align:center;"><input name="perms[extcal_perm_mask][group]['.$k.'][1]" type="checkbox"'.getChecked($viewGroup, $k).'></td>'; |
|
| 119 | + echo '<td class="'.$style.'" style="text-align:center;"><input name="perms[extcal_perm_mask][group]['.$k.'][2]" type="checkbox"'.getChecked($submitGroup, $k).'></td>'; |
|
| 120 | + echo '<td class="'.$style.'" style="text-align:center;"><input name="perms[extcal_perm_mask][group]['.$k.'][4]" type="checkbox"'.getChecked($autoApproveGroup, $k).'></td>'; |
|
| 121 | + echo '<td class="'.$style.'" style="text-align:center;"><input name="perms[extcal_perm_mask][group]['.$k.'][8]" type="checkbox"'.getChecked($editGroup, $k).'></td>'; |
|
| 122 | 122 | echo '</tr>'; |
| 123 | 123 | } |
| 124 | 124 | echo '<input type="hidden" name="type" value="public">'; |
| 125 | 125 | echo '<input type="hidden" name="step" value="enreg">'; |
| 126 | - echo '<tr><td colspan="8" style="text-align:center;" class="head"><input type="submit" value="' . _SUBMIT . '"></td></tr></form>'; |
|
| 126 | + echo '<tr><td colspan="8" style="text-align:center;" class="head"><input type="submit" value="'._SUBMIT.'"></td></tr></form>'; |
|
| 127 | 127 | echo '</table><br>'; |
| 128 | 128 | |
| 129 | 129 | echo '</div></fieldset><br>'; |
@@ -158,12 +158,12 @@ discard block |
||
| 158 | 158 | . '</a></legend><div id="' |
| 159 | 159 | . $permName |
| 160 | 160 | . '">'; |
| 161 | - echo '<fieldset><legend style="font-weight:bold; color:#0A3760;">' . _AM_EXTCAL_INFORMATION . '</legend>'; |
|
| 161 | + echo '<fieldset><legend style="font-weight:bold; color:#0A3760;">'._AM_EXTCAL_INFORMATION.'</legend>'; |
|
| 162 | 162 | echo $permDesc; |
| 163 | 163 | echo '</fieldset>'; |
| 164 | 164 | |
| 165 | 165 | if ($catHandler->getCount()) { |
| 166 | - echo $form->render() . '<br>'; |
|
| 166 | + echo $form->render().'<br>'; |
|
| 167 | 167 | } else { |
| 168 | 168 | redirect_header('cat.php', 2, _AM_EXTCAL_NOPERMSSET, false); |
| 169 | 169 | } |
@@ -196,11 +196,11 @@ discard block |
||
| 196 | 196 | . '</a></legend><div id="' |
| 197 | 197 | . $permName |
| 198 | 198 | . '">'; |
| 199 | - echo '<fieldset><legend style="font-weight:bold; color:#0A3760;">' . _AM_EXTCAL_INFORMATION . '</legend>'; |
|
| 199 | + echo '<fieldset><legend style="font-weight:bold; color:#0A3760;">'._AM_EXTCAL_INFORMATION.'</legend>'; |
|
| 200 | 200 | echo $permDesc; |
| 201 | 201 | echo '</fieldset>'; |
| 202 | 202 | if ($catHandler->getCount()) { |
| 203 | - echo $form->render() . '<br>'; |
|
| 203 | + echo $form->render().'<br>'; |
|
| 204 | 204 | } else { |
| 205 | 205 | redirect_header('cat.php', 2, _AM_EXTCAL_NOPERMSSET, false); |
| 206 | 206 | } |
@@ -233,11 +233,11 @@ discard block |
||
| 233 | 233 | . '</a></legend><div id="' |
| 234 | 234 | . $permName |
| 235 | 235 | . '">'; |
| 236 | - echo '<fieldset><legend style="font-weight:bold; color:#0A3760;">' . _AM_EXTCAL_INFORMATION . '</legend>'; |
|
| 236 | + echo '<fieldset><legend style="font-weight:bold; color:#0A3760;">'._AM_EXTCAL_INFORMATION.'</legend>'; |
|
| 237 | 237 | echo $permDesc; |
| 238 | 238 | echo '</fieldset>'; |
| 239 | 239 | if ($catHandler->getCount()) { |
| 240 | - echo $form->render() . '<br>'; |
|
| 240 | + echo $form->render().'<br>'; |
|
| 241 | 241 | } else { |
| 242 | 242 | redirect_header('cat.php', 2, _AM_EXTCAL_NOPERMSSET, false); |
| 243 | 243 | } |
@@ -270,11 +270,11 @@ discard block |
||
| 270 | 270 | . '</a></legend><div id="' |
| 271 | 271 | . $permName |
| 272 | 272 | . '">'; |
| 273 | - echo '<fieldset><legend style="font-weight:bold; color:#0A3760;">' . _AM_EXTCAL_INFORMATION . '</legend>'; |
|
| 273 | + echo '<fieldset><legend style="font-weight:bold; color:#0A3760;">'._AM_EXTCAL_INFORMATION.'</legend>'; |
|
| 274 | 274 | echo $permDesc; |
| 275 | 275 | echo '</fieldset>'; |
| 276 | 276 | if ($catHandler->getCount()) { |
| 277 | - echo $form->render() . '<br>'; |
|
| 277 | + echo $form->render().'<br>'; |
|
| 278 | 278 | } else { |
| 279 | 279 | redirect_header('cat.php', 2, _AM_EXTCAL_NOPERMSSET, false); |
| 280 | 280 | } |
@@ -291,7 +291,7 @@ discard block |
||
| 291 | 291 | echo 'toggle(\'extcal_cat_edit\'); toggleIcon (\'extcal_cat_editIcon\');'; |
| 292 | 292 | echo '</script>'; |
| 293 | 293 | |
| 294 | - require_once __DIR__ . '/admin_footer.php'; |
|
| 294 | + require_once __DIR__.'/admin_footer.php'; |
|
| 295 | 295 | |
| 296 | 296 | break; |
| 297 | 297 | |
@@ -16,10 +16,10 @@ |
||
| 16 | 16 | * |
| 17 | 17 | * @author Mage, Mamba |
| 18 | 18 | **/ |
| 19 | -require_once __DIR__ . '/admin_header.php'; |
|
| 19 | +require_once __DIR__.'/admin_header.php'; |
|
| 20 | 20 | xoops_cp_header(); |
| 21 | 21 | |
| 22 | 22 | $adminObject->displayNavigation(basename(__FILE__)); |
| 23 | 23 | $adminObject->displayAbout('[email protected]', false); |
| 24 | 24 | |
| 25 | -require_once __DIR__ . '/admin_footer.php'; |
|
| 25 | +require_once __DIR__.'/admin_footer.php'; |
|
@@ -17,5 +17,5 @@ |
||
| 17 | 17 | * @author XOOPS Development Team, |
| 18 | 18 | */ |
| 19 | 19 | |
| 20 | -include __DIR__ . '/../../mainfile.php'; |
|
| 21 | -include XOOPS_ROOT_PATH . '/include/comment_reply.php'; |
|
| 20 | +include __DIR__.'/../../mainfile.php'; |
|
| 21 | +include XOOPS_ROOT_PATH.'/include/comment_reply.php'; |
|
@@ -1,35 +1,35 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -require_once XOOPS_ROOT_PATH . '/language/' . $GLOBALS['xoopsConfig']['language'] . '/calendar.php'; |
|
| 3 | +require_once XOOPS_ROOT_PATH.'/language/'.$GLOBALS['xoopsConfig']['language'].'/calendar.php'; |
|
| 4 | 4 | define('_MD_CLEAR_CRITERIA', 'clear criteria'); |
| 5 | -define('_MD_EXTCAL_1_FR', '1st ' . _CAL_FRIDAY); |
|
| 6 | -define('_MD_EXTCAL_1_MO', '1st ' . _CAL_MONDAY); |
|
| 7 | -define('_MD_EXTCAL_1_SA', '1st ' . _CAL_SATURDAY); |
|
| 8 | -define('_MD_EXTCAL_1_SU', '1st ' . _CAL_SUNDAY); |
|
| 9 | -define('_MD_EXTCAL_1_TH', '1st ' . _CAL_THURSDAY); |
|
| 10 | -define('_MD_EXTCAL_1_TU', '1st ' . _CAL_TUESDAY); |
|
| 11 | -define('_MD_EXTCAL_1_WE', '1st ' . _CAL_WEDNESDAY); |
|
| 12 | -define('_MD_EXTCAL_2_FR', '2nd ' . _CAL_FRIDAY); |
|
| 13 | -define('_MD_EXTCAL_2_MO', '2nd ' . _CAL_MONDAY); |
|
| 14 | -define('_MD_EXTCAL_2_SA', '2nd ' . _CAL_SATURDAY); |
|
| 15 | -define('_MD_EXTCAL_2_SU', '2nd ' . _CAL_SUNDAY); |
|
| 16 | -define('_MD_EXTCAL_2_TH', '2nd ' . _CAL_THURSDAY); |
|
| 17 | -define('_MD_EXTCAL_2_TU', '2nd ' . _CAL_TUESDAY); |
|
| 18 | -define('_MD_EXTCAL_2_WE', '2nd ' . _CAL_WEDNESDAY); |
|
| 19 | -define('_MD_EXTCAL_3_FR', '3rd ' . _CAL_FRIDAY); |
|
| 20 | -define('_MD_EXTCAL_3_MO', '3rd ' . _CAL_MONDAY); |
|
| 21 | -define('_MD_EXTCAL_3_SA', '3rd ' . _CAL_SATURDAY); |
|
| 22 | -define('_MD_EXTCAL_3_SU', '3rd ' . _CAL_SUNDAY); |
|
| 23 | -define('_MD_EXTCAL_3_TH', '3rd ' . _CAL_THURSDAY); |
|
| 24 | -define('_MD_EXTCAL_3_TU', '3rd ' . _CAL_TUESDAY); |
|
| 25 | -define('_MD_EXTCAL_3_WE', '3rd ' . _CAL_WEDNESDAY); |
|
| 26 | -define('_MD_EXTCAL_4_FR', '4th ' . _CAL_FRIDAY); |
|
| 27 | -define('_MD_EXTCAL_4_MO', '4th ' . _CAL_MONDAY); |
|
| 28 | -define('_MD_EXTCAL_4_SA', '4th ' . _CAL_SATURDAY); |
|
| 29 | -define('_MD_EXTCAL_4_SU', '4th ' . _CAL_SUNDAY); |
|
| 30 | -define('_MD_EXTCAL_4_TH', '4th ' . _CAL_THURSDAY); |
|
| 31 | -define('_MD_EXTCAL_4_TU', '4th ' . _CAL_TUESDAY); |
|
| 32 | -define('_MD_EXTCAL_4_WE', '4th ' . _CAL_WEDNESDAY); |
|
| 5 | +define('_MD_EXTCAL_1_FR', '1st '._CAL_FRIDAY); |
|
| 6 | +define('_MD_EXTCAL_1_MO', '1st '._CAL_MONDAY); |
|
| 7 | +define('_MD_EXTCAL_1_SA', '1st '._CAL_SATURDAY); |
|
| 8 | +define('_MD_EXTCAL_1_SU', '1st '._CAL_SUNDAY); |
|
| 9 | +define('_MD_EXTCAL_1_TH', '1st '._CAL_THURSDAY); |
|
| 10 | +define('_MD_EXTCAL_1_TU', '1st '._CAL_TUESDAY); |
|
| 11 | +define('_MD_EXTCAL_1_WE', '1st '._CAL_WEDNESDAY); |
|
| 12 | +define('_MD_EXTCAL_2_FR', '2nd '._CAL_FRIDAY); |
|
| 13 | +define('_MD_EXTCAL_2_MO', '2nd '._CAL_MONDAY); |
|
| 14 | +define('_MD_EXTCAL_2_SA', '2nd '._CAL_SATURDAY); |
|
| 15 | +define('_MD_EXTCAL_2_SU', '2nd '._CAL_SUNDAY); |
|
| 16 | +define('_MD_EXTCAL_2_TH', '2nd '._CAL_THURSDAY); |
|
| 17 | +define('_MD_EXTCAL_2_TU', '2nd '._CAL_TUESDAY); |
|
| 18 | +define('_MD_EXTCAL_2_WE', '2nd '._CAL_WEDNESDAY); |
|
| 19 | +define('_MD_EXTCAL_3_FR', '3rd '._CAL_FRIDAY); |
|
| 20 | +define('_MD_EXTCAL_3_MO', '3rd '._CAL_MONDAY); |
|
| 21 | +define('_MD_EXTCAL_3_SA', '3rd '._CAL_SATURDAY); |
|
| 22 | +define('_MD_EXTCAL_3_SU', '3rd '._CAL_SUNDAY); |
|
| 23 | +define('_MD_EXTCAL_3_TH', '3rd '._CAL_THURSDAY); |
|
| 24 | +define('_MD_EXTCAL_3_TU', '3rd '._CAL_TUESDAY); |
|
| 25 | +define('_MD_EXTCAL_3_WE', '3rd '._CAL_WEDNESDAY); |
|
| 26 | +define('_MD_EXTCAL_4_FR', '4th '._CAL_FRIDAY); |
|
| 27 | +define('_MD_EXTCAL_4_MO', '4th '._CAL_MONDAY); |
|
| 28 | +define('_MD_EXTCAL_4_SA', '4th '._CAL_SATURDAY); |
|
| 29 | +define('_MD_EXTCAL_4_SU', '4th '._CAL_SUNDAY); |
|
| 30 | +define('_MD_EXTCAL_4_TH', '4th '._CAL_THURSDAY); |
|
| 31 | +define('_MD_EXTCAL_4_TU', '4th '._CAL_TUESDAY); |
|
| 32 | +define('_MD_EXTCAL_4_WE', '4th '._CAL_WEDNESDAY); |
|
| 33 | 33 | define('_MD_EXTCAL_ABSENT', 'Absent'); |
| 34 | 34 | define('_MD_EXTCAL_ACTION_COME', 'Register'); |
| 35 | 35 | define('_MD_EXTCAL_ACTION_DELEGATION', 'Delegate'); |
@@ -110,13 +110,13 @@ discard block |
||
| 110 | 110 | define('_MD_EXTCAL_JAN', 'Jan'); |
| 111 | 111 | define('_MD_EXTCAL_JUL', 'Jul'); |
| 112 | 112 | define('_MD_EXTCAL_JUN', 'Jun'); |
| 113 | -define('_MD_EXTCAL_LAST_FR', 'Last ' . _CAL_FRIDAY); |
|
| 114 | -define('_MD_EXTCAL_LAST_MO', 'Last ' . _CAL_MONDAY); |
|
| 115 | -define('_MD_EXTCAL_LAST_SA', 'Last ' . _CAL_SATURDAY); |
|
| 116 | -define('_MD_EXTCAL_LAST_SU', 'Last ' . _CAL_SUNDAY); |
|
| 117 | -define('_MD_EXTCAL_LAST_TH', 'Last ' . _CAL_THURSDAY); |
|
| 118 | -define('_MD_EXTCAL_LAST_TU', 'Last ' . _CAL_TUESDAY); |
|
| 119 | -define('_MD_EXTCAL_LAST_WE', 'Last ' . _CAL_WEDNESDAY); |
|
| 113 | +define('_MD_EXTCAL_LAST_FR', 'Last '._CAL_FRIDAY); |
|
| 114 | +define('_MD_EXTCAL_LAST_MO', 'Last '._CAL_MONDAY); |
|
| 115 | +define('_MD_EXTCAL_LAST_SA', 'Last '._CAL_SATURDAY); |
|
| 116 | +define('_MD_EXTCAL_LAST_SU', 'Last '._CAL_SUNDAY); |
|
| 117 | +define('_MD_EXTCAL_LAST_TH', 'Last '._CAL_THURSDAY); |
|
| 118 | +define('_MD_EXTCAL_LAST_TU', 'Last '._CAL_TUESDAY); |
|
| 119 | +define('_MD_EXTCAL_LAST_WE', 'Last '._CAL_WEDNESDAY); |
|
| 120 | 120 | define('_MD_EXTCAL_LIB_COME', 'Register'); |
| 121 | 121 | define('_MD_EXTCAL_LIB_NONE', 'None'); |
| 122 | 122 | define('_MD_EXTCAL_LIB_NOTCOME', 'Unsubscribe'); |
@@ -17,5 +17,5 @@ |
||
| 17 | 17 | * @author XOOPS Development Team, |
| 18 | 18 | */ |
| 19 | 19 | |
| 20 | -include __DIR__ . '/../../mainfile.php'; |
|
| 21 | -include XOOPS_ROOT_PATH . '/include/comment_edit.php'; |
|
| 20 | +include __DIR__.'/../../mainfile.php'; |
|
| 21 | +include XOOPS_ROOT_PATH.'/include/comment_edit.php'; |
|