1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 20:30:39 +02:00

Update e_shortcode.php

This commit is contained in:
rica-carv
2016-04-19 13:20:47 +01:00
parent 0c4802d246
commit 863bf99657

View File

@@ -96,10 +96,10 @@ class banner_shortcodes extends e_shortcode
break;
}
$text = "<a class='e-tip' href='".e_HTTP.'banner.php?'.$row['banner_id']."' rel='external' title=\"".$tp->toAttribute(varset($row['banner_tooltip'],''))."\">";
$text .= $ban_ret;
$text .= '</a>';
$start = "<a class='e-tip' href='".e_HTTP.'banner.php?'.$row['banner_id']."' rel='external' title=\"".$tp->toAttribute(varset($row['banner_tooltip'],''))."\">";
$end = '</a>';
$text = $start.$ban_ret.$end;
if(!empty($row['banner_description']))
{
$text .= "<div class='e-banner-description'>".$start.$tp->toHtml($row['banner_description'], true).$end. "</div>";