97 lines
2.6 KiB
PHP
97 lines
2.6 KiB
PHP
<?php
|
|
|
|
/*
|
|
+--------------------------------------------------------------------------
|
|
| Invision Power Board 2.1.7
|
|
| =============================================
|
|
| by Matthew Mecham
|
|
| (c) 2001 - 2005 Invision Power Services, Inc.
|
|
| http://www.invisionpower.com
|
|
| =============================================
|
|
| Web: http://www.invisionboard.com
|
|
| http://www.ibresource.ru/products/invisionpowerboard/
|
|
| Time: Tuesday 18th of July 2006 05:56:00 PM
|
|
| Release: 52f408a29988b02f45b5e6f4ba5af0ae
|
|
| Licence Info: http://www.invisionboard.com/?license
|
|
| http://www.ibresource.ru/license
|
|
+---------------------------------------------------------------------------
|
|
| INVISION POWER BOARD IS NOT FREE / OPEN SOURCE!
|
|
+---------------------------------------------------------------------------
|
|
| INVISION POWER BOARD ÍÅ ßÂËßÅÒÑß ÁÅÑÏËÀÒÍÛÌ ÏÐÎÃÐÀÌÌÍÛÌ ÎÁÅÑÏÅ×ÅÍÈÅÌ!
|
|
| Ïðàâà íà ÏÎ ïðèíàäëåæàò Invision Power Services
|
|
| Ïðàâà íà ïåðåâîä IBResource (http://www.ibresource.ru)
|
|
+---------------------------------------------------------------------------
|
|
| > $Date: 2005-10-24 22:17:00 +0100 (Mon, 24 Oct 2005) $
|
|
| > $Revision: 64 $
|
|
| > $Author: bfarber $
|
|
+---------------------------------------------------------------------------
|
|
|
|
|
| > Posting STD Editor
|
|
| > Module written by Matt Mecham
|
|
| > Date started: Thursday 10th March 2005 11:38
|
|
|
|
|
+--------------------------------------------------------------------------
|
|
*/
|
|
|
|
/**
|
|
* Text Editor: Standard Class
|
|
*
|
|
* Class for parsing standard text editor
|
|
*
|
|
* @package InvisionPowerBoard
|
|
* @subpackage TextEditor
|
|
* @author Matt Mecham
|
|
* @version 2.1
|
|
* @since 2.1.0
|
|
* @ignore
|
|
*/
|
|
|
|
/**
|
|
*
|
|
*/
|
|
|
|
/**
|
|
* Text Editor: Standard Class
|
|
*
|
|
* Class for parsing standard text editor
|
|
*
|
|
* @package InvisionPowerBoard
|
|
* @subpackage TextEditor
|
|
* @author Matt Mecham
|
|
* @version 2.1
|
|
* @since 2.1.0
|
|
* @ignore
|
|
*/
|
|
class class_editor_module extends class_editor
|
|
{
|
|
# Global
|
|
var $ipsclass;
|
|
|
|
|
|
/*-------------------------------------------------------------------------*/
|
|
// Process the raw post with BBCode before showing in the form
|
|
/*-------------------------------------------------------------------------*/
|
|
|
|
function process_before_form( $t )
|
|
{
|
|
$t = str_replace( '<', '<', $t );
|
|
$t = str_replace( '>', '>', $t );
|
|
|
|
return $t;
|
|
}
|
|
|
|
/*-------------------------------------------------------------------------*/
|
|
// Process the raw post with BBCode before saving
|
|
/*-------------------------------------------------------------------------*/
|
|
|
|
function process_after_form( $form_field )
|
|
{
|
|
return $this->_clean_post( $_POST[ $form_field ] );
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
?>
|