PageRenderTime 37ms CodeModel.GetById 15ms RepoModel.GetById 1ms app.codeStats 0ms

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

https://github.com/hashing/basercms
PHP | 53 lines | 33 code | 2 blank | 18 comment | 2 complexity | d87a64f445b1a135566e8daa7db0ef91 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 class="list-tool">
  24. <th>
  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. </div>
  31. <?php endif ?>
  32. </th>
  33. <th>プラグイン名</th>
  34. <th style="white-space: nowrap">バージョン</th>
  35. <th>説明</th>
  36. <th>開発者</th>
  37. <th>登録日<br />更新日</th>
  38. </tr>
  39. </thead>
  40. <tbody>
  41. <?php if(!empty($datas)): ?>
  42. <?php foreach($datas as $data): ?>
  43. <?php $bcBaser->element('plugins/index_row', array('data' => $data)) ?>
  44. <?php endforeach; ?>
  45. <?php else: ?>
  46. <tr>
  47. <td colspan="6"><p class="no-data">データが見つかりませんでした</p></td>
  48. </tr>
  49. <?php endif; ?>
  50. </tbody>
  51. </table>