From 4552ccb798241839e200e2f40d863fda3bcc402c Mon Sep 17 00:00:00 2001 From: Kazuki Przyborowski Date: Sun, 1 May 2011 06:19:48 +0000 Subject: [PATCH] Small bug fix to TinyPic Tag. :P git-svn-id: svn://svn.code.sf.net/p/intdb/svn/trunk@640 2b68903e-0b30-0410-9a39-a2e4f3c5be39 --- inc/misc/ibbcode.php | 4 ++-- inc/versioninfo.php | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/inc/misc/ibbcode.php b/inc/misc/ibbcode.php index 69eae34..084b30e 100644 --- a/inc/misc/ibbcode.php +++ b/inc/misc/ibbcode.php @@ -11,7 +11,7 @@ Copyright 2004-2011 iDB Support - http://idb.berlios.de/ Copyright 2004-2011 Game Maker 2k - http://gamemaker2k.org/ - $FileInfo: ibbcode.php - Last Update: 05/01/2011 SVN 639 - Author: cooldude2k $ + $FileInfo: ibbcode.php - Last Update: 05/01/2011 SVN 640 - Author: cooldude2k $ */ $File3Name = basename($_SERVER['SCRIPT_NAME']); if ($File3Name=="ibbcode.php"||$File3Name=="/ibbcode.php") { @@ -41,7 +41,7 @@ $text = preg_replace("/\[EmbedVideo\=([A-Za-z0-9\.\-_]+)\]([A-Za-z0-9\.\-_]+)\[\ $text = preg_replace("/\[YouTube\]([A-Za-z0-9\.\-_]+)\[\/YouTube\]/is", "\n\n\n\n", $text); $text = preg_replace("/\[DailyMotion\]([A-Za-z0-9\.\-_]+)\[\/DailyMotion\]/is", "\n\n\n\n\n\n\n", $text); $text = preg_replace("/\[Vimeo\]([A-Za-z0-9\.\-_]+)\[\/Vimeo\]/is", "\n\n\n\n\n\n", $text); -$text = preg_replace("/\[TinyPic\]([A-Za-z0-9\.\-_]+)\,([A-Za-z0-9\.\-_]+)\[\/TinyPic\]/is", "\"\\2\"", $text); +$text = preg_replace("/\[TinyPic\]([A-Za-z0-9\.\-_]+)\,([A-Za-z0-9\.\-_]+)\[\/TinyPic\]/is", "\"\\2\"", $text); $text = preg_replace("/\[BR\]/is", "
", $text); $text = preg_replace("/\[HR\]/is", "
", $text); $text = preg_replace("/\[B\](.*?)\[\/B\]/is", "\\1", $text); diff --git a/inc/versioninfo.php b/inc/versioninfo.php index 1571733..08c45db 100644 --- a/inc/versioninfo.php +++ b/inc/versioninfo.php @@ -11,7 +11,7 @@ Copyright 2004-2011 iDB Support - http://idb.berlios.de/ Copyright 2004-2011 Game Maker 2k - http://gamemaker2k.org/ - $FileInfo: versioninfo.php - Last Update: 05/01/2011 SVN 639 - Author: cooldude2k $ + $FileInfo: versioninfo.php - Last Update: 05/01/2011 SVN 640 - Author: cooldude2k $ */ $File3Name = basename($_SERVER['SCRIPT_NAME']); if ($File3Name=="versioninfo.php"||$File3Name=="/versioninfo.php") { @@ -26,8 +26,8 @@ function version_info($proname,$subver,$ver,$supver,$reltype,$svnver,$showsvn) { if($showsvn!==true&&$showsvn!==null) { $return_var .= " ".$showsvn." ".$svnver; } return $return_var; } // Version number and date stuff. :P -$VER1[0] = 0; $VER1[1] = 4; $VER1[2] = 3; $VERFull[1] = $VER1[0].".".$VER1[1].".".$VER1[2]; -$VER2[0] = "Alpha"; $VER2[1] = "Al"; $VER2[2] = "SVN"; $SubVerN = 639; +$VER1[0] = 0; $VER1[1] = 4; $VER1[2] = 4; $VERFull[1] = $VER1[0].".".$VER1[1].".".$VER1[2]; +$VER2[0] = "Alpha"; $VER2[1] = "Al"; $VER2[2] = "SVN"; $SubVerN = 640; $SVNDay[0] = 05; $SVNDay[1] = 01; $SVNDay[2] = 2011; $SVNDay[3] = $SVNDay[0]."/".$SVNDay[1]."/".$SVNDay[2]; $AltName = "RDB"; $AltName2 = "ReneeDB"; $RName = "iDB"; $SFName = "IntDB"; $RFullName = "Internet Discussion Boards"; $AltFullName = "Renee Discussion Boards"; -- 2.11.0