POD for 3 macros, and internationalized error messages for two macros.

This commit is contained in:
Colin Kuskie 2005-12-17 20:07:08 +00:00
parent eb98d68777
commit f007395c50
5 changed files with 61 additions and 3 deletions

View file

@ -13,6 +13,20 @@ package WebGUI::Macro::Extras;
use strict;
use WebGUI::Session;
=head1 NAME
Package WebGUI::Macro::Extras
=head1 DESCRIPTION
Macro for returning the extrasURL set up in the site's WebGUI.conf
file.
=head2 process
Returns the extrasURL. A trailing slash '/' is appended to the URL.
=cut
#-------------------------------------------------------------------
sub process {
return $session{config}{extrasURL}."/";