@@ -160,7 +160,7 @@ function ls($curpath, array $options = [])
160160 echo '<tr> ' ;
161161 echo '<td> ' . $ dirs_array [$ i ]['text ' ] . '</td> ' ;
162162 echo '<td class="text-nowrap"> ' . evolutionCMS ()->toDateFormat ($ dirs_array [$ i ]['stats ' ]['9 ' ]) . '</td> ' ;
163- echo '<td class="text-right"> ' . nicesize ($ dirs_array [$ i ]['stats ' ]['7 ' ]) . '</td> ' ;
163+ echo '<td class="text-right"> ' . niceSize ($ dirs_array [$ i ]['stats ' ]['7 ' ]) . '</td> ' ;
164164 echo '<td class="actions text-right"> ' ;
165165 echo $ dirs_array [$ i ]['rename ' ];
166166 echo $ dirs_array [$ i ]['delete ' ];
@@ -175,8 +175,8 @@ function ls($curpath, array $options = [])
175175 $ filesizes += $ files_array [$ i ]['stats ' ]['7 ' ];
176176 echo '<tr ' . markRow ($ files_array [$ i ]['file ' ], get_by_key ($ _REQUEST , 'path ' ), get_by_key ($ _REQUEST , 'mode ' )) . '> ' ;
177177 echo '<td> ' . $ files_array [$ i ]['text ' ] . '</td> ' ;
178- echo '<td class="text-nowrap"> ' . evolutionCMS ()->toDateFormat ($ files_array [$ i ]['stats ' ]['9 ' ]) . '</td> ' ;
179- echo '<td class="text-right"> ' . nicesize ($ files_array [$ i ]['stats ' ]['7 ' ]) . '</td> ' ;
178+ echo '<td class="text-nowrap"> ' . evo ()->toDateFormat ($ files_array [$ i ]['stats ' ]['9 ' ]) . '</td> ' ;
179+ echo '<td class="text-right"> ' . niceSize ($ files_array [$ i ]['stats ' ]['7 ' ]) . '</td> ' ;
180180 echo '<td class="actions text-right"> ' ;
181181 echo $ files_array [$ i ]['unzip ' ];
182182 echo $ files_array [$ i ]['view ' ];
@@ -425,7 +425,7 @@ function fileupload()
425425 if ($ userfile ['error ' ] == 0 ) {
426426 $ img = (strpos ($ userfile ['type ' ],
427427 'image ' ) !== false ) ? '<br /><img src=" ' . $ path . '" height="75" /> ' : '' ;
428- $ msg .= "<p> " . $ _lang ['files_file_type ' ] . $ userfile ['type ' ] . ", " . nicesize (filesize ($ userfile ['tmp_name ' ])) . $ img . '</p> ' ;
428+ $ msg .= "<p> " . $ _lang ['files_file_type ' ] . $ userfile ['type ' ] . ", " . niceSize (filesize ($ userfile ['tmp_name ' ])) . $ img . '</p> ' ;
429429 }
430430
431431 $ userfilename = $ userfile ['tmp_name ' ];
0 commit comments