Added POD to 4 macros.

Internationalized Error messages for Include and LastModified
This commit is contained in:
Colin Kuskie 2005-12-19 05:34:13 +00:00
parent 01816cd806
commit d085152304
6 changed files with 111 additions and 3 deletions

View file

@ -14,6 +14,25 @@ use strict;
use WebGUI::Session;
use WebGUI::Style;
=head1 NAME
Package WebGUI::Macro::JavaScript
=head1 DESCRIPTION
This Macro is a wrapper for WebGUI::Style::setScript, which puts a script
tag into the head of the current page with the contents of the javascript
found at the url that is passed in.
=head2 process ( url )
=head3 url
URL to the javascript to include in the page's header tags.
=cut
#-------------------------------------------------------------------
sub process {
WebGUI::Style::setScript(shift,{type=>'text/javascript'});