admin.blocklist.php
来自「joomla的系统插件,用于用户的管理,可以开发或阻塞用户」· PHP 代码 · 共 73 行
PHP
73 行
<?php/*** @package Blocklist* @copyright (C) 2006 Websmurf* @author Websmurf* * --------------------------------------------------------------------------------* All rights reserved. Blocklist is a component for Joomla and Mambo. * You can use it to block certain ipadresses or ipblocks** This program is free software; you can redistribute it and/or* modify it under the terms of the Creative Commons - Attribution-NoDerivs 2.5 * license as published by the Creative Commons Organisation* http://creativecommons.org/licenses/by-nd/2.5/.** This program 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. * --------------------------------------------------------------------------------**/// ensure this file is being included by a parent filedefined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );require_once($mainframe->getPath('admin_html'));require_once($mainframe->getPath('class'));require_once($mainframe->getCfg('absolute_path') . '/administrator/components/com_blocklist/configuration.php');$act = mosGetParam($_REQUEST, 'act');$task = mosGetParam($_REQUEST, 'task');switch($act){ case 'config'; swConfig($task); break; default: swBlocklist($task, $cid); break;}/** * Switch for blocklist act * * @param string $task */function swBlocklist($task){ switch ($task){ case 'save': blocklist::saveBlocklist(); break; default: blocklist::showBlocklist(); break; }}/** * Switch for configuration act * * @param string $task */function swConfig($task){ switch ($task){ case 'save': blocklist::saveConfiguration(); break; default: HTML_blocklist::showConfiguration(); break; }}?>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?