* adjust the ui.

This commit is contained in:
wangchunsheng
2010-04-13 06:36:03 +00:00
parent 9abf69a357
commit 11a5b643a4
2 changed files with 6 additions and 4 deletions
+5 -3
View File
@@ -172,9 +172,11 @@ $(function() {
<?php echo $this->fetch('file', 'buildform', 'filecount=2');?>
</fieldset>
<div class='a-center'>
<?php echo html::submitButton();?>
<input type='button' value='<?php echo $lang->bug->buttonToList;?>' class='button-s'
onclick='location.href="<?php echo $this->createLink('bug', 'browse', "productID=$productID");?>"' />
<?php
echo html::submitButton();
$browseLink = $app->session->bugList != false ? $app->session->bugList : inlink('browse', "productID=$bug->product");
echo html::linkButton($lang->goback, $browseLink);
?>
</div>
</td></tr>
</table>
+1 -1
View File
@@ -29,7 +29,7 @@
<div id='main' <?php if($bug->deleted) echo "class='deleted'";?>>BUG #<?php echo $bug->id . $lang->colon . $bug->title;?></div>
<div>
<?php
$browseLink = $app->session->bugList != false ? $app->session->bugList : $this->createLink('bug', 'browse', "productID=$bug->product");
$browseLink = $app->session->bugList != false ? $app->session->bugList : inlink('browse', "productID=$bug->product");
$params = "bugID=$bug->id";
if(!$bug->deleted)
{