2013-04-02, 07:54 PM
Hey,
I'm trying to put some HTML in the AdminCP for a plugin, but I cant get it working somehow.
I use this:
and then this:
But this is the output:
Anyone an idea how to put html on that place to make it smoother? thanks.
Tankey
I'm trying to put some HTML in the AdminCP for a plugin, but I cant get it working somehow.
I use this:
$userBanned = ($row['banned'] == "1" ? '<a class="tooltip">Yes<span class="banned"><b>Ban details</b><br />Authority: '.$bannedByAuthX.'<br />Date: '.$bannedDate.'<br />Expiry: '.$bannedExpiry.'<br />Reason: '.$bannedReason.'</span>' : 'No');
and then this:
$table->construct_cell(htmlspecialchars_uni($userBanned));
But this is the output:
<a class="tooltip">Yes<span class="banned"><b>Ban details</b><br />Authority: <font color="">|</font><font color="">DC*</font><font color="">little</font><font color="">-</font><font color="">wouter</font><font color="">|</font><font color="">AAT</font><br />Date: 20-6-2010 13:51:13 +0200<br />Expiry: <i>Permanent</i><br />Reason: <font color="">HACKS</font></span>
Anyone an idea how to put html on that place to make it smoother? thanks.
Tankey