more session conversion

This commit is contained in:
JT Smith 2006-01-01 18:38:27 +00:00
parent de50e9b49c
commit 657ae8baf7
15 changed files with 46 additions and 43 deletions

View file

@ -42,8 +42,8 @@ sub process {
my $session = shift;
my %var;
my @param = @_;
return WebGUI::URL::page("op=auth;method=init") if ($param[0] eq "linkonly");
$var{'account.url'} = WebGUI::URL::page('op=auth;method=init');
return $session->url->page("op=auth;method=init") if ($param[0] eq "linkonly");
$var{'account.url'} = $session->url->page('op=auth;method=init');
$var{'account.text'} = $param[0] || WebGUI::International::get(46,'Macro_a_account');
if ($param[1]) {
return WebGUI::Asset::Template->newByUrl($session,$param[1])->process(\%var);