* Finish task#44803

This commit is contained in:
zenggang
2021-11-25 06:02:52 +00:00
parent 762754479a
commit 68862907dc
3 changed files with 20 additions and 53 deletions
+6 -26
View File
@@ -19,6 +19,10 @@
</div>
<form id='gitlabForm' method='post' class='form-ajax' enctype="multipart/form-data">
<table class='table table-form'>
<tr>
<th><?php echo $lang->gitlab->user->bind;?></th>
<td class='required'><?php echo html::select('account', $userPairs, '', "class='form-control chosen'");?></td>
</tr>
<tr>
<th><?php echo $lang->gitlab->user->name;?></th>
<td class='required'><?php echo html::input('name', '', "class='form-control' placeholder='{$lang->gitlab->user->name}'");?></td>
@@ -43,7 +47,7 @@
<td class='required'><?php echo html::password('password_repeat', '', "class='form-control' placeholder='{$lang->gitlab->user->passwordRepeat}'");?></td>
<td class="tips-git"></td>
</tr>
<tr>
<tr class="hidden">
<th><?php echo $lang->gitlab->user->projectsLimit;?></th>
<td><?php echo html::input('projects_limit', 100000, "class='form-control' placeholder='{$lang->gitlab->user->projectsLimit}'");?></td>
</tr>
@@ -61,11 +65,7 @@
<div class="checkbox-primary">
<input type="checkbox" name='external' id="external" value='1'/><label for="external" class="no-margin"><?php echo $lang->gitlab->user->externalTip; ?></label>
</div>
</td>
</tr>
<tr>
<th><?php echo $lang->gitlab->user->bind;?></th>
<td><?php echo html::select('account', $userPairs, '', "class='form-control chosen'");?></td>
</td>
</tr>
<?php if(function_exists('curl_file_create')):?>
<tr>
@@ -79,26 +79,6 @@
</td>
</tr>
<?php endif;?>
<tr>
<th><?php echo $lang->gitlab->user->skype;?></th>
<td><?php echo html::input('skype', '', "class='form-control' placeholder='{$lang->gitlab->user->skype}'");?></td>
</tr>
<tr>
<th><?php echo $lang->gitlab->user->linkedin;?></th>
<td><?php echo html::input('linkedin', '', "class='form-control' placeholder='{$lang->gitlab->user->linkedin}'");?></td>
</tr>
<tr>
<th><?php echo $lang->gitlab->user->twitter;?></th>
<td><?php echo html::input('twitter', '', "class='form-control' placeholder='{$lang->gitlab->user->twitter}'");?></td>
</tr>
<tr>
<th><?php echo $lang->gitlab->user->websiteUrl;?></th>
<td><?php echo html::input('website_url', '', "class='form-control' placeholder='{$lang->gitlab->user->websiteUrl}'");?></td>
</tr>
<tr>
<th><?php echo $lang->gitlab->user->note;?></th>
<td><?php echo html::textarea('note', '', "rows='10' class='form-control' placeholder='{$lang->gitlab->user->note}'");?></td>
</tr>
<tr>
<th></th>
<td class='text-center form-actions'>