Completed
Branch master (77281f)
by Michael
03:56
created
class/pear/Calendar/tests/second_test.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -27,13 +27,13 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
class/event.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2367,7 +2367,7 @@
 block discarded – undo
2367 2367
         $tCat = $xoopsDB->prefix('extcal_cat').' AS tc';
2368 2368
 
2369 2369
         $sql = 'SELECT te.*, tc.cat_name , tc.cat_color, '.'year(FROM_UNIXTIME(event_start)) AS year,'.'month(FROM_UNIXTIME(event_start)) AS month,'.'day(FROM_UNIXTIME(event_start)) AS day'
2370
-               ." FROM {$tEvent}, {$tCat}";
2370
+                ." FROM {$tEvent}, {$tCat}";
2371 2371
         //---------------------------------------------------
2372 2372
         $tw = array();
2373 2373
         $tw[] = 'te.cat_id = tc.cat_id';
Please login to merge, or discard this patch.
class/utilities.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -150,7 +150,7 @@
 block discarded – undo
150 150
             $cat_color = $catList->getVar('cat_color');
151 151
             $checked = in_array($cat_id, $cat) ? 'checked' : '';
152 152
             $cat = ''."<div style='float:left; margin-left:5px;'>"."<input type='checkbox' name='{$name}[{$cat_id}]' value='1' {$checked}>"
153
-                         ."<div style='absolute:left;height:12px; width:6px; background-color:#{$cat_color}; border:1px solid black; float:left; margin-right:5px;' ></div>"." {$name}".'</div>';
153
+                            ."<div style='absolute:left;height:12px; width:6px; background-color:#{$cat_color}; border:1px solid black; float:left; margin-right:5px;' ></div>"." {$name}".'</div>';
154 154
 
155 155
             $t[] = $cat;
156 156
         }
Please login to merge, or discard this patch.
view_calendar-week.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -65,8 +65,8 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
class/pear/Calendar/tests/minute_test.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -27,13 +27,13 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
class/pear/Calendar/tests/day_test.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -27,13 +27,13 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
class/pear/Calendar/tests/month_test.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -32,13 +32,13 @@
 block discarded – undo
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()
Please login to merge, or discard this patch.
class/pear/Calendar/tests/month_weeks_test.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -32,13 +32,13 @@
 block discarded – undo
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()
Please login to merge, or discard this patch.
class/pear/Calendar/tests/hour_test.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -27,13 +27,13 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.