* finish task #2366.

This commit is contained in:
wangyidong
2015-10-14 16:46:47 +08:00
parent e4c40098c2
commit d449255cda
6 changed files with 61 additions and 41 deletions
+25 -21
View File
@@ -59,31 +59,35 @@
</tr>
<tr>
<th><?php echo $lang->story->module;?></th>
<td id='moduleIdBox'>
<?php
echo html::select('module', $moduleOptionMenu, $story->module, 'class="form-control chosen"');
if(count($moduleOptionMenu) == 1)
{
echo "<span class='help-block'>";
echo html::a($this->createLink('tree', 'browse', "rootID=$story->product&view=story"), $lang->tree->manage, '_blank');
echo html::a("javascript:loadProductModules($story->product)", $lang->refresh);
echo '</span>';
}
?>
<td>
<div class='input-group' id='moduleIdBox'>
<?php
echo html::select('module', $moduleOptionMenu, $story->module, 'class="form-control chosen"');
if(count($moduleOptionMenu) == 1)
{
echo "<span class='inpug-group-addon'>";
echo html::a($this->createLink('tree', 'browse', "rootID=$story->product&view=story"), $lang->tree->manage, '_blank');
echo html::a("javascript:loadProductModules($story->product)", $lang->refresh);
echo '</span>';
}
?>
</div>
</td>
</tr>
<tr>
<th><?php echo $lang->story->plan;?></th>
<td id='planIdBox'>
<?php echo html::select('plan', $plans, $story->plan, "class='form-control chosen'");
if(count($plans) == 1)
{
echo "<span class='help-block'>";
echo html::a($this->createLink('productplan', 'create', "productID=$story->product"), $lang->productplan->create, '_blank');
echo html::a("javascript:loadProductPlans($story->product)", $lang->refresh);
echo '</span>';
}
?>
<td>
<div class='input-group' id='planIdBox'>
<?php echo html::select('plan', $plans, $story->plan, "class='form-control chosen'");
if(count($plans) == 1)
{
echo "<span class='input-group-addon'>";
echo html::a($this->createLink('productplan', 'create', "productID=$story->product"), $lang->productplan->create, '_blank');
echo html::a("javascript:loadProductPlans($story->product)", $lang->refresh);
echo '</span>';
}
?>
</div>
</td>
</tr>
<tr>