From: friendica Date: Tue, 28 May 2013 11:52:22 +0000 (-0700) Subject: provide bbcode translation for imported red zmg tag (img tag with zot-id) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b60e42d2fadd1fcbf63e283a1d2c2ab3993d730e;p=friendica.git provide bbcode translation for imported red zmg tag (img tag with zot-id) --- diff --git a/boot.php b/boot.php index 666e138acd..70d27ebce8 100644 --- a/boot.php +++ b/boot.php @@ -12,7 +12,7 @@ require_once('library/Mobile_Detect/Mobile_Detect.php'); require_once('include/features.php'); define ( 'FRIENDICA_PLATFORM', 'Friendica'); -define ( 'FRIENDICA_VERSION', '3.1.1708' ); +define ( 'FRIENDICA_VERSION', '3.1.1714' ); define ( 'DFRN_PROTOCOL_VERSION', '2.23' ); define ( 'DB_UPDATE_VERSION', 1163 ); define ( 'EOL', "
\r\n" ); diff --git a/include/bbcode.php b/include/bbcode.php index 3e3345035e..eaf412c353 100644 --- a/include/bbcode.php +++ b/include/bbcode.php @@ -543,10 +543,12 @@ function bbcode($Text,$preserve_nl = false, $tryoembed = true, $simplehtml = fal // [img=widthxheight]image source[/img] //$Text = preg_replace("/\[img\=([0-9]*)x([0-9]*)\](.*?)\[\/img\]/ism", '', $Text); $Text = preg_replace("/\[img\=([0-9]*)x([0-9]*)\](.*?)\[\/img\]/ism", '', $Text); + $Text = preg_replace("/\[zmg\=([0-9]*)x([0-9]*)\](.*?)\[\/zmg\]/ism", '', $Text); // Images // [img]pathtoimage[/img] $Text = preg_replace("/\[img\](.*?)\[\/img\]/ism", '' . t('Image/photo') . '', $Text); + $Text = preg_replace("/\[zmg\](.*?)\[\/zmg\]/ism", '' . t('Image/photo') . '', $Text); // Shared content if (!$simplehtml) diff --git a/util/messages.po b/util/messages.po index ccd6f7165f..9553539454 100644 --- a/util/messages.po +++ b/util/messages.po @@ -6,9 +6,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: 3.1.1708\n" +"Project-Id-Version: 3.1.1714\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2013-05-22 00:01-0700\n" +"POT-Creation-Date: 2013-05-28 00:01-0700\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -6351,7 +6351,7 @@ msgid "Tips for New Members" msgstr "" #: ../../mod/install.php:117 -msgid "Friendica Social Communications Server - Setup" +msgid "Friendica Communications Server - Setup" msgstr "" #: ../../mod/install.php:123