<?php
/**
 * The batch create view of todo module of ZenTaoPMS.
 *
 * @copyright   Copyright 2009-2015 青岛易软天创网络科技有限公司(QingDao Nature Easy Soft Network Technology Co,LTD, www.cnezsoft.com)
 * @license     ZPL (http://zpl.pub/page/zplv11.html)
 * @author      Congzhi Chen <congzhi@cnezsoft.com>
 * @package     todo
 * @version     $Id: create.html.php 2741 2012-04-07 07:24:21Z areyou123456 $
 * @link        http://www.zentao.net
 */
?>
<?php include '../../common/view/m.header.html.php';?>
</div>
<form class='form-condensed' method='post' target='hiddenwin'>
  <?php 
  echo html::hidden("date", date('Y-m-d'));
  for($i = 1; $i <= 5; $i++)
  {
      echo html::input("names[$i]", '', "placeholder='{$lang->todo->common}{$lang->todo->name}'");
      echo html::hidden("types[$i]", 'custom');
      echo html::hidden("pris[$i]", 3);
      echo html::hidden("descs[$i]", '');
      echo html::hidden("begins[$i]", '2400');
      echo html::hidden("ends[$i]",   '2400');
  }
  ?>
<p class='text-center'>
  <?php
  echo html::submitButton('', "data-inline='true' data-theme='b'");
  echo html::linkButton($lang->goback, $this->createLink('my', 'todo', "type={$this->session->todoType}"), 'self', "data-inline='true'");
  ?>
</p>
</form>
<?php include '../../common/view/m.footer.html.php';?>
