documentation for new macro
This commit is contained in:
parent
2065b3257e
commit
92151cdf7b
3 changed files with 50 additions and 1 deletions
|
|
@ -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',
|
||||
|
|
|
|||
20
lib/WebGUI/Help/Macro_NewMail.pm
Normal file
20
lib/WebGUI/Help/Macro_NewMail.pm
Normal 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;
|
||||
29
lib/WebGUI/i18n/English/Macro_NewMail.pm
Normal file
29
lib/WebGUI/i18n/English/Macro_NewMail.pm
Normal 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>^NewMail</b>();<br />
|
||||
<b>^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;
|
||||
Loading…
Add table
Add a link
Reference in a new issue