* code for task#1368.

This commit is contained in:
zhujinyong
2013-06-04 05:59:58 +00:00
parent 51257be1b0
commit c43c3aebcd
3 changed files with 13 additions and 9 deletions
+6 -5
View File
@@ -14,15 +14,16 @@
<form method='post' class='mt-10px' id='dataform'>
<table class='table-1'>
<caption><?php echo $lang->tree->edit;?></caption>
<tr>
<?php $hidden = ($type != 'story' and $module->type == 'story');?>
<tr <?php if($hidden) echo "style='display:none'";?>>
<th class='rowhead'><?php echo $lang->tree->parent;?></th>
<td><?php echo html::select('parent', $optionMenu, $module->parent, "class='select-1'");?></td>
</tr>
<tr>
</tr>
<tr <?php if($hidden) echo "style='display:none'";?>>
<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>
<?php if($type == 'bug'):?>
<tr>
<th class='rowhead'><?php echo $lang->tree->owner;?></th>
<td><?php echo html::select('owner', $users, $module->owner, "class='select-1'", true);?></td>