From 3799e7d264db15b794a4661b0ab34462bc7813ae Mon Sep 17 00:00:00 2001 From: Catouse Date: Wed, 18 Sep 2013 12:56:27 +0800 Subject: [PATCH] * update printIcon in "common/control.php". --- module/common/control.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/module/common/control.php b/module/common/control.php index f87729fd11..2d01b947ed 100644 --- a/module/common/control.php +++ b/module/common/control.php @@ -313,17 +313,14 @@ class common extends control if($type == 'button') { echo ""; - // echo html::a($link, ' ', $target, "class='$class' title='$title'", true); if($method != 'edit' and $method != 'copy' and $method != 'delete') { - // echo html::a($link, $title, $target, "class='$extraClass'", true); echo html::a($link, " " . $title, $target, "class='$extraClass'", true); } echo ""; } else { - // echo html::a($link, ' ', $target, "class='$class' title='$title'", false); echo html::a($link, "", $target, "class='link-icon' title='$title'", false); } } @@ -332,7 +329,7 @@ class common extends control if($type == 'list') { $class = "icon-$color-$module-$icon"; - echo " "; + echo ""; } } } @@ -351,7 +348,7 @@ class common extends control if(isonlybody()) return false; echo ""; - echo html::a($backLink, ' ', '', "class='icon-goback' title={$lang->goback}"); + echo html::a($backLink, '', '', "class='link-icon' title={$lang->goback}"); echo ""; if(isset($preAndNext->pre) and $preAndNext->pre)