* Fix a baseurl problem in hyperestradier search results.
parent
8b69dcfcdf
commit
96b395705a
|
@ -591,7 +591,7 @@ sub template ($;@) { #{{{
|
|||
HTML::Template->new(template_params(@_));
|
||||
} #}}}
|
||||
|
||||
sub misctemplate ($$) { #{{{
|
||||
sub misctemplate ($$;@) { #{{{
|
||||
my $title=shift;
|
||||
my $pagebody=shift;
|
||||
|
||||
|
@ -602,6 +602,7 @@ sub misctemplate ($$) { #{{{
|
|||
wikiname => $config{wikiname},
|
||||
pagebody => $pagebody,
|
||||
baseurl => baseurl(),
|
||||
@_,
|
||||
);
|
||||
return $template->output;
|
||||
}#}}}
|
||||
|
|
|
@ -82,7 +82,8 @@ sub estcfg () { #{{{
|
|||
open(TEMPLATE, ">$estdir/$cgi.tmpl") ||
|
||||
error("write $estdir/$cgi.tmpl: $!");
|
||||
print TEMPLATE IkiWiki::misctemplate("search",
|
||||
"<!--ESTFORM-->\n\n<!--ESTRESULT-->\n\n<!--ESTINFO-->\n\n");
|
||||
"<!--ESTFORM-->\n\n<!--ESTRESULT-->\n\n<!--ESTINFO-->\n\n",
|
||||
baseurl => IkiWiki::dirname($config{cgiurl})."/");
|
||||
close TEMPLATE;
|
||||
open(TEMPLATE, ">$estdir/$cgi.conf") ||
|
||||
error("write $estdir/$cgi.conf: $!");
|
||||
|
|
|
@ -28,8 +28,9 @@ ikiwiki (1.27) UNRELEASED; urgency=low
|
|||
* Patch from Recai to kill utf-8 on the wiki name when generating the
|
||||
session cookie.
|
||||
* Change ddate plugin to use the DateTime::Calendar::Discordian perl module.
|
||||
* Fix a baseurl problem in hyperestradier search results.
|
||||
|
||||
-- Joey Hess <joeyh@debian.org> Thu, 14 Sep 2006 18:25:27 -0400
|
||||
-- Joey Hess <joeyh@debian.org> Thu, 14 Sep 2006 23:05:02 -0400
|
||||
|
||||
ikiwiki (1.26) unstable; urgency=low
|
||||
|
||||
|
|
Loading…
Reference in New Issue