PageRenderTime 44ms CodeModel.GetById 20ms RepoModel.GetById 0ms app.codeStats 0ms

/baser/views/elements/admin/theme_files/index_list.php

https://github.com/hashing/basercms
PHP | 52 lines | 32 code | 2 blank | 18 comment | 3 complexity | ae10e24254b7baef95b01f3a1408d904 MD5 | raw file
Possible License(s): MIT
  1. <?php
  2. /* SVN FILE: $Id$ */
  3. /**
  4. * [ADMIN] テーマファイル一覧 テーブル
  5. *
  6. * PHP versions 5
  7. *
  8. * baserCMS : Based Website Development Project <http://basercms.net>
  9. * Copyright 2008 - 2012, baserCMS Users Community <http://sites.google.com/site/baserusers/>
  10. *
  11. * @copyright Copyright 2008 - 2012, baserCMS Users Community
  12. * @link http://basercms.net baserCMS Project
  13. * @package baser.views
  14. * @since baserCMS v 0.1.0
  15. * @version $Revision$
  16. * @modifiedby $LastChangedBy$
  17. * @lastmodified $Date$
  18. * @license http://basercms.net/license/index.html
  19. */
  20. ?>
  21. <table cellpadding="0" cellspacing="0" class="list-table" id="ListTable">
  22. <thead>
  23. <tr>
  24. <th style="width:160px" class="list-tool">
  25. <?php if($bcBaser->isAdminUser()): ?>
  26. <div>
  27. <?php echo $bcForm->checkbox('ListTool.checkall', array('title' => '一括選択')) ?>
  28. <?php echo $bcForm->input('ListTool.batch', array('type' => 'select', 'options' => array('del' => '削除'), 'empty' => '一括処理')) ?>
  29. <?php echo $bcForm->button('適用', array('id' => 'BtnApplyBatch', 'disabled' => 'disabled')) ?>
  30. <?php if($path): ?>
  31. <?php $bcBaser->link($bcBaser->getImg('up.gif', array('alt' => '上へ移動')), array('action' => 'index', $theme, $plugin, $type, dirname($path)), array('title' => '上へ移動')) ?>
  32. <?php endif ?>
  33. </div>
  34. <?php endif ?>
  35. </th>
  36. <th>フォルダ名テーマファイル名</th>
  37. </tr>
  38. </thead>
  39. <tbody>
  40. <?php if(!empty($themeFiles)): ?>
  41. <?php foreach($themeFiles as $data): ?>
  42. <?php $bcBaser->element('theme_files/index_row', array('data' => $data)) ?>
  43. <?php endforeach; ?>
  44. <?php else: ?>
  45. <tr>
  46. <td colspan="8"><p class="no-data">データが見つかりませんでした</p></td>
  47. </tr>
  48. <?php endif; ?>
  49. </tbody>
  50. </table>