* adjust the link-button of view page.

This commit is contained in:
chencongzhi520@gmail.com
2012-09-01 08:25:57 +00:00
parent 953402b1c7
commit 76d03b7d86
+4 -2
View File
@@ -234,7 +234,6 @@ class common extends control
if(!common::hasPriv($module, 'edit')) return false;
echo "<span class='link-button'>";
echo html::a('#comment', '&nbsp;', '', "class='icon-black-common-comment' title='$lang->comment' onclick='setComment()'");
echo html::a('#comment', $lang->comment);
echo "</span>";
}
@@ -301,7 +300,10 @@ class common extends control
{
echo "<span class='link-button'>";
echo html::a($link, '&nbsp;', $target, "class='$class' title='$title'", true);
echo html::a($link, $title, $target, "class='$extraClass'", true);
if($method != 'edit' and $method != 'copy' and $method != 'delete')
{
echo html::a($link, $title, $target, "class='$extraClass'", true);
}
echo "</span>";
}
else