Esempio n. 1
0
 function getSizeFormatted()
 {
     return Helper_Util::formattedFileSize($this->_props['size']);
 }
Esempio n. 2
0
                            <td class="lbl tr" nowrap="true">类型:</td><td><input type="text" readonly="true" value="<?php 
echo $file->type_formatted;
?>
" class="txt w350"/></td>
                        </tr>
                        <tr>
                            <td class="lbl tr" nowrap="true">文件名:</td><td><input type="text" readonly="true" value="<?php 
echo $file->name;
?>
" class="txt w350"/></td>
                            <td class="lbl tr" nowrap="true">文件类型:</td><td><input type="text" readonly="true" value="<?php 
echo $file->ext;
?>
" class="txt" style="width:138px;"/>
                                <span class="lbl tr">&nbsp;文件大小:</span><input type="text" readonly="true" value="<?php 
echo Helper_Util::formattedFileSize($file->size);
?>
" class="txt" style="width:130px;"/></td>
                        </tr>
                        <tr>
                            <td class="lbl tr" nowrap="true">上传者:</td><td><input type="text" readonly="true" value="<?php 
echo $file->upload_username;
?>
" class="txt w350"/></td>
                            <td class="lbl tr" nowrap="true">上传时间:</td><td><input type="text" readonly="true" value="<?php 
echo $file->upload_at_formatted;
?>
" class="txt w350"/></td>
                        </tr>
                        <tr>
                            <td class="lbl tr" nowrap="true">编目者:</td><td><input type="text" readonly="true" value="<?php