move macros into a namespace

This commit is contained in:
Colin Kuskie 2005-04-05 17:47:47 +00:00
parent 6876239b0e
commit 3ba1218809
100 changed files with 916 additions and 5 deletions

View file

@ -21,11 +21,11 @@ our $HELP = {
},
{
tag => 'aoi hits',
namespace => 'AOIHits'
namespace => 'Macro_AOIHits'
},
{
tag => 'aoi rank',
namespace => 'AOIRank'
namespace => 'Macro_AOIRank'
},
{
tag => 'wobject add/edit',
@ -43,11 +43,11 @@ our $HELP = {
},
{
tag => 'aoi hits',
namespace => 'AOIHits'
namespace => 'Macro_AOIHits'
},
{
tag => 'aoi rank',
namespace => 'AOIRank'
namespace => 'Macro_AOIRank'
},
{
tag => 'wobject add/edit',

View file

@ -0,0 +1,22 @@
package WebGUI::Help::Macro_AOIHits;
our $HELP = {
'aoi hits' => {
title => 'aoi hits title',
body => 'aoi hits body',
related => [
{
tag => 'macros using',
namespace => 'Macros'
},
{
tag => 'metadata manage',
namespace => 'Asset'
},
]
},
};
1;

View file

@ -0,0 +1,22 @@
package WebGUI::Help::Macro_AOIRank;
our $HELP = {
'aoi rank' => {
title => 'aoi rank title',
body => 'aoi rank body',
related => [
{
tag => 'macros using',
namespace => 'Macros'
},
{
tag => 'metadata manage',
namespace => 'Asset'
},
]
},
};
1;

View file

@ -0,0 +1,22 @@
package WebGUI::Help::Macro_AdminBar;
our $HELP = {
'admin bar' => {
title => 'admin bar title',
body => 'admin bar body',
related => [
{
tag => 'macros using',
namespace => 'Macros'
},
{
tag => 'template language',
namespace => 'Template'
},
]
},
};
1;

View file

@ -0,0 +1,18 @@
package WebGUI::Help::Macro_AdminText;
our $HELP = {
'admin text' => {
title => 'admin text title',
body => 'admin text body',
related => [
{
tag => 'macros using',
namespace => 'Macros'
},
]
},
};
1;

View file

@ -0,0 +1,22 @@
package WebGUI::Help::Macro_AdminToggle;
our $HELP = {
'admin toggle' => {
title => 'admin toggle title',
body => 'admin toggle body',
related => [
{
tag => 'macros using',
namespace => 'Macros'
},
{
tag => 'template language',
namespace => 'Template'
},
]
},
};
1;

View file

@ -0,0 +1,22 @@
package WebGUI::Help::Macro_AssetProxy;
our $HELP = {
'asset proxy' => {
title => 'asset proxy title',
body => 'asset proxy body',
related => [
{
tag => 'macros using',
namespace => 'Macros'
},
{
tag => 'shortcut add/edit',
namespace => 'Shortcut'
},
]
},
};
1;

View file

@ -0,0 +1,18 @@
package WebGUI::Help::Macro_At_username;
our $HELP = {
'username' => {
title => 'username title',
body => 'username body',
related => [
{
tag => 'macros using',
namespace => 'Macros'
},
]
},
};
1;

View file

@ -0,0 +1,18 @@
package WebGUI::Help::Macro_CanEditText;
our $HELP = {
'can edit text' => {
title => 'can edit text title',
body => 'can edit text body',
related => [
{
tag => 'macros using',
namespace => 'Macros'
},
]
},
};
1;

View file

@ -0,0 +1,18 @@
package WebGUI::Help::Macro_D_date;
our $HELP = {
'date' => {
title => 'date title',
body => 'date body',
related => [
{
tag => 'macros using',
namespace => 'Macros'
},
]
},
};
1;

View file

@ -0,0 +1,18 @@
package WebGUI::Help::Macro_EditableToggle;
our $HELP = {
'editable toggle' => {
title => 'editable toggle title',
body => 'editable toggle body',
related => [
{
tag => 'macros using',
namespace => 'Macros'
},
]
},
};
1;

View file

@ -0,0 +1,18 @@
package WebGUI::Help::Macro_Env;
our $HELP = {
'env' => {
title => 'env title',
body => 'env body',
related => [
{
tag => 'macros using',
namespace => 'Macros'
},
]
},
};
1;

View file

@ -0,0 +1,18 @@
package WebGUI::Help::Macro_Execute;
our $HELP = {
'execute' => {
title => 'execute title',
body => 'execute body',
related => [
{
tag => 'macros using',
namespace => 'Macros'
},
]
},
};
1;

View file

@ -0,0 +1,18 @@
package WebGUI::Help::Macro_Extras;
our $HELP = {
'extras' => {
title => 'extras title',
body => 'extras body',
related => [
{
tag => 'macros using',
namespace => 'Macros'
},
]
},
};
1;

View file

@ -0,0 +1,18 @@
package WebGUI::Help::Macro_FileUrl;
our $HELP = {
'file url' => {
title => 'file url title',
body => 'file url body',
related => [
{
tag => 'macros using',
namespace => 'Macros'
},
]
},
};
1;

View file

@ -0,0 +1,18 @@
package WebGUI::Help::Macro_FormParam;
our $HELP = {
'form param' => {
title => 'form param title',
body => 'form param body',
related => [
{
tag => 'macros using',
namespace => 'Macros'
},
]
},
};
1;

View file

@ -0,0 +1,18 @@
package WebGUI::Help::Macro_GroupAdd;
our $HELP = {
'group add' => {
title => 'group add title',
body => 'group add body',
related => [
{
tag => 'macros using',
namespace => 'Macros'
},
]
},
};
1;

View file

@ -0,0 +1,18 @@
package WebGUI::Help::Macro_GroupDelete;
our $HELP = {
'group delete' => {
title => 'group delete title',
body => 'group delete body',
related => [
{
tag => 'macros using',
namespace => 'Macros'
},
]
},
};
1;

View file

@ -0,0 +1,18 @@
package WebGUI::Help::Macro_GroupText;
our $HELP = {
'group text' => {
title => 'group text title',
body => 'group text body',
related => [
{
tag => 'macros using',
namespace => 'Macros'
},
]
},
};
1;

View file

@ -0,0 +1,18 @@
package WebGUI::Help::Macro_H_homeLink;
our $HELP = {
'home link' => {
title => 'home link title',
body => 'home link body',
related => [
{
tag => 'macros using',
namespace => 'Macros'
},
]
},
};
1;

View file

@ -0,0 +1,18 @@
package WebGUI::Help::Macro_Hash_userId;
our $HELP = {
'user id' => {
title => 'user id title',
body => 'user id body',
related => [
{
tag => 'macros using',
namespace => 'Macros'
},
]
},
};
1;

View file

@ -0,0 +1,18 @@
package WebGUI::Help::Macro_If;
our $HELP = {
'if' => {
title => 'if title',
body => 'if body',
related => [
{
tag => 'macros using',
namespace => 'Macros'
},
]
},
};
1;

View file

@ -0,0 +1,18 @@
package WebGUI::Help::Macro_Include;
our $HELP = {
'include' => {
title => 'include title',
body => 'include body',
related => [
{
tag => 'macros using',
namespace => 'Macros'
},
]
},
};
1;

View file

@ -0,0 +1,18 @@
package WebGUI::Help::Macro_International;
our $HELP = {
'international' => {
title => 'international title',
body => 'international body',
related => [
{
tag => 'macros using',
namespace => 'Macros'
},
]
},
};
1;

View file

@ -0,0 +1,18 @@
package WebGUI::Help::Macro_JavaScript;
our $HELP = {
'java script' => {
title => 'java script title',
body => 'java script body',
related => [
{
tag => 'macros using',
namespace => 'Macros'
},
]
},
};
1;

View file

@ -0,0 +1,18 @@
package WebGUI::Help::Macro_L_loginBox;
our $HELP = {
'login box' => {
title => 'login box title',
body => 'login box body',
related => [
{
tag => 'macros using',
namespace => 'Macros'
},
]
},
};
1;

View file

@ -0,0 +1,22 @@
package WebGUI::Help::Macro_LastModified;
our $HELP = {
'last modified' => {
title => 'last modified title',
body => 'last modified body',
related => [
{
tag => 'macros using',
namespace => 'Macros'
},
{
tag => 'date',
namespace => 'Macro_D_date'
},
]
},
};
1;

View file

@ -0,0 +1,18 @@
package WebGUI::Help::Macro_LoginToggle;
our $HELP = {
'login toggle' => {
title => 'login toggle title',
body => 'login toggle body',
related => [
{
tag => 'macros using',
namespace => 'Macros'
},
]
},
};
1;

View file

@ -0,0 +1,18 @@
package WebGUI::Help::Macro_Page;
our $HELP = {
'page' => {
title => 'page title',
body => 'page body',
related => [
{
tag => 'macros using',
namespace => 'Macros'
},
]
},
};
1;

View file

@ -0,0 +1,18 @@
package WebGUI::Help::Macro_PageTitle;
our $HELP = {
'page title' => {
title => 'page title title',
body => 'page title body',
related => [
{
tag => 'macros using',
namespace => 'Macros'
},
]
},
};
1;

View file

@ -0,0 +1,18 @@
package WebGUI::Help::Macro_PageUrl;
our $HELP = {
'page url' => {
title => 'page url title',
body => 'page url body',
related => [
{
tag => 'macros using',
namespace => 'Macros'
},
]
},
};
1;

View file

@ -0,0 +1,18 @@
package WebGUI::Help::Macro_Quote;
our $HELP = {
'quote' => {
title => 'quote title',
body => 'quote body',
related => [
{
tag => 'macros using',
namespace => 'Macros'
},
]
},
};
1;

View file

@ -0,0 +1,18 @@
package WebGUI::Help::Macro_RandomAssetProxy;
our $HELP = {
'random asset proxy' => {
title => 'random asset proxy title',
body => 'random asset proxy body',
related => [
{
tag => 'macros using',
namespace => 'Macros'
},
]
},
};
1;

View file

@ -0,0 +1,18 @@
package WebGUI::Help::Macro_RawHeadTags;
our $HELP = {
'raw head tags' => {
title => 'raw head tags title',
body => 'raw head tags body',
related => [
{
tag => 'macros using',
namespace => 'Macros'
},
]
},
};
1;

View file

@ -0,0 +1,18 @@
package WebGUI::Help::Macro_RootTitle;
our $HELP = {
'root title' => {
title => 'root title title',
body => 'root title body',
related => [
{
tag => 'macros using',
namespace => 'Macros'
},
]
},
};
1;

View file

@ -0,0 +1,18 @@
package WebGUI::Help::Macro_SQL;
our $HELP = {
'sql' => {
title => 'sql title',
body => 'sql body',
related => [
{
tag => 'macros using',
namespace => 'Macros'
},
]
},
};
1;

View file

@ -0,0 +1,18 @@
package WebGUI::Help::Macro_Slash_gatewayUrl;
our $HELP = {
'gateway url' => {
title => 'gateway url title',
body => 'gateway url body',
related => [
{
tag => 'macros using',
namespace => 'Macros'
},
]
},
};
1;

View file

@ -0,0 +1,18 @@
package WebGUI::Help::Macro_Spacer;
our $HELP = {
'spacer' => {
title => 'spacer title',
body => 'spacer body',
related => [
{
tag => 'macros using',
namespace => 'Macros'
},
]
},
};
1;

View file

@ -0,0 +1,18 @@
package WebGUI::Help::Macro_Splat_random;
our $HELP = {
'random' => {
title => 'random title',
body => 'random body',
related => [
{
tag => 'macros using',
namespace => 'Macros'
},
]
},
};
1;

View file

@ -0,0 +1,18 @@
package WebGUI::Help::Macro_StyleSheet;
our $HELP = {
'style sheet' => {
title => 'style sheet title',
body => 'style sheet body',
related => [
{
tag => 'macros using',
namespace => 'Macros'
},
]
},
};
1;

View file

@ -0,0 +1,18 @@
package WebGUI::Help::Macro_SubscriptionItem;
our $HELP = {
'subscription item' => {
title => 'subscription item title',
body => 'subscription item body',
related => [
{
tag => 'macros using',
namespace => 'Macros'
},
]
},
};
1;

View file

@ -0,0 +1,18 @@
package WebGUI::Help::Macro_SubscriptionItemPurchaseUrl;
our $HELP = {
'subscription item purchase url' => {
title => 'subscription item purchase url title',
body => 'subscription item purchase url body',
related => [
{
tag => 'macros using',
namespace => 'Macros'
},
]
},
};
1;

View file

@ -0,0 +1,18 @@
package WebGUI::Help::Macro_Thumbnail;
our $HELP = {
'thumbnail' => {
title => 'thumbnail title',
body => 'thumbnail body',
related => [
{
tag => 'macros using',
namespace => 'Macros',
},
]
},
};
1;

View file

@ -0,0 +1,18 @@
package WebGUI::Help::Macro_URLEncode;
our $HELP = {
'url encode' => {
title => 'url encode title',
body => 'url encode body',
related => [
{
tag => 'macros using',
namespace => 'Macros'
},
]
},
};
1;

View file

@ -0,0 +1,18 @@
package WebGUI::Help::Macro_User;
our $HELP = {
'user' => {
title => 'user title',
body => 'user body',
related => [
{
tag => 'macros using',
namespace => 'Macros',
},
]
},
};
1;

View file

@ -0,0 +1,22 @@
package WebGUI::Help::Macro_a_account;
our $HELP = {
'account' => {
title => 'account title',
body => 'account body',
related => [
{
tag => 'macros using',
namespace => 'Macros',
},
{
tag => 'template language',
namespace => 'Template',
},
]
},
};
1;

View file

@ -0,0 +1,18 @@
package WebGUI::Help::Macro_c_companyName;
our $HELP = {
'company name' => {
title => 'company name title',
body => 'company name body',
related => [
{
tag => 'macros using',
namespace => 'Macros'
},
]
},
};
1;

View file

@ -0,0 +1,18 @@
package WebGUI::Help::Macro_e_companyEmail;
our $HELP = {
'company email' => {
title => 'company email title',
body => 'company email body',
related => [
{
tag => 'macros using',
namespace => 'Macros'
},
]
},
};
1;

View file

@ -0,0 +1,18 @@
package WebGUI::Help::Macro_r_printable;
our $HELP = {
'printable' => {
title => 'printable title',
body => 'printable body',
related => [
{
tag => 'macros using',
namespace => 'Macros'
},
]
},
};
1;

View file

@ -0,0 +1,18 @@
package WebGUI::Help::Macro_u_companyUrl;
our $HELP = {
'company url' => {
title => 'company url title',
body => 'company url body',
related => [
{
tag => 'macros using',
namespace => 'Macros'
},
]
},
};
1;

View file

@ -26,8 +26,9 @@ our $HELP = {
$tag =~ s/([A-Z]+(?![a-z]))/$1 /g; #Separate acronyms
$tag =~ s/([a-z])([A-Z])/$1 $2/g; #Separate studly caps
$tag = lc $tag;
$namespace = join '', 'Macro_', $_;
{ tag => $tag,
namespace => $_ }
namespace => $namespace }
}
values %{ $session{config}{macros} }
],