* code for task#870.

This commit is contained in:
chencongzhi520@gmail.com
2012-08-30 07:45:20 +00:00
parent bcc40a8f6a
commit fa594c132e
6 changed files with 11 additions and 11 deletions
+2 -4
View File
@@ -234,6 +234,7 @@ 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>";
}
@@ -300,10 +301,7 @@ class common extends control
{
echo "<span class='link-button'>";
echo html::a($link, '&nbsp;', $target, "class='$class' title='$title'", true);
if($method != 'edit' and $method != 'delete' and $method != 'copy')
{
echo html::a($link, $title, $target, "class='$extraClass'", true);
}
echo html::a($link, $title, $target, "class='$extraClass'", true);
echo "</span>";
}
else