diff --git a/lib/WebGUI/Help/Asset.pm b/lib/WebGUI/Help/Asset.pm index a8305477b..31b27bfb6 100644 --- a/lib/WebGUI/Help/Asset.pm +++ b/lib/WebGUI/Help/Asset.pm @@ -4,17 +4,6 @@ use WebGUI::Session; our $HELP = { - 'asset macros' => { - title => 'asset macros title', - body => 'asset macros body', - related => [ - { - tag => 'macros using', - namespace => 'WebGUI' - }, - ] - }, - 'asset fields' => { title => 'asset fields title', body => 'asset fields body', diff --git a/lib/WebGUI/Help/AssetProxy.pm b/lib/WebGUI/Help/AssetProxy.pm new file mode 100644 index 000000000..96cbd67ed --- /dev/null +++ b/lib/WebGUI/Help/AssetProxy.pm @@ -0,0 +1,18 @@ +package WebGUI::Help::AssetProxy; + +our $HELP = { + + 'asset proxy' => { + title => 'asset proxy title', + body => 'asset proxy body', + related => [ + { + tag => 'macros using', + namespace => 'WebGUI' + }, + ] + }, + +}; + +1; diff --git a/lib/WebGUI/Help/FileUrl.pm b/lib/WebGUI/Help/FileUrl.pm new file mode 100644 index 000000000..26b452f6d --- /dev/null +++ b/lib/WebGUI/Help/FileUrl.pm @@ -0,0 +1,18 @@ +package WebGUI::Help::FileUrl; + +our $HELP = { + + 'file url' => { + title => 'file url title', + body => 'file url body', + related => [ + { + tag => 'macros using', + namespace => 'WebGUI' + }, + ] + }, + +}; + +1; diff --git a/lib/WebGUI/Help/RandomAssetProxy.pm b/lib/WebGUI/Help/RandomAssetProxy.pm new file mode 100644 index 000000000..56dbb3f3d --- /dev/null +++ b/lib/WebGUI/Help/RandomAssetProxy.pm @@ -0,0 +1,18 @@ +package WebGUI::Help::RandomAssetProxy; + +our $HELP = { + + 'random asset proxy' => { + title => 'random asset proxy title', + body => 'random asset proxy body', + related => [ + { + tag => 'macros using', + namespace => 'WebGUI' + }, + ] + }, + +}; + +1; diff --git a/lib/WebGUI/i18n/English/Asset.pm b/lib/WebGUI/i18n/English/Asset.pm index 92f6898fe..e126d7e83 100644 --- a/lib/WebGUI/i18n/English/Asset.pm +++ b/lib/WebGUI/i18n/English/Asset.pm @@ -149,38 +149,10 @@ Chances are if you like assets to be configured a certain way, then you'll find lastUpdated => 1111984345, }, - 'asset fields title' => { - message => q|Common Asset Fields|, - lastUpdated => 1100463645, - }, - - 'asset macros title' => { - message => q|Asset Macros|, - lastUpdated => 1104544909, - }, - - 'asset macros body' => { - message => q|

These macros are used to access Assets on your site.

-

^AssetProxy();
-^AssetProxy(Asset URL);
-This macro is used to render an Asset and display it inline according -to its template. Any Asset can be displayed, including Navigations, -images, links to files for downloading, snippets or for displaying -content from another part of the site on this page. - -

^FileUrl();
-^FileUrl(Asset URL);
-This macro is used to return a filesystem URL to an Asset that isn't in the database (file, image, snippet) identified by its Asset URL. - -

^RandomAssetProxy();
-^RandomAssetProxy(Asset URL);
-This macro works similarly to the ^AssetProxy(); 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 => 1104545608, - }, + 'asset fields title' => { + message => q|Common Asset Fields|, + lastUpdated => 1100463645, + }, 'asset' => { message => q|Asset|, diff --git a/lib/WebGUI/i18n/English/AssetProxy.pm b/lib/WebGUI/i18n/English/AssetProxy.pm new file mode 100644 index 000000000..338c5ecaf --- /dev/null +++ b/lib/WebGUI/i18n/English/AssetProxy.pm @@ -0,0 +1,24 @@ +package WebGUI::i18n::English::AssetProxy; + +our $I18N = { + + 'asset proxy title' => { + message => q|Asset Proxy Macro|, + lastUpdated => 1112315917, + }, + + 'asset proxy body' => { + message => q| +

^AssetProxy();
+^AssetProxy(Asset URL);
+This macro is used to render an Asset and display it inline according +to its template. Any Asset can be displayed, including Navigations, +images, links to files for downloading, snippets or for displaying +content from another part of the site on this page. + |, + lastUpdated => 1112315914, + }, + +}; + +1; diff --git a/lib/WebGUI/i18n/English/FileUrl.pm b/lib/WebGUI/i18n/English/FileUrl.pm new file mode 100644 index 000000000..1442495c3 --- /dev/null +++ b/lib/WebGUI/i18n/English/FileUrl.pm @@ -0,0 +1,21 @@ +package WebGUI::i18n::English::FileUrl; + +our $I18N = { + + 'file url title' => { + message => q|File Url Macro|, + lastUpdated => 1112315917, + }, + + 'file url body' => { + message => q| +

^FileUrl();
+^FileUrl(Asset URL);
+This macro is used to return a filesystem URL to an File, Image or Snippet Asset identified by its Asset URL. + |, + lastUpdated => 1112315914, + }, + +}; + +1; diff --git a/lib/WebGUI/i18n/English/RandomAssetProxy.pm b/lib/WebGUI/i18n/English/RandomAssetProxy.pm new file mode 100644 index 000000000..5603393e9 --- /dev/null +++ b/lib/WebGUI/i18n/English/RandomAssetProxy.pm @@ -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| +

^RandomAssetProxy();
+^RandomAssetProxy(Asset URL);
+This macro works similarly to the ^AssetProxy(); 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;