documentation for new macro

This commit is contained in:
Colin Kuskie 2007-06-15 21:29:12 +00:00
parent 2065b3257e
commit 92151cdf7b
3 changed files with 50 additions and 1 deletions

View file

@ -33,7 +33,7 @@ sub definition {
my $i18n = WebGUI::International->new($session,"Asset_SQLReport");
push(@{$definition}, {
assetName=>$i18n->get('assetName'),
uiLevel => 9,
uiLevel => 5,
icon=>'sqlReport.gif',
tableName=>'SQLReport',
className=>'WebGUI::Asset::Wobject::SQLReport',

View file

@ -0,0 +1,20 @@
package WebGUI::Help::Macro_NewMail;
our $HELP = {
'new mail' => {
title => 'new mail title',
body => 'new mail body',
fields => [
],
related => [
{
tag => 'macros using',
namespace => 'Macros'
},
]
},
};
1;

View file

@ -0,0 +1,29 @@
package WebGUI::i18n::English::Macro_NewMail;
our $I18N = {
'macroName' => {
message => q|New Mail|,
lastUpdated => 1181942771,
},
'new mail title' => {
message => q|New Mail Macro|,
lastUpdated => 1181942777,
},
'new mail body' => {
message => q|
<p><b>&#94;NewMail</b>();<br />
<b>&#94;NewMail</b>(<i>CSS Class</i>);<br />
This macro will display whether the current user has unread messages in their Inbox. If there
are no unread messages, it will return nothing.
</p>
<p>This Macro may be nested inside other Macros.</p>
|,
lastUpdated => 1181942878,
},
};
1;