@@ -144,8 +144,8 @@ |
||
| 144 | 144 | // Flag current day |
| 145 | 145 | $selectedDays = array( |
| 146 | 146 | new Calendar_Day(date('Y', xoops_getUserTimestamp(time(), $extcalTimeHandler->_getUserTimeZone($GLOBALS['xoopsUser']))), |
| 147 | - date('n', xoops_getUserTimestamp(time(), $extcalTimeHandler->_getUserTimeZone($GLOBALS['xoopsUser']))), |
|
| 148 | - date('j', xoops_getUserTimestamp(time(), $extcalTimeHandler->_getUserTimeZone($GLOBALS['xoopsUser'])))), |
|
| 147 | + date('n', xoops_getUserTimestamp(time(), $extcalTimeHandler->_getUserTimeZone($GLOBALS['xoopsUser']))), |
|
| 148 | + date('j', xoops_getUserTimestamp(time(), $extcalTimeHandler->_getUserTimeZone($GLOBALS['xoopsUser'])))), |
|
| 149 | 149 | ); |
| 150 | 150 | |
| 151 | 151 | // Build calendar object |
@@ -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'); |
@@ -27,13 +27,13 @@ |
||
| 27 | 27 | public function testPrevDay_Array() |
| 28 | 28 | { |
| 29 | 29 | $this->assertEqual(array( |
| 30 | - 'year' => 2003, |
|
| 31 | - 'month' => 10, |
|
| 32 | - 'day' => 24, |
|
| 33 | - 'hour' => 0, |
|
| 34 | - 'minute' => 0, |
|
| 35 | - 'second' => 0, |
|
| 36 | - ), $this->cal->prevDay('array')); |
|
| 30 | + 'year' => 2003, |
|
| 31 | + 'month' => 10, |
|
| 32 | + 'day' => 24, |
|
| 33 | + 'hour' => 0, |
|
| 34 | + 'minute' => 0, |
|
| 35 | + 'second' => 0, |
|
| 36 | + ), $this->cal->prevDay('array')); |
|
| 37 | 37 | } |
| 38 | 38 | |
| 39 | 39 | public function testPrevHour() |
@@ -27,13 +27,13 @@ |
||
| 27 | 27 | public function testPrevDay_Array() |
| 28 | 28 | { |
| 29 | 29 | $this->assertEqual(array( |
| 30 | - 'year' => 2003, |
|
| 31 | - 'month' => 10, |
|
| 32 | - 'day' => 24, |
|
| 33 | - 'hour' => 0, |
|
| 34 | - 'minute' => 0, |
|
| 35 | - 'second' => 0, |
|
| 36 | - ), $this->cal->prevDay('array')); |
|
| 30 | + 'year' => 2003, |
|
| 31 | + 'month' => 10, |
|
| 32 | + 'day' => 24, |
|
| 33 | + 'hour' => 0, |
|
| 34 | + 'minute' => 0, |
|
| 35 | + 'second' => 0, |
|
| 36 | + ), $this->cal->prevDay('array')); |
|
| 37 | 37 | } |
| 38 | 38 | |
| 39 | 39 | public function testPrevSecond() |
@@ -27,13 +27,13 @@ |
||
| 27 | 27 | public function testPrevDay_Array() |
| 28 | 28 | { |
| 29 | 29 | $this->assertEqual(array( |
| 30 | - 'year' => 2003, |
|
| 31 | - 'month' => 10, |
|
| 32 | - 'day' => 24, |
|
| 33 | - 'hour' => 0, |
|
| 34 | - 'minute' => 0, |
|
| 35 | - 'second' => 0, |
|
| 36 | - ), $this->cal->prevDay('array')); |
|
| 30 | + 'year' => 2003, |
|
| 31 | + 'month' => 10, |
|
| 32 | + 'day' => 24, |
|
| 33 | + 'hour' => 0, |
|
| 34 | + 'minute' => 0, |
|
| 35 | + 'second' => 0, |
|
| 36 | + ), $this->cal->prevDay('array')); |
|
| 37 | 37 | } |
| 38 | 38 | |
| 39 | 39 | public function testPrevMinute() |
@@ -42,13 +42,13 @@ discard block |
||
| 42 | 42 | public function testPrevMonth_Array() |
| 43 | 43 | { |
| 44 | 44 | $this->assertEqual(array( |
| 45 | - 'year' => 2002, |
|
| 46 | - 'month' => 12, |
|
| 47 | - 'day' => 1, |
|
| 48 | - 'hour' => 0, |
|
| 49 | - 'minute' => 0, |
|
| 50 | - 'second' => 0, |
|
| 51 | - ), $this->cal->prevMonth('array')); |
|
| 45 | + 'year' => 2002, |
|
| 46 | + 'month' => 12, |
|
| 47 | + 'day' => 1, |
|
| 48 | + 'hour' => 0, |
|
| 49 | + 'minute' => 0, |
|
| 50 | + 'second' => 0, |
|
| 51 | + ), $this->cal->prevMonth('array')); |
|
| 52 | 52 | } |
| 53 | 53 | |
| 54 | 54 | public function testThisMonth() |
@@ -69,13 +69,13 @@ discard block |
||
| 69 | 69 | public function testPrevDay_Array() |
| 70 | 70 | { |
| 71 | 71 | $this->assertEqual(array( |
| 72 | - 'year' => 2002, |
|
| 73 | - 'month' => 12, |
|
| 74 | - 'day' => 31, |
|
| 75 | - 'hour' => 0, |
|
| 76 | - 'minute' => 0, |
|
| 77 | - 'second' => 0, |
|
| 78 | - ), $this->cal->prevDay('array')); |
|
| 72 | + 'year' => 2002, |
|
| 73 | + 'month' => 12, |
|
| 74 | + 'day' => 31, |
|
| 75 | + 'hour' => 0, |
|
| 76 | + 'minute' => 0, |
|
| 77 | + 'second' => 0, |
|
| 78 | + ), $this->cal->prevDay('array')); |
|
| 79 | 79 | } |
| 80 | 80 | |
| 81 | 81 | public function testThisDay() |
@@ -34,13 +34,13 @@ |
||
| 34 | 34 | public function testPrevDay_Array() |
| 35 | 35 | { |
| 36 | 36 | $this->assertEqual(array( |
| 37 | - 'year' => 2003, |
|
| 38 | - 'month' => 10, |
|
| 39 | - 'day' => 8, |
|
| 40 | - 'hour' => 0, |
|
| 41 | - 'minute' => 0, |
|
| 42 | - 'second' => 0, |
|
| 43 | - ), $this->cal->prevDay('array')); |
|
| 37 | + 'year' => 2003, |
|
| 38 | + 'month' => 10, |
|
| 39 | + 'day' => 8, |
|
| 40 | + 'hour' => 0, |
|
| 41 | + 'minute' => 0, |
|
| 42 | + 'second' => 0, |
|
| 43 | + ), $this->cal->prevDay('array')); |
|
| 44 | 44 | } |
| 45 | 45 | |
| 46 | 46 | public function testThisDay() |
@@ -32,13 +32,13 @@ |
||
| 32 | 32 | public function testPrevDay_Array() |
| 33 | 33 | { |
| 34 | 34 | $this->assertEqual(array( |
| 35 | - 'year' => 2003, |
|
| 36 | - 'month' => 9, |
|
| 37 | - 'day' => 30, |
|
| 38 | - 'hour' => 0, |
|
| 39 | - 'minute' => 0, |
|
| 40 | - 'second' => 0, |
|
| 41 | - ), $this->cal->prevDay('array')); |
|
| 35 | + 'year' => 2003, |
|
| 36 | + 'month' => 9, |
|
| 37 | + 'day' => 30, |
|
| 38 | + 'hour' => 0, |
|
| 39 | + 'minute' => 0, |
|
| 40 | + 'second' => 0, |
|
| 41 | + ), $this->cal->prevDay('array')); |
|
| 42 | 42 | } |
| 43 | 43 | |
| 44 | 44 | public function testThisDay() |
@@ -37,13 +37,13 @@ discard block |
||
| 37 | 37 | public function testPrevYear_Array() |
| 38 | 38 | { |
| 39 | 39 | $this->assertEqual(array( |
| 40 | - 'year' => 2002, |
|
| 41 | - 'month' => 1, |
|
| 42 | - 'day' => 1, |
|
| 43 | - 'hour' => 0, |
|
| 44 | - 'minute' => 0, |
|
| 45 | - 'second' => 0, |
|
| 46 | - ), $this->cal->prevYear('array')); |
|
| 40 | + 'year' => 2002, |
|
| 41 | + 'month' => 1, |
|
| 42 | + 'day' => 1, |
|
| 43 | + 'hour' => 0, |
|
| 44 | + 'minute' => 0, |
|
| 45 | + 'second' => 0, |
|
| 46 | + ), $this->cal->prevYear('array')); |
|
| 47 | 47 | } |
| 48 | 48 | |
| 49 | 49 | public function testThisYear() |
@@ -64,13 +64,13 @@ discard block |
||
| 64 | 64 | public function testPrevMonth_Array() |
| 65 | 65 | { |
| 66 | 66 | $this->assertEqual(array( |
| 67 | - 'year' => 2003, |
|
| 68 | - 'month' => 9, |
|
| 69 | - 'day' => 1, |
|
| 70 | - 'hour' => 0, |
|
| 71 | - 'minute' => 0, |
|
| 72 | - 'second' => 0, |
|
| 73 | - ), $this->cal->prevMonth('array')); |
|
| 67 | + 'year' => 2003, |
|
| 68 | + 'month' => 9, |
|
| 69 | + 'day' => 1, |
|
| 70 | + 'hour' => 0, |
|
| 71 | + 'minute' => 0, |
|
| 72 | + 'second' => 0, |
|
| 73 | + ), $this->cal->prevMonth('array')); |
|
| 74 | 74 | } |
| 75 | 75 | |
| 76 | 76 | public function testThisMonth() |
@@ -91,13 +91,13 @@ discard block |
||
| 91 | 91 | public function testPrevDay_Array() |
| 92 | 92 | { |
| 93 | 93 | $this->assertEqual(array( |
| 94 | - 'year' => 2003, |
|
| 95 | - 'month' => 10, |
|
| 96 | - 'day' => 24, |
|
| 97 | - 'hour' => 0, |
|
| 98 | - 'minute' => 0, |
|
| 99 | - 'second' => 0, |
|
| 100 | - ), $this->cal->prevDay('array')); |
|
| 94 | + 'year' => 2003, |
|
| 95 | + 'month' => 10, |
|
| 96 | + 'day' => 24, |
|
| 97 | + 'hour' => 0, |
|
| 98 | + 'minute' => 0, |
|
| 99 | + 'second' => 0, |
|
| 100 | + ), $this->cal->prevDay('array')); |
|
| 101 | 101 | } |
| 102 | 102 | |
| 103 | 103 | public function testThisDay() |