51 lines
1.9 KiB
PHP
51 lines
1.9 KiB
PHP
<?php
|
|
/**
|
|
* The manage member view of group module of XXB.
|
|
*
|
|
* @copyright Copyright 2009-2023 禅道软件(青岛)有限公司(ZenTao Software (Qingdao) Co., Ltd., www.zentao.net)
|
|
* @license ZOSL (https://zpl.pub/page/zoslv1.html)
|
|
* @author Xiying Guan <guanxiying@xirangit.com>
|
|
* @package group
|
|
* @version $Id: managemember.html.php 4627 2013-04-10 05:42:20Z chencongzhi520@gmail.com $
|
|
* @link https://xuanim.com
|
|
*/
|
|
?>
|
|
<?php include '../../common/view/header.html.php';?>
|
|
<form class='pdb-20' method='post' id='ajaxForm'>
|
|
<div class='panel'>
|
|
<div class='panel-heading'>
|
|
<strong><?php echo $lang->group->manageMember;?></strong>
|
|
</div>
|
|
<div class='panel-body'>
|
|
<table class='table table-form'>
|
|
<?php if($groupUsers):?>
|
|
<tr>
|
|
<th class='w-100px'><?php echo $lang->group->inside;?></th>
|
|
<td id='group' class='f-14px'><?php $i = 1;?>
|
|
<?php foreach($groupUsers as $account => $realname):?>
|
|
<div class='group-item'><?php echo html::checkbox('members', array($account => $realname), $account);?></div>
|
|
<?php endforeach;?>
|
|
</td>
|
|
</tr>
|
|
<?php endif;?>
|
|
<tr>
|
|
<th class='w-100px'><?php echo $lang->group->outside;?></th>
|
|
<td id='other'><?php $i = 1;?>
|
|
<?php foreach($otherUsers as $account => $realname):?>
|
|
<div class='group-item'><?php echo html::checkbox('members', array($account => $realname), '');?></div>
|
|
<?php endforeach;?>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class='panel-footer text-center'>
|
|
<?php
|
|
echo html::submitButton() . ' ';
|
|
echo html::linkButton($lang->goback, $this->createLink('group', 'browse'));
|
|
echo html::hidden('foo'); // Just a var, to make sure $_POST is not empty.
|
|
?>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
<?php include '../../common/view/footer.html.php';?>
|