Files
EasySoft-ZenTaoPMS/module/productplan/view/create.html.php
2014-08-15 15:59:35 +08:00

65 lines
2.4 KiB
PHP

<?php
/**
* The create view of productplan module of ZenTaoPMS.
*
* @copyright Copyright 2009-2013 青岛易软天创网络科技有限公司 (QingDao Nature Easy Soft Network Technology Co,LTD www.cnezsoft.com)
* @license LGPL (http://www.gnu.org/licenses/lgpl.html)
* @author Chunsheng Wang <chunsheng@cnezsoft.com>
* @package productplan
* @version $Id: create.html.php 4728 2013-05-03 06:14:34Z chencongzhi520@gmail.com $
* @link http://www.zentao.net
*/
?>
<?php include '../../common/view/header.html.php';?>
<?php include '../../common/view/datepicker.html.php';?>
<?php include '../../common/view/kindeditor.html.php';?>
<?php js::import($jsRoot . 'misc/date.js');?>
<div class='container'>
<div id='titlebar'>
<div class='heading'>
<span class='prefix'><?php echo html::icon($lang->icons['plan']);?></span>
<strong><small class='text-muted'><i class='icon icon-plus'></i></small> <?php echo $lang->productplan->create;?></strong>
</div>
</div>
<form class='form-condensed' method='post' target='hiddenwin' id='dataform'>
<table class='table table-form'>
<tr>
<th class='w-80px'><?php echo $lang->productplan->product;?></th>
<td class='w-p25-f'><?php echo $product->name;?></td><td></td>
</tr>
<tr>
<th><?php echo $lang->productplan->title;?></th>
<td><?php echo html::input('title', '', "class='form-control'");?></td>
</tr>
<tr>
<th><?php echo $lang->productplan->begin;?></th>
<td><?php echo html::input('begin', $begin, "class='form-control form-date' onchange='suitEndDate()'");?></td>
</tr>
<tr>
<th><?php echo $lang->productplan->end;?></th>
<td>
<?php echo html::input('end', '', "class='form-control form-date'");?>
</td>
<td>
&nbsp; &nbsp; <?php echo html::radio('delta', $lang->productplan->endList , '', "onclick='computeEndDate(this.value)'");?>
</td>
</tr>
<tr>
<th><?php echo $lang->productplan->desc;?></th>
<td colspan='2'><?php echo html::textarea('desc', '', "rows='10' class='form-control'");?></td>
</tr>
<tr>
<td></td>
<td colspan='2'>
<?php
echo html::submitButton();
echo html::backButton();
echo html::hidden('product', $product->id);
?>
</td>
</tr>
</table>
</form>
</div>
<?php include '../../common/view/footer.html.php';?>