* 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
+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)