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:
3
e107_core/bbcodes/th.bb
Normal file
3
e107_core/bbcodes/th.bb
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
//<?php
|
||||||
|
|
||||||
|
return "<th>".$code_text."</th>";
|
@@ -1,3 +1,3 @@
|
|||||||
//<?php
|
//<?php
|
||||||
$class = e107::getBB()->getClass('tr');
|
|
||||||
return "<tr class='{$class}'>".$code_text."</tr>";
|
return "<tr>".$code_text."</tr>";
|
||||||
|
@@ -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)
|
||||||
|
Reference in New Issue
Block a user