includes/template.php
changeset 115 261f367623af
parent 114 47393c6619ea
child 118 0c5efda996bf
--- a/includes/template.php	Tue Sep 04 08:25:48 2007 -0400
+++ b/includes/template.php	Tue Sep 04 12:52:23 2007 -0400
@@ -741,6 +741,9 @@
       'LOGOUT_LINK'=>$logout_link,
       'ADMIN_LINK'=>$admin_link,
       'THEME_LINK'=>$theme_link,
+      'SEARCH_ACTION'=>makeUrlNS('Special', 'Search'),
+      'INPUT_TITLE'=>( urlSeparator == '&' ? '<input type="hidden" name="title" value="' . htmlspecialchars( $paths->nslist[$paths->namespace] . $paths->cpage['urlname_nons'] ) . '" />' : ''),
+      'INPUT_AUTH'=>( $session->sid_super ? '<input type="hidden" name="auth"  value="' . $session->sid_super . '" />' : ''),
       'TEMPLATE_DIR'=>scriptPath.'/themes/'.$this->theme,
       'THEME_ID'=>$this->theme,
       'STYLE_ID'=>$this->style,