Added POD to 4 macros.
Internationalized Error messages for Include and LastModified
This commit is contained in:
parent
01816cd806
commit
d085152304
6 changed files with 111 additions and 3 deletions
|
|
@ -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'});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue