* code for task#1227.

This commit is contained in:
chencongzhi520@gmail.com
2013-05-03 06:14:34 +00:00
parent bd9ae47e24
commit 0e1c1ff13c
39 changed files with 40 additions and 40 deletions

View File

@@ -100,7 +100,7 @@ js::set('page', 'create');
</tr>
<tr>
<td colspan='2' class='a-center'>
<?php echo html::submitButton() . html::gobackButton() . html::hidden('case', $caseID);?>
<?php echo html::submitButton() . html::backButton() . html::hidden('case', $caseID);?>
</td>
</tr>
</table>

View File

@@ -69,7 +69,7 @@
<form method='post' action='<?php echo inlink('edit', "bugID=$bug->id&comment=true")?>'>
<table align='center' class='table-1'>
<tr><td><?php echo html::textarea('comment', '',"rows='5' class='w-p100'");?></td></tr>
<tr><td><?php echo html::submitButton() . html::gobackButton();?></td></tr>
<tr><td><?php echo html::submitButton() . html::backButton();?></td></tr>
</table>
</form>
</fieldset>

View File

@@ -103,7 +103,7 @@
<th class='rowhead'><?php echo $lang->build->desc;?></th>
<td><?php echo html::textarea('desc', '', "rows='10' class='area-1'");?></td>
</tr>
<tr><td colspan='2' class='a-center'><?php echo html::submitButton() . html::gobackButton();?></td></tr>
<tr><td colspan='2' class='a-center'><?php echo html::submitButton() . html::backButton();?></td></tr>
</table>
</form>
<?php include '../../common/view/footer.html.php';?>

View File

@@ -122,7 +122,7 @@
<th class='rowhead'><?php echo $lang->build->desc;?></th>
<td><?php echo html::textarea('desc', htmlspecialchars($build->desc), "rows='15' class='area-1'");?></td>
</tr>
<tr><td colspan='2' class='a-center'><?php echo html::submitButton() . html::gobackButton() .html::hidden('project', $build->project);?></td></tr>
<tr><td colspan='2' class='a-center'><?php echo html::submitButton() . html::backButton() .html::hidden('project', $build->project);?></td></tr>
</table>
</form>
<?php include '../../common/view/footer.html.php';?>

View File

@@ -56,7 +56,7 @@
<tr>
<td></td>
<td>
<?php echo html::submitButton() . html::gobackButton();?>
<?php echo html::submitButton() . html::backButton();?>
<input type='hidden' value='<?php echo $deptID;?>' name='parentDeptID' />
</td>
</tr>

View File

@@ -64,7 +64,7 @@
<td><?php echo $this->fetch('file', 'buildform', 'fileCount=2');?></td>
</tr>
<tr>
<td colspan='2' class='a-center'><?php echo html::submitButton() . html::gobackButton() . html::hidden('lib', $libID);?></td>
<td colspan='2' class='a-center'><?php echo html::submitButton() . html::backButton() . html::hidden('lib', $libID);?></td>
</tr>
</table>
</form>

View File

@@ -59,7 +59,7 @@ $(document).ready(function()
</tr>
<tr>
<td colspan='2' class='a-center'>
<?php echo html::submitButton() . html::gobackButton() . html::hidden('lib', $libID);?>
<?php echo html::submitButton() . html::backButton() . html::hidden('lib', $libID);?>
<?php echo html::hidden('product', $doc->product) . html::hidden('project', $doc->project);?>
</td>
</tr>

View File

@@ -27,7 +27,7 @@
<td><?php echo html::password('password2');?></td>
</tr>
<tr>
<td colspan='2' class='a-center'><?php echo html::submitButton() . html::gobackButton();?></td>
<td colspan='2' class='a-center'><?php echo html::submitButton() . html::backButton();?></td>
</tr>
</table>
</form>

View File

@@ -93,7 +93,7 @@
<td><?php echo html::input('zipcode', $user->zipcode);?></td>
</tr>
<tr>
<td colspan='2' class='a-center'><?php echo html::submitButton() . html::gobackButton();?></td>
<td colspan='2' class='a-center'><?php echo html::submitButton() . html::backButton();?></td>
</tr>
</table>
</form>

View File

@@ -25,7 +25,7 @@
<td><?php echo html::input($product->id, $product->order, "size='5'")?></td>
</tr>
<?php endforeach;?>
<tr><td colspan='3' align='center'><?php echo html::submitButton() . html::gobackButton()?></td></tr>
<tr><td colspan='3' align='center'><?php echo html::submitButton() . html::backButton()?></td></tr>
</table>
</form>
<?php include '../../common/view/footer.html.php';?>

View File

@@ -44,7 +44,7 @@
<td colspan='2' class='a-center'>
<?php
echo html::submitButton();
echo html::gobackButton();
echo html::backButton();
echo html::hidden('product', $product->id);
?>
</td>

View File

@@ -40,7 +40,7 @@
<td colspan='2' class='a-center'>
<?php
echo html::submitButton();
echo html::gobackButton();
echo html::backButton();
echo html::hidden('product', $product->id);
?>
</td>

View File

@@ -97,7 +97,7 @@ $(document).ready(function()
<td><?php echo html::checkbox('whitelist', $groups, $whitelist);?></td>
</tr>
<tr>
<td colspan='2' class='a-center'><?php echo html::submitButton() . html::gobackButton();?></td>
<td colspan='2' class='a-center'><?php echo html::submitButton() . html::backButton();?></td>
</tr>
</table>
</form>

View File

@@ -85,7 +85,7 @@
<th class='rowhead'><?php echo $lang->project->whitelist;?></th>
<td id='whitelistBox'><?php echo html::checkbox('whitelist', $groups, $project->whitelist);?></td>
</tr>
<tr><td colspan='2' class='a-center'><?php echo html::submitButton() . html::gobackButton();?></td></tr>
<tr><td colspan='2' class='a-center'><?php echo html::submitButton() . html::backButton();?></td></tr>
</table>
</form>
<?php include '../../common/view/footer.html.php';?>

View File

@@ -54,7 +54,7 @@ var browseType = '<?php echo $browseType;?>';
</tbody>
<tr><td colspan='9'><div class='f-right'><?php $pager->show();?></div></td></tr>
</table>
<div><?php echo html::selectAll() . html::selectReverse() . html::submitButton($lang->import) . html::gobackButton();?></div>
<div><?php echo html::selectAll() . html::selectReverse() . html::submitButton($lang->import) . html::backButton();?></div>
</form>
</div>
<?php include '../../common/view/footer.html.php';?>

View File

@@ -29,7 +29,7 @@
<td><?php echo html::input($project->id, $project->order, "size='5'")?></td>
</tr>
<?php endforeach;?>
<tr><td colspan='4' align='center'><?php echo html::submitButton() . html::gobackButton()?></td></tr>
<tr><td colspan='4' align='center'><?php echo html::submitButton() . html::backButton()?></td></tr>
</table>
</form>
<form method='post' target='hiddenwin'>
@@ -48,7 +48,7 @@
<td><?php echo html::input($project->id, $project->order, "size='5'")?></td>
</tr>
<?php endforeach;?>
<tr><td colspan='3' align='center'><?php echo html::submitButton() . html::gobackButton()?></td></tr>
<tr><td colspan='3' align='center'><?php echo html::submitButton() . html::backButton()?></td></tr>
</table>
</form>
<?php include '../../common/view/footer.html.php';?>

View File

@@ -39,7 +39,7 @@
<th class='rowhead'><?php echo $lang->release->desc;?></th>
<td><?php echo html::textarea('desc', '', "rows='10' class='area-1'");?></td>
</tr>
<tr><td colspan='2' class='a-center'><?php echo html::submitButton() . html::gobackButton();?></td></tr>
<tr><td colspan='2' class='a-center'><?php echo html::submitButton() . html::backButton();?></td></tr>
</table>
</form>
<?php include '../../common/view/footer.html.php';?>

View File

@@ -109,7 +109,7 @@
<td><?php echo html::textarea('desc', htmlspecialchars($release->desc), "rows='20' class='area-1'");?></td>
</tr>
<tr>
<td colspan='2' class='a-center'><?php echo html::submitButton() . html::gobackButton() . html::hidden('product', $release->product);?></td>
<td colspan='2' class='a-center'><?php echo html::submitButton() . html::backButton() . html::hidden('product', $release->product);?></td>
</tr>
</table>
</form>

View File

@@ -38,7 +38,7 @@
<td><?php echo html::select("needReview[$i]", $lang->story->reviewList, 0, "class='text-1'");?></td>
</tr>
<?php endfor;?>
<tr><td colspan='8' class='a-center'><?php echo html::submitButton() . html::gobackButton();?></td></tr>
<tr><td colspan='8' class='a-center'><?php echo html::submitButton() . html::backButton();?></td></tr>
</table>
</form>
<?php include '../../common/view/footer.html.php';?>

View File

@@ -73,7 +73,7 @@
<th class='rowhead'><?php echo $lang->story->legendAttatch;?></th>
<td><?php echo $this->fetch('file', 'buildform');?></td>
</tr>
<tr><td colspan='2' class='a-center'><?php echo html::submitButton() . html::gobackButton();?></td></tr>
<tr><td colspan='2' class='a-center'><?php echo html::submitButton() . html::backButton();?></td></tr>
</table>
</form>
<?php include '../../common/view/footer.html.php';?>

View File

@@ -83,7 +83,7 @@
<form method='post' action='<?php echo inlink('edit', "storyID=$story->id")?>'>
<table align='center' class='table-1'>
<tr><td><?php echo html::textarea('comment', '',"rows='5' class='w-p100'");?></td></tr>
<tr><td><?php echo html::submitButton() . html::gobackButton();?></td></tr>
<tr><td><?php echo html::submitButton() . html::backButton();?></td></tr>
</table>
</form>
</fieldset>

View File

@@ -57,7 +57,7 @@
<td><?php echo html::select("pri[$i]", (array)$lang->task->priList, $pri, 'class=select-1');?></td>
</tr>
<?php endfor;?>
<tr><td colspan='8' class='a-center'><?php echo html::submitButton() . html::gobackButton();?></td></tr>
<tr><td colspan='8' class='a-center'><?php echo html::submitButton() . html::backButton();?></td></tr>
</table>
</form>
<?php include '../../common/view/footer.html.php';?>

View File

@@ -99,7 +99,7 @@
<td><?php echo html::radio('after', $lang->task->afterChoices, 'continueAdding');?></td>
</tr>
<tr>
<td colspan='2' class='a-center'><?php echo html::submitButton() . html::gobackButton();?></td>
<td colspan='2' class='a-center'><?php echo html::submitButton() . html::backButton();?></td>
</tr>
</table>
</form>

View File

@@ -33,7 +33,7 @@
</tr>
<tr>
<td colspan='2' class='a-center'>
<?php echo html::submitButton() . html::gobackButton();?>
<?php echo html::submitButton() . html::backButton();?>
</td>
</tr>
</table>

View File

@@ -63,7 +63,7 @@
</tr>
<?php endfor;?>
<tr>
<td colspan='6' class='a-center'><?php echo html::submitButton() . html::gobackButton(); ?></td>
<td colspan='6' class='a-center'><?php echo html::submitButton() . html::backButton(); ?></td>
</tr>
</table>
<?php endif;?>

View File

@@ -70,7 +70,7 @@
<form method='post' action='<?php echo inlink('edit', "taskID=$task->id&comment=true")?>'>
<table align='center' class='table-1'>
<tr><td><?php echo html::textarea('comment', '',"rows='5' class='w-p100'");?></td></tr>
<tr><td><?php echo html::submitButton() . html::gobackButton();?></td></tr>
<tr><td><?php echo html::submitButton() . html::backButton();?></td></tr>
</table>
</form>
</fieldset>

View File

@@ -36,7 +36,7 @@
<td><?php echo html::input("title[$i]", '', "class='text-1'");?></td>
</tr>
<?php endfor;?>
<tr><td colspan='5' class='a-center'><?php echo html::submitButton() . html::gobackButton();?></td></tr>
<tr><td colspan='5' class='a-center'><?php echo html::submitButton() . html::backButton();?></td></tr>
</table>
</form>
<?php include '../../common/view/footer.html.php';?>

View File

@@ -92,7 +92,7 @@
<td><?php echo $this->fetch('file', 'buildform');?></td>
</tr>
<tr>
<td colspan='2' class='a-center'><?php echo html::submitButton() . html::gobackButton();?> </td>
<td colspan='2' class='a-center'><?php echo html::submitButton() . html::backButton();?> </td>
</tr>
</table>
</form>

View File

@@ -97,7 +97,7 @@
<form method='post' action='<?php echo inlink('edit', "caseID=$case->id&comment=true")?>'>
<table align='center' class='table-1'>
<tr><td><?php echo html::textarea('comment', '',"rows='5' class='w-p100'");?></td></tr>
<tr><td><?php echo html::submitButton() . html::gobackButton();?></td></tr>
<tr><td><?php echo html::submitButton() . html::backButton();?></td></tr>
</table>
</form>
</fieldset>

View File

@@ -64,7 +64,7 @@
<td><?php echo html::textarea('desc', '', "rows=10 class='area-1'");?></td>
</tr>
<tr>
<td colspan='2' class='a-center'><?php echo html::submitButton() . html::gobackButton();?> </td>
<td colspan='2' class='a-center'><?php echo html::submitButton() . html::backButton();?> </td>
</tr>
</table>
</form>

View File

@@ -57,7 +57,7 @@
<td><?php echo html::textarea('report', htmlspecialchars($task->report), "rows=10 class='area-1'");?></td>
</tr>
<tr>
<td colspan='2' class='a-center'><?php echo html::submitButton() . html::gobackButton();?> </td>
<td colspan='2' class='a-center'><?php echo html::submitButton() . html::backButton();?> </td>
</tr>
</table>
</form>

View File

@@ -44,7 +44,7 @@
<td>
</tr>
<?php endfor;?>
<tr><td colspan='6' class='a-center'><?php echo html::submitButton() . html::gobackButton();?></td></tr>
<tr><td colspan='6' class='a-center'><?php echo html::submitButton() . html::backButton();?></td></tr>
</table>
</form>
<?php include './footer.html.php';?>

View File

@@ -57,7 +57,7 @@
</tr>
<tr>
<td colspan='2' class='a-center'>
<?php echo html::submitButton() . html::gobackButton();?>
<?php echo html::submitButton() . html::backButton();?>
</td>
</tr>
</table>

View File

@@ -60,7 +60,7 @@
</tr>
<tr>
<td colspan='2' class='a-center'>
<?php echo html::submitButton() . html::gobackButton();?>
<?php echo html::submitButton() . html::backButton();?>
</td>
</tr>
</table>

View File

@@ -92,7 +92,7 @@
<td></td>
<td colspan='2'>
<?php
echo html::submitButton() . html::gobackButton();
echo html::submitButton() . html::backButton();
echo html::hidden('parentModuleID', $currentModuleID);
echo html::hidden('maxOrder', $maxOrder);
?>

View File

@@ -48,7 +48,7 @@
</td>
</tr>
<?php endfor;?>
<tr><td colspan='9' class='a-center'><?php echo html::submitButton() . html::gobackButton();?></td></tr>
<tr><td colspan='9' class='a-center'><?php echo html::submitButton() . html::backButton();?></td></tr>
</table>
</form>
<?php include '../../common/view/footer.html.php';?>

View File

@@ -40,7 +40,7 @@
<td><?php echo html::input("join[$user->id]", $user->join, "class='w-p70 date'");?></td>
</tr>
<?php endforeach;?>
<tr><td colspan='7' class='a-center'><?php echo html::submitButton() . html::gobackButton();?></td></tr>
<tr><td colspan='7' class='a-center'><?php echo html::submitButton() . html::backButton();?></td></tr>
</table>
</form>
<?php include '../../common/view/footer.html.php';?>

View File

@@ -62,7 +62,7 @@
<td><?php echo html::radio('gender', (array)$lang->user->genderList, 'm');?></td>
</tr>
<tr><td colspan='2' class='a-center'><?php echo html::submitButton() . html::gobackButton();?></td></tr>
<tr><td colspan='2' class='a-center'><?php echo html::submitButton() . html::backButton();?></td></tr>
</table>
</form>
<?php include '../../common/view/footer.html.php';?>

View File

@@ -95,7 +95,7 @@
<th class='rowhead'><?php echo $lang->user->zipcode;?></th>
<td><?php echo html::input('zipcode', $user->zipcode, "class='text-3'");?></td>
</tr>
<tr><td colspan='2' class='a-center'><?php echo html::submitButton() . html::gobackButton();?></td></tr>
<tr><td colspan='2' class='a-center'><?php echo html::submitButton() . html::backButton();?></td></tr>
</table>
</form>
<?php include '../../common/view/footer.html.php';?>