version tags are roughed in

This commit is contained in:
JT Smith 2005-06-24 21:20:56 +00:00
parent 4de26f6410
commit 3d12d52a8e
8 changed files with 189 additions and 9 deletions

View file

@ -41,8 +41,8 @@ sub getInstance {
#Create Auth Object
my $cmd = "WebGUI::Auth::".$authMethod;
my $load = "use ".$cmd;
WebGUI::ErrorHandler::fatal("Authentication module failed to compile: $cmd.".$@) if($@);
eval($load);
WebGUI::ErrorHandler::fatal("Authentication module failed to compile: $cmd.".$@) if($@);
my $auth = eval{$cmd->new($authMethod,$userId)};
WebGUI::ErrorHandler::fatal("Couldn't instanciate authentication module: $authMethod. Root cause: ".$@) if($@);
return $auth;

View file

@ -57,7 +57,7 @@ sub www_richEditPageTree {
-name=>"target",
-label=>WebGUI::International::get('target'),
-options=>{"_self"=>WebGUI::International::get('link in same window'),
"_blank"=>WebGUI::International::get('link in new window'),
"_blank"=>WebGUI::International::get('link in new window')},
-extras=>'id="target"'
);
$f->button(