Foren / Cotonti / Core Labs / Archive / Things to remove from core

things which have no longer use

diablo
#1103 21. September 2008, 00:26
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]." &nbsp;</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]." &nbsp;</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."