mirror of
https://github.com/e107inc/e107.git
synced 2025-08-29 09:10:23 +02:00
table bbcodes
This commit is contained in:
@@ -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>";
|
||||
|
@@ -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>";
|
||||
|
Reference in New Issue
Block a user