Completed
Push — master ( 76d45c...610f90 )
by Michael
05:13
created
view_calendar-month.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.
event_member.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -59,9 +59,9 @@
 block discarded – undo
59 59
                 $rediredtMessage = _MD_EXTCAL_MAX_MEMBER_REACHED;
60 60
             } else {
61 61
                 $eventMemberHandler->createEventmember(array(
62
-                                                           'event_id' => (int) $_POST['event'],
63
-                                                           'uid' => $xoopsUser->getVar('uid'),
64
-                                                       ));
62
+                                                            'event_id' => (int) $_POST['event'],
63
+                                                            'uid' => $xoopsUser->getVar('uid'),
64
+                                                        ));
65 65
                 sendMail2member($mode, $event_id, $member_uid, _MD_EXTCAL_SUBJECT_1, _MD_EXTCAL_MSG_1);
66 66
                 $rediredtMessage = _MD_EXTCAL_WHOS_GOING_ADDED_TO_EVENT;
67 67
             }
Please login to merge, or discard this patch.
admin/etablissement.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -129,9 +129,9 @@  discard block
 block discarded – undo
129 129
                 echo '<td align="center"><b>'.$etablissement_telephone.'</td>';
130 130
                 echo '<td align="center" width="15%">';
131 131
                 echo '<a href="etablissement.php?op=edit_etablissement&etablissement_id='.$etablissement_id.'"><img src='.$pathIcon16.'/edit.png alt="'._AM_EXTCAL_ETABLISSEMENT_FORM_EDIT
132
-                     .'" title="'._AM_EXTCAL_ETABLISSEMENT_FORM_EDIT.'"></a> ';
132
+                        .'" title="'._AM_EXTCAL_ETABLISSEMENT_FORM_EDIT.'"></a> ';
133 133
                 echo '<a href="etablissement.php?op=delete_etablissement&etablissement_id='.$etablissement_id.'"><img src='.$pathIcon16.'/delete.png alt="'
134
-                     ._AM_EXTCAL_ETABLISSEMENT_FORM_DELETE.'" title="'._AM_EXTCAL_ETABLISSEMENT_FORM_DELETE.'"></a> ';
134
+                        ._AM_EXTCAL_ETABLISSEMENT_FORM_DELETE.'" title="'._AM_EXTCAL_ETABLISSEMENT_FORM_DELETE.'"></a> ';
135 135
                 echo '</td>';
136 136
             }
137 137
             echo '</table><br>';
@@ -157,10 +157,10 @@  discard block
 block discarded – undo
157 157
             }
158 158
         } else {
159 159
             xoops_confirm(array(
160
-                              'ok' => 1,
161
-                              'etablissement_id' => $_REQUEST['etablissement_id'],
162
-                              'op' => 'delete_etablissement',
163
-                          ), $_SERVER['REQUEST_URI'], _AM_EXTCAL_ETABLISSEMENT_SURDEL.'<br>');
160
+                                'ok' => 1,
161
+                                'etablissement_id' => $_REQUEST['etablissement_id'],
162
+                                'op' => 'delete_etablissement',
163
+                            ), $_SERVER['REQUEST_URI'], _AM_EXTCAL_ETABLISSEMENT_SURDEL.'<br>');
164 164
         }
165 165
         break;
166 166
 
Please login to merge, or discard this patch.
admin/permissions.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
          * Public category permission mask
77 77
          */
78 78
         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;'
79
-             ._AM_EXTCAL_PUBLIC_PERM_MASK.'</a></legend><div id="default">';
79
+                ._AM_EXTCAL_PUBLIC_PERM_MASK.'</a></legend><div id="default">';
80 80
         echo '<fieldset><legend style="font-weight:bold; color:#0A3760;">'._AM_EXTCAL_INFORMATION.'</legend>';
81 81
         echo _AM_EXTCAL_PUBLIC_PERM_MASK_INFO;
82 82
         echo '</fieldset><br>';
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
         }
127 127
 
128 128
         echo '<fieldset id="'.$permName.'Bookmark"><legend><a href="#'.$permName.'Bookmark" style="font-weight:bold; color:#990000;" onClick="toggle(\''.$permName.'\'); toggleIcon(\''
129
-             .$permName.'Icon\');"><img id="'.$permName.'Icon" src="../assets/images/icons/minus.gif" />&nbsp;'.$titleOfForm.'</a></legend><div id="'.$permName.'">';
129
+                .$permName.'Icon\');"><img id="'.$permName.'Icon" src="../assets/images/icons/minus.gif" />&nbsp;'.$titleOfForm.'</a></legend><div id="'.$permName.'">';
130 130
         echo '<fieldset><legend style="font-weight:bold; color:#0A3760;">'._AM_EXTCAL_INFORMATION.'</legend>';
131 131
         echo $permDesc;
132 132
         echo '</fieldset>';
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
         }
152 152
 
153 153
         echo '<fieldset id="'.$permName.'Bookmark"><legend><a href="#'.$permName.'Bookmark" style="font-weight:bold; color:#990000;" onClick="toggle(\''.$permName.'\'); toggleIcon(\''
154
-             .$permName.'Icon\');"><img id="'.$permName.'Icon" src="../assets/images/icons/minus.gif" />&nbsp;'.$titleOfForm.'</a></legend><div id="'.$permName.'">';
154
+                .$permName.'Icon\');"><img id="'.$permName.'Icon" src="../assets/images/icons/minus.gif" />&nbsp;'.$titleOfForm.'</a></legend><div id="'.$permName.'">';
155 155
         echo '<fieldset><legend style="font-weight:bold; color:#0A3760;">'._AM_EXTCAL_INFORMATION.'</legend>';
156 156
         echo $permDesc;
157 157
         echo '</fieldset>';
@@ -175,7 +175,7 @@  discard block
 block discarded – undo
175 175
         }
176 176
 
177 177
         echo '<fieldset id="'.$permName.'Bookmark"><legend><a href="#'.$permName.'Bookmark" style="font-weight:bold; color:#990000;" onClick="toggle(\''.$permName.'\'); toggleIcon(\''
178
-             .$permName.'Icon\');"><img id="'.$permName.'Icon" src="../assets/images/icons/minus.gif" />&nbsp;'.$titleOfForm.'</a></legend><div id="'.$permName.'">';
178
+                .$permName.'Icon\');"><img id="'.$permName.'Icon" src="../assets/images/icons/minus.gif" />&nbsp;'.$titleOfForm.'</a></legend><div id="'.$permName.'">';
179 179
         echo '<fieldset><legend style="font-weight:bold; color:#0A3760;">'._AM_EXTCAL_INFORMATION.'</legend>';
180 180
         echo $permDesc;
181 181
         echo '</fieldset>';
@@ -199,7 +199,7 @@  discard block
 block discarded – undo
199 199
         }
200 200
 
201 201
         echo '<fieldset id="'.$permName.'Bookmark"><legend><a href="#'.$permName.'Bookmark" style="font-weight:bold; color:#990000;" onClick="toggle(\''.$permName.'\'); toggleIcon(\''
202
-             .$permName.'Icon\');"><img id="'.$permName.'Icon" src="../assets/images/icons/minus.gif" />&nbsp;'.$titleOfForm.'</a></legend><div id="'.$permName.'">';
202
+                .$permName.'Icon\');"><img id="'.$permName.'Icon" src="../assets/images/icons/minus.gif" />&nbsp;'.$titleOfForm.'</a></legend><div id="'.$permName.'">';
203 203
         echo '<fieldset><legend style="font-weight:bold; color:#0A3760;">'._AM_EXTCAL_INFORMATION.'</legend>';
204 204
         echo $permDesc;
205 205
         echo '</fieldset>';
Please login to merge, or discard this patch.
admin/admin_footer.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
  * @author    Mamba (www.xoops.org)
19 19
  **/
20 20
 echo "<div class='adminfooter'>\n"."  <div style='text-align: center;'>\n"
21
-     ."    <a href='http://xoops.org' rel='external'><img src='{$pathIcon32}/xoopsmicrobutton.gif' alt='XOOPS' title='XOOPS'></a>\n"."  </div>\n".'  '._AM_MODULEADMIN_ADMIN_FOOTER."\n"
22
-     .'</div>';
21
+        ."    <a href='http://xoops.org' rel='external'><img src='{$pathIcon32}/xoopsmicrobutton.gif' alt='XOOPS' title='XOOPS'></a>\n"."  </div>\n".'  '._AM_MODULEADMIN_ADMIN_FOOTER."\n"
22
+        .'</div>';
23 23
 
24 24
 xoops_cp_footer();
Please login to merge, or discard this patch.
admin/index.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -92,11 +92,11 @@
 block discarded – undo
92 92
 
93 93
                 $fromemail = !empty($xoopsConfig['adminmail']) ? $xoopsConfig['adminmail'] : $xoopsUser->getVar('email', 'E');
94 94
                 $subjectCaption = _AM_EXTCAL_SUBJECT."<br><br><span style='font-size:x-small;font-weight:bold;'>"._AM_EXTCAL_USEFUL_TAGS
95
-                                  ."</span><br><span style='font-size:x-small;font-weight:normal;'>"._AM_EXTCAL_MAILTAGS6.'<br>'._AM_EXTCAL_MAILTAGS2.'</span>&nbsp;&nbsp;&nbsp;';
95
+                                    ."</span><br><span style='font-size:x-small;font-weight:normal;'>"._AM_EXTCAL_MAILTAGS6.'<br>'._AM_EXTCAL_MAILTAGS2.'</span>&nbsp;&nbsp;&nbsp;';
96 96
                 $bodyCaption = _AM_EXTCAL_BODY."<br><br><span style='font-size:x-small;font-weight:bold;'>"._AM_EXTCAL_USEFUL_TAGS
97
-                                  ."</span><br><span style='font-size:x-small;font-weight:normal;'>"._AM_EXTCAL_MAILTAGS1.'<br>'._AM_EXTCAL_MAILTAGS2.'<br>'._AM_EXTCAL_MAILTAGS3.'<br>'
98
-                                  ._AM_EXTCAL_MAILTAGS4.'<br>'._AM_EXTCAL_MAILTAGS5.'<br>'._AM_EXTCAL_MAILTAGS6.'<br>'._AM_EXTCAL_MAILTAGS7.'<br>'._AM_EXTCAL_MAILTAGS8.'<br>'
99
-                                  ._AM_EXTCAL_MAILTAGS9.'</span>&nbsp;&nbsp;&nbsp;';
97
+                                    ."</span><br><span style='font-size:x-small;font-weight:normal;'>"._AM_EXTCAL_MAILTAGS1.'<br>'._AM_EXTCAL_MAILTAGS2.'<br>'._AM_EXTCAL_MAILTAGS3.'<br>'
98
+                                    ._AM_EXTCAL_MAILTAGS4.'<br>'._AM_EXTCAL_MAILTAGS5.'<br>'._AM_EXTCAL_MAILTAGS6.'<br>'._AM_EXTCAL_MAILTAGS7.'<br>'._AM_EXTCAL_MAILTAGS8.'<br>'
99
+                                    ._AM_EXTCAL_MAILTAGS9.'</span>&nbsp;&nbsp;&nbsp;';
100 100
                 $toCheckBbox = new XoopsFormCheckBox(_AM_EXTCAL_SEND_TO, 'mail_send_to', 'mail');
101 101
                 $toCheckBox->addOption('mail', _AM_EXTCAL_EMAIL);
102 102
                 $toCheckBox->addOption('pm', _AM_EXTCAL_PM);
Please login to merge, or discard this patch.
class/pcltar.lib.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -2309,7 +2309,7 @@  discard block
 block discarded – undo
2309 2309
         $p_tar_mode
2310 2310
     ) {
2311 2311
         TrFctStart(__FILE__, __LINE__, 'PclTarHandleExtractByIndexList',
2312
-                   "archive='$p_tarname', index_string='$p_index_string', list, path=$p_path, remove_path='$p_remove_path', tar_mode=$p_tar_mode");
2312
+                    "archive='$p_tarname', index_string='$p_index_string', list, path=$p_path, remove_path='$p_remove_path', tar_mode=$p_tar_mode");
2313 2313
         $v_result = 1;
2314 2314
         $v_nb = 0;
2315 2315
 
@@ -2420,7 +2420,7 @@  discard block
 block discarded – undo
2420 2420
         $p_tar_mode
2421 2421
     ) {
2422 2422
         TrFctStart(__FILE__, __LINE__, 'PclTarHandleExtractByIndex',
2423
-                   "archive_descr='$p_tar', index_current=$p_index_current, index_start='$p_index_start', index_stop='$p_index_stop', list, path=$p_path, remove_path='$p_remove_path', tar_mode=$p_tar_mode");
2423
+                    "archive_descr='$p_tar', index_current=$p_index_current, index_start='$p_index_start', index_stop='$p_index_stop', list, path=$p_path, remove_path='$p_remove_path', tar_mode=$p_tar_mode");
2424 2424
         $v_result = 1;
2425 2425
         $v_nb = 0;
2426 2426
 
@@ -2623,8 +2623,8 @@  discard block
 block discarded – undo
2623 2623
                 else {
2624 2624
                     if (filemtime($v_header['filename']) > $v_header['mtime']) {
2625 2625
                         TrFctMessage(__FILE__, __LINE__, 2,
2626
-                                     'Existing file '.$v_header['filename'].' is newer ('.date('l dS of F Y h:i:s A', filemtime($v_header['filename'])).') than the extracted file ('
2627
-                                     .date('l dS of F Y h:i:s A', $v_header['mtime']).')');
2626
+                                        'Existing file '.$v_header['filename'].' is newer ('.date('l dS of F Y h:i:s A', filemtime($v_header['filename'])).') than the extracted file ('
2627
+                                        .date('l dS of F Y h:i:s A', $v_header['mtime']).')');
2628 2628
 
2629 2629
                         // ----- Change the file status
2630 2630
                         $v_header['status'] = 'newer_exist';
Please login to merge, or discard this patch.
class/pear/Calendar/docs/examples/6.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -85,10 +85,10 @@  discard block
 block discarded – undo
85 85
                     echo "<td></td>\n";
86 86
                 } elseif ($Day->isSelected()) {
87 87
                     echo '<td><anchor><strong><u>'.$Day->thisDay()."</u></strong>\n<go href=\"".$_SERVER['PHP_SELF'].'?viewday=true&amp;y='.$Day->thisYear().'&amp;m='
88
-                             .$Day->thisMonth().'&amp;d='.$Day->thisDay()."&amp;mime=wml\" />\n</anchor></td>\n";
88
+                                .$Day->thisMonth().'&amp;d='.$Day->thisDay()."&amp;mime=wml\" />\n</anchor></td>\n";
89 89
                 } else {
90 90
                     echo '<td><anchor>'.$Day->thisDay()."\n<go href=\"?viewday=true&amp;y=".$Day->thisYear().'&amp;m='.$Day->thisMonth().'&amp;d='.$Day->thisDay()
91
-                             ."&amp;mime=wml\" /></anchor></td>\n";
91
+                                ."&amp;mime=wml\" /></anchor></td>\n";
92 92
                 }
93 93
                 if ($Day->isLast()) {
94 94
                     echo "</tr>\n";
@@ -181,10 +181,10 @@  discard block
 block discarded – undo
181 181
                 echo "<td></td>\n";
182 182
             } elseif ($Day->isSelected()) {
183 183
                 echo '<td><a href="'.$_SERVER['PHP_SELF'].'?viewday=true&amp;y='.$Day->thisYear().'&amp;m='.$Day->thisMonth().'&amp;d='.$Day->thisDay().'&amp;wml"><strong><u>'
184
-                         .$Day->thisDay()."</u></strong></a></td>\n";
184
+                            .$Day->thisDay()."</u></strong></a></td>\n";
185 185
             } else {
186 186
                 echo '<td><a href="'.$_SERVER['PHP_SELF'].'?viewday=true&amp;y='.$Day->thisYear().'&amp;m='.$Day->thisMonth().'&amp;d='.$Day->thisDay().'">'.$Day->thisDay()
187
-                         ."</a></td>\n";
187
+                            ."</a></td>\n";
188 188
             }
189 189
             if ($Day->isLast()) {
190 190
                 echo "</tr>\n";
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
     public function testPrevHour()
Please login to merge, or discard this patch.