- Fixed a bug where a blank page would be displayed if a user logged out on a

page that visitors could not access.
 - Fixed a bug in the make printable macro that used the wrong default
   template.
 - Added a context menu to inline editing that is accessible by right-click
   or by left-click-hold on the asset's class icon.
 - The context menu in the asset manager is now accessible via left-click-hold
   for more familiarity with mac users.
 - Added "create shortcut" as a context menu option in the asset manager.
This commit is contained in:
JT Smith 2005-05-02 19:46:09 +00:00
parent 626356fe09
commit 504c88e293
10 changed files with 213 additions and 137 deletions

View file

@ -38,7 +38,11 @@ sub process {
} else {
$var{'printable.text'} = WebGUI::International::get(53,'Macro_r_printable');
}
$temp = WebGUI::Asset::Template->newByUrl($param[2] || "default_make_printable")->process(\%var);
if ($param[2]) {
$temp = WebGUI::Asset::Template->newByUrl($param[2])->process(\%var);
} else {
$temp = WebGUI::Asset::Template->new("PBtmpl0000000000000045")->process(\%var);
}
}
return $temp;
}