aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/CGI.pm
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-04-30 21:27:58 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-04-30 21:27:58 +0000
commit65be0598a96a6a24a1a6993df524fda256b9bc97 (patch)
tree2b6ceaf82a9d9e9ce7c6ef9084a4dc489c5da1da /IkiWiki/CGI.pm
parentf46c35f46f29f56ffb701e6db8e5dc645162da07 (diff)
downloadikiwiki-65be0598a96a6a24a1a6993df524fda256b9bc97.tar
ikiwiki-65be0598a96a6a24a1a6993df524fda256b9bc97.tar.gz
* Use div layout for the signin and preferences forms, so that they can be
styled using the stylesheet, rather than by creating signin and prefs templates. * Make the openid login form nicely styled.
Diffstat (limited to 'IkiWiki/CGI.pm')
-rw-r--r--IkiWiki/CGI.pm6
1 files changed, 4 insertions, 2 deletions
diff --git a/IkiWiki/CGI.pm b/IkiWiki/CGI.pm
index b1caff96d..1471ae926 100644
--- a/IkiWiki/CGI.pm
+++ b/IkiWiki/CGI.pm
@@ -137,6 +137,7 @@ sub cgi_signin ($$) { #{{{
error($@) if $@;
my $form = CGI::FormBuilder->new(
title => "signin",
+ name => "signin",
header => 1,
charset => "utf-8",
method => 'POST',
@@ -145,7 +146,7 @@ sub cgi_signin ($$) { #{{{
params => $q,
action => $config{cgiurl},
header => 0,
- template => scalar template_params("signin.tmpl"),
+ template => {type => 'div'},
stylesheet => baseurl()."style.css",
);
my $buttons=["Login"];
@@ -206,6 +207,7 @@ sub cgi_prefs ($$) { #{{{
error($@) if $@;
my $form = CGI::FormBuilder->new(
title => "preferences",
+ name => "preferences",
header => 0,
charset => "utf-8",
method => 'POST',
@@ -216,7 +218,7 @@ sub cgi_prefs ($$) { #{{{
javascript => 0,
params => $q,
action => $config{cgiurl},
- template => scalar template_params("prefs.tmpl"),
+ template => {type => 'div'},
stylesheet => baseurl()."style.css",
fieldsets => [
[login => gettext("Login")],