diff options
-rw-r--r-- | images/friendika-48.png | bin | 0 -> 2404 bytes | |||
-rw-r--r-- | images/friendika-96.png | bin | 0 -> 5484 bytes | |||
-rw-r--r-- | include/bbcode.php | 4 |
3 files changed, 4 insertions, 0 deletions
diff --git a/images/friendika-48.png b/images/friendika-48.png Binary files differnew file mode 100644 index 000000000..f858d9a81 --- /dev/null +++ b/images/friendika-48.png diff --git a/images/friendika-96.png b/images/friendika-96.png Binary files differnew file mode 100644 index 000000000..76a102ef2 --- /dev/null +++ b/images/friendika-96.png diff --git a/include/bbcode.php b/include/bbcode.php index 3656f23a9..7fc1eac1c 100644 --- a/include/bbcode.php +++ b/include/bbcode.php @@ -78,6 +78,10 @@ function bbcode($Text,$preserve_nl = false) { $Text = preg_replace("/\[td\](.*?)\[\/td\]/s", '<td>$1</td>' ,$Text); $Text = preg_replace("/\[tr\](.*?)\[\/tr\]/s", '<tr>$1</tr>' ,$Text); $Text = preg_replace("/\[table\](.*?)\[\/table\]/s", '<table>$1</table>' ,$Text); + + $Text = preg_replace("/\[table border=1\](.*?)\[\/table\]/s", '<table border="1" >$1</table>' ,$Text); + $Text = preg_replace("/\[table border=0\](.*?)\[\/table\]/s", '<table border="0" >$1</table>' ,$Text); + // $Text = str_replace("[*]", "<li>", $Text); |