Completed
Push — master ( 6f00b4...805ee0 )
by Gino
03:23
created
class/form/TDMCreateFormRadio.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
         }
64 64
         if (!empty($this->columns)) {
65 65
             if ($span = $i % $this->columns) {
66
-                $ret .= '<td colspan="'.($this->columns - $span).'"></td></tr>';
66
+                $ret .= '<td colspan="'.($this->columns-$span).'"></td></tr>';
67 67
             }
68 68
             $ret .= '</table>';
69 69
         }
Please login to merge, or discard this patch.
class/form/simpleform.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
                 $ret .= $ele->render();
47 47
             }
48 48
         }
49
-        $ret .=  NWLINE.'</form>';
49
+        $ret .= NWLINE.'</form>';
50 50
 
51 51
         return $ret;
52 52
     }
Please login to merge, or discard this patch.
class/SplClassLoader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -141,7 +141,7 @@
 block discarded – undo
141 141
             $namespace = '';
142 142
             if (false !== ($lastNsPos = strripos($className, $this->_namespaceSeparator))) {
143 143
                 $namespace = substr($className, 0, $lastNsPos);
144
-                $className = substr($className, $lastNsPos + 1);
144
+                $className = substr($className, $lastNsPos+1);
145 145
                 $fileName = str_replace($this->_namespaceSeparator, DIRECTORY_SEPARATOR, $namespace).DIRECTORY_SEPARATOR;
146 146
             }
147 147
             $fileName .= str_replace('_', DIRECTORY_SEPARATOR, $className).$this->_fileExtension;
Please login to merge, or discard this patch.
class/modules.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -415,7 +415,7 @@
 block discarded – undo
415 415
         $imageIcon = imagecreatefrompng($iconFile);
416 416
         // Write text
417 417
         $textColor = imagecolorallocate($imageModule, 0, 0, 0);
418
-        $spaceBorder = (92 - strlen($moduleDirname) * 7.5) / 2;
418
+        $spaceBorder = (92-strlen($moduleDirname) * 7.5) / 2;
419 419
         imagefttext($imageModule, 8.5, 0, $spaceBorder, 45, $textColor, $font, ucfirst($moduleDirname), array());
420 420
         imagecopy($imageModule, $imageIcon, 29, 2, 0, 0, 32, 32);
421 421
         $logoImg = '/'.$moduleDirname.'_logo.png';
Please login to merge, or discard this patch.
class/logoGenerator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -134,7 +134,7 @@
 block discarded – undo
134 134
 
135 135
         // Write text
136 136
         $textColor = imagecolorallocate($imageModule, 0, 0, 0);
137
-        $spaceToBorder = (92 - strlen($moduleDirname) * 7.5) / 2;
137
+        $spaceToBorder = (92-strlen($moduleDirname) * 7.5) / 2;
138 138
         imagefttext($imageModule, 8.5, 0, $spaceToBorder, 45, $textColor, $font, ucfirst($moduleDirname), array());
139 139
 
140 140
         imagecopy($imageModule, $imageIcon, 29, 2, 0, 0, 32, 32);
Please login to merge, or discard this patch.
class/files/include/IncludeSearch.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@
 block discarded – undo
95 95
             $nb_fieldSearch = count($fieldSearch);
96 96
             $sql .= '(';
97 97
             for ($i = 0; $i < $nb_fieldSearch; ++$i) {
98
-                if ($i != $nb_fieldSearch - 1) {
98
+                if ($i != $nb_fieldSearch-1) {
99 99
                     $sql .= ''.$fieldSearch[$i].' LIKE %$queryarray['.$options.']% OR ';
100 100
                 } else {
101 101
                     $sql .= ''.$fieldSearch[$i].' LIKE %$queryarray[0]%';
Please login to merge, or discard this patch.
class/files/user/UserRss.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@
 block discarded – undo
99 99
             if (strpos($fieldName, '_')) {
100 100
                 $str = strpos($fieldName, '_');
101 101
                 if ($str !== false) {
102
-                    $rpFieldName = substr($fieldName, $str + 1, strlen($fieldName));
102
+                    $rpFieldName = substr($fieldName, $str+1, strlen($fieldName));
103 103
                 }
104 104
             }
105 105
             $lpFieldName = substr($fieldName, 0, strpos($fieldName, '_'));
Please login to merge, or discard this patch.
class/autoload.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
  */
28 28
 // Autoload Function
29 29
 ini_set('display_errors', 1);
30
-error_reporting(E_ALL | E_STRICT);
30
+error_reporting(E_ALL|E_STRICT);
31 31
 
32 32
 if (!function_exists('application_autoloader')) {
33 33
     function application_autoloader($class)
Please login to merge, or discard this patch.
class/files/user/UserPrint.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@
 block discarded – undo
99 99
             if (strpos($fieldName, '_')) {
100 100
                 $str = strpos($fieldName, '_');
101 101
                 if ($str !== false) {
102
-                    $rpFieldName = substr($fieldName, $str + 1, strlen($fieldName));
102
+                    $rpFieldName = substr($fieldName, $str+1, strlen($fieldName));
103 103
                 }
104 104
             }
105 105
             $lpFieldName = substr($fieldName, 0, strpos($fieldName, '_'));
Please login to merge, or discard this patch.