📄 search.inc.php
字号:
<?php/************************************************************************//* ATutor *//************************************************************************//* Copyright (c) 2002-2006 by Greg Gay, Joel Kronenberg & Heidi Hazelton*//* Adaptive Technology Resource Centre / University of Toronto *//* http://atutor.ca *//* *//* This program 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. *//************************************************************************/// $Id: search.inc.php 6467 2006-07-04 18:32:45Z joel $if (!defined('AT_INCLUDE_PATH')) { exit; }global $_base_path, $include_all, $include_one;global $savant;ob_start(); if (!isset($include_all, $include_one)) { $include_one = ' checked="checked"';}?><form action="<?php echo $_base_path; ?>search.php#search_results" method="get" name="searchform"><input type="hidden" name="search" value="1" /><input type="hidden" name="find_in" value="this" /><input type="hidden" name="display_as" value="pages" /><input type="text" name="words" class="formfield" size="20" id="words" value="<?php echo stripslashes(htmlspecialchars($_GET['words'])); ?>" /><br /><small> <?php echo _AT('search_match'); ?>:<br /> <input type="radio" name="include" value="all" id="all2"<?php echo $include_all; ?> /><label for="all2"><?php echo _AT('search_all_words'); ?></label><br /> <input type="radio" name="include" value="one" id="one2"<?php echo $include_one; ?> /><label for="one2"><?php echo _AT('search_any_word'); ?></label><br /></small><input type="submit" name="submit" value="<?php echo _AT('search'); ?>" class="button" /></form><?php$savant->assign('dropdown_contents', ob_get_contents());ob_end_clean();$savant->assign('title', _AT('search'));$savant->display('include/box.tmpl.php');?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -