Verified that the action parameter on cgi forms is needed for at least the
prefs form. Use $config{cgiurl}.master
parent
dd9ec3f5b6
commit
46302e698d
|
@ -63,8 +63,7 @@ sub cgi_signin ($$) { #{{{
|
||||||
required => 'NONE',
|
required => 'NONE',
|
||||||
javascript => 0,
|
javascript => 0,
|
||||||
params => $q,
|
params => $q,
|
||||||
# Why was this added?
|
action => $config{cgiurl},
|
||||||
#action => $q->request_uri,
|
|
||||||
header => 0,
|
header => 0,
|
||||||
template => (-e "$config{templatedir}/signin.tmpl" ?
|
template => (-e "$config{templatedir}/signin.tmpl" ?
|
||||||
"$config{templatedir}/signin.tmpl" : ""),
|
"$config{templatedir}/signin.tmpl" : ""),
|
||||||
|
@ -230,7 +229,7 @@ sub cgi_prefs ($$) { #{{{
|
||||||
required => 'NONE',
|
required => 'NONE',
|
||||||
javascript => 0,
|
javascript => 0,
|
||||||
params => $q,
|
params => $q,
|
||||||
action => $q->request_uri,
|
action => $config{cgiurl},
|
||||||
template => (-e "$config{templatedir}/prefs.tmpl" ?
|
template => (-e "$config{templatedir}/prefs.tmpl" ?
|
||||||
"$config{templatedir}/prefs.tmpl" : ""),
|
"$config{templatedir}/prefs.tmpl" : ""),
|
||||||
stylesheet => styleurl(),
|
stylesheet => styleurl(),
|
||||||
|
@ -294,7 +293,7 @@ sub cgi_editpage ($$) { #{{{
|
||||||
required => [qw{content}],
|
required => [qw{content}],
|
||||||
javascript => 0,
|
javascript => 0,
|
||||||
params => $q,
|
params => $q,
|
||||||
action => $q->request_uri,
|
action => $config{cgiurl},
|
||||||
table => 0,
|
table => 0,
|
||||||
template => "$config{templatedir}/editpage.tmpl"
|
template => "$config{templatedir}/editpage.tmpl"
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue