Docs for AdSpace Macro
This commit is contained in:
parent
fd4453df58
commit
fd1eb52e3e
2 changed files with 43 additions and 0 deletions
15
lib/WebGUI/Help/Macro_AdSpace.pm
Normal file
15
lib/WebGUI/Help/Macro_AdSpace.pm
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
package WebGUI::Help::Macro_AdSpace;
|
||||||
|
|
||||||
|
our $HELP = { ##hashref of hashes
|
||||||
|
'ad space' => {
|
||||||
|
title => 'adspace title', #The title and body are looked up in the
|
||||||
|
body => 'adspace body', #i18n file of the same name
|
||||||
|
fields => [
|
||||||
|
],
|
||||||
|
related => [
|
||||||
|
],
|
||||||
|
},
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
1;
|
||||||
28
lib/WebGUI/i18n/English/Macro_AdSpace.pm
Normal file
28
lib/WebGUI/i18n/English/Macro_AdSpace.pm
Normal file
|
|
@ -0,0 +1,28 @@
|
||||||
|
package WebGUI::i18n::English::Macro_AdSpace;
|
||||||
|
|
||||||
|
our $I18N = {
|
||||||
|
'adspace title' => {
|
||||||
|
message => q|Ad Space Macro|,
|
||||||
|
lastUpdated => 1144979657,
|
||||||
|
},
|
||||||
|
|
||||||
|
'adspace body' => {
|
||||||
|
message => q|
|
||||||
|
<p><b>^AdSpace;</b><br>
|
||||||
|
<b>^AdSpace(adName);</b><br>
|
||||||
|
This macro is used to display advertisements from the AdSpace system on a page. The macro
|
||||||
|
takes a single argument, wihch is the name of the Ad Space from the AdSpace manager to display.
|
||||||
|
As a convenience, the AdSpace manager will display the macro code to put into a page to
|
||||||
|
display each Ad Space.</p>
|
||||||
|
|,
|
||||||
|
lastUpdated => 1144979672,
|
||||||
|
},
|
||||||
|
|
||||||
|
'macroName' => {
|
||||||
|
message => q|Ad Space|,
|
||||||
|
lastUpdated => 1144979669,
|
||||||
|
},
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
1;
|
||||||
Loading…
Add table
Add a link
Reference in a new issue