<?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 -> Group Sanitizing Parameter Arrays      |
// |                                                                      |
// |   -> allowed tag arrays for specific user groups                     |
// +----------------------------------------------------------------------+
// | 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 (optional)                   |
// |                 core_CheckInput.subclass.php                         |
// |                 core_BBCodeConvert.subclass.php                      |
// +----------------------------------------------------------------------+
// | SUPPORT: http://myphpnuke.com/                                       |
// +----------------------------------------------------------------------+
// $Id: core_AllowArrays.param.php,v 1.6.2.7 2004/08/15 12:58:25 kirilt Exp $

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

/**
 * Allowed HTML Tag Arrays
 *
 * These represent the tags you want to allow
 * The appropriate user to use when posting HTML
 *
 * NOTE TO ADMINISTRATORS
 *
 * The Recommended HTML disallowed tag list for administrators is:
 *
 *  array
 *  (
 *      FALSE
 *    , 'html'
 *    , 'head'
 *    , 'meta'
 *    , 'link'
 *    , 'body'
 *    , 'blink'
 *    , 'object'
 *    , 'font'
 *    , 'frame'
 *    , 'iframe'
 *    , 'layer'
 *    , 'ilayer'
 *    , 'form'
 *    , 'script'
 *  );
 *
 *
 * At An ABSOLUTE Minimum:
 '
 *  array
 *  (
 *      FALSE
 *    , 'html'
 *    , 'head'
 *    , 'meta'
 *    , 'link'
 *    , 'body'
 *  );
 *
 */

$admin_html = array
(
      FALSE
    , 'html'
    , 'head'
    , 'meta'
    , 'link'
    , 'body'
    , 'frame'
    , 'frameset'
    , 'iframe'
    , 'layer'
    , 'ilayer'
    , 'blink'
);

$user_html = array
(
      TRUE
    , 'b'
    , 'i'
    , 'a'
    , 'br'
    , 'blockquote'
    , 'code'
    , 'li'
    , 'ol'
    , 'ul'
    , 'p'
    , 'img'
    , 'span'
    , 'lit'
);

$anon_html = array
(
      TRUE
    , 'b'
    , 'i'
    , 'a'
    , 'br'
    , 'blockquote'
    , 'li'
    , 'ol'
    , 'ul'
    , 'p'
    , 'span'
    , 'lit'
);

/**
 * Allowed BBCode Arrays
 *
 * These represent the tags you want to allow
 * The appropriate user to use when posting BBCode
 *
 */

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

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

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

?>