Browse Source

missed some images, table border property

pull/1/head
Friendika 10 years ago
parent
commit
e6086e2363
3 changed files with 4 additions and 0 deletions
  1. BIN
      images/friendika-48.png
  2. BIN
      images/friendika-96.png
  3. +4
    -0
      include/bbcode.php

BIN
images/friendika-48.png View File

Before After
Width: 48  |  Height: 48  |  Size: 2.3 KiB

BIN
images/friendika-96.png View File

Before After
Width: 96  |  Height: 96  |  Size: 5.4 KiB

+ 4
- 0
include/bbcode.php View File

@ -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);


Loading…
Cancel
Save