@@ -19,15 +19,15 @@ discard block |
||
| 19 | 19 | class MonthDecorator extends Calendar_Decorator |
| 20 | 20 | { |
| 21 | 21 | /** |
| 22 | - * @param Calendar_Month |
|
| 23 | - */ |
|
| 22 | + * @param Calendar_Month |
|
| 23 | + */ |
|
| 24 | 24 | function MonthDecorator(& $Month) |
| 25 | 25 | { |
| 26 | 26 | parent::Calendar_Decorator($Month); |
| 27 | 27 | } |
| 28 | 28 | /** |
| 29 | - * Override the prevMonth method to format the output |
|
| 30 | - */ |
|
| 29 | + * Override the prevMonth method to format the output |
|
| 30 | + */ |
|
| 31 | 31 | function prevMonth() |
| 32 | 32 | { |
| 33 | 33 | $prevStamp = parent::prevMonth(TRUE); |
@@ -36,8 +36,8 @@ discard block |
||
| 36 | 36 | '&m='.date('n',$prevStamp).'&d='.date('j',$prevStamp); |
| 37 | 37 | } |
| 38 | 38 | /** |
| 39 | - * Override the thisMonth method to format the output |
|
| 40 | - */ |
|
| 39 | + * Override the thisMonth method to format the output |
|
| 40 | + */ |
|
| 41 | 41 | function thisMonth() |
| 42 | 42 | { |
| 43 | 43 | $thisStamp = parent::thisMonth(TRUE); |
@@ -45,8 +45,8 @@ discard block |
||
| 45 | 45 | return date('F Y',$thisStamp); |
| 46 | 46 | } |
| 47 | 47 | /** |
| 48 | - * Override the nextMonth method to format the output |
|
| 49 | - */ |
|
| 48 | + * Override the nextMonth method to format the output |
|
| 49 | + */ |
|
| 50 | 50 | function nextMonth() |
| 51 | 51 | { |
| 52 | 52 | $nextStamp = parent::nextMonth(TRUE); |
@@ -22,8 +22,8 @@ |
||
| 22 | 22 | { |
| 23 | 23 | $this->__dispatch_map['getMonth'] = |
| 24 | 24 | array('in' => array('year' => 'int', 'month'=>'int'), |
| 25 | - 'out' => array('month' => '{urn:PEAR_SOAP_Calendar}Month'), |
|
| 26 | - ); |
|
| 25 | + 'out' => array('month' => '{urn:PEAR_SOAP_Calendar}Month'), |
|
| 26 | + ); |
|
| 27 | 27 | $this->__typedef['Month'] = array ( |
| 28 | 28 | 'monthname' => 'string', |
| 29 | 29 | 'days' => '{urn:PEAR_SOAP_Calendar}MonthDays' |
@@ -107,7 +107,7 @@ |
||
| 107 | 107 | echo ( "<tr>\n" ); |
| 108 | 108 | |
| 109 | 109 | if ( $Day->isSelected() ) { |
| 110 | - echo ( "<td class=\"selected\">".$Day->thisDay()."</td>\n" ); |
|
| 110 | + echo ( "<td class=\"selected\">".$Day->thisDay()."</td>\n" ); |
|
| 111 | 111 | } elseif ( $Day->isEmpty() ) { |
| 112 | 112 | echo ( "<td> </td>\n" ); |
| 113 | 113 | } else { |
@@ -113,7 +113,7 @@ |
||
| 113 | 113 | echo "<tr>\n"; |
| 114 | 114 | |
| 115 | 115 | if ($day->isSelected()) { |
| 116 | - echo '<td class="selected">'.$day->thisDay().'</td>'."\n"; |
|
| 116 | + echo '<td class="selected">'.$day->thisDay().'</td>'."\n"; |
|
| 117 | 117 | } elseif ($day->isEmpty()) { |
| 118 | 118 | echo '<td> </td>'."\n"; |
| 119 | 119 | } else { |
@@ -106,7 +106,7 @@ |
||
| 106 | 106 | case 6: |
| 107 | 107 | case 9: |
| 108 | 108 | echo "</tr>\n<tr>\n"; |
| 109 | - break; |
|
| 109 | + break; |
|
| 110 | 110 | case 12: |
| 111 | 111 | echo "</tr>\n"; |
| 112 | 112 | break; |
@@ -97,11 +97,11 @@ |
||
| 97 | 97 | { |
| 98 | 98 | include_once CALENDAR_ROOT.'Minute.php'; |
| 99 | 99 | $mIH = $this->cE->getMinutesInHour($this->year, $this->month, $this->day, |
| 100 | - $this->hour); |
|
| 100 | + $this->hour); |
|
| 101 | 101 | for ($i=0; $i < $mIH; ++$i) { |
| 102 | 102 | $this->children[$i] = |
| 103 | 103 | new Calendar_Minute($this->year, $this->month, $this->day, |
| 104 | - $this->hour, $i); |
|
| 104 | + $this->hour, $i); |
|
| 105 | 105 | } |
| 106 | 106 | if (count($sDates) > 0) { |
| 107 | 107 | $this->setSelection($sDates); |
@@ -499,7 +499,7 @@ discard block |
||
| 499 | 499 | if (defined('CALENDAR_FIRST_DAY_OF_WEEK')) { |
| 500 | 500 | if (!is_null($firstDay) && ($firstDay != CALENDAR_FIRST_DAY_OF_WEEK)) { |
| 501 | 501 | $msg = 'CALENDAR_FIRST_DAY_OF_WEEK constant already defined.' |
| 502 | - .' The $firstDay parameter will be ignored.'; |
|
| 502 | + .' The $firstDay parameter will be ignored.'; |
|
| 503 | 503 | trigger_error($msg, E_USER_WARNING); |
| 504 | 504 | } |
| 505 | 505 | |
@@ -738,8 +738,8 @@ discard block |
||
| 738 | 738 | } |
| 739 | 739 | |
| 740 | 740 | /** |
| 741 | - * Returns the value for the next minute |
|
| 742 | - * |
|
| 741 | + * Returns the value for the next minute |
|
| 742 | + * |
|
| 743 | 743 | * @param string $format return value format ['int'|'timestamp'|'object'|'array'] |
| 744 | 744 | * |
| 745 | 745 | * @return int e.g. 25 or timestamp |
@@ -774,8 +774,8 @@ discard block |
||
| 774 | 774 | /** |
| 775 | 775 | * Returns the value for this second |
| 776 | 776 | * |
| 777 | - * @param string $format return value format ['int'|'timestamp'|'object'|'array'] |
|
| 778 | - * |
|
| 777 | + * @param string $format return value format ['int'|'timestamp'|'object'|'array'] |
|
| 778 | + * |
|
| 779 | 779 | * @return int e.g. 44 or timestamp |
| 780 | 780 | * @access public |
| 781 | 781 | */ |
@@ -17,10 +17,10 @@ |
||
| 17 | 17 | } |
| 18 | 18 | //-------------------------------------------------------------------- |
| 19 | 19 | /** |
| 20 | - * @param $ids |
|
| 21 | - * |
|
| 22 | - * @return bool |
|
| 23 | - */ |
|
| 20 | + * @param $ids |
|
| 21 | + * |
|
| 22 | + * @return bool |
|
| 23 | + */ |
|
| 24 | 24 | function deleteEvents($ids) |
| 25 | 25 | { |
| 26 | 26 | $eventHandler = xoops_getmodulehandler(_EXTCAL_CLS_EVENT, _EXTCAL_MODULE); |
@@ -1,21 +1,21 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * **************************************************************************** |
|
| 4 | - * - TDMAds By TDM - TEAM DEV MODULE FOR XOOPS |
|
| 5 | - * - Licence PRO Copyright (c) (http://www.tdmxoops.net) |
|
| 6 | - * |
|
| 7 | - * Cette licence, contient des limitations!!! |
|
| 8 | - * |
|
| 9 | - * 1. Vous devez posséder une permission d'exécuter le logiciel, pour n'importe quel usage. |
|
| 10 | - * 2. Vous ne devez pas l' étudier, |
|
| 11 | - * 3. Vous ne devez pas le redistribuer ni en faire des copies, |
|
| 12 | - * 4. Vous n'avez pas la liberté de l'améliorer et de rendre publiques les modifications |
|
| 13 | - * |
|
| 14 | - * @license TDMFR PRO license |
|
| 15 | - * @author TDMFR ; TEAM DEV MODULE |
|
| 16 | - * |
|
| 17 | - * **************************************************************************** |
|
| 18 | - */ |
|
| 3 | + * **************************************************************************** |
|
| 4 | + * - TDMAds By TDM - TEAM DEV MODULE FOR XOOPS |
|
| 5 | + * - Licence PRO Copyright (c) (http://www.tdmxoops.net) |
|
| 6 | + * |
|
| 7 | + * Cette licence, contient des limitations!!! |
|
| 8 | + * |
|
| 9 | + * 1. Vous devez posséder une permission d'exécuter le logiciel, pour n'importe quel usage. |
|
| 10 | + * 2. Vous ne devez pas l' étudier, |
|
| 11 | + * 3. Vous ne devez pas le redistribuer ni en faire des copies, |
|
| 12 | + * 4. Vous n'avez pas la liberté de l'améliorer et de rendre publiques les modifications |
|
| 13 | + * |
|
| 14 | + * @license TDMFR PRO license |
|
| 15 | + * @author TDMFR ; TEAM DEV MODULE |
|
| 16 | + * |
|
| 17 | + * **************************************************************************** |
|
| 18 | + */ |
|
| 19 | 19 | |
| 20 | 20 | // Include xoops admin header |
| 21 | 21 | include_once dirname(dirname(dirname(__DIR__))) . '/include/cp_header.php'; |