* only show owner field when the module is bug.

This commit is contained in:
wangchunsheng
2010-07-30 05:53:26 +00:00
parent 290a646cc2
commit 12e4374afe
+2
View File
@@ -36,10 +36,12 @@
<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();?>