use assetIds instead of urls for default templates
This commit is contained in:
parent
e115a195b6
commit
d0984032a3
8 changed files with 35 additions and 8 deletions
|
|
@ -31,7 +31,11 @@ sub process {
|
|||
my %var = ();
|
||||
$var{'group.url'} = WebGUI::URL::page("op=autoAddToGroup&groupId=".$g->groupId);
|
||||
$var{'group.text'} = $param[1];
|
||||
return WebGUI::Asset::Template->newByUrl($param[2]||"default_group_add_macro")->process(\%var);
|
||||
if ($param[2]) {
|
||||
return WebGUI::Asset::Template->newByUrl($param[2])->process(\%var);
|
||||
} else {
|
||||
return WebGUI::Asset::Template->new("PBtmpl0000000000000040")->process(\%var);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue