Merge pull request #8 from radiocontrolled/0004872
[atutor.git] / search.php
1 <?php
2 /************************************************************************/
3 /* ATutor                                                                                                                       */
4 /************************************************************************/
5 /* Copyright (c) 2002-2010                                              */
6 /* Inclusive Design Institute                                           */
7 /* http://atutor.ca                                                                                                     */
8 /*                                                                      */
9 /* This program is free software. You can redistribute it and/or        */
10 /* modify it under the terms of the GNU General Public License          */
11 /* as published by the Free Software Foundation.                                        */
12 /************************************************************************/
13 // $Id$
14
15 $_user_location = 'public';
16
17 define('AT_INCLUDE_PATH', 'include/');
18 require(AT_INCLUDE_PATH . 'vitals.inc.php');
19 require(AT_INCLUDE_PATH . 'lib/search.inc.php');
20 $onload = 'document.form.keywords.focus();';
21 require(AT_INCLUDE_PATH . 'header.inc.php');
22 $savant->display('search.tmpl.php');
23 require(AT_INCLUDE_PATH . 'footer.inc.php');
24 ?>