diff options
author | andi <andi@splitbrain.org> | 2005-03-07 20:29:54 +0100 |
---|---|---|
committer | andi <andi@splitbrain.org> | 2005-03-07 20:29:54 +0100 |
commit | af1824345c357da2fbf69f5690b1135b29a14a1a (patch) | |
tree | 6ef52a942679e15f3b2c695b3cebd00266fac744 /inc/template.php | |
parent | 6b13307fb447795714d01cdc029d6ed7ac087cf3 (diff) | |
download | rpg-af1824345c357da2fbf69f5690b1135b29a14a1a.tar.gz rpg-af1824345c357da2fbf69f5690b1135b29a14a1a.tar.bz2 |
bugfixes for yesterdays template patch
darcs-hash:20050307192954-9977f-ec263f3b0a3b4d9e35210789d2bb78c3a6011ae0.gz
Diffstat (limited to 'inc/template.php')
-rw-r--r-- | inc/template.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/inc/template.php b/inc/template.php index 00de7ad67..bb2a52352 100644 --- a/inc/template.php +++ b/inc/template.php @@ -95,7 +95,6 @@ function tpl_content(){ html_login(); break; case 'register': - #FIXME check for $conf['openregister']) needs to be done first!! html_register(); break; default: @@ -104,7 +103,6 @@ function tpl_content(){ } - /** * Print the correct HTML meta headers * @@ -223,12 +221,11 @@ function tpl_button($type){ /** * Print the search form * - * @todo svcheck missing * @author Andreas Gohr <andi@splitbrain.org> */ function tpl_searchform(){ global $lang; - print '<form action="'.wl().'" accept-charset="utf-8" class="search">'; + print '<form action="'.wl().'" accept-charset="utf-8" class="search" onsubmit="return svchk()">'; print '<input type="hidden" name="do" value="search" />'; print '<input type="text" accesskey="f" name="id" class="edit" />'; print '<input type="submit" value="'.$lang['btn_search'].'" class="button" />'; |