Added POD to several macros.
Updated POD in Storage/Iimage.pm Internationalized error messages from RandomAssetProxy.
This commit is contained in:
parent
3b44d47123
commit
d430f570f4
8 changed files with 106 additions and 7 deletions
|
|
@ -13,6 +13,22 @@ package WebGUI::Macro::PageTitle;
|
|||
use strict;
|
||||
use WebGUI::Session;
|
||||
|
||||
=head1 NAME
|
||||
|
||||
Package WebGUI::Macro::PageTitle
|
||||
|
||||
=head1 DESCRIPTION
|
||||
|
||||
Macro for returning the title of the current Asset.
|
||||
|
||||
=head2 process ( )
|
||||
|
||||
Returns the title of the current Asset. If a WebGUI operation or function
|
||||
is active, then the title is returned as a link to the Asset. If there's
|
||||
no asset cached in the session variable, nothing is returned.
|
||||
|
||||
=cut
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
sub process {
|
||||
if (exists $session{asset}) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue