<?php

@( (bool)FALSE === strpos( $_SERVER['REQUEST_URI'], basename( __FILE__ ) ) ) OR exit( '!! ACCESS DENIED !!' );
error_reporting( _E_VALUE );

/* vim: set expandtab tabstop=4 shiftwidth=4: */

// ***** BEGIN LICENSE BLOCKS ( DO NOT REMOVE ) *****

// +----------------------------------------------------------------------+
// | WebSanitizer For MPN 188_8 -> BBCode Sanitizing Parameter Arrays     |
// |                                                                      |
// |   Note: These arrays represent class defaults. Please make any       |
// |         required bbcode sanitizing adjustments in this file.         |
// +----------------------------------------------------------------------+
// | VERSION: 0.3 Alpha                                                   |
// +----------------------------------------------------------------------+
// | LICENSE: GPL 2.0 (see docs/LICENSE_GPL)                              |
// |                                                                      |
// | This file is part of WebSanitizer For MPN 188_8.                     |
// |                                                                      |
// | WebSanitizer For MPN 188_8 is free software; you can redistribute it |
// | and/or modify it under the terms of the GNU General Public License   |
// | as published by the Free Software Foundation; either version 2       |
// | of the License, or (at your option) any later version.               |
// |                                                                      |
// | WebSanitizer For MPN 188_8 is distributed in the hope that it        |
// | will be useful, but WITHOUT ANY WARRANTY; without even the implied   |
// | warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.     |
// | See the GNU General Public License for more details.                 |
// |                                                                      |
// | You should have received a copy of the GNU General Public License    |
// | along with WebSanitizer For MPN 188_8; if not, write to the          |
// | Free Software Foundation, Inc.,                                      |
// | 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA               |
// +----------------------------------------------------------------------+
// | AUTHOR(s):                                                           |
// |                                                                      |
// | The Original Code is the WebSanitizer For MPN 188_8.                 |
// | The Initial Developer of the Original Code is Eric Haddix.           |
// |                                                                      |
// | Portions created by Eric Haddix or Kiril Threndor                    |
// | <support@websanitizer.illearth.net> are                              |
// | Copyright (C) 2003 Eric Haddix.  All Rights Reserved.                |
// +----------------------------------------------------------------------+
// | CONTRIBUTOR(s):                                                      |
// |                                                                      |
// +----------------------------------------------------------------------+
// | MODIFICATIONS:                                                       |
// |                                                                      |
// |                                                                      |
// +----------------------------------------------------------------------+
// | Required Files: core_Sanitize.class.php                              |
// |                 core_Sanitize.param.php                              |
// |                 core_BBCodeConvert.subclass.php                      |
// |                 core_AllowArrays.param.php ( MPN Option )            |
// +----------------------------------------------------------------------+
// | Support: http://myphpnuke.com/                                       |
// +----------------------------------------------------------------------+
// $Id: core_BBCodeConvert.param.php,v 1.5.2.8 2004/08/15 12:58:25 kirilt Exp $

// ***** END LICENSE BLOCKS ( DO NOT REMOVE ) *****


// The $bb_delim variable Is Default Set In The Class Variables to array( '[', ']' )

$bb_tags  = array
(
      TRUE
    , 'code'
    , 'lit'
    , 'quote'
    , 'b'
    , 'i'
    , 'list'
    , 'li'
    , 'uri'
    , 'img'
    , 'addsig'
);

if ( (bool)FALSE !== strpos( $_SERVER['REQUEST_URI'], 'sections.php' ) )
{
    $bbtags[] = 'pagebreak';
}

$bb_swap  = array
(
      'b'         => 'b'
    , 'i'         => 'i'
    , 'list'      => 'ul'
    , 'li'        => 'li'
    , 'uri'       => 'a'
    , 'img'       => 'img'
    , 'code'      => 'code'
    , 'lit'       => 'lit'
    , 'quote'     => 'blockquote'
);


// Add Attributes To Tags

$add_attr_to_tag = array
(
    'a' => array( 'target' => '"_blank"' )
);

?>