📄 admin.odtindexer.php
字号:
<?php/*** @package ODT_Indexer* @copyright (C) 2006 Websmurf* @author Websmurf* * --------------------------------------------------------------------------------* All rights reserved. ODT Indexer is a component for Joomla and Mambo. * You can use it to search through ODT files** 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'));$task = mosGetParam($_REQUEST, 'task');$act = mosGetParam($_REQUEST, 'act');$cid = mosGetParam($_REQUEST, 'cid', array(0));if(!is_array($cid)){ $cid = array($cid);}switch ($act){ case 'configuration': swConfig($task); break; default: swIndex($task, $cid); break;}function swConfig($task){}function swIndex($task, $cid){ switch ($task){ case 'new': indexer::editIndex(0); break; case 'edit': indexer::editIndex($cid[0]); break; case 'remove': indexer::removeIndex($cid); break; case 'apply': case 'save': indexer::saveIndex(); break; case 'update': indexer::updateIndex($cid); break; default: indexer::showIndex(); break; }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -