Completed
Branch master (77281f)
by Michael
03:56
created
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/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(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
 block discarded – undo
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()
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(array(
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/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(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
 block discarded – undo
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
 block discarded – undo
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()
Please login to merge, or discard this patch.