Version 3.2.3
This commit is contained in:
1 parent
ae5c01cc78
commit
78706903a2
2641 files changed
+228363
-201264
No files matched your search
@@ -3,18 +3,18 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.1.4
|
||||
* IP.Board v3.2.3
|
||||
* BBCode parsing core - legacy routine
|
||||
* Last Updated: $Date: 2010-01-15 10:18:44 -0500 (Fri, 15 Jan 2010) $
|
||||
* Last Updated: $Date: 2011-05-05 07:03:47 -0400 (Thu, 05 May 2011) $
|
||||
* </pre>
|
||||
*
|
||||
* @author $Author: bfarber $
|
||||
* @author $Author: ips_terabyte $
|
||||
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
|
||||
* @license http://www.invisionpower.com/community/board/license.html
|
||||
* @license This is NULLED!
|
||||
* @package IP.Board
|
||||
* @link http://www.invisionpower.com
|
||||
* @link http://hatynka.in
|
||||
* @since 9th March 2005 11:03
|
||||
* @version $Revision: 5713 $
|
||||
* @version $Revision: 8644 $
|
||||
*/
|
||||
|
||||
if ( ! defined( 'IN_IPB' ) )
|
||||
@@ -30,7 +30,7 @@ class class_bbcode_legacy extends class_bbcode_core
|
||||
*
|
||||
* @access public
|
||||
* @param object Registry object
|
||||
* @return void
|
||||
* @return @e void
|
||||
*/
|
||||
public function __construct( ipsRegistry $registry )
|
||||
{
|
||||
@@ -102,7 +102,7 @@ class class_bbcode_legacy extends class_bbcode_core
|
||||
$txt = preg_replace( "#<!--emo&(.+?)-->.+?<!--endemo-->#", "\\1" , $txt );
|
||||
|
||||
# New (3.0)
|
||||
$txt = $this->unconvertSmilies( $txt );
|
||||
$txt = IPSText::unconvertSmilies( $txt );
|
||||
|
||||
//-----------------------------------------
|
||||
// Clean up nbsp
|
||||
@@ -312,12 +312,12 @@ class class_bbcode_legacy extends class_bbcode_core
|
||||
/**
|
||||
* Parse new quotes
|
||||
*
|
||||
* @access private
|
||||
* @access protected
|
||||
* @param string Quote data
|
||||
* @param string Raw text
|
||||
* @return string Converted text
|
||||
*/
|
||||
private function _parse_new_quote( $matches=array() )
|
||||
protected function _parse_new_quote( $matches=array() )
|
||||
{
|
||||
//-----------------------------------------
|
||||
// INIT
|
||||
@@ -365,7 +365,7 @@ class class_bbcode_legacy extends class_bbcode_core
|
||||
* @param string Raw text
|
||||
* @return string Converted text
|
||||
*/
|
||||
private function unconvert_size( $matches=array() )
|
||||
protected function unconvert_size( $matches=array() )
|
||||
{
|
||||
//-----------------------------------------
|
||||
// INIT
|
||||
@@ -393,7 +393,7 @@ class class_bbcode_legacy extends class_bbcode_core
|
||||
* @param string Raw text
|
||||
* @return string Converted text
|
||||
*/
|
||||
private function unconvert_flash($matches=array())
|
||||
protected function unconvert_flash($matches=array())
|
||||
{
|
||||
$f_arr = explode( "+", $matches[1] );
|
||||
|
||||
@@ -406,7 +406,7 @@ class class_bbcode_legacy extends class_bbcode_core
|
||||
* @param string Raw text
|
||||
* @return string Converted text
|
||||
*/
|
||||
private function unconvert_sql($matches=array())
|
||||
protected function unconvert_sql($matches=array())
|
||||
{
|
||||
$sql = stripslashes($matches[2]);
|
||||
|
||||
@@ -423,7 +423,7 @@ class class_bbcode_legacy extends class_bbcode_core
|
||||
* @param string Raw text
|
||||
* @return string Converted text
|
||||
*/
|
||||
private function unconvert_htm($matches=array())
|
||||
protected function unconvert_htm($matches=array())
|
||||
{
|
||||
$html = stripslashes($matches[2]);
|
||||
|
||||
@@ -440,7 +440,7 @@ class class_bbcode_legacy extends class_bbcode_core
|
||||
* @param string Converted text
|
||||
* @return string Raw text
|
||||
*/
|
||||
private function post_db_unparse_bbcode($t="")
|
||||
protected function post_db_unparse_bbcode($t="")
|
||||
{
|
||||
//-----------------------------------------
|
||||
// INIT
|
||||
@@ -547,7 +547,7 @@ class class_bbcode_legacy extends class_bbcode_core
|
||||
* @param string HTML to search in
|
||||
* @return string Parsed HTML;
|
||||
*/
|
||||
private function parse_simple_tag_recursively( $tag_name, $convert_name, $bbcode, $text )
|
||||
protected function parse_simple_tag_recursively( $tag_name, $convert_name, $bbcode, $text )
|
||||
{
|
||||
//----------------------------------------
|
||||
// INIT
|
||||
|
||||
Reference in new issue
Block a user