slight optimalisation
This commit is contained in:
@@ -1874,7 +1874,7 @@ if (typeof(document.getElementById) != 'undefined'
|
|||||||
|
|
||||||
if ($cfg['LightTabs']) {
|
if ($cfg['LightTabs']) {
|
||||||
$out = '';
|
$out = '';
|
||||||
if (strlen($link) > 0) {
|
if (!empty($link)) {
|
||||||
$out .= '<a class="tab" href="' . $link . $sep . $args . '"' . $attr . $class . '>'
|
$out .= '<a class="tab" href="' . $link . $sep . $args . '"' . $attr . $class . '>'
|
||||||
. '' . $text . '</a>';
|
. '' . $text . '</a>';
|
||||||
} else {
|
} else {
|
||||||
@@ -1885,7 +1885,7 @@ if (typeof(document.getElementById) != 'undefined'
|
|||||||
$out = "\n" . ' '
|
$out = "\n" . ' '
|
||||||
. '<td class="nav' . $addclass . '" nowrap="nowrap">'
|
. '<td class="nav' . $addclass . '" nowrap="nowrap">'
|
||||||
. "\n" . ' ';
|
. "\n" . ' ';
|
||||||
if (strlen($link) > 0) {
|
if (!empty($link)) {
|
||||||
$out .= '<a href="' . $link . $sep . $args . '"' . $attr . '>'
|
$out .= '<a href="' . $link . $sep . $args . '"' . $attr . '>'
|
||||||
. $text . '</a>';
|
. $text . '</a>';
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user