things which have no longer use
diablo |
|
---|---|
system/core/plug/plug.inc.php
from line 192 to 223 elseif ($h=='bbcodes')
{
reset ($sed_bbcodes);
$ii=0;
$popup_body = $L['BBcodes']." (".$L['BBcodes_explain'].") :<p>";
$popup_body .= "<div class=\"bbcodes\"><table><tr>";
while (list($i,$dat) = each($sed_bbcodes))
{
$kk = "bbcodes_".$dat[1];
if (substr($dat[1], 0, 5)=='style')
{
$popup_body .= "<td colspan=\"2\"><a href=\"javascript:add('".$dat[0]."')\">";
$popup_body .= "<span class=\"bb".$dat[1]."\">".$L[$kk]." </span></td>";
}
else
{
$popup_body .= "<td><a href=\"javascript:add('".$dat[0]."')\">";
$popup_body .= "<img src=\"system/img/bbcodes/".$dat[1].".gif\" alt=\"\" /></a></td>";
$popup_body .= "<td>".$L[$kk]." </td>";
}
$ii++;
if ($ii==3)
{
$ii=0;
$popup_body .= "</tr><tr>";
}
}
$popup_body .= "</table></div></p>";
} "Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live."
|
Kilandor |
|
---|---|
Yes, I think I have to agree, the BBCODE/Smilies popups are pretty useless anymore, I think they should be removed.
I think they should be replaced by a Page, that builds from the SQL. Like some have a FAQ or BBCODE Help type of thing. |