diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-03-29 22:21:23 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-03-29 22:21:23 +0000 |
commit | 0d9539d577886549b51d2bf70167db05f3f2514c (patch) | |
tree | 008251aa2b1c5f3f5cb30ec122f2751cda8f3b00 /templates | |
parent | a4eaf056202dc87ab529896cafac082eb987d525 (diff) | |
download | ikiwiki-0d9539d577886549b51d2bf70167db05f3f2514c.tar ikiwiki-0d9539d577886549b51d2bf70167db05f3f2514c.tar.gz |
added --hyperestraier switch, which turns on search support
(ok, the way I run estseek.cgi is admittedly pretty nasty, but it works..)
Diffstat (limited to 'templates')
-rw-r--r-- | templates/estseek.conf | 21 | ||||
-rw-r--r-- | templates/misc.tmpl | 6 | ||||
-rw-r--r-- | templates/page.tmpl | 8 |
3 files changed, 35 insertions, 0 deletions
diff --git a/templates/estseek.conf b/templates/estseek.conf new file mode 100644 index 000000000..91e144d78 --- /dev/null +++ b/templates/estseek.conf @@ -0,0 +1,21 @@ +indexname: <TMPL_VAR INDEX> +tmplfile: <TMPL_VAR TMPLFILE> +topfile: /dev/null +logfile: +replace: ^file://<TMPL_VAR DESTDIR>{{!}}<TMPL_VAR URL> +showreal: false +perpage: 10,20,30,40,50,100 +attrselect: false +showscore: false +extattr: date|Date +snipwwidth: 480 +sniphwidth: 96 +snipawidth: 96 +condgstep: 2 +dotfidf: true +scancheck: false +smplphrase: true +candetail: true +smlrvnum: 0 +clipview: 2 +spcache: diff --git a/templates/misc.tmpl b/templates/misc.tmpl index 98d60d703..442db8c21 100644 --- a/templates/misc.tmpl +++ b/templates/misc.tmpl @@ -8,13 +8,19 @@ </head> <body> +<div id="header"> <h1> <TMPL_VAR INDEXLINK>/ <TMPL_VAR TITLE> </h1> +</div> +<div id="content"> <TMPL_VAR PAGEBODY> +</div> +<div id="footer"> <!-- from <TMPL_VAR NAME=WIKINAME> --> +</div> </body> </html> diff --git a/templates/page.tmpl b/templates/page.tmpl index 8b018ddfb..fb7383acb 100644 --- a/templates/page.tmpl +++ b/templates/page.tmpl @@ -15,6 +15,13 @@ </TMPL_LOOP> <TMPL_VAR TITLE> </h1> +<TMPL_IF NAME="HYPERESTRAIERURL"> +<form method="get" action="<TMPL_VAR HYPERESTRAIERURL>" id="searchform"> +<input type="text" name="phrase" value="" size="32" /> +<input type="submit" value="Search" /> +<input type="hidden" name="enc" value="UTF-8" /> +<input type="hidden" name="do" value="hyperestraier" /> +</TMPL_IF> </div> <div id="actions"> @@ -36,6 +43,7 @@ </TMPL_IF> <li><TMPL_VAR DISCUSSIONLINK><br /></li> + </ul> </div> |