| [ Index ] |
PHP Cross Reference of Drupal 6 (yi-drupal) |
[Summary view] [Print] [Text view]
1 <?php 2 // $Id: imce-file-list.tpl.php,v 1.8 2010/03/17 20:55:38 ufku Exp $ 3 $imce =& $imce_ref['imce'];//keep this line. 4 5 /* 6 * Although the file list table here is avaliable for theming, 7 * it is not recommended to change the table structure, because 8 * it is read and manipulated by javascript assuming this is the deafult structure. 9 * You can always change the data created by format functions 10 * such as format_size or format_date, or you can do css theming which is the best practice here. 11 */ 12 ?> 13 14 <table id="file-list" class="files"><tbody><?php 15 if ($imce['perm']['browse'] && !empty($imce['files'])) { 16 foreach ($imce['files'] as $name => $file) {?> 17 <tr id="<?php print $raw = rawurlencode($file['name']); ?>"> 18 <td class="name"><?php print $raw; ?></td> 19 <td class="size" id="<?php print $file['size']; ?>"><?php print format_size($file['size']); ?></td> 20 <td class="width"><?php print $file['width']; ?></td> 21 <td class="height"><?php print $file['height']; ?></td> 22 <td class="date" id="<?php print $file['date']; ?>"><?php print format_date($file['date'], 'small'); ?></td> 23 </tr><?php 24 } 25 }?> 26 </tbody></table>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Mon Jul 9 18:01:44 2012 | Cross-referenced by PHPXref 0.7 |