You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

25 lines
773 B

<?php
/**
* @package tikiwiki
*/
// (c) Copyright by authors of the Tiki Wiki CMS Groupware Project
//
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$
global $prefs;
if ($prefs['feature_theme_control'] == 'y' && (! isset($banningOnly) || ! $banningOnly)) {
include('tiki-tc.php');
}
if ($prefs['feature_banning'] == 'y') {
global $user, $section;
if ($msg = TikiLib::lib('tiki')->check_rules($user, $section)) {
if (isset($ajaxRequest) && $ajaxRequest) {
Services_Utilities::modalException(tr('You are banned from %0', $section));
} else {
Feedback::errorPage($msg);
}
}
}