Macros process on one pass.

This commit is contained in:
JT Smith 2003-03-02 17:02:18 +00:00
parent 8e4c8a9fd8
commit 0ebac2be41
22 changed files with 24 additions and 51 deletions

View file

@ -95,8 +95,8 @@ sub www_showMessage {
#-------------------------------------------------------------------
sub www_view {
my ($p, $data, %var, @message_loop, $rows, @last, $replies);
$var{title} = $_[0]->processMacros($_[0]->get("title"));
$var{description} = $_[0]->processMacros($_[0]->get("description"));
$var{title} = $_[0]->get("title");
$var{description} = $_[0]->get("description");
$var{canPost} = WebGUI::Privilege::isInGroup($_[0]->get("groupToPost"));
$var{"post.url"} = WebGUI::URL::page('func=post&mid=new&wid='.$_[0]->get("wobjectId"));
$var{"post.label"} = WebGUI::International::get(17,$namespace);