PageRenderTime 38ms CodeModel.GetById 14ms RepoModel.GetById 0ms app.codeStats 0ms

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

https://github.com/hashing/basercms
PHP | 54 lines | 34 code | 2 blank | 18 comment | 2 complexity | 376d51c36f515a49da9165627f028cfe 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. <!-- list -->
  22. <table cellpadding="0" cellspacing="0" class="list-table sort-table" id="ListTable">
  23. <thead>
  24. <tr>
  25. <th style="width:160px" class="list-tool">
  26. <?php if($bcBaser->isAdminUser()): ?>
  27. <div>
  28. <?php echo $bcForm->checkbox('ListTool.checkall', array('title' => '一括選択')) ?>
  29. <?php echo $bcForm->input('ListTool.batch', array('type' => 'select', 'options' => array('del' => '削除'), 'empty' => '一括処理')) ?>
  30. <?php echo $bcForm->button('適用', array('id' => 'BtnApplyBatch', 'disabled' => 'disabled')) ?>
  31. </div>
  32. <?php endif ?>
  33. </th>
  34. <th>テーマ名</th>
  35. <th>タイトル</th>
  36. <th>バージョン</th>
  37. <th>説明</th>
  38. <th>制作者</th>
  39. </tr>
  40. </thead>
  41. <tbody>
  42. <?php if(!empty($datas)): ?>
  43. <?php foreach($datas as $data): ?>
  44. <?php $bcBaser->element('themes/index_row', array('data' => $data)) ?>
  45. <?php endforeach; ?>
  46. <?php else: ?>
  47. <tr>
  48. <td colspan="8"><p class="no-data">データが見つかりませんでした</p></td>
  49. </tr>
  50. <?php endif; ?>
  51. </tbody>
  52. </table>