* Fix bug.
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
$lang->misc = new stdclass();
|
||||
$lang->misc->common = 'Misc';
|
||||
$lang->misc->ping = 'Ping';
|
||||
$lang->misc->api = 'http://api.zentao.pm';
|
||||
|
||||
$lang->misc->zentao = new stdclass();
|
||||
$lang->misc->zentao->version = 'Version %s';
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
$lang->misc = new stdclass();
|
||||
$lang->misc->common = '杂项';
|
||||
$lang->misc->ping = '防超时';
|
||||
$lang->misc->api = 'http://api.zentao.net';
|
||||
|
||||
$lang->misc->zentao = new stdclass();
|
||||
$lang->misc->zentao->version = '版本%s';
|
||||
@@ -67,7 +68,7 @@ $lang->misc->noticeRepair = "<h5>普通用户请联系管理员进行修复</h5>
|
||||
<ol>
|
||||
<li>文件内容为空。</li>
|
||||
<li>如果之前文件存在,删除之后重新创建。</li>
|
||||
</ol>";
|
||||
</ol>";
|
||||
|
||||
$lang->misc->feature = new stdclass();
|
||||
$lang->misc->feature->lastest = '最新版本';
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
<div class='cards'>
|
||||
<?php
|
||||
unset($lang->misc->zentao->version);
|
||||
$API = $this->app->getClientLang() == 'en' ? 'http://api.zentao.pm' : 'http://api.zentao.net';
|
||||
?>
|
||||
<?php foreach($lang->misc->zentao as $label => $groupItems):?>
|
||||
<?php if(strpos(',labels,icons,version,', ",$label,") !== false) continue; ?>
|
||||
@@ -15,7 +14,7 @@
|
||||
<div class='card-content'>
|
||||
<ul>
|
||||
<?php foreach($groupItems as $item => $label):?>
|
||||
<li><?php echo html::a($API . "/goto.php?item=$item&from=about", $label, '_blank', "id='$item'");;?></li>
|
||||
<li><?php echo html::a($lang->misc->api . "/goto.php?item=$item&from=about", $label, '_blank', "id='$item'");;?></li>
|
||||
<?php endforeach;?>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -6,8 +6,8 @@ $config->user->edit = new stdclass();
|
||||
$config->user->create->requiredFields = 'account,realname,password,password1,password2';
|
||||
$config->user->edit->requiredFields = 'account,realname';
|
||||
|
||||
$config->user->customBatchCreateFields = 'dept,email,gender,commiter,join,skype,qq,yahoo,gtalk,wangwang,mobile,phone,address,zipcode';
|
||||
$config->user->customBatchEditFields = 'dept,email,commiter,join,skype,qq,yahoo,gtalk,wangwang,mobile,phone,address,zipcode';
|
||||
$config->user->customBatchCreateFields = 'dept,email,gender,commiter,skype,qq,yahoo,gtalk,wangwang,mobile,phone,address,zipcode';
|
||||
$config->user->customBatchEditFields = 'dept,email,commiter,skype,qq,yahoo,gtalk,wangwang,mobile,phone,address,zipcode';
|
||||
|
||||
$config->user->custom = new stdclass();
|
||||
$config->user->custom->batchCreateFields = 'dept,email,gender';
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<form class='form-condensed mw-700px' method='post' target='hiddenwin' id='dataform'>
|
||||
<table align='center' class='table table-form'>
|
||||
<table align='center' class='table table-form'>
|
||||
<tr>
|
||||
<th class='w-120px'><?php echo $lang->user->dept;?></th>
|
||||
<td class='w-p50'><?php echo html::select('dept', $depts, $deptID, "class='form-control chosen'");?></td>
|
||||
@@ -69,12 +69,6 @@
|
||||
<th><?php echo $lang->user->commiter;?></th>
|
||||
<td><?php echo html::input('commiter', '', "class='form-control' autocomplete='off'");?></td>
|
||||
</tr>
|
||||
<!--
|
||||
<tr>
|
||||
<th><?php echo $lang->user->join;?></th>
|
||||
<td><?php echo html::input('join', '', "class='form-control form-date'");?></td>
|
||||
</tr>
|
||||
-->
|
||||
<tr>
|
||||
<th><?php echo $lang->user->gender;?></th>
|
||||
<td><?php echo html::radio('gender', (array)$lang->user->genderList, 'm');?></td>
|
||||
|
||||
@@ -39,10 +39,6 @@
|
||||
<td colspan='3'><?php echo html::select('groups[]', $groups, $userGroups, 'size=3 multiple=multiple class="form-control chosen"');?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<!--
|
||||
<th><?php echo $lang->user->join;?></th>
|
||||
<td><?php echo html::input('join', $user->join, "class='form-control form-date'");?></td>
|
||||
-->
|
||||
<th><?php echo $lang->user->gender;?></th>
|
||||
<td colspan="3"><?php echo html::radio('gender', (array)$lang->user->genderList, $user->gender);?></td>
|
||||
</tr>
|
||||
@@ -100,7 +96,7 @@
|
||||
<td><?php echo html::input('phone', $user->phone, "class='form-control' autocomplete='off'");?></td>
|
||||
<th><?php echo $lang->user->address;?></th>
|
||||
<td><?php echo html::input('address', $user->address, "class='form-control' autocomplete='off'");?></td>
|
||||
</tr>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->user->zipcode;?></th>
|
||||
<td><?php echo html::input('zipcode', $user->zipcode, "class='form-control' autocomplete='off'");?></td>
|
||||
|
||||
@@ -74,12 +74,6 @@
|
||||
<th><?php echo $lang->user->email;?></th>
|
||||
<td><?php echo $user->email;?></td>
|
||||
</tr>
|
||||
<!--
|
||||
<tr>
|
||||
<th><?php echo $lang->user->join;?></th>
|
||||
<td><?php echo $user->join;?></td>
|
||||
</tr>
|
||||
-->
|
||||
<tr>
|
||||
<th><?php echo $lang->user->visits;?></th>
|
||||
<td><?php echo $user->visits;?></td>
|
||||
@@ -95,11 +89,11 @@
|
||||
<tr>
|
||||
<th><?php echo $lang->user->skype;?></th>
|
||||
<td><?php if($user->skype) echo html::a("callto://$user->skype", $user->skype);?></td>
|
||||
</tr>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->user->qq;?></th>
|
||||
<td><?php if($user->qq) echo html::a("tencent://message/?uin=$user->qq", $user->qq);?></td>
|
||||
</tr>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->user->yahoo;?></th>
|
||||
<td><?php echo $user->yahoo;?></td>
|
||||
@@ -107,11 +101,11 @@
|
||||
<tr>
|
||||
<th><?php echo $lang->user->gtalk;?></th>
|
||||
<td><?php echo $user->gtalk;?></td>
|
||||
</tr>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->user->wangwang;?></th>
|
||||
<td><?php echo $user->wangwang;?></td>
|
||||
</tr>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->user->mobile;?></th>
|
||||
<td><?php echo $user->mobile;?></td>
|
||||
@@ -119,11 +113,11 @@
|
||||
<tr>
|
||||
<th><?php echo $lang->user->phone;?></th>
|
||||
<td><?php echo $user->phone;?></td>
|
||||
</tr>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->user->address;?></th>
|
||||
<td><?php echo $user->address;?></td>
|
||||
</tr>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->user->zipcode;?></th>
|
||||
<td><?php echo $user->zipcode;?></td>
|
||||
|
||||
Reference in New Issue
Block a user