Browse Source

fix banding on logo, xhtml compliant list and basic table support

pull/1/head
Friendika 10 years ago
parent
commit
043bde42a6
7 changed files with 8 additions and 2 deletions
  1. +1
    -1
      boot.php
  2. BIN
      images/friendika-128.png
  3. BIN
      images/friendika-16.png
  4. BIN
      images/friendika-256.png
  5. BIN
      images/friendika-32.png
  6. BIN
      images/friendika-64.png
  7. +7
    -1
      include/bbcode.php

+ 1
- 1
boot.php View File

@ -4,7 +4,7 @@ set_time_limit(0);
ini_set('pcre.backtrack_limit', 250000);
define ( 'FRIENDIKA_VERSION', '2.2.1017' );
define ( 'FRIENDIKA_VERSION', '2.2.1018' );
define ( 'DFRN_PROTOCOL_VERSION', '2.21' );
define ( 'DB_UPDATE_VERSION', 1065 );


BIN
images/friendika-128.png View File

Before After
Width: 128  |  Height: 128  |  Size: 6.9 KiB Width: 128  |  Height: 128  |  Size: 6.3 KiB

BIN
images/friendika-16.png View File

Before After
Width: 16  |  Height: 16  |  Size: 699 B Width: 16  |  Height: 16  |  Size: 770 B

BIN
images/friendika-256.png View File

Before After
Width: 256  |  Height: 256  |  Size: 12 KiB Width: 256  |  Height: 256  |  Size: 10 KiB

BIN
images/friendika-32.png View File

Before After
Width: 32  |  Height: 32  |  Size: 1.4 KiB Width: 32  |  Height: 32  |  Size: 1.6 KiB

BIN
images/friendika-64.png View File

Before After
Width: 64  |  Height: 64  |  Size: 3.1 KiB Width: 64  |  Height: 64  |  Size: 3.2 KiB

+ 7
- 1
include/bbcode.php View File

@ -73,7 +73,13 @@ function bbcode($Text,$preserve_nl = false) {
$Text = preg_replace("/\[list=I\](.*?)\[\/list\]/s", '<ul class="listupperroman">$1</ul>' ,$Text);
$Text = preg_replace("/\[list=a\](.*?)\[\/list\]/s", '<ul class="listloweralpha">$1</ul>' ,$Text);
$Text = preg_replace("/\[list=A\](.*?)\[\/list\]/s", '<ul class="listupperalpha">$1</ul>' ,$Text);
$Text = str_replace("[*]", "<li>", $Text);
$Text = preg_replace("/\[li\](.*?)\[\/li\]/s", '<li>$1</li>' ,$Text);
$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 = str_replace("[*]", "<li>", $Text);
// Check for font change text
$Text = preg_replace("(\[font=(.*?)\](.*?)\[\/font\])","<span style=\"font-family: $1;\">$2</span>",$Text);


Loading…
Cancel
Save