fixing bugs related to new form system
This commit is contained in:
parent
74cd198203
commit
3058d839c0
15 changed files with 68 additions and 11 deletions
|
|
@ -171,7 +171,7 @@ sub www_checkoutConfirm {
|
|||
$f = WebGUI::HTMLForm->new;
|
||||
$f->hidden('op', 'checkoutSubmit');
|
||||
$f->raw($plugin->checkoutForm);
|
||||
$f->submit($i18n->get('pay button'));
|
||||
$f->submit(value=>$i18n->get('pay button'));
|
||||
|
||||
$var{form} = $f->print;
|
||||
$var{title} = $i18n->get('checkout confirm title');
|
||||
|
|
|
|||
|
|
@ -128,7 +128,7 @@ sub getGroupSearchForm {
|
|||
-value=>$session{scratch}{groupSearchKeyword},
|
||||
-size=>15
|
||||
);
|
||||
$f->submit(WebGUI::International::get(170));
|
||||
$f->submit(value=>WebGUI::International::get(170));
|
||||
$output .= $f->print;
|
||||
$output .= '</div>';
|
||||
return $output;
|
||||
|
|
|
|||
|
|
@ -121,7 +121,6 @@ sub getUserSearchForm {
|
|||
$f->selectList(
|
||||
-name=>"modifier",
|
||||
-value=>([$session{scratch}{userSearchModifier} || "contains"]),
|
||||
-label=>"",
|
||||
-options=>{
|
||||
startsWith=>WebGUI::International::get("starts with"),
|
||||
contains=>WebGUI::International::get("contains"),
|
||||
|
|
@ -130,13 +129,11 @@ sub getUserSearchForm {
|
|||
);
|
||||
$f->text(
|
||||
-name=>"keyword",
|
||||
-label=>"",
|
||||
-value=>$session{scratch}{userSearchKeyword},
|
||||
-size=>15
|
||||
);
|
||||
$f->selectList(
|
||||
-name => "status",
|
||||
-label=>"",
|
||||
-value => [$session{scratch}{userSearchStatus} || "users.status like '%'"],
|
||||
-options=> {
|
||||
"" => WebGUI::International::get(821),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue