* Finish task #36018.

This commit is contained in:
holan20180123
2021-02-19 15:23:32 +08:00
parent c289d0092c
commit 1e7beb09af
24 changed files with 233 additions and 26 deletions
+13
View File
@@ -24,6 +24,19 @@
<form class="load-indicator main-form form-ajax" id="createForm" method="post" target='hiddenwin'>
<table align='center' class="table table-form">
<?php $thClass = common::checkNotCN() ? 'w-enVerifyPassword' : 'w-verifyPassword';?>
<tr>
<th class='<?php echo $thClass?>'><?php echo $lang->user->type;?></th>
<td colspan='2'><?php echo html::radio('type', $lang->user->typeList , 'inside', "onclick='changeType(this.value)'");?></td>
</tr>
<tr id='companyBox' class='hide'>
<th><?php echo $lang->user->company;?></th>
<td>
<div class='input-group'>
<?php echo html::select('company', $companies, '', "class='form-control chosen'");?>
<span class='input-group-addon'><?php echo html::checkBox('new', $lang->company->create);?></span>
</div>
</td>
</tr>
<tr>
<th class='<?php echo $thClass?>'><?php echo $lang->user->dept;?></th>
<td class='w-p40'><?php echo html::select('dept', $depts, $deptID, "class='form-control chosen'");?></td>