translate to positional parameters, internationalize default value for group search
This commit is contained in:
parent
5511319e21
commit
803da7605e
1 changed files with 14 additions and 4 deletions
|
|
@ -116,7 +116,7 @@ sub getGroupSearchForm {
|
|||
);
|
||||
$f->selectList(
|
||||
-name=>"modifier",
|
||||
-value=>([$session{scratch}{groupSearchModifier} || "contains"]),
|
||||
-value=>([$session{scratch}{groupSearchModifier} || WebGUI::International::get("contains") ]),
|
||||
-options=>{
|
||||
startsWith=>WebGUI::International::get("starts with"),
|
||||
contains=>WebGUI::International::get("contains"),
|
||||
|
|
@ -407,9 +407,19 @@ sub www_editGrouping {
|
|||
$f->hidden("gid",$session{form}{gid});
|
||||
my $u = WebGUI::User->new($session{form}{uid});
|
||||
my $g = WebGUI::Group->new($session{form}{gid});
|
||||
$f->readOnly($u->username,WebGUI::International::get(50));
|
||||
$f->readOnly($g->name,WebGUI::International::get(84));
|
||||
$f->date("expireDate",WebGUI::International::get(369),WebGUI::Grouping::userGroupExpireDate($session{form}{uid},$session{form}{gid}));
|
||||
$f->readOnly(
|
||||
-value => $u->username,
|
||||
-label => WebGUI::International::get(50),
|
||||
);
|
||||
$f->readOnly(
|
||||
-value => $g->name,
|
||||
-label => WebGUI::International::get(84),
|
||||
);
|
||||
$f->date(
|
||||
-name => "expireDate",
|
||||
-label => WebGUI::International::get(369),
|
||||
-value => WebGUI::Grouping::userGroupExpireDate($session{form}{uid},$session{form}{gid}),
|
||||
);
|
||||
$f->yesNo(
|
||||
-name=>"groupAdmin",
|
||||
-label=>WebGUI::International::get(977),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue