Passed
Push — master ( f62223...75b16c )
by Michael
02:33
created
admin/permissions.php 1 patch
Indentation   +58 added lines, -58 removed lines patch added patch discarded remove patch
@@ -93,8 +93,8 @@  discard block
 block discarded – undo
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">&nbsp;'
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
 block discarded – undo
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">&nbsp;'
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">&nbsp;'
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
 block discarded – undo
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">&nbsp;'
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">&nbsp;'
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
 block discarded – undo
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">&nbsp;'
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">&nbsp;'
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
 block discarded – undo
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">&nbsp;'
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">&nbsp;'
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>';
Please login to merge, or discard this patch.
include/constantes.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@
 block discarded – undo
108 108
 
109 109
 define(
110 110
     '_EXTCAL_NAV_LIST',
111
-       _EXTCAL_NAV_CALMONTH . "\n" . _EXTCAL_NAV_CALWEEK . "\n" . _EXTCAL_NAV_YEAR . "\n" . _EXTCAL_NAV_MONTH . "\n" . _EXTCAL_NAV_WEEK . "\n" . _EXTCAL_NAV_DAY . "\n" . _EXTCAL_NAV_AGENDA_WEEK . "\n" . _EXTCAL_NAV_AGENDA_DAY . "\n" . _EXTCAL_NAV_SEARCH . "\n" . _EXTCAL_NAV_NEW_EVENT
111
+        _EXTCAL_NAV_CALMONTH . "\n" . _EXTCAL_NAV_CALWEEK . "\n" . _EXTCAL_NAV_YEAR . "\n" . _EXTCAL_NAV_MONTH . "\n" . _EXTCAL_NAV_WEEK . "\n" . _EXTCAL_NAV_DAY . "\n" . _EXTCAL_NAV_AGENDA_WEEK . "\n" . _EXTCAL_NAV_AGENDA_DAY . "\n" . _EXTCAL_NAV_SEARCH . "\n" . _EXTCAL_NAV_NEW_EVENT
112 112
 );
113 113
 
114 114
 define('_EXTCAL_PREFIX_VIEW', 'view_');
Please login to merge, or discard this patch.
class/pear/Calendar/tests/calendar_test.php 1 patch
Indentation   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -37,13 +37,13 @@  discard block
 block discarded – undo
37 37
     public function testPrevYear_Array()
38 38
     {
39 39
         $this->assertEqual([
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
 block discarded – undo
64 64
     public function testPrevMonth_Array()
65 65
     {
66 66
         $this->assertEqual([
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
 block discarded – undo
91 91
     public function testPrevDay_Array()
92 92
     {
93 93
         $this->assertEqual([
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()
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([
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()
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([
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/week_test.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -71,13 +71,13 @@
 block discarded – undo
71 71
     public function testPrevDay_Array()
72 72
     {
73 73
         $this->assertEqual([
74
-                               'year'   => 2003,
75
-                               'month'  => 10,
76
-                               'day'    => 8,
77
-                               'hour'   => 0,
78
-                               'minute' => 0,
79
-                               'second' => 0,
80
-                           ], $this->cal->prevDay('array'));
74
+                                'year'   => 2003,
75
+                                'month'  => 10,
76
+                                'day'    => 8,
77
+                                'hour'   => 0,
78
+                                'minute' => 0,
79
+                                'second' => 0,
80
+                            ], $this->cal->prevDay('array'));
81 81
     }
82 82
 
83 83
     public function testThisDay()
Please login to merge, or discard this patch.
class/pear/Calendar/tests/year_test.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -42,13 +42,13 @@  discard block
 block discarded – undo
42 42
     public function testPrevMonth_Array()
43 43
     {
44 44
         $this->assertEqual([
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
 block discarded – undo
69 69
     public function testPrevDay_Array()
70 70
     {
71 71
         $this->assertEqual([
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()
Please login to merge, or discard this patch.
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([
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/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([
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()
Please login to merge, or discard this patch.