asset macros broken out into individual files
This commit is contained in:
parent
9eb30a4fed
commit
69cd257beb
8 changed files with 126 additions and 43 deletions
23
lib/WebGUI/i18n/English/RandomAssetProxy.pm
Normal file
23
lib/WebGUI/i18n/English/RandomAssetProxy.pm
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
package WebGUI::i18n::English::RandomAssetProxy;
|
||||
|
||||
our $I18N = {
|
||||
|
||||
'random asset proxy title' => {
|
||||
message => q|Random Asset Proxy Macro|,
|
||||
lastUpdated => 1112315917,
|
||||
},
|
||||
|
||||
'random asset proxy body' => {
|
||||
message => q|
|
||||
<P><B>^RandomAssetProxy</B>();<BR>
|
||||
<B>^RandomAssetProxy</B>(<i>Asset URL</i>);<BR>
|
||||
This macro works similarly to the ^<B>AssetProxy</B>(); macro except instead of displaying the
|
||||
Asset, it picks a random Asset from the descendents of the Asset whose URL is supplied as the
|
||||
argument.
|
||||
|,
|
||||
lastUpdated => 1112315914,
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
1;
|
||||
Loading…
Add table
Add a link
Reference in a new issue