<?php
/**
 * The edit view of tree module of ZenTaoPMS.
 *
 * @copyright   Copyright 2009-2010 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     tree
 * @version     $Id: edit.html.php 1487 2011-03-02 16:06:05Z wwccss $
 * @link        http://www.zentao.net
 */
?>
<?php include '../../common/view/header.lite.html.php';?>
<form method='post' class='mt-10px'>
  <table class='table-1'> 
    <caption><?php echo $lang->tree->edit;?></caption>
    <tr>
      <th class='rowhead'><?php echo $lang->tree->parent;?></th>
      <td><?php echo html::select('parent', $optionMenu, $module->parent, "class='select-1'");?></td>
    </tr>  
    <tr>
      <th class='rowhead'><?php echo $lang->tree->name;?></th>
      <td><?php echo html::input('name', $module->name, "class='text-1'");?></td>
    </tr>  
    <?php if($module->type == 'bug'):?>
    <tr>
      <th class='rowhead'><?php echo $lang->tree->owner;?></th>
      <td><?php echo html::select('owner', $users, $module->owner, "class='select-1'");?></td>
    </tr>  
    <?php endif;?>
    <tr>
      <td colspan='2' class='a-center'>
      <?php echo html::submitButton();?>
      </td>
    </tr>
  </table>
</form>
<?php include '../../common/view/footer.lite.html.php';?>
