Files
IPB/upload/admin/applications/forums/extensions/editorSections.php
T
2025-12-19 00:35:52 -08:00

37 lines
1.2 KiB
PHP

<?php
/**
* <pre>
* Invision Power Services
* IP.Board v3.3.4
* BBCode Management : Determines if bbcode can be used in this section
* Last Updated: $LastChangedDate: 2012-06-12 10:14:49 -0400 (Tue, 12 Jun 2012) $
* </pre>
*
* @author $Author: bfarber $
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
* @license http://www.invisionpower.com/company/standards.php#license
* @package IP.Board
* @subpackage Forums
* @link http://www.invisionpower.com
* @version $Rev: 10914 $
*
*/
if ( ! defined( 'IN_IPB' ) )
{
print "<h1>Incorrect access</h1>You cannot access this file directly. If you have recently upgraded, make sure you upgraded all the relevant files.";
exit();
}
/*
* An array of key => value pairs
* When going to parse, the key should be passed to the editor
* to determine which bbcodes should be parsed in the section
*
*/
$BBCODE = array(
'topics' => ipsRegistry::getClass('class_localization')->words['ctype__topics'],
'announcement' => ipsRegistry::getClass('class_localization')->words['ctype__announcement'],
'rules' => ipsRegistry::getClass('class_localization')->words['ctype__rules'],
);