/baser/views/elements/admin/theme_files/index_list.php
PHP | 52 lines | 32 code | 2 blank | 18 comment | 3 complexity | ae10e24254b7baef95b01f3a1408d904 MD5 | raw file
Possible License(s): MIT
- <?php
- /* SVN FILE: $Id$ */
- /**
- * [ADMIN] テーマファイル一覧 テーブル
- *
- * PHP versions 5
- *
- * baserCMS : Based Website Development Project <http://basercms.net>
- * Copyright 2008 - 2012, baserCMS Users Community <http://sites.google.com/site/baserusers/>
- *
- * @copyright Copyright 2008 - 2012, baserCMS Users Community
- * @link http://basercms.net baserCMS Project
- * @package baser.views
- * @since baserCMS v 0.1.0
- * @version $Revision$
- * @modifiedby $LastChangedBy$
- * @lastmodified $Date$
- * @license http://basercms.net/license/index.html
- */
- ?>
- <table cellpadding="0" cellspacing="0" class="list-table" id="ListTable">
- <thead>
- <tr>
- <th style="width:160px" class="list-tool">
- <?php if($bcBaser->isAdminUser()): ?>
- <div>
- <?php echo $bcForm->checkbox('ListTool.checkall', array('title' => '一括選択')) ?>
- <?php echo $bcForm->input('ListTool.batch', array('type' => 'select', 'options' => array('del' => '削除'), 'empty' => '一括処理')) ?>
- <?php echo $bcForm->button('適用', array('id' => 'BtnApplyBatch', 'disabled' => 'disabled')) ?>
- <?php if($path): ?>
- <?php $bcBaser->link($bcBaser->getImg('up.gif', array('alt' => '上へ移動')), array('action' => 'index', $theme, $plugin, $type, dirname($path)), array('title' => '上へ移動')) ?>
- <?php endif ?>
- </div>
- <?php endif ?>
- </th>
- <th>フォルダ名/テーマファイル名</th>
- </tr>
- </thead>
- <tbody>
- <?php if(!empty($themeFiles)): ?>
- <?php foreach($themeFiles as $data): ?>
- <?php $bcBaser->element('theme_files/index_row', array('data' => $data)) ?>
- <?php endforeach; ?>
- <?php else: ?>
- <tr>
- <td colspan="8"><p class="no-data">データが見つかりませんでした。</p></td>
- </tr>
- <?php endif; ?>
- </tbody>
- </table>