56 lines
2.3 KiB
PHP
56 lines
2.3 KiB
PHP
<?php
|
|
/**
|
|
* The edit view of zoutput module of ZenTaoPMS.
|
|
*
|
|
* @copyright Copyright 2009-2015 禅道软件(青岛)有限公司(ZenTao Software (Qingdao) Co., Ltd. www.cnezsoft.com)
|
|
* @license ZPL(http://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
|
|
* @author Congzhi Chen <congzhi@cnezsoft.com>
|
|
* @package zoutput
|
|
* @version $Id$
|
|
* @link http://www.zentao.net
|
|
*/
|
|
?>
|
|
<?php include $app->getModuleRoot() . 'common/view/header.html.php';?>
|
|
<?php include $app->getModuleRoot() . 'common/view/kindeditor.html.php';?>
|
|
<div class="main-content" id="mainContent">
|
|
<div class="center-block">
|
|
<div class="main-header">
|
|
<h2><?php echo $lang->zoutput->edit;?></h2>
|
|
</div>
|
|
<form method="post" class="main-form form-ajax" enctype="multipart/form-data" id="zoutputForm">
|
|
<table class="table table-form">
|
|
<tbody>
|
|
<tr>
|
|
<th><?php echo $lang->zoutput->activity;?></th>
|
|
<td class="required"><?php echo html::select('activity', $activity, $zoutput->activity, 'class="form-control chosen"');?></td>
|
|
</tr>
|
|
<tr>
|
|
<th><?php echo $lang->zoutput->name;?></th>
|
|
<td class="required"><?php echo html::input('name', $zoutput->name, 'class="form-control"');?></td>
|
|
</tr>
|
|
<tr>
|
|
<th><?php echo $lang->zoutput->optional;?></th>
|
|
<td><?php echo html::radio('optional', $lang->zoutput->optionalList, $zoutput->optional);?></td>
|
|
</tr>
|
|
<tr>
|
|
<th><?php echo $lang->zoutput->tailorNorm;?></th>
|
|
<td><?php echo html::input('tailorNorm', $zoutput->tailorNorm, "class='form-control'");?></td>
|
|
</tr>
|
|
<tr>
|
|
<th><?php echo $lang->zoutput->content;?></th>
|
|
<td colspan="2"><?php echo html::textarea('content', $zoutput->content, 'row="6"');?></td>
|
|
</tr>
|
|
<tr>
|
|
<th><?php echo $lang->files;?></th>
|
|
<td><?php echo $this->fetch('file', 'buildform');?></td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan='3' class='text-center form-actions'><?php echo html::submitButton() . html::backButton();?></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
<?php include $app->getModuleRoot() . 'common/view/footer.html.php';?>
|