1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-03 05:07:27 +02:00

Added th bbcode.

This commit is contained in:
Cameron
2013-06-14 18:12:38 -07:00
parent f2c69d1de0
commit f9f90451c0
3 changed files with 6 additions and 3 deletions

3
e107_core/bbcodes/th.bb Normal file
View File

@@ -0,0 +1,3 @@
//<?php
return "<th>".$code_text."</th>";

View File

@@ -1,3 +1,3 @@
//<?php //<?php
$class = e107::getBB()->getClass('tr');
return "<tr class='{$class}'>".$code_text."</tr>"; return "<tr>".$code_text."</tr>";

View File

@@ -44,7 +44,7 @@ class e_bbcode
'b', 'justify', 'file', 'stream', 'b', 'justify', 'file', 'stream',
'textarea', 'list', 'php', 'time', 'textarea', 'list', 'php', 'time',
'spoiler', 'hide', 'youtube', 'sanitised', 'spoiler', 'hide', 'youtube', 'sanitised',
'p', 'h', 'nobr', 'block','table','tr','tbody','td','markdown' 'p', 'h', 'nobr', 'block','table','th', 'tr','tbody','td','markdown'
); );
foreach($this->core_bb as $c) foreach($this->core_bb as $c)