Finished Macro help/i18n cleanup.
This commit is contained in:
parent
1d9a95cce2
commit
7548cfb90a
26 changed files with 17 additions and 489 deletions
|
|
@ -10,7 +10,7 @@ our $HELP = {
|
|||
},
|
||||
],
|
||||
title => 'login toggle title',
|
||||
body => 'login toggle body',
|
||||
body => '',
|
||||
variables => [
|
||||
{
|
||||
'name' => 'toggle.url'
|
||||
|
|
|
|||
|
|
@ -1,16 +0,0 @@
|
|||
package WebGUI::Help::Macro_RootTitle;
|
||||
|
||||
our $HELP = {
|
||||
|
||||
'root title' => {
|
||||
title => 'root title title',
|
||||
body => 'root title body',
|
||||
fields => [
|
||||
],
|
||||
related => [
|
||||
]
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
1;
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
package WebGUI::Help::Macro_SQL;
|
||||
|
||||
our $HELP = {
|
||||
|
||||
'sql' => {
|
||||
title => 'sql title',
|
||||
body => 'sql body',
|
||||
fields => [
|
||||
],
|
||||
related => [
|
||||
]
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
1;
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
package WebGUI::Help::Macro_Slash_gatewayUrl;
|
||||
|
||||
our $HELP = {
|
||||
|
||||
'gateway url' => {
|
||||
title => 'gateway url title',
|
||||
body => 'gateway url body',
|
||||
fields => [
|
||||
],
|
||||
related => [
|
||||
]
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
1;
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
package WebGUI::Help::Macro_Spacer;
|
||||
|
||||
our $HELP = {
|
||||
|
||||
'spacer' => {
|
||||
title => 'spacer title',
|
||||
body => 'spacer body',
|
||||
fields => [
|
||||
],
|
||||
related => [
|
||||
]
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
1;
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
package WebGUI::Help::Macro_Splat_random;
|
||||
|
||||
our $HELP = {
|
||||
|
||||
'random' => {
|
||||
title => 'random title',
|
||||
body => 'random body',
|
||||
fields => [
|
||||
],
|
||||
related => [
|
||||
]
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
1;
|
||||
|
|
@ -4,7 +4,7 @@ our $HELP = {
|
|||
|
||||
'subscription item' => {
|
||||
title => 'subscription item title',
|
||||
body => 'subscription item body',
|
||||
body => '',
|
||||
variables => [
|
||||
{
|
||||
'name' => 'url'
|
||||
|
|
|
|||
|
|
@ -1,16 +0,0 @@
|
|||
package WebGUI::Help::Macro_SubscriptionItemPurchaseUrl;
|
||||
|
||||
our $HELP = {
|
||||
|
||||
'subscription item purchase url' => {
|
||||
title => 'subscription item purchase url title',
|
||||
body => 'subscription item purchase url body',
|
||||
fields => [
|
||||
],
|
||||
related => [
|
||||
]
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
1;
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
package WebGUI::Help::Macro_Thumbnail;
|
||||
|
||||
our $HELP = {
|
||||
|
||||
'thumbnail' => {
|
||||
title => 'thumbnail title',
|
||||
body => 'thumbnail body',
|
||||
fields => [
|
||||
],
|
||||
related => [
|
||||
]
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
1;
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
package WebGUI::Help::Macro_URLEncode;
|
||||
|
||||
our $HELP = {
|
||||
|
||||
'url encode' => {
|
||||
title => 'url encode title',
|
||||
body => 'url encode body',
|
||||
fields => [
|
||||
],
|
||||
related => [
|
||||
]
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
1;
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
package WebGUI::Help::Macro_User;
|
||||
|
||||
our $HELP = {
|
||||
|
||||
'user' => {
|
||||
title => 'user title',
|
||||
body => 'user body',
|
||||
fields => [
|
||||
],
|
||||
related => [
|
||||
]
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
1;
|
||||
|
|
@ -4,7 +4,7 @@ our $HELP = {
|
|||
|
||||
'printable' => {
|
||||
title => 'printable title',
|
||||
body => 'printable body',
|
||||
body => '',
|
||||
variables => [
|
||||
{
|
||||
'name' => 'printable.url'
|
||||
|
|
|
|||
|
|
@ -1,16 +0,0 @@
|
|||
package WebGUI::Help::Macro_u_companyUrl;
|
||||
|
||||
our $HELP = {
|
||||
|
||||
'company url' => {
|
||||
title => 'company url title',
|
||||
body => 'company url body',
|
||||
fields => [
|
||||
],
|
||||
related => [
|
||||
]
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
1;
|
||||
|
|
@ -22,6 +22,16 @@ our $I18N = {
|
|||
lastUpdated => 1031514049
|
||||
},
|
||||
|
||||
'toggle.url' => {
|
||||
message => q|The URL to login or logout.|,
|
||||
lastUpdated => 1184712592,
|
||||
},
|
||||
|
||||
'toggle.text' => {
|
||||
message => q|The Internationalized label for logging in or logging out (depending on the state of the macro), or the text that you supply to the macro.|,
|
||||
lastUpdated => 1184712592,
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
1;
|
||||
|
|
|
|||
|
|
@ -1,28 +0,0 @@
|
|||
package WebGUI::i18n::English::Macro_RootTitle;
|
||||
|
||||
our $I18N = {
|
||||
|
||||
'macroName' => {
|
||||
message => q|Root Title|,
|
||||
lastUpdated => 1128918994,
|
||||
},
|
||||
|
||||
'root title title' => {
|
||||
message => q|Root Title Macro|,
|
||||
lastUpdated => 1112466408,
|
||||
},
|
||||
|
||||
'root title body' => {
|
||||
message => q|
|
||||
<p><b>^RootTitle;</b><br />
|
||||
Returns the title of the root of the current page. For instance, the main root in WebGUI is the "Home" page. Many advanced sites have many roots and thus need a way to display to the user which root they are in.
|
||||
</p>
|
||||
<p>If the macro is called outside of an asset, or if the root can't be found, then
|
||||
the macro returns an empty string</p>
|
||||
<p>This Macro may be nested inside other Macros if the title does not contain commas or quotes.</p>
|
||||
|,
|
||||
lastUpdated => 1168622930,
|
||||
},
|
||||
};
|
||||
|
||||
1;
|
||||
|
|
@ -7,27 +7,6 @@ our $I18N = {
|
|||
lastUpdated => 1128919058,
|
||||
},
|
||||
|
||||
'sql title' => {
|
||||
message => q|SQL Macro|,
|
||||
lastUpdated => 1112466408,
|
||||
},
|
||||
|
||||
'sql body' => {
|
||||
message => q|
|
||||
<p><b>^SQL();</b><br />
|
||||
A one line SQL report. Sometimes you just need to pull something back from the database quickly. This macro is also useful in extending the SQL Report wobject. It uses the numeric macros (^0; ^1; ^2; etc) to position data and can also use the ^^rownum; macro just like the SQL Report wobject.</p>
|
||||
<p>Examples:</p>
|
||||
<p>^SQL("select count(*) from users","There are ^0; users on this system.");
|
||||
</p>
|
||||
<p>^SQL("select userId,username from users order by username","<a href='^/;?op=viewProfile&uid=^0;'>^1;</a><br />");
|
||||
</p>
|
||||
<p>If there are more numeric macros than selected columns in the SQL report the extra macros will be discarded.</p>
|
||||
<p>The rownum macro, ^rownum;, begins counting at 1.</p>
|
||||
<p>This Macro may be nested inside other Macros if the text returned does not contain commas or quotes.</p>
|
||||
|,
|
||||
lastUpdated => 1168623083,
|
||||
},
|
||||
|
||||
'illegal query' => {
|
||||
message => q|Cannot execute this type of query.|,
|
||||
lastUpdated => 1135105884,
|
||||
|
|
|
|||
|
|
@ -1,36 +0,0 @@
|
|||
package WebGUI::i18n::English::Macro_Slash_gatewayUrl;
|
||||
|
||||
our $I18N = {
|
||||
|
||||
'macroName' => {
|
||||
message => q|Gateway URL|,
|
||||
lastUpdated => 1128919030,
|
||||
},
|
||||
|
||||
'gateway url title' => {
|
||||
message => q|Gateway URL Macro|,
|
||||
lastUpdated => 1112466408,
|
||||
},
|
||||
|
||||
'gateway url body' => {
|
||||
message => q|
|
||||
<p><b>^/; - System URL</b><br />
|
||||
<b>^/(/home/page); - System URL</b><br />
|
||||
The URL to the gateway script (example: <i>/</i>).</p>
|
||||
|
||||
<p>The macro takes a single, optional argument; a URL. The URL will be appended to
|
||||
the end of the gateway URL. This is mainly useful when you enable Prevent Proxy Caching
|
||||
in the WebGUI settings.</p>
|
||||
|
||||
<p>^/;home/page will break with Prevent Proxy Caching set because the URL that is made
|
||||
will look like this: /?noCache=37,1127808995home/page. By passing the URL directly to the
|
||||
macro, ^/(home/page);, the special param for disabling caching will be placed on the
|
||||
end, /home/page?noCache=37,1127808995.
|
||||
|
||||
<p>This Macro may be nested inside other Macros.</p>
|
||||
|,
|
||||
lastUpdated => 1169584181,
|
||||
},
|
||||
};
|
||||
|
||||
1;
|
||||
|
|
@ -1,28 +0,0 @@
|
|||
package WebGUI::i18n::English::Macro_Spacer;
|
||||
|
||||
our $I18N = {
|
||||
|
||||
'macroName' => {
|
||||
message => q|Spacer|,
|
||||
lastUpdated => 1128919040,
|
||||
},
|
||||
|
||||
'spacer title' => {
|
||||
message => q|Spacer Macro|,
|
||||
lastUpdated => 1112466408,
|
||||
},
|
||||
|
||||
'spacer body' => {
|
||||
message => q|
|
||||
<p><b>^Spacer(<i>"width"</i>,<i>"height"</i>);</b><br />
|
||||
Create a spacer in your layout. Great for creating blocks of color with divs and tables. It takes two parameters, width and height.
|
||||
</p>
|
||||
<p><i>Example:</i> ^Spacer("100","50");
|
||||
</p>
|
||||
<p>This Macro may not be nested inside other Macros.</p>
|
||||
|,
|
||||
lastUpdated => 1168623039,
|
||||
},
|
||||
};
|
||||
|
||||
1;
|
||||
|
|
@ -1,27 +0,0 @@
|
|||
package WebGUI::i18n::English::Macro_Splat_random;
|
||||
|
||||
our $I18N = {
|
||||
|
||||
'macroName' => {
|
||||
message => q|Random|,
|
||||
lastUpdated => 1128919051,
|
||||
},
|
||||
|
||||
'random title' => {
|
||||
message => q|Random Macro|,
|
||||
lastUpdated => 1112466408,
|
||||
},
|
||||
|
||||
'random body' => {
|
||||
message => q|
|
||||
|
||||
<p><b>^*; or ^*(); - Random Number</b><br />
|
||||
A randomly generated, whole number between 0 and the number you send the Macro. This is often used on images (such as banner ads) that you want to ensure do not cache. You may configure this macro like this <b>^*(100);</b> to create a random number between 0 and 100. If no number is sent a default of 1 billion (1,000,000,000) will be used.
|
||||
</p>
|
||||
<p>This Macro may be nested inside other Macros.</p>
|
||||
|,
|
||||
lastUpdated => 1168623052,
|
||||
},
|
||||
};
|
||||
|
||||
1;
|
||||
|
|
@ -8,8 +8,8 @@ our $I18N = {
|
|||
},
|
||||
|
||||
'subscription item title' => {
|
||||
message => q|Subscription Item Macro|,
|
||||
lastUpdated => 1112547248,
|
||||
message => q|Subscription Item Macro Template Variables|,
|
||||
lastUpdated => 1184712144,
|
||||
},
|
||||
|
||||
'url' => {
|
||||
|
|
@ -32,21 +32,6 @@ our $I18N = {
|
|||
lastUpdated => 1149217400,
|
||||
},
|
||||
|
||||
'subscription item body' => {
|
||||
message => q|
|
||||
|
||||
<p><b>^SubscriptionItem(<i>subscriptionId</i>,[<i>templateId</i>]);</b><br />
|
||||
This macro is used to display information about subscription items from your site.
|
||||
It accepts two arguments, the Id of the subscription item and an optional
|
||||
template to use instead of the default template, specified by a template Id
|
||||
from the Macro/SubscriptionItem namespace.</p>
|
||||
|
||||
<p>This Macro may not be nested inside other Macros.</p>
|
||||
|
||||
<p>These variables are available in the template:</p>
|
||||
|,
|
||||
lastUpdated => 1168623113,
|
||||
},
|
||||
};
|
||||
|
||||
1;
|
||||
|
|
|
|||
|
|
@ -1,27 +0,0 @@
|
|||
package WebGUI::i18n::English::Macro_SubscriptionItemPurchaseUrl;
|
||||
|
||||
our $I18N = {
|
||||
|
||||
'macroName' => {
|
||||
message => q|Subscription Item Purchase URL|,
|
||||
lastUpdated => 1128919107,
|
||||
},
|
||||
|
||||
'subscription item purchase url title' => {
|
||||
message => q|Subscription Item Purchase URL Macro|,
|
||||
lastUpdated => 1112548245,
|
||||
},
|
||||
|
||||
'subscription item purchase url body' => {
|
||||
message => q|
|
||||
|
||||
<p><b>^SubscriptionItemPurchaseUrl(<i>subscriptionId</i>);</b><br />
|
||||
This macro fetches the URL to purchase a subscription item identified
|
||||
by its subscriptionId.</p>
|
||||
<p>This Macro may be nested inside other Macros.</p>
|
||||
|,
|
||||
lastUpdated => 1168623124,
|
||||
},
|
||||
};
|
||||
|
||||
1;
|
||||
|
|
@ -1,29 +0,0 @@
|
|||
package WebGUI::i18n::English::Macro_Thumbnail;
|
||||
|
||||
our $I18N = {
|
||||
|
||||
'macroName' => {
|
||||
message => q|Thumbnail|,
|
||||
lastUpdated => 1128919124,
|
||||
},
|
||||
|
||||
'thumbnail title' => {
|
||||
message => q|Thumbnail Macro|,
|
||||
lastUpdated => 1112566765,
|
||||
},
|
||||
|
||||
'thumbnail body' => {
|
||||
message => q|
|
||||
|
||||
<p><b>^Thumbnail(<i>url</i>);</b><br />
|
||||
This macro will allow you to fetch the filesystem URL for the thumbnail of any File or Image Asset by its
|
||||
Asset URL.
|
||||
</p>
|
||||
<p>This Macro may be nested inside other Macros.</p>
|
||||
|
||||
|,
|
||||
lastUpdated => 1168623188,
|
||||
},
|
||||
};
|
||||
|
||||
1;
|
||||
|
|
@ -1,28 +0,0 @@
|
|||
package WebGUI::i18n::English::Macro_URLEncode;
|
||||
|
||||
our $I18N = {
|
||||
|
||||
'macroName' => {
|
||||
message => q|URL Encode|,
|
||||
lastUpdated => 1128919146,
|
||||
},
|
||||
|
||||
'url encode title' => {
|
||||
message => q|URL Encode Macro|,
|
||||
lastUpdated => 1112466408,
|
||||
},
|
||||
|
||||
'url encode body' => {
|
||||
message => q|
|
||||
|
||||
<p><b>^URLEncode();</b><br />
|
||||
This macro is mainly useful in SQL reports, but it could be useful elsewhere as well. It takes the input of a string and URL Encodes it so that the string can be passed through a URL. It's syntax looks like this: ^URLEncode("Is this my string?");
|
||||
</p>
|
||||
<p>This Macro may be nested inside other Macros if the encoded text does not contain commas or quotes.</p>
|
||||
|
||||
|,
|
||||
lastUpdated => 1168623216,
|
||||
},
|
||||
};
|
||||
|
||||
1;
|
||||
|
|
@ -1,28 +0,0 @@
|
|||
package WebGUI::i18n::English::Macro_User;
|
||||
|
||||
our $I18N = {
|
||||
|
||||
'macroName' => {
|
||||
message => q|User|,
|
||||
lastUpdated => 1128919153,
|
||||
},
|
||||
|
||||
'user title' => {
|
||||
message => q|User Macro|,
|
||||
lastUpdated => 1112466408,
|
||||
},
|
||||
|
||||
'user body' => {
|
||||
message => q|
|
||||
|
||||
<p><b>^User();</b><br />
|
||||
This macro will allow you to display any information from the current user's account or profile. For instance, if you wanted to display a user's email address you'd create this macro: ^User("email");
|
||||
</p>
|
||||
<p>This Macro may be nested inside other Macros if the information returned does not contain commas or quotes.</p>
|
||||
|
||||
|,
|
||||
lastUpdated => 1168623231,
|
||||
},
|
||||
};
|
||||
|
||||
1;
|
||||
|
|
@ -8,8 +8,8 @@ our $I18N = {
|
|||
},
|
||||
|
||||
'printable title' => {
|
||||
message => q|Make Page Printable Macro|,
|
||||
lastUpdated => 1112503983,
|
||||
message => q|Make Page Printable Macro Template Variables|,
|
||||
lastUpdated => 1184711898,
|
||||
},
|
||||
|
||||
'printable.url' => {
|
||||
|
|
@ -22,33 +22,6 @@ our $I18N = {
|
|||
lastUpdated => 1149217459,
|
||||
},
|
||||
|
||||
'printable body' => {
|
||||
message => q|
|
||||
<p><b>^r(<i>link text</i>);</b><br />
|
||||
<b>^r("",<i>custom style name</i>);</b><br />
|
||||
<b>^r("",<i>custom style id</i>,<i>custom template URL</i>);</b><br />
|
||||
Creates a link to alter the style from a page to make it printable.
|
||||
</p>
|
||||
|
||||
<p>The macro takes up to three arguments. The first argument allows you to replace the default internationalized link text like this <b>^r("Print Me!");</b>. If this argument is the string "linkonly", then only the URL to make the page printable will be returned and nothing more. If you wish to use the internationalized label but need to use multiple arguments to change the printable style or template, then use the empty string.
|
||||
</p>
|
||||
|
||||
<p>Normally, the default style to make the page printable is the "Make Page Printable" style. The second argument specifies that a different style than the default be used to make the page printable: <b>^r("Print!","MyStyleTemplate0000007");</b>. The style has to be specified by the ID, not the name or url of the style.
|
||||
</p>
|
||||
|
||||
<p>The third argument allows a different template be used to generate the HTML code for presenting the link and text, by specifying the URL of the template. The following variables are available in the template:</p>
|
||||
|
||||
<p><b>NOTES:</b><br />
|
||||
<ul>
|
||||
<li>The <i>.makePrintableLink</i> style sheet class is tied to the default template for this macro.</li>
|
||||
<li>This Macro may only be nested inside other Macros if the "linkonly" option is used.</li>
|
||||
</ul>
|
||||
</p>
|
||||
|
||||
|,
|
||||
lastUpdated => 1168623000,
|
||||
},
|
||||
|
||||
'53' => {
|
||||
message => q|Make Page Printable|,
|
||||
lastUpdated => 1031514049
|
||||
|
|
|
|||
|
|
@ -1,28 +0,0 @@
|
|||
package WebGUI::i18n::English::Macro_u_companyUrl;
|
||||
|
||||
our $I18N = {
|
||||
|
||||
'macroName' => {
|
||||
message => q|Company Url|,
|
||||
lastUpdated => 1128919135,
|
||||
},
|
||||
|
||||
'company url title' => {
|
||||
message => q|Company Url Macro|,
|
||||
lastUpdated => 1112466408,
|
||||
},
|
||||
|
||||
'company url body' => {
|
||||
message => q|
|
||||
|
||||
<p><b>^u; - Company URL</b><br />
|
||||
The URL for your company specified in the settings by your Administrator.
|
||||
</p>
|
||||
<p>This Macro may be nested inside other Macros.</p>
|
||||
|
||||
|,
|
||||
lastUpdated => 1168623198,
|
||||
},
|
||||
};
|
||||
|
||||
1;
|
||||
Loading…
Add table
Add a link
Reference in a new issue