1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-29 09:10:23 +02:00

table bbcodes

This commit is contained in:
CaMer0n
2012-06-09 12:01:24 +00:00
parent 839a89e84c
commit 4342599079
5 changed files with 38 additions and 10 deletions

View File

@@ -1,4 +1,10 @@
//<?
$class = e107::getBB()->getClass('table');
return "<table class='{$class}'>".$code_text."</table>";
if($parm)
{
return "<table class='{$class}' {$parm}>".trim($code_text)."</table>";
}
return "<table class='{$class}'>".trim($code_text)."</table>";

View File

@@ -1,4 +1,4 @@
//<?php
$class = e107::getBB()->getClass('tbody');
return "<tbody class='{$class}'>".$code_text."</tbody>\n";
return "<tbody class='{$class}'>".trim($code_text)."</tbody>";