more bug fixes
This commit is contained in:
parent
09abb2d440
commit
9238c028c6
8 changed files with 37 additions and 14 deletions
|
|
@ -20,11 +20,11 @@ use WebGUI::URL;
|
|||
#-------------------------------------------------------------------
|
||||
sub process {
|
||||
my %var;
|
||||
my @param = WebGUI::Macro::getParams($_[0]);
|
||||
my @param = WebGUI::Macro::getParams(shift);
|
||||
return WebGUI::URL::page("op=displayAccount") if ($param[0] eq "linkonly");
|
||||
$var{'account.url'} = WebGUI::URL::page('op=displayAccount');
|
||||
$var{'account.text'} = $param[0] || WebGUI::International::get(46);
|
||||
return WebGUI::Asset::Template->newByUrl($param[1])->process(\%var);
|
||||
return WebGUI::Asset::Template->newByUrl($param[1]||"default_account_macro")->process(\%var);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue