* adjust the link-button of view page.
This commit is contained in:
@@ -234,7 +234,6 @@ class common extends control
|
||||
if(!common::hasPriv($module, 'edit')) return false;
|
||||
echo "<span class='link-button'>";
|
||||
echo html::a('#comment', ' ', '', "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, ' ', $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
|
||||
|
||||
Reference in New Issue
Block a user