various bug fixes
This commit is contained in:
parent
577554b904
commit
bd7ccaf29d
21 changed files with 68 additions and 30 deletions
|
|
@ -19,7 +19,12 @@ use WebGUI::Session;
|
|||
sub process {
|
||||
my @param = WebGUI::Macro::getParams($_[0]);
|
||||
if (my $collateral = WebGUI::Collateral->find($param[0])) {
|
||||
return '<img src="'.$collateral->getURL.'" '.$collateral->get("parameters").' />';
|
||||
my $tag = '<img src="'.$collateral->getURL.'" '.$collateral->get("parameters");
|
||||
unless ($tag =~ /alt\=/i) {
|
||||
$tag .= ' alt="'.$collateral->get("name").'"';
|
||||
}
|
||||
$tag .= ' />';
|
||||
return $tag;
|
||||
} else {
|
||||
return "";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ sub process {
|
|||
});
|
||||
$var{'account.create.url'} = WebGUI::URL::page('op=createAccount');
|
||||
$var{'account.create.label'} = WebGUI::International::get(407);
|
||||
$var{'form.footer'} = '</form>';
|
||||
$var{'form.footer'} = WebGUI::Form::formFooter();
|
||||
return WebGUI::Template::process($templateId,"Macro/L_loginBox",\%var);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue