diff options
author | Joey Hess <joey@kitenet.net> | 2010-05-06 22:27:12 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-05-06 22:27:12 -0400 |
commit | 4c320176c080038f95131f39ecaca3101b4b1745 (patch) | |
tree | 2da085a7dc798867ca70b90394ec494d352f7ad5 /IkiWiki/CGI.pm | |
parent | d3aaf6e01fe7f90a530e640957b5908d5dba2f7f (diff) | |
download | ikiwiki-4c320176c080038f95131f39ecaca3101b4b1745.tar ikiwiki-4c320176c080038f95131f39ecaca3101b4b1745.tar.gz |
simplify formbuilder stylesheet specification
Since all forms are wrapped in a template that defines the actual
stylesheets, formbuilder just has to be told to turn on stylesheet mode,
not what file is the style sheet.
Diffstat (limited to 'IkiWiki/CGI.pm')
-rw-r--r-- | IkiWiki/CGI.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/IkiWiki/CGI.pm b/IkiWiki/CGI.pm index 07369ac10..49a505514 100644 --- a/IkiWiki/CGI.pm +++ b/IkiWiki/CGI.pm @@ -108,7 +108,7 @@ sub cgi_signin ($$) { action => $config{cgiurl}, header => 0, template => {type => 'div'}, - stylesheet => baseurl()."style.css", + stylesheet => 1, ); my $buttons=["Login"]; @@ -187,7 +187,7 @@ sub cgi_prefs ($$) { params => $q, action => $config{cgiurl}, template => {type => 'div'}, - stylesheet => baseurl()."style.css", + stylesheet => 1, fieldsets => [ [login => gettext("Login")], [preferences => gettext("Preferences")], |