XOOPS RMCommon Utilities  2.1.8.91RC
 All Classes Namespaces Files Functions Variables
rmc_files_list.php
Go to the documentation of this file.
1 <table class="table table-bordered table-condensed table-hover">
2  <thead>
3  <tr>
4  <th align="right"><?php _e('#','rmcommon'); ?></th>
5  <th><?php _e('File','rmcommon'); ?></th>
6  <th align="center"><?php _e('Mode','rmcommon'); ?></th>
7  <th align="center"><?php _e('Size','rmcommon'); ?></th>
8  <th align="center"><?php _e('Action','rmcommon'); ?></th>
9  </tr>
10  </thead>
11  <tbody>
12  <?php foreach($files as $i => $file): ?>
13  <tr>
14  <td align="right"><?php echo $i+1; ?></td>
15  <td>
16  <strong><?php echo $file['name']; ?></strong>
17  <span class="path"><?php echo sprintf(__('Path: %s','rmcommon'), $file['path']); ?></span>
18  </td>
19  <td align="center"><?php echo $file['mode']; ?></td>
20  <td align="center"><?php echo $file['size']>0 ? $rmUtil->formatBytesSize($file['size']) : $file['size']; ?></td>
21  <td align="center"><?php echo $file['action']; ?></td>
22  </tr>
23  <?php endforeach; ?>
24  </tbody>
25 </table>