Files
EasySoft-ZenTaoPMS/module/custom/view/browsestoryconcept.html.php
2021-01-15 15:36:40 +08:00

53 lines
2.9 KiB
PHP

<?php
/**
* The html template file of setstoryconcept method of user module of ZenTaoPMS.
*
* @copyright Copyright 2009-2020 青岛易软天创网络科技有限公司(QingDao Nature Easy Soft Network Technology Co,LTD, www.cnezsoft.com)
* @license ZPL (http://zpl.pub/page/zplv12.html)
* @author Guangming Sun<sunguangming@cnezsoft.com>
* @package ZenTaoPMS
* @version $Id: browsestoryconcept.html.php 4129 2020-09-01 01:58:14Z sgm $
*/
?>
<?php include '../../common/view/header.html.php';?>
<style>
.table-form>tbody>tr>th{text-align: center}
</style>
<div id='mainMenu' class='clearfix'>
<div class='pull-right'>
<?php if(common::hasPriv('custom', 'setstoryconcept')) echo html::a($this->createLink('custom', 'setstoryconcept', '', '', true), $lang->custom->setStoryConcept, '', "class='btn btn-primary iframe'");?>
</div>
</div>
<div id='mainContent' class='main-row'>
<div class='main-col main-content main-table'>
<table class='table table-form'>
<thead>
<tr>
<th class='text-left'><?php echo $lang->custom->URConcept;?> </th>
<th class='text-left'><?php echo $lang->custom->SRConcept;?> </th>
<th class='w-100px text-center'><?php echo $lang->custom->buildin;?> </th>
<th class='w-100px text-center'><?php echo $lang->custom->isDefault;?> </th>
<th class='w-100px text-left'><?php echo $lang->actions;?> </th>
</tr>
</thead>
<tbody>
<?php foreach($URSRList as $key => $URSR):?>
<tr>
<td class='text-left'><?php echo $URSR['URName'];?></td>
<td class='text-left'><?php echo $URSR['SRName'];?></td>
<td class='text-center'><?php echo zget($lang->custom->tipRangeList, $URSR['system'], '');?></td>
<td class='text-center'><?php if($key == $config->custom->URSR) echo "<i class='icon icon-check'></i>";?></td>
<td class='c-actions'>
<?php $disabled = $URSR['system'] ? "disabled=disabled" : '';?>
<?php if(common::hasPriv('custom', 'setDefaultConcept')) echo html::a($this->createLink('custom', 'setDefaultConcept', "id=$key"), "<i class='icon icon-hand-right'></i>", 'hiddenwin', "class='btn' title={$lang->custom->setDefaultConcept}");?>
<?php if(common::hasPriv('custom', 'editStoryConcept')) echo html::a($this->createLink('custom', 'editStoryConcept', "id=$key", '', true), "<i class='icon icon-edit'></i>", '', "class='btn iframe' title={$lang->edit}");?>
<?php if(common::hasPriv('custom', 'deleteStoryConcept')) echo html::a($this->createLink('custom', 'deleteStoryConcept', "id=$key"), "<i class='icon icon-trash'></i>", 'hiddenwin', "class='btn' $disabled title={$lang->delete} data-group='system'");?>
</td>
</tr>
<?php endforeach;?>
</tbody>
</table>
</div>
</div>
<?php include '../../common/view/footer.html.php';?>