@@ -210,7 +210,7 @@ |
||
210 | 210 | $maxfilesizearray = getMaxFileSizeArray(); |
211 | 211 | $maxmin = $maxfilesizearray['maxmin']; |
212 | 212 | if ($maxmin > 0) { |
213 | - $texte .= '<input type="hidden" name="MAX_FILE_SIZE" value="' . ($maxmin * 1024) . '">'; // MAX_FILE_SIZE must precede the field type=file |
|
213 | + $texte .= '<input type="hidden" name="MAX_FILE_SIZE" value="' . ($maxmin * 1024) . '">'; // MAX_FILE_SIZE must precede the field type=file |
|
214 | 214 | } |
215 | 215 | $texte .= ' <input type="file" name="uploadfile">'; |
216 | 216 | $texte .= '<input type="hidden" value="PROPALE_ADDON_PDF_ODT_PATH" name="keyforuploaddir">'; |
@@ -198,7 +198,7 @@ |
||
198 | 198 | $maxfilesizearray = getMaxFileSizeArray(); |
199 | 199 | $maxmin = $maxfilesizearray['maxmin']; |
200 | 200 | if ($maxmin > 0) { |
201 | - $texte .= '<input type="hidden" name="MAX_FILE_SIZE" value="' . ($maxmin * 1024) . '">'; // MAX_FILE_SIZE must precede the field type=file |
|
201 | + $texte .= '<input type="hidden" name="MAX_FILE_SIZE" value="' . ($maxmin * 1024) . '">'; // MAX_FILE_SIZE must precede the field type=file |
|
202 | 202 | } |
203 | 203 | $texte .= ' <input type="file" name="uploadfile">'; |
204 | 204 | $texte .= '<input type="hidden" value="USER_ADDON_PDF_ODT_PATH" name="keyforuploaddir">'; |
@@ -115,7 +115,7 @@ |
||
115 | 115 | $maxfilesizearray = getMaxFileSizeArray(); |
116 | 116 | $maxmin = $maxfilesizearray['maxmin']; |
117 | 117 | if ($maxmin > 0) { |
118 | - $s .= '<input type="hidden" name="MAX_FILE_SIZE" value="' . ($maxmin * 1024) . '">'; // MAX_FILE_SIZE must precede the field type=file |
|
118 | + $s .= '<input type="hidden" name="MAX_FILE_SIZE" value="' . ($maxmin * 1024) . '">'; // MAX_FILE_SIZE must precede the field type=file |
|
119 | 119 | } |
120 | 120 | $s .= '<input type="file" name="username" class="flat">'; |
121 | 121 | return $s; |
@@ -167,7 +167,7 @@ |
||
167 | 167 | $maxfilesizearray = getMaxFileSizeArray(); |
168 | 168 | $maxmin = $maxfilesizearray['maxmin']; |
169 | 169 | if ($maxmin > 0) { |
170 | - $texte .= '<input type="hidden" name="MAX_FILE_SIZE" value="' . ($maxmin * 1024) . '">'; // MAX_FILE_SIZE must precede the field type=file |
|
170 | + $texte .= '<input type="hidden" name="MAX_FILE_SIZE" value="' . ($maxmin * 1024) . '">'; // MAX_FILE_SIZE must precede the field type=file |
|
171 | 171 | } |
172 | 172 | $texte .= ' <input type="file" name="uploadfile">'; |
173 | 173 | $texte .= '<input type="hidden" value="MEMBER_ADDON_PDF_ODT_PATH" name="keyforuploaddir">'; |
@@ -170,7 +170,7 @@ |
||
170 | 170 | $maxfilesizearray = getMaxFileSizeArray(); |
171 | 171 | $maxmin = $maxfilesizearray['maxmin']; |
172 | 172 | if ($maxmin > 0) { |
173 | - $texte .= '<input type="hidden" name="MAX_FILE_SIZE" value="' . ($maxmin * 1024) . '">'; // MAX_FILE_SIZE must precede the field type=file |
|
173 | + $texte .= '<input type="hidden" name="MAX_FILE_SIZE" value="' . ($maxmin * 1024) . '">'; // MAX_FILE_SIZE must precede the field type=file |
|
174 | 174 | } |
175 | 175 | $texte .= ' <input type="file" name="uploadfile">'; |
176 | 176 | $texte .= '<input type="hidden" value="BOM_ADDON_PDF_ODT_PATH" name="keyforuploaddir">'; |
@@ -177,7 +177,7 @@ |
||
177 | 177 | $maxfilesizearray = getMaxFileSizeArray(); |
178 | 178 | $maxmin = $maxfilesizearray['maxmin']; |
179 | 179 | if ($maxmin > 0) { |
180 | - $texte .= '<input type="hidden" name="MAX_FILE_SIZE" value="' . ($maxmin * 1024) . '">'; // MAX_FILE_SIZE must precede the field type=file |
|
180 | + $texte .= '<input type="hidden" name="MAX_FILE_SIZE" value="' . ($maxmin * 1024) . '">'; // MAX_FILE_SIZE must precede the field type=file |
|
181 | 181 | } |
182 | 182 | $texte .= ' <input type="file" name="uploadfile">'; |
183 | 183 | $texte .= '<input type="hidden" value="COMMANDE_ADDON_PDF_ODT_PATH" name="keyforuploaddir">'; |
@@ -155,7 +155,7 @@ discard block |
||
155 | 155 | $_GET["scale"] = $scale; |
156 | 156 | $_GET["mode"] = $mode; |
157 | 157 | |
158 | - global $filebarcode; // Retrieve variable where to store filename |
|
158 | + global $filebarcode; // Retrieve variable where to store filename |
|
159 | 159 | if (empty($filebarcode)) { |
160 | 160 | $filebarcode = ''; |
161 | 161 | } |
@@ -203,7 +203,7 @@ discard block |
||
203 | 203 | |
204 | 204 | $newcode = $code; |
205 | 205 | if (!preg_match('/^\w+$/', $code) || dol_strlen($code) > 32) { |
206 | - $newcode = dol_hash($newcode, 'md5'); // No need for security here, we can use md5 |
|
206 | + $newcode = dol_hash($newcode, 'md5'); // No need for security here, we can use md5 |
|
207 | 207 | } |
208 | 208 | |
209 | 209 | global $filebarcode; |
@@ -349,7 +349,7 @@ discard block |
||
349 | 349 | $pdf->MultiCell(0, 3, ''); // Set interline to 3 |
350 | 350 | $pdf->SetTextColor(0, 0, 0); |
351 | 351 | |
352 | - $tab_top = 90; // position of top tab |
|
352 | + $tab_top = 90; // position of top tab |
|
353 | 353 | $tab_top_newpage = (!getDolGlobalInt('MAIN_PDF_DONOTREPEAT_HEAD') ? 42 + $top_shift : 10); |
354 | 354 | |
355 | 355 | $tab_height = $this->page_hauteur - $tab_top - $heightforfooter - $heightforfreetext; |
@@ -1227,7 +1227,7 @@ discard block |
||
1227 | 1227 | // Show recipient |
1228 | 1228 | $widthrecbox = getDolGlobalString('MAIN_PDF_USE_ISO_LOCATION') ? 92 : 100; |
1229 | 1229 | if ($this->page_largeur < 210) { |
1230 | - $widthrecbox = 84; // To work with US executive format |
|
1230 | + $widthrecbox = 84; // To work with US executive format |
|
1231 | 1231 | } |
1232 | 1232 | $posy = getDolGlobalString('MAIN_PDF_USE_ISO_LOCATION') ? 40 : 42; |
1233 | 1233 | $posx = $this->page_largeur - $this->marge_droite - $widthrecbox; |
@@ -173,7 +173,7 @@ |
||
173 | 173 | $maxfilesizearray = getMaxFileSizeArray(); |
174 | 174 | $maxmin = $maxfilesizearray['maxmin']; |
175 | 175 | if ($maxmin > 0) { |
176 | - $texte .= '<input type="hidden" name="MAX_FILE_SIZE" value="' . ($maxmin * 1024) . '">'; // MAX_FILE_SIZE must precede the field type=file |
|
176 | + $texte .= '<input type="hidden" name="MAX_FILE_SIZE" value="' . ($maxmin * 1024) . '">'; // MAX_FILE_SIZE must precede the field type=file |
|
177 | 177 | } |
178 | 178 | $texte .= ' <input type="file" name="uploadfile">'; |
179 | 179 | $texte .= '<input type="hidden" value="STOCK_ADDON_PDF_ODT_PATH" name="keyforuploaddir">'; |