* inLink has been changed to static function.

This commit is contained in:
xia0ta0
2013-07-24 15:37:07 +08:00
parent edbced0619
commit 2d4a058478
18 changed files with 19 additions and 19 deletions
+2 -2
View File
@@ -14,8 +14,8 @@
<?php include '../../common/view/colorize.html.php';?>
<table class='table-1 colored tablesorter'>
<caption class='caption-tr'>
<?php if($type == 'hidden') echo html::a($this->inLink('trash', "type=all"), $lang->goback);?>
<?php if($type == 'all') echo html::a($this->inLink('trash', "type=hidden"), $lang->action->dynamic->hidden);?>
<?php if($type == 'hidden') echo html::a(inLink('trash', "type=all"), $lang->goback);?>
<?php if($type == 'all') echo html::a(inLink('trash', "type=hidden"), $lang->action->dynamic->hidden);?>
</caption>
<?php $vars = "type=$type&orderBy=%s&recTotal={$pager->recTotal}&recPerPage={$pager->recPerPage}"; ?>
<thead>
+1 -1
View File
@@ -11,7 +11,7 @@
*/
?>
<?php include '../../common/view/header.html.php';?>
<form method='post' target='hiddenwin' action='<?php echo $this->inLink('clearData', 'confirm=no')?>'>
<form method='post' target='hiddenwin' action='<?php echo inLink('clearData', 'confirm=no')?>'>
<table align='center' class='table-5'>
<caption><?php echo $lang->admin->clearData;?></caption>
<tr><td><?php echo nl2br($lang->admin->clearDataDesc);?></td></tr>
+1 -1
View File
@@ -11,7 +11,7 @@
*/
?>
<?php include '../../common/view/header.html.php';?>
<form method='post' target='hiddenwin' action="<?php echo $this->inLink('batchEdit', "productID=$productID");?>">
<form method='post' target='hiddenwin' action="<?php echo inLink('batchEdit', "productID=$productID");?>">
<table class='table-1 fixed'>
<caption><?php echo $lang->bug->common . $lang->colon . $lang->bug->batchEdit;?></caption>
<tr>
+1 -1
View File
@@ -11,7 +11,7 @@
</td>
<td class='divider'></td>
<td>
<form method='post' action='<?php echo $this->inLink('batchEdit', "productID=$productID");?>'>
<form method='post' action='<?php echo inLink('batchEdit', "productID=$productID");?>'>
<?php include './buglist.custom.html.php'?>
</form>
</td>
+1 -1
View File
@@ -64,7 +64,7 @@ js::set('customed', $customed);
}
?>
<form method='post' action='<?php echo $this->inLink('batchEdit', "productID=$productID");?>'>
<form method='post' action='<?php echo inLink('batchEdit', "productID=$productID");?>'>
<table class='cont-lt1'>
<tr valign='top'>
<td class='side <?php echo $treeClass;?>' id='treebox'>
+1 -1
View File
@@ -355,7 +355,7 @@ class common extends control
$title = isset($preAndNext->pre->title) ? $preAndNext->pre->title : $preAndNext->pre->name;
$title = '#' . $preAndNext->pre->$id . ' ' . $title;
echo "<span class='link-button'>";
echo html::a($this->inLink('view', "ID={$preAndNext->pre->$id}"), '&nbsp', '', "id='pre' class='icon-pre' title='{$title}'");
echo html::a(inLink('view', "ID={$preAndNext->pre->$id}"), '&nbsp', '', "id='pre' class='icon-pre' title='{$title}'");
echo "</span>";
}
if(isset($preAndNext->next) and $preAndNext->next)
+1 -1
View File
@@ -28,7 +28,7 @@ if(isset($error))
<?php
echo html::select('to', $users, $app->user->account);
echo html::submitButton($lang->mail->test);
echo html::linkButton($lang->mail->edit, $this->inLink('edit'));
echo html::linkButton($lang->mail->edit, inLink('edit'));
?>
</td>
</tr>
+1 -1
View File
@@ -11,7 +11,7 @@
?>
<?php include '../../common/view/header.html.php';?>
<?php include '../../common/view/colorize.html.php';?>
<form method='post' target='hiddenwin' action='<?php echo $this->inLink('batchEdit');?>'>
<form method='post' target='hiddenwin' action='<?php echo inLink('batchEdit');?>'>
<table class='table-1 colored fixed'>
<tr class='colhead'>
<th class='w-id'> <?php echo $lang->idAB;?></th>
+1 -1
View File
@@ -26,7 +26,7 @@
</tr>
</table>
<?php else:?>
<form method='post' action='<?php echo $this->inLink('batchEdit', "productID=$productID");?>'>
<form method='post' action='<?php echo inLink('batchEdit', "productID=$productID");?>'>
<table class='table-1 colored fixed'>
<tr class='colhead'>
<th class='w-id'> <?php echo $lang->idAB;?></th>
+1 -1
View File
@@ -57,7 +57,7 @@
</table>
</form>
<form method='post' target='hiddenwin' action="<?php echo $this->inLink('batchUnlinkBug');?>" id='linkedBugsForm'>
<form method='post' target='hiddenwin' action="<?php echo inLink('batchUnlinkBug');?>" id='linkedBugsForm'>
<table class='table-1 tablesorter a-center fixed'>
<caption class='caption-tl'><?php echo $plan->title .$lang->colon . $lang->productplan->linkedBugs;?></caption>
<thead>
+1 -1
View File
@@ -61,7 +61,7 @@
</table>
</form>
<form method='post' target='hiddenwin' action="<?php echo $this->inLink('batchUnlinkStory');?>" id='linkedStoriesForm'>
<form method='post' target='hiddenwin' action="<?php echo inLink('batchUnlinkStory');?>" id='linkedStoriesForm'>
<table class='table-1 tablesorter a-center fixed'>
<caption class='caption-tl'><?php echo $plan->title .$lang->colon . $lang->productplan->linkedStories;?></caption>
<thead>
+1 -1
View File
@@ -13,7 +13,7 @@
<?php include '../../common/view/header.html.php';?>
<?php include '../../common/view/tablesorter.html.php';?>
<div id='titlebar' <?php if($plan->deleted) echo "class='deleted'";?>>PLAN #<?php echo $plan->id . ' ' . $plan->title;?></div>
<form method='post' target='hiddenwin' action="<?php echo $this->inLink('batchUnlinkStory');?>">
<form method='post' target='hiddenwin' action="<?php echo inLink('batchUnlinkStory');?>">
<table class='cont-rt5'>
<tr valign='top'>
<td>
+1 -1
View File
@@ -12,7 +12,7 @@
<?php include '../../common/view/header.html.php';?>
<?php include '../../common/view/colorize.html.php';?>
<?php include '../../common/view/datepicker.html.php';?>
<form method='post' action='<?php echo $this->inLink('batchEdit');?>'>
<form method='post' action='<?php echo inLink('batchEdit');?>'>
<table class='table-1 fixed colored'>
<tr class='colhead'>
<th class='w-30px'> <?php echo $lang->idAB;?></th>
+1 -1
View File
@@ -19,7 +19,7 @@
<?php echo html::a(inlink("index", "locate=no&status=suspended&projectID=$project->id"), $lang->project->statusList['suspended']);?>
<?php echo html::a(inlink("index", "locate=no&status=done&projectID=$project->id"), $lang->project->statusList['done']);?>
</h3>
<form method='post' action='<?php echo $this->inLink('batchEdit', "projectID=$projectID");?>'>
<form method='post' action='<?php echo inLink('batchEdit', "projectID=$projectID");?>'>
<table class='table-1 fixed colored'>
<tr class='colhead'>
<th class='w-id'> <?php echo $lang->idAB;?></th>
+1 -1
View File
@@ -12,7 +12,7 @@
?>
<?php include '../../common/view/header.html.php';?>
<?php include '../../common/view/colorize.html.php';?>
<form method='post' target='hiddenwin' action="<?php echo $this->inLink('batchClose', "from=storyBatchClose")?>">
<form method='post' target='hiddenwin' action="<?php echo inLink('batchClose', "from=storyBatchClose")?>">
<table class='table-1 fixed colored'>
<caption><?php echo $lang->story->common . $lang->colon . $lang->story->batchClose;?></caption>
<tr>
+1 -1
View File
@@ -11,7 +11,7 @@
*/
?>
<?php include '../../common/view/header.html.php';?>
<form method='post' target='hiddenwin' action="<?php echo $this->inLink('batchEdit', "from=storyBatchEdit")?>">
<form method='post' target='hiddenwin' action="<?php echo inLink('batchEdit', "from=storyBatchEdit")?>">
<table class='table-1 fixed'>
<caption><?php echo $lang->story->common . $lang->colon . $lang->story->batchEdit;?></caption>
<tr>
+1 -1
View File
@@ -11,7 +11,7 @@
*/
?>
<?php include '../../common/view/header.html.php';?>
<form method='post' target='hiddenwin' action="<?php echo $this->inLink('batchEdit', "projectID={$projectID}")?>">
<form method='post' target='hiddenwin' action="<?php echo inLink('batchEdit', "projectID={$projectID}")?>">
<table class='table-1 fixed'>
<caption><?php echo $lang->task->common . $lang->colon . $lang->task->batchEdit;?></caption>
<tr>
+1 -1
View File
@@ -11,7 +11,7 @@
*/
?>
<?php include '../../common/view/header.html.php';?>
<form method='post' target='hiddenwin' action="<?php echo $this->inLink('batchEdit');?>">
<form method='post' target='hiddenwin' action="<?php echo inLink('batchEdit');?>">
<table class='table-1 fixed'>
<caption><?php echo $lang->testcase->common . $lang->colon . $lang->testcase->batchEdit;?></caption>
<tr>