fix: macros not processed in HttpProxy template

This commit is contained in:
Graham Knop 2007-07-19 18:18:16 +00:00
parent ab42b4a133
commit 75457b765d
2 changed files with 8 additions and 1 deletions

View file

@ -73,6 +73,8 @@
user's e-mail address.
- add: Button in Collaboration Systems for managing CS subscription group.
- fix: relative links sent out in emails don't work properly
- fix: macros not processed in HttpProxy template
http://www.webgui.org/bugs/tracker/macro-not-working-i-httpproxy
7.3.21
- fix: Self-deactivation doesn't show login screen after success

View file

@ -419,7 +419,12 @@ sub view {
if($var{header} ne "text/html") {
return $var{content};
} else {
return $self->processTemplate(\%var,undef,$self->{_viewTemplate});
my $content = $var{content};
$var{content} = '~~~';
my $output = $self->processTemplate(\%var,undef,$self->{_viewTemplate});
WebGUI::Macro::process($self->session, \$output);
my ($head, $foot) = split('~~~', $output);
return $head . $content . $foot;
}
}