2 global $savant, $_config, $stripslashes;
\r
6 <?php if ($_config['gsearch']): ?>
\r
7 <form action="<?php echo $_base_path; ?>mods/_standard/google_search/index.php" method="get" name="gsearchform">
\r
9 <form action="http://www.google.com/search" method="get" target="_new">
\r
10 <input type="hidden" name="l" value="<?php echo $_SESSION['lang']; ?>" />
\r
13 <?php if (!$_config['gsearch']): ?>
\r
14 <?php echo _AT('google_new_window'); ?>
\r
17 <input type="hidden" name="search" value="1" />
\r
19 <input type="text" name="q" class="formfield" size="20" value="<?php echo $stripslashes(htmlspecialchars($_GET['q'])); ?>" /><br /><br />
\r
20 <input type="hidden" name="submit" value="<?php echo _AT('search'); ?>" />
\r
21 <input type="submit" class="button" />
\r
25 $savant->assign('dropdown_contents', ob_get_contents());
\r
28 $savant->assign('title', _AT('google_search'));
\r
29 $savant->display('include/box.tmpl.php');
\r