fixes
parent
0d9539d577
commit
5f1e794045
|
@ -407,9 +407,10 @@ sub estcfg () { #{{{
|
||||||
);
|
);
|
||||||
print TEMPLATE $template->output;
|
print TEMPLATE $template->output;
|
||||||
close TEMPLATE;
|
close TEMPLATE;
|
||||||
symlink("/usr/lib/estraier/estseek.cgi",
|
$cgi="$estdir/".basename($config{cgiurl});
|
||||||
"$estdir/".basename($config{cgiurl})) ||
|
unlink($cgi);
|
||||||
error("symlink: $!");
|
symlink("/usr/lib/estraier/estseek.cgi", $cgi) ||
|
||||||
|
error("symlink $cgi: $!");
|
||||||
} # }}}
|
} # }}}
|
||||||
|
|
||||||
sub estcmd ($;@) { #{{{
|
sub estcmd ($;@) { #{{{
|
||||||
|
|
|
@ -18,6 +18,9 @@ It ships with some basic templates which can be customised:
|
||||||
page.
|
page.
|
||||||
* `templates/inlinepagetitle.tmpl` - Used for listing a page inline in a blog
|
* `templates/inlinepagetitle.tmpl` - Used for listing a page inline in a blog
|
||||||
archive page.
|
archive page.
|
||||||
|
* `estseek.conf` - Not a html template, this is actually a template for
|
||||||
|
a config file for the [[HyperEstraier]] search engine. If you like you
|
||||||
|
can read the [[HyperEstraier]] docs and configure it using this.
|
||||||
|
|
||||||
If you like, you can add these to further customise it:
|
If you like, you can add these to further customise it:
|
||||||
|
|
||||||
|
|
|
@ -17,10 +17,12 @@
|
||||||
</h1>
|
</h1>
|
||||||
<TMPL_IF NAME="HYPERESTRAIERURL">
|
<TMPL_IF NAME="HYPERESTRAIERURL">
|
||||||
<form method="get" action="<TMPL_VAR HYPERESTRAIERURL>" id="searchform">
|
<form method="get" action="<TMPL_VAR HYPERESTRAIERURL>" id="searchform">
|
||||||
<input type="text" name="phrase" value="" size="32" />
|
<div>
|
||||||
<input type="submit" value="Search" />
|
<input type="text" name="phrase" value="" size="16" />
|
||||||
<input type="hidden" name="enc" value="UTF-8" />
|
<input type="hidden" name="enc" value="UTF-8" />
|
||||||
<input type="hidden" name="do" value="hyperestraier" />
|
<input type="hidden" name="do" value="hyperestraier" />
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
</TMPL_IF>
|
</TMPL_IF>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue