xxb/module/client/view/edit.html.php
2023-10-23 15:51:36 +08:00

71 lines
2.3 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
/**
* The edit client view file of client module of XXB.
*
* @copyright Copyright 2009-2023 禅道软件(青岛)有限公司(ZenTao Software (Qingdao) Co., Ltd., www.zentao.net)
* @license ZOSL (https://zpl.pub/page/zoslv1.html)
* @author Memory <lvtao@cnezsoft.com>
* @package client
* @version $Id$
* @link https://xuanim.com
*/
?>
<?php include '../../common/view/header.modal.html.php';?>
<form id='ajaxForm' method='post' action="<?php echo inlink('edit', "id={$client->id}")?>">
<table class='table table-form table-condensed'>
<tbody>
<tr>
<th class='w-120px'><?php echo $lang->client->version?></th>
<td class="w-p70">
<div class='required required-wrapper'></div>
<?php echo html::input('version', $client->version, "class='form-control'")?>
</td>
<td></td>
</tr>
<tr>
<th><?php echo $lang->client->desc?></th>
<td><?php echo html::input('desc', $client->desc, "class='form-control'")?></td>
<td></td>
</tr>
<tr>
<th><?php echo $lang->client->changeLog?></th>
<td><?php echo html::textarea('changeLog', $client->changeLog, "class='form-control'")?></td>
<td></td>
</tr>
<tr>
<th><?php echo $lang->client->strategy?></th>
<td><?php echo html::radio('strategy', $lang->client->strategies, $client->strategy)?></td>
<td></td>
</tr>
<tr>
<th><?php echo $lang->client->links?></th>
<td>
<?php foreach($lang->client->zipList as $os => $name):?>
<div class="form-group">
<div class="input-group">
<span class="input-group-addon w-130px"><?php echo $name?></span>
<?php echo html::input("downloads[{$os}]", zget($client->downloads, $os, ''), "id='{$os}' class='form-control'")?>
</div>
</div>
<?php endforeach;?>
</td>
<td></td>
</tr>
<tr>
<th><?php echo $lang->client->releaseStatus?></th>
<td><?php echo html::radio('status', $lang->client->status, $client->status)?></td>
<td></td>
</tr>
<tr>
<th></th><td class="text-warning"><?php echo $lang->client->releaseTip?></td>
</tr>
<tr>
<th></th>
<td><?php echo html::submitButton();?></td>
<td></td>
</tr>
</tbody>
</table>
</form>
<?php include '../../common/view/footer.modal.html.php';?>