diff options
Diffstat (limited to 'phpBB/includes/functions_posting.php')
-rw-r--r-- | phpBB/includes/functions_posting.php | 85 |
1 files changed, 83 insertions, 2 deletions
diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php index 1ab63294ad..efab3f4550 100644 --- a/phpBB/includes/functions_posting.php +++ b/phpBB/includes/functions_posting.php @@ -8,7 +8,6 @@ * * $Id$ * - * ***************************************************************************/ /*************************************************************************** @@ -1236,7 +1235,7 @@ function generate_smilies($mode, $page_id) $row = 0; $col = 0; - while ( list($smile_url, $data) = @each($rowset) ) + foreach( $rowset as $smile_url => $data ) { if ( !$col ) { @@ -1291,4 +1290,86 @@ function generate_smilies($mode, $page_id) } } +// +// +// +define('BBCODE_UID_LEN', 10); + +// +// +// +class parse_message +{ + var $message; + var $bbcode_tpl = null; + + function parse_message($message, $html, $bbcode, $emoticons) + { + global $board_config; + + $this->message = $message; + unset($message); + + $this->html($html); + $this->bbcode($bbcode); + $this->emoticons($emoticons); + + return $this->message; + } + + function html($html) + { + global $board_config; + + } + + function bbcode($bbcode) + { + global $board_config; + + } + + function emoticons($emoticons) + { + global $board_config; + + } + + function attachments() + { + + } +} + +class parse_poll +{ + + function parse_poll() + { + global $board_config; + + } + +} + +class parse_search +{ + + function parse_search() + { + + } + + function add() + { + + } + + function delete() + { + + } + +} + ?>
\ No newline at end of file |