diff --git a/lib/WebGUI/Help/AOIHits.pm b/lib/WebGUI/Help/AOIHits.pm new file mode 100644 index 000000000..f364dd480 --- /dev/null +++ b/lib/WebGUI/Help/AOIHits.pm @@ -0,0 +1,18 @@ +package WebGUI::Help::AOIHits; + +our $HELP = { + + 'aoi hits' => { + title => 'aoi hits title', + body => 'aoi hits body', + related => [ + { + tag => 'macros using', + namespace => 'WebGUI' + }, + ] + }, + +}; + +1; diff --git a/lib/WebGUI/Help/AOIRank.pm b/lib/WebGUI/Help/AOIRank.pm new file mode 100644 index 000000000..143d41746 --- /dev/null +++ b/lib/WebGUI/Help/AOIRank.pm @@ -0,0 +1,18 @@ +package WebGUI::Help::AOIRank; + +our $HELP = { + + 'aoi rank' => { + title => 'aoi rank title', + body => 'aoi rank body', + related => [ + { + tag => 'macros using', + namespace => 'WebGUI' + }, + ] + }, + +}; + +1; diff --git a/lib/WebGUI/Help/AdminBar.pm b/lib/WebGUI/Help/AdminBar.pm new file mode 100644 index 000000000..e4a94b2ac --- /dev/null +++ b/lib/WebGUI/Help/AdminBar.pm @@ -0,0 +1,18 @@ +package WebGUI::Help::AdminBar; + +our $HELP = { + + 'admin bar' => { + title => 'admin bar title', + body => 'admin bar body', + related => [ + { + tag => 'macros using', + namespace => 'WebGUI' + }, + ] + }, + +}; + +1; diff --git a/lib/WebGUI/Help/AdminText.pm b/lib/WebGUI/Help/AdminText.pm new file mode 100644 index 000000000..f5111168c --- /dev/null +++ b/lib/WebGUI/Help/AdminText.pm @@ -0,0 +1,18 @@ +package WebGUI::Help::AdminText; + +our $HELP = { + + 'admin text' => { + title => 'admin text title', + body => 'admin text body', + related => [ + { + tag => 'macros using', + namespace => 'WebGUI' + }, + ] + }, + +}; + +1; diff --git a/lib/WebGUI/Help/AdminToggle.pm b/lib/WebGUI/Help/AdminToggle.pm new file mode 100644 index 000000000..9511d64f8 --- /dev/null +++ b/lib/WebGUI/Help/AdminToggle.pm @@ -0,0 +1,18 @@ +package WebGUI::Help::AdminToggle; + +our $HELP = { + + 'admin toggle' => { + title => 'admin toggle title', + body => 'admin toggle body', + related => [ + { + tag => 'macros using', + namespace => 'WebGUI' + }, + ] + }, + +}; + +1; diff --git a/lib/WebGUI/Help/At_username.pm b/lib/WebGUI/Help/At_username.pm new file mode 100644 index 000000000..c92ed227f --- /dev/null +++ b/lib/WebGUI/Help/At_username.pm @@ -0,0 +1,18 @@ +package WebGUI::Help::At_username; + +our $HELP = { + + 'username' => { + title => 'username title', + body => 'username body', + related => [ + { + tag => 'macros using', + namespace => 'WebGUI' + }, + ] + }, + +}; + +1; diff --git a/lib/WebGUI/Help/CanEditText.pm b/lib/WebGUI/Help/CanEditText.pm new file mode 100644 index 000000000..0ee340bfb --- /dev/null +++ b/lib/WebGUI/Help/CanEditText.pm @@ -0,0 +1,18 @@ +package WebGUI::Help::CanEditText; + +our $HELP = { + + 'can edit text' => { + title => 'can edit text title', + body => 'can edit text body', + related => [ + { + tag => 'macros using', + namespace => 'WebGUI' + }, + ] + }, + +}; + +1; diff --git a/lib/WebGUI/Help/D_date.pm b/lib/WebGUI/Help/D_date.pm new file mode 100644 index 000000000..88d0e7f11 --- /dev/null +++ b/lib/WebGUI/Help/D_date.pm @@ -0,0 +1,18 @@ +package WebGUI::Help::D_date; + +our $HELP = { + + 'date' => { + title => 'date title', + body => 'date body', + related => [ + { + tag => 'macros using', + namespace => 'WebGUI' + }, + ] + }, + +}; + +1; diff --git a/lib/WebGUI/Help/EditableToggle.pm b/lib/WebGUI/Help/EditableToggle.pm new file mode 100644 index 000000000..c508ea58c --- /dev/null +++ b/lib/WebGUI/Help/EditableToggle.pm @@ -0,0 +1,18 @@ +package WebGUI::Help::EditableToggle; + +our $HELP = { + + 'editable toggle' => { + title => 'editable toggle title', + body => 'editable toggle body', + related => [ + { + tag => 'macros using', + namespace => 'WebGUI' + }, + ] + }, + +}; + +1; diff --git a/lib/WebGUI/Help/Env.pm b/lib/WebGUI/Help/Env.pm new file mode 100644 index 000000000..a107e0ef9 --- /dev/null +++ b/lib/WebGUI/Help/Env.pm @@ -0,0 +1,18 @@ +package WebGUI::Help::Env; + +our $HELP = { + + 'env' => { + title => 'env title', + body => 'env body', + related => [ + { + tag => 'macros using', + namespace => 'WebGUI' + }, + ] + }, + +}; + +1; diff --git a/lib/WebGUI/Help/Execute.pm b/lib/WebGUI/Help/Execute.pm new file mode 100644 index 000000000..57260873b --- /dev/null +++ b/lib/WebGUI/Help/Execute.pm @@ -0,0 +1,18 @@ +package WebGUI::Help::Execute; + +our $HELP = { + + 'execute' => { + title => 'execute title', + body => 'execute body', + related => [ + { + tag => 'macros using', + namespace => 'WebGUI' + }, + ] + }, + +}; + +1; diff --git a/lib/WebGUI/Help/Extras.pm b/lib/WebGUI/Help/Extras.pm new file mode 100644 index 000000000..d00d44e5f --- /dev/null +++ b/lib/WebGUI/Help/Extras.pm @@ -0,0 +1,18 @@ +package WebGUI::Help::Extras; + +our $HELP = { + + 'extras' => { + title => 'extras title', + body => 'extras body', + related => [ + { + tag => 'macros using', + namespace => 'WebGUI' + }, + ] + }, + +}; + +1; diff --git a/lib/WebGUI/Help/FormParam.pm b/lib/WebGUI/Help/FormParam.pm new file mode 100644 index 000000000..f92a5340e --- /dev/null +++ b/lib/WebGUI/Help/FormParam.pm @@ -0,0 +1,18 @@ +package WebGUI::Help::FormParam; + +our $HELP = { + + 'form param' => { + title => 'form param title', + body => 'form param body', + related => [ + { + tag => 'macros using', + namespace => 'WebGUI' + }, + ] + }, + +}; + +1; diff --git a/lib/WebGUI/Help/GroupAdd.pm b/lib/WebGUI/Help/GroupAdd.pm new file mode 100644 index 000000000..c0541125e --- /dev/null +++ b/lib/WebGUI/Help/GroupAdd.pm @@ -0,0 +1,18 @@ +package WebGUI::Help::GroupAdd; + +our $HELP = { + + 'group add' => { + title => 'group add title', + body => 'group add body', + related => [ + { + tag => 'macros using', + namespace => 'WebGUI' + }, + ] + }, + +}; + +1; diff --git a/lib/WebGUI/Help/GroupDelete.pm b/lib/WebGUI/Help/GroupDelete.pm new file mode 100644 index 000000000..8fa13697e --- /dev/null +++ b/lib/WebGUI/Help/GroupDelete.pm @@ -0,0 +1,18 @@ +package WebGUI::Help::GroupDelete; + +our $HELP = { + + 'group delete' => { + title => 'group delete title', + body => 'group delete body', + related => [ + { + tag => 'macros using', + namespace => 'WebGUI' + }, + ] + }, + +}; + +1; diff --git a/lib/WebGUI/Help/GroupText.pm b/lib/WebGUI/Help/GroupText.pm new file mode 100644 index 000000000..e9b68b194 --- /dev/null +++ b/lib/WebGUI/Help/GroupText.pm @@ -0,0 +1,18 @@ +package WebGUI::Help::GroupText; + +our $HELP = { + + 'group text' => { + title => 'group text title', + body => 'group text body', + related => [ + { + tag => 'macros using', + namespace => 'WebGUI' + }, + ] + }, + +}; + +1; diff --git a/lib/WebGUI/Help/H_homeLink.pm b/lib/WebGUI/Help/H_homeLink.pm new file mode 100644 index 000000000..3c3c5e7ea --- /dev/null +++ b/lib/WebGUI/Help/H_homeLink.pm @@ -0,0 +1,18 @@ +package WebGUI::Help::H_homeLink; + +our $HELP = { + + 'home link' => { + title => 'home link title', + body => 'home link body', + related => [ + { + tag => 'macros using', + namespace => 'WebGUI' + }, + ] + }, + +}; + +1; diff --git a/lib/WebGUI/Help/Hash_userId.pm b/lib/WebGUI/Help/Hash_userId.pm new file mode 100644 index 000000000..f04cd11ef --- /dev/null +++ b/lib/WebGUI/Help/Hash_userId.pm @@ -0,0 +1,18 @@ +package WebGUI::Help::Hash_userId; + +our $HELP = { + + 'user id' => { + title => 'user id title', + body => 'user id body', + related => [ + { + tag => 'macros using', + namespace => 'WebGUI' + }, + ] + }, + +}; + +1; diff --git a/lib/WebGUI/Help/If.pm b/lib/WebGUI/Help/If.pm new file mode 100644 index 000000000..b63117fde --- /dev/null +++ b/lib/WebGUI/Help/If.pm @@ -0,0 +1,18 @@ +package WebGUI::Help::If; + +our $HELP = { + + 'if' => { + title => 'if title', + body => 'if body', + related => [ + { + tag => 'macros using', + namespace => 'WebGUI' + }, + ] + }, + +}; + +1; diff --git a/lib/WebGUI/Help/Include.pm b/lib/WebGUI/Help/Include.pm new file mode 100644 index 000000000..5819b8fdd --- /dev/null +++ b/lib/WebGUI/Help/Include.pm @@ -0,0 +1,18 @@ +package WebGUI::Help::Include; + +our $HELP = { + + 'include' => { + title => 'include title', + body => 'include body', + related => [ + { + tag => 'macros using', + namespace => 'WebGUI' + }, + ] + }, + +}; + +1; diff --git a/lib/WebGUI/Help/International.pm b/lib/WebGUI/Help/International.pm new file mode 100644 index 000000000..694fcdcb4 --- /dev/null +++ b/lib/WebGUI/Help/International.pm @@ -0,0 +1,18 @@ +package WebGUI::Help::International; + +our $HELP = { + + 'international' => { + title => 'international title', + body => 'international body', + related => [ + { + tag => 'macros using', + namespace => 'WebGUI' + }, + ] + }, + +}; + +1; diff --git a/lib/WebGUI/Help/JavaScript.pm b/lib/WebGUI/Help/JavaScript.pm new file mode 100644 index 000000000..68d3c1752 --- /dev/null +++ b/lib/WebGUI/Help/JavaScript.pm @@ -0,0 +1,18 @@ +package WebGUI::Help::JavaScript; + +our $HELP = { + + 'java script' => { + title => 'java script title', + body => 'java script body', + related => [ + { + tag => 'macros using', + namespace => 'WebGUI' + }, + ] + }, + +}; + +1; diff --git a/lib/WebGUI/Help/L_loginBox.pm b/lib/WebGUI/Help/L_loginBox.pm new file mode 100644 index 000000000..1f84982b5 --- /dev/null +++ b/lib/WebGUI/Help/L_loginBox.pm @@ -0,0 +1,18 @@ +package WebGUI::Help::L_loginBox; + +our $HELP = { + + 'login box' => { + title => 'login box title', + body => 'login box body', + related => [ + { + tag => 'macros using', + namespace => 'WebGUI' + }, + ] + }, + +}; + +1; diff --git a/lib/WebGUI/Help/LastModified.pm b/lib/WebGUI/Help/LastModified.pm new file mode 100644 index 000000000..2a16cc3e1 --- /dev/null +++ b/lib/WebGUI/Help/LastModified.pm @@ -0,0 +1,22 @@ +package WebGUI::Help::LastModified; + +our $HELP = { + + 'last modified' => { + title => 'last modified title', + body => 'last modified body', + related => [ + { + tag => 'macros using', + namespace => 'WebGUI' + }, + { + tag => 'date', + namespace => 'D_date' + }, + ] + }, + +}; + +1; diff --git a/lib/WebGUI/Help/LoginToggle.pm b/lib/WebGUI/Help/LoginToggle.pm new file mode 100644 index 000000000..7609196a6 --- /dev/null +++ b/lib/WebGUI/Help/LoginToggle.pm @@ -0,0 +1,18 @@ +package WebGUI::Help::LoginToggle; + +our $HELP = { + + 'login toggle' => { + title => 'login toggle title', + body => 'login toggle body', + related => [ + { + tag => 'macros using', + namespace => 'WebGUI' + }, + ] + }, + +}; + +1; diff --git a/lib/WebGUI/Help/Macros.pm b/lib/WebGUI/Help/Macros.pm new file mode 100644 index 000000000..9a7d72ca3 --- /dev/null +++ b/lib/WebGUI/Help/Macros.pm @@ -0,0 +1,26 @@ +package WebGUI::Help::Macros; + +use WebGUI::Session; +use Data::Dumper; + +our $HELP = { + + 'macros list' => { + title => 'macros list title', + body => 'macros list body', + related => [ map { + $tag = $_; + $tag =~ s/^[a-zA-Z]+_//; #Remove initial shortcuts + $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; + { tag => $tag, + namespace => $_ } + } + sort values %{ $session{config}{macros} } + ], + }, + +}; + +1; diff --git a/lib/WebGUI/Help/Page.pm b/lib/WebGUI/Help/Page.pm new file mode 100644 index 000000000..00d866f7c --- /dev/null +++ b/lib/WebGUI/Help/Page.pm @@ -0,0 +1,18 @@ +package WebGUI::Help::Page; + +our $HELP = { + + 'page' => { + title => 'page title', + body => 'page body', + related => [ + { + tag => 'macros using', + namespace => 'WebGUI' + }, + ] + }, + +}; + +1; diff --git a/lib/WebGUI/Help/PageTitle.pm b/lib/WebGUI/Help/PageTitle.pm new file mode 100644 index 000000000..aaddfdaac --- /dev/null +++ b/lib/WebGUI/Help/PageTitle.pm @@ -0,0 +1,18 @@ +package WebGUI::Help::PageTitle; + +our $HELP = { + + 'page title' => { + title => 'page title title', + body => 'page title body', + related => [ + { + tag => 'macros using', + namespace => 'WebGUI' + }, + ] + }, + +}; + +1; diff --git a/lib/WebGUI/Help/PageUrl.pm b/lib/WebGUI/Help/PageUrl.pm new file mode 100644 index 000000000..7a7386ebc --- /dev/null +++ b/lib/WebGUI/Help/PageUrl.pm @@ -0,0 +1,18 @@ +package WebGUI::Help::PageUrl; + +our $HELP = { + + 'page url' => { + title => 'page url title', + body => 'page url body', + related => [ + { + tag => 'macros using', + namespace => 'WebGUI' + }, + ] + }, + +}; + +1; diff --git a/lib/WebGUI/Help/Quote.pm b/lib/WebGUI/Help/Quote.pm new file mode 100644 index 000000000..c2230c078 --- /dev/null +++ b/lib/WebGUI/Help/Quote.pm @@ -0,0 +1,18 @@ +package WebGUI::Help::Quote; + +our $HELP = { + + 'quote' => { + title => 'quote title', + body => 'quote body', + related => [ + { + tag => 'macros using', + namespace => 'WebGUI' + }, + ] + }, + +}; + +1; diff --git a/lib/WebGUI/Help/RawHeadTags.pm b/lib/WebGUI/Help/RawHeadTags.pm new file mode 100644 index 000000000..c120b43c4 --- /dev/null +++ b/lib/WebGUI/Help/RawHeadTags.pm @@ -0,0 +1,18 @@ +package WebGUI::Help::RawHeadTags; + +our $HELP = { + + 'raw head tags' => { + title => 'raw head tags title', + body => 'raw head tags body', + related => [ + { + tag => 'macros using', + namespace => 'WebGUI' + }, + ] + }, + +}; + +1; diff --git a/lib/WebGUI/Help/RootTitle.pm b/lib/WebGUI/Help/RootTitle.pm new file mode 100644 index 000000000..e5e159fe9 --- /dev/null +++ b/lib/WebGUI/Help/RootTitle.pm @@ -0,0 +1,18 @@ +package WebGUI::Help::RootTitle; + +our $HELP = { + + 'root title' => { + title => 'root title title', + body => 'root title body', + related => [ + { + tag => 'macros using', + namespace => 'WebGUI' + }, + ] + }, + +}; + +1; diff --git a/lib/WebGUI/Help/SQL.pm b/lib/WebGUI/Help/SQL.pm new file mode 100644 index 000000000..3f8220dac --- /dev/null +++ b/lib/WebGUI/Help/SQL.pm @@ -0,0 +1,18 @@ +package WebGUI::Help::SQL; + +our $HELP = { + + 'sql' => { + title => 'sql title', + body => 'sql body', + related => [ + { + tag => 'macros using', + namespace => 'WebGUI' + }, + ] + }, + +}; + +1; diff --git a/lib/WebGUI/Help/Slash_gatewayUrl.pm b/lib/WebGUI/Help/Slash_gatewayUrl.pm new file mode 100644 index 000000000..7244a3ea4 --- /dev/null +++ b/lib/WebGUI/Help/Slash_gatewayUrl.pm @@ -0,0 +1,18 @@ +package WebGUI::Help::Slash_gatewayUrl; + +our $HELP = { + + 'gateway url' => { + title => 'gateway url title', + body => 'gateway url body', + related => [ + { + tag => 'macros using', + namespace => 'WebGUI' + }, + ] + }, + +}; + +1; diff --git a/lib/WebGUI/Help/Spacer.pm b/lib/WebGUI/Help/Spacer.pm new file mode 100644 index 000000000..04247186e --- /dev/null +++ b/lib/WebGUI/Help/Spacer.pm @@ -0,0 +1,18 @@ +package WebGUI::Help::Spacer; + +our $HELP = { + + 'spacer' => { + title => 'spacer title', + body => 'spacer body', + related => [ + { + tag => 'macros using', + namespace => 'WebGUI' + }, + ] + }, + +}; + +1; diff --git a/lib/WebGUI/Help/Splat_random.pm b/lib/WebGUI/Help/Splat_random.pm new file mode 100644 index 000000000..024d7da98 --- /dev/null +++ b/lib/WebGUI/Help/Splat_random.pm @@ -0,0 +1,18 @@ +package WebGUI::Help::Splat_random; + +our $HELP = { + + 'random' => { + title => 'random title', + body => 'random body', + related => [ + { + tag => 'macros using', + namespace => 'WebGUI' + }, + ] + }, + +}; + +1; diff --git a/lib/WebGUI/Help/StyleSheet.pm b/lib/WebGUI/Help/StyleSheet.pm new file mode 100644 index 000000000..38107be87 --- /dev/null +++ b/lib/WebGUI/Help/StyleSheet.pm @@ -0,0 +1,18 @@ +package WebGUI::Help::StyleSheet; + +our $HELP = { + + 'style sheet' => { + title => 'style sheet title', + body => 'style sheet body', + related => [ + { + tag => 'macros using', + namespace => 'WebGUI' + }, + ] + }, + +}; + +1; diff --git a/lib/WebGUI/Help/URLEncode.pm b/lib/WebGUI/Help/URLEncode.pm new file mode 100644 index 000000000..85946cf62 --- /dev/null +++ b/lib/WebGUI/Help/URLEncode.pm @@ -0,0 +1,18 @@ +package WebGUI::Help::URLEncode; + +our $HELP = { + + 'url encode' => { + title => 'url encode title', + body => 'url encode body', + related => [ + { + tag => 'macros using', + namespace => 'WebGUI' + }, + ] + }, + +}; + +1; diff --git a/lib/WebGUI/Help/User.pm b/lib/WebGUI/Help/User.pm new file mode 100644 index 000000000..e2bc16279 --- /dev/null +++ b/lib/WebGUI/Help/User.pm @@ -0,0 +1,18 @@ +package WebGUI::Help::User; + +our $HELP = { + + 'user' => { + title => 'user title', + body => 'user body', + related => [ + { + tag => 'macros using', + namespace => 'WebGUI' + }, + ] + }, + +}; + +1; diff --git a/lib/WebGUI/Help/a_account.pm b/lib/WebGUI/Help/a_account.pm new file mode 100644 index 000000000..1a43167c5 --- /dev/null +++ b/lib/WebGUI/Help/a_account.pm @@ -0,0 +1,18 @@ +package WebGUI::Help::a_account; + +our $HELP = { + + 'account' => { + title => 'account title', + body => 'account body', + related => [ + { + tag => 'macros using', + namespace => 'WebGUI' + }, + ] + }, + +}; + +1; diff --git a/lib/WebGUI/Help/c_companyName.pm b/lib/WebGUI/Help/c_companyName.pm new file mode 100644 index 000000000..34cf31d25 --- /dev/null +++ b/lib/WebGUI/Help/c_companyName.pm @@ -0,0 +1,18 @@ +package WebGUI::Help::c_companyName; + +our $HELP = { + + 'company name' => { + title => 'company name title', + body => 'company name body', + related => [ + { + tag => 'macros using', + namespace => 'WebGUI' + }, + ] + }, + +}; + +1; diff --git a/lib/WebGUI/Help/e_companyEmail.pm b/lib/WebGUI/Help/e_companyEmail.pm new file mode 100644 index 000000000..c44ff12b8 --- /dev/null +++ b/lib/WebGUI/Help/e_companyEmail.pm @@ -0,0 +1,18 @@ +package WebGUI::Help::e_companyEmail; + +our $HELP = { + + 'company email' => { + title => 'company email title', + body => 'company email body', + related => [ + { + tag => 'macros using', + namespace => 'WebGUI' + }, + ] + }, + +}; + +1; diff --git a/lib/WebGUI/Help/r_printable.pm b/lib/WebGUI/Help/r_printable.pm new file mode 100644 index 000000000..bb1bdbcf2 --- /dev/null +++ b/lib/WebGUI/Help/r_printable.pm @@ -0,0 +1,18 @@ +package WebGUI::Help::r_printable; + +our $HELP = { + + 'printable' => { + title => 'printable title', + body => 'printable body', + related => [ + { + tag => 'macros using', + namespace => 'WebGUI' + }, + ] + }, + +}; + +1; diff --git a/lib/WebGUI/i18n/English/AOIHits.pm b/lib/WebGUI/i18n/English/AOIHits.pm new file mode 100644 index 000000000..f965d7716 --- /dev/null +++ b/lib/WebGUI/i18n/English/AOIHits.pm @@ -0,0 +1,25 @@ +package WebGUI::i18n::English::AOIHits; + +our $I18N = { + + 'aoi hits title' => { + message => q|AOI Hits Macro|, + lastUpdated => 1112466408, + }, + + 'aoi hits body' => { + message => q| + +^AOIHits();
+This macro is for displaying Areas of Interest Hits, which is based on passive profiling +of which wobjects are viewed by users, on a per user basis. The macro takes two arguments, +a metadata property and metadata value, and returns how many times the current user has +viewed content with that property and value.
+^AOIHits(contenttype,sport); would display 99 if this user has looked at content that was tagged "contenttype = sport" 99 times. + +|, + lastUpdated => 1112466919, + }, +}; + +1; diff --git a/lib/WebGUI/i18n/English/AOIRank.pm b/lib/WebGUI/i18n/English/AOIRank.pm new file mode 100644 index 000000000..051e87937 --- /dev/null +++ b/lib/WebGUI/i18n/English/AOIRank.pm @@ -0,0 +1,27 @@ +package WebGUI::i18n::English::AOIRank; + +our $I18N = { + + 'aoi rank title' => { + message => q|AOI Rank Macro|, + lastUpdated => 1112466408, + }, + + 'aoi rank body' => { + message => q| + +

+^AOIRank();
+This macro is for displaying Areas of Interest Rankings, which is based on passive profiling +of which wobjects are viewed most frequently by users, on a per user basis. The macro +takes up to two arguments, a metadata property and the rank of the metadata value to +be returned. If the rank is left out, it defaults to 1, the highest rank.
+^AOIRank(contenttype); would display "sport" if the current user has looked at content tagged "contenttype = sport" the most.
+^AOIRank(contenttype, 2); would return the second highest ranked value for contenttype. + +|, + lastUpdated => 1112466919, + }, +}; + +1; diff --git a/lib/WebGUI/i18n/English/AdminBar.pm b/lib/WebGUI/i18n/English/AdminBar.pm new file mode 100644 index 000000000..402f609ce --- /dev/null +++ b/lib/WebGUI/i18n/English/AdminBar.pm @@ -0,0 +1,101 @@ +package WebGUI::i18n::English::AdminBar; + +our $I18N = { + + 'admin bar title' => { + message => q|Admin Bar Macro|, + lastUpdated => 1112374923, + }, + + 'admin bar body' => { + message => q| + +^AdminBar;
+^AdminBar(custom template ID);
+Places the administrative tool bar on the page. Omitting this macro will prevent you from adding content, pasting +content from the clipboard, accessing the help system and other administrative functions. +

+The macro takes up to one optional argument, an alternate template in the Macro/AdminBar namespace for generating the AdminBar. The following variables are available in the template: + +

+packages.label
+The internationalized label for adding packages. + +

+packages.canAdd
+A boolean indicating whether the current user can add packages. + +

+addContent.label
+The internationalized label for adding content. + +

+contenttypes_loop
+The loop containing different types of content to add + +

+

+contenttype.label
+The internationalized label for this content type. + +

+contenttype.url
+The URL for adding an instance of this content type. + +

+ +

+addpage.label
+The internationalized label for adding a page. + +

+addpage.url
+The URL for adding a page. + +

+clipboard.label
+The internationalized label for the clipboard. + +

+clipboard_loop
+The loop containing a list of items in the clipboard. + +

+

+clipboard.label
+The label for this item in the clipboard. + +

+clipboard.url
+The URL for pasting this clipboard item onto the current page. + +

+ +

+admin.label
+The internationalized label for administrative functions. + +

+admin_loop
+The loop containing a list of administrative functions, such as turning off admin mode or +validating the current page. + +

+

+admin.label
+The label for this item in the clipboard. + +

+admin.url
+The URL for executing this admin function. + +

+ +

+ The .adminBar style sheet class is tied to the default template for this macro. +|, + lastUpdated => 1112374920, + }, +}; + +1; diff --git a/lib/WebGUI/i18n/English/AdminText.pm b/lib/WebGUI/i18n/English/AdminText.pm new file mode 100644 index 000000000..3cefcbdee --- /dev/null +++ b/lib/WebGUI/i18n/English/AdminText.pm @@ -0,0 +1,22 @@ +package WebGUI::i18n::English::AdminText; + +our $I18N = { + + 'admin text title' => { + message => q|Admin Text Macro|, + lastUpdated => 1112466408, + }, + + 'admin text body' => { + message => q| + +^AdminText();
+Displays a small text message to a user who is in admin mode. Example: ^AdminText("You are in admin mode!"); +

+ +|, + lastUpdated => 1112466919, + }, +}; + +1; diff --git a/lib/WebGUI/i18n/English/AdminToggle.pm b/lib/WebGUI/i18n/English/AdminToggle.pm new file mode 100644 index 000000000..8d1ef0d62 --- /dev/null +++ b/lib/WebGUI/i18n/English/AdminToggle.pm @@ -0,0 +1,30 @@ +package WebGUI::i18n::English::AdminToggle; + +our $I18N = { + + 'admin toggle title' => { + message => q|Admin Text Macro|, + lastUpdated => 1112466408, + }, + + 'admin toggle body' => { + message => q| + +^AdminToggle; or ^AdminToggle();
+Places a link on the page which is only visible to content managers and administrators. The link toggles on/off admin mode. You can optionally specify other messages to display like this: ^AdminToggle("Edit On","Edit Off"); This macro optionally takes a third parameter that allows you to specify an alternate template name in the Macro/AdminToggle namespace. +

+The following variables are available in the template: +

+toggle.url
+The URL to activate or deactivate Admin mode. +

+toggle.text
+The Internationalized label for turning on or off Admin (depending on the state of the macro), or the text that you supply to the macro. +

+ +|, + lastUpdated => 1112466919, + }, +}; + +1; diff --git a/lib/WebGUI/i18n/English/At_username.pm b/lib/WebGUI/i18n/English/At_username.pm new file mode 100644 index 000000000..b8db292b8 --- /dev/null +++ b/lib/WebGUI/i18n/English/At_username.pm @@ -0,0 +1,22 @@ +package WebGUI::i18n::English::At_username; + +our $I18N = { + + 'username title' => { + message => q|User Name Macro|, + lastUpdated => 1112466408, + }, + + 'username body' => { + message => q| + +^@; - Username
+The username of the currently logged in user. +

+ +|, + lastUpdated => 1112466919, + }, +}; + +1; diff --git a/lib/WebGUI/i18n/English/CanEditText.pm b/lib/WebGUI/i18n/English/CanEditText.pm new file mode 100644 index 000000000..6c6e008ee --- /dev/null +++ b/lib/WebGUI/i18n/English/CanEditText.pm @@ -0,0 +1,24 @@ +package WebGUI::i18n::English::CanEditText; + +our $I18N = { + + 'can edit text title' => { + message => q|Can Edit Text Macro|, + lastUpdated => 1112466408, + }, + + 'can edit text body' => { + message => q| + +^CanEditText();
+Display a message to a user that can edit the current page. +

+Example: ^CanEditText(^AdminToggle;); +

+ +|, + lastUpdated => 1112466919, + }, +}; + +1; diff --git a/lib/WebGUI/i18n/English/D_date.pm b/lib/WebGUI/i18n/English/D_date.pm new file mode 100644 index 000000000..63e6ac34f --- /dev/null +++ b/lib/WebGUI/i18n/English/D_date.pm @@ -0,0 +1,30 @@ +package WebGUI::i18n::English::D_date; + +our $I18N = { + + 'date title' => { + message => q|Date Macro|, + lastUpdated => 1112466408, + }, + + 'date body' => { + message => q| + +^D; or ^D(); - Date
+The current date and time. +

+ +You can configure the date by using date formatting symbols. For instance, if you created a macro like this ^D("%c %D, %y"); it would output September 26, 2001. The following are the available date formatting symbols: +

+ +
%%%
%y4 digit year
%Y2 digit year
%m2 digit month
%Mvariable digit month
%cmonth name
%d2 digit day of month
%Dvariable digit day of month
%wday of week name
%h2 digit base 12 hour
%Hvariable digit base 12 hour
%j2 digit base 24 hour
%Jvariable digit base 24 hour
%plower case am/pm
%Pupper case AM/PM
%zuser preference date format
%Zuser preference time format
+

+You can also pass in an epoch date into this macro as a secondary parameter. If no date is specified then today's date and time will be used. + + +|, + lastUpdated => 1112466919, + }, +}; + +1; diff --git a/lib/WebGUI/i18n/English/EditableToggle.pm b/lib/WebGUI/i18n/English/EditableToggle.pm new file mode 100644 index 000000000..ee52c81ac --- /dev/null +++ b/lib/WebGUI/i18n/English/EditableToggle.pm @@ -0,0 +1,30 @@ +package WebGUI::i18n::English::EditableToggle; + +our $I18N = { + + 'editable toggle title' => { + message => q|Editable Toggle Macro|, + lastUpdated => 1112466408, + }, + + 'editable toggle body' => { + message => q| + +^EditableToggle; or ^EditableToggle();
+Exactly the same as AdminToggle, except that the toggle is only displayed if the user has the rights to edit the current page. This macro takes up to three parameters. The first is a label for "Turn Admin On", the second is a label for "Turn Admin Off", and the third is the name of a template in the Macro/EditableToggle namespace to replace the default template. +

+The following variables are available in the template: +

+toggle.url
+The URL to activate or deactivate Admin mode. +

+toggle.text
+The Internationalized label for turning on or off Admin (depending on the state of the macro), or the text that you supply to the macro. +

+ +|, + lastUpdated => 1112466919, + }, +}; + +1; diff --git a/lib/WebGUI/i18n/English/Env.pm b/lib/WebGUI/i18n/English/Env.pm new file mode 100644 index 000000000..d4e690106 --- /dev/null +++ b/lib/WebGUI/i18n/English/Env.pm @@ -0,0 +1,24 @@ +package WebGUI::i18n::English::Env; + +our $I18N = { + + 'env title' => { + message => q|Environment Variable Macro|, + lastUpdated => 1112466408, + }, + + 'env body' => { + message => q| +^Env()
+Can be used to display a web server environment variable on a page. The environment variables available on each server are different, but you can find out which ones your web server has by going to: http://www.yourwebguisite.com/env.pl +

+ +The macro should be specified like this ^Env("REMOTE_ADDR"); +

+ +|, + lastUpdated => 1112466919, + }, +}; + +1; diff --git a/lib/WebGUI/i18n/English/Execute.pm b/lib/WebGUI/i18n/English/Execute.pm new file mode 100644 index 000000000..dd191127e --- /dev/null +++ b/lib/WebGUI/i18n/English/Execute.pm @@ -0,0 +1,21 @@ +package WebGUI::i18n::English::Execute; + +our $I18N = { + + 'execute title' => { + message => q|Execute Macro|, + lastUpdated => 1112466408, + }, + + 'execute body' => { + message => q| + +^Execute();
+Allows a content manager or administrator to execute an external program. Takes the format of ^Execute("/this/file.sh");. +

+|, + lastUpdated => 1112466919, + }, +}; + +1; diff --git a/lib/WebGUI/i18n/English/Extras.pm b/lib/WebGUI/i18n/English/Extras.pm new file mode 100644 index 000000000..10e1fcd39 --- /dev/null +++ b/lib/WebGUI/i18n/English/Extras.pm @@ -0,0 +1,21 @@ +package WebGUI::i18n::English::Extras; + +our $I18N = { + + 'extras title' => { + message => q|Extras Macro|, + lastUpdated => 1112466752, + }, + + 'extras body' => { + message => q| + +^Extras;
+Returns the path to the WebGUI "extras" folder, which contains things like WebGUI icons. +

+|, + lastUpdated => 1112466755, + }, +}; + +1; diff --git a/lib/WebGUI/i18n/English/FormParam.pm b/lib/WebGUI/i18n/English/FormParam.pm new file mode 100644 index 000000000..547191e32 --- /dev/null +++ b/lib/WebGUI/i18n/English/FormParam.pm @@ -0,0 +1,22 @@ +package WebGUI::i18n::English::FormParam; + +our $I18N = { + + 'form param title' => { + message => q|Form Parameter Macro|, + lastUpdated => 1112466408, + }, + + 'form param body' => { + message => q| + +^FormParam();
+This macro is mainly used in generating dynamic queries in SQL Reports. Using this macro you can pull the value of any form field simply by specifying the name of the form field, like this: ^FormParam("phoneNumber"); +

+ +|, + lastUpdated => 1112466919, + }, +}; + +1; diff --git a/lib/WebGUI/i18n/English/GroupAdd.pm b/lib/WebGUI/i18n/English/GroupAdd.pm new file mode 100644 index 000000000..1e11e9b03 --- /dev/null +++ b/lib/WebGUI/i18n/English/GroupAdd.pm @@ -0,0 +1,31 @@ +package WebGUI::i18n::English::GroupAdd; + +our $I18N = { + + 'group add title' => { + message => q|Group Add Macro|, + lastUpdated => 1112466408, + }, + + 'group add body' => { + message => q| + +^GroupAdd();
+Using this macro you can allow users to add themselves to a group. The first parameter is the name of the group this user should be added to. The second parameter is a text string for the user to click on to add themselves to this group. The third parameter allows you to specify the name of a template in the Macro/GroupAdd namespace to replace the default template. These variables are available in the template: +

+group.url
+The URL with the action to add the user to the group. +

+group.text
+The supplied text string for the user to click on. + +

+NOTE: If the user is not logged in, or or already belongs to the group, or the group is not set to allow auto adds, then no link will be displayed. +

+ +|, + lastUpdated => 1112466919, + }, +}; + +1; diff --git a/lib/WebGUI/i18n/English/GroupDelete.pm b/lib/WebGUI/i18n/English/GroupDelete.pm new file mode 100644 index 000000000..99fd1910a --- /dev/null +++ b/lib/WebGUI/i18n/English/GroupDelete.pm @@ -0,0 +1,32 @@ +package WebGUI::i18n::English::GroupDelete; + +our $I18N = { + + 'group delete title' => { + message => q|Group Delete Macro|, + lastUpdated => 1112466408, + }, + + 'group delete body' => { + message => q| + +^GroupDelete();
+Using this macro you can allow users to delete themselves from a group. The first parameter is the name of the group this user should be deleted from. The second parameter is a text string for the user to click on to delete themselves from this group. The third parameter allows you to specify the name of a template in the Macro/GroupDelete namespace to replace the default template. These variables are available in the template: +

+group.url
+The URL with the action to add the user to the group. +

+group.text
+The supplied text string for the user to click on. + + +

+NOTE: If the user is not logged in or the user does not belong to the group, or the group is not set to allow auto deletes, then no link will be displayed. +

+ +|, + lastUpdated => 1112466919, + }, +}; + +1; diff --git a/lib/WebGUI/i18n/English/GroupText.pm b/lib/WebGUI/i18n/English/GroupText.pm new file mode 100644 index 000000000..77135a9e5 --- /dev/null +++ b/lib/WebGUI/i18n/English/GroupText.pm @@ -0,0 +1,24 @@ +package WebGUI::i18n::English::GroupText; + +our $I18N = { + + 'group text title' => { + message => q|Group Text Macro|, + lastUpdated => 1112466408, + }, + + 'group text body' => { + message => q| + +^GroupText();
+Displays a small text message to the user if they belong to the specified group. And you can specify an alternate message to those who are not in the group. +

+Example: ^GroupText("Visitors","You need an account to do anything cool on this site!","We value our registered users!"); +

+ +|, + lastUpdated => 1112466919, + }, +}; + +1; diff --git a/lib/WebGUI/i18n/English/H_homeLink.pm b/lib/WebGUI/i18n/English/H_homeLink.pm new file mode 100644 index 000000000..d2cc97e6e --- /dev/null +++ b/lib/WebGUI/i18n/English/H_homeLink.pm @@ -0,0 +1,27 @@ +package WebGUI::i18n::English::H_homeLink; + +our $I18N = { + + 'home link title' => { + message => q|Home Link Macro|, + lastUpdated => 1112466408, + }, + + 'home link body' => { + message => q| +

^H; or ^H(); - Home Link
A link to the home page of this site. In addition you can change the link text by creating a macro like this ^H("Go Home");. +

NOTES: You can also use the special case ^H(linkonly); to return only the URL to the home page and nothing more. Also, the .homeLink style sheet class is tied to this macro. And you can specify a second parameter that with the name of a template in the Macro/H_homeLink namespace that will override the default template. The following variables are available for use in the template:

+

+homeLink.url
+The URL to the home page. +

+homeLink.text
+The translated label for the link to the home page or the text that you supply to the macro. +

+ +|, + lastUpdated => 1112466919, + }, +}; + +1; diff --git a/lib/WebGUI/i18n/English/Hash_userId.pm b/lib/WebGUI/i18n/English/Hash_userId.pm new file mode 100644 index 000000000..e40ab98c7 --- /dev/null +++ b/lib/WebGUI/i18n/English/Hash_userId.pm @@ -0,0 +1,22 @@ +package WebGUI::i18n::English::Hash_userId; + +our $I18N = { + + 'user id title' => { + message => q|User Id Macro|, + lastUpdated => 1112466408, + }, + + 'user id body' => { + message => q| + +^#; - User ID
+The user id of the currently logged in user. +

+ +|, + lastUpdated => 1112466919, + }, +}; + +1; diff --git a/lib/WebGUI/i18n/English/If.pm b/lib/WebGUI/i18n/English/If.pm new file mode 100644 index 000000000..2d5e05690 --- /dev/null +++ b/lib/WebGUI/i18n/English/If.pm @@ -0,0 +1,37 @@ +package WebGUI::i18n::English::If; + +our $I18N = { + + 'if title' => { + message => q|If Macro|, + lastUpdated => 1112466408, + }, + + 'if body' => { + message => q| +^If();
+A simple conditional statement (IF/THEN/ELSE) to control layout and messages. +

+Examples:
+Display Happy New Year on 1st January: + ^If('^D("%m%d");' eq '0101' , Happy New Year); +

+Display a message to people on your subnet (192.168.1.*):
+^If('^Env("REMOTE_ADDR");' =~ /^192.168.1/,"Hi co-worker","Hi Stranger"); +

+Display a message to Windows users:
+ ^If('^URLEncode("^Env("HTTP_USER_AGENT");");' =~ /windows/i,"Hey... Linux is free !"); +

+Display a message if a user is behind a proxy:
+ ^If('^Env("HTTP_VIA");' ne "", You're behind a proxy !, Proxy-free is the best...); +

+Display Good Morning/Afternoon/Evening:
+ ^If(^D("%J");<=12,Good Morning,^If(^D("%J");<=18,Good Afternoon,Good evening);); +

+ +|, + lastUpdated => 1112466919, + }, +}; + +1; diff --git a/lib/WebGUI/i18n/English/Include.pm b/lib/WebGUI/i18n/English/Include.pm new file mode 100644 index 000000000..4686e0ecf --- /dev/null +++ b/lib/WebGUI/i18n/English/Include.pm @@ -0,0 +1,24 @@ +package WebGUI::i18n::English::Include; + +our $I18N = { + + 'include title' => { + message => q|Include Macro|, + lastUpdated => 1112466408, + }, + + 'include body' => { + message => q| + +^Include();
+Allows a content manager or administrator to include a file from the local filesystem. +

+Example: ^Include("/this/file.html"); +

+ +|, + lastUpdated => 1112466919, + }, +}; + +1; diff --git a/lib/WebGUI/i18n/English/International.pm b/lib/WebGUI/i18n/English/International.pm new file mode 100644 index 000000000..3309e75d4 --- /dev/null +++ b/lib/WebGUI/i18n/English/International.pm @@ -0,0 +1,24 @@ +package WebGUI::i18n::English::International; + +our $I18N = { + + 'international title' => { + message => q|International Macro|, + lastUpdated => 1112466408, + }, + + 'international body' => { + message => q| + +^International();
+Pull a translated message from the internationalization system. +

+Example: ^International(45,"Article"); +

+ +|, + lastUpdated => 1112466919, + }, +}; + +1; diff --git a/lib/WebGUI/i18n/English/JavaScript.pm b/lib/WebGUI/i18n/English/JavaScript.pm new file mode 100644 index 000000000..4f3010a9f --- /dev/null +++ b/lib/WebGUI/i18n/English/JavaScript.pm @@ -0,0 +1,21 @@ +package WebGUI::i18n::English::JavaScript; + +our $I18N = { + + 'java script title' => { + message => q|JavaScript Macro|, + lastUpdated => 1112466408, + }, + + 'java script body' => { + message => q| + +^JavaScript();
+This macro allows you to include javascript in the head section of the page. Just pass in the URL to the javascript file. +

+|, + lastUpdated => 1112466919, + }, +}; + +1; diff --git a/lib/WebGUI/i18n/English/L_loginBox.pm b/lib/WebGUI/i18n/English/L_loginBox.pm new file mode 100644 index 000000000..76e294c6b --- /dev/null +++ b/lib/WebGUI/i18n/English/L_loginBox.pm @@ -0,0 +1,71 @@ +package WebGUI::i18n::English::L_loginBox; + +our $I18N = { + + 'login box title' => { + message => q|Login Box Macro|, + lastUpdated => 1112466408, + }, + + 'login box body' => { + message => q| + +^L; or ^L(); - Login Box
+A small login form. This macro takes up to three parameters. The first is used to set the width of the login box: ^L(20);. The second sets the message displayed after the user is logged in: ^L(20,"Hi ^a(^@;);. Click %here% if you wanna log out!");. Text between percent signs (%) is replaced by a link to the logout operation. The third parameter is the ID of a template in the Macro/L_loginBox namespace to replace the default template. The variables below are +available in the template. Not all of them are required, but variables that will cause the macro to output code that doesn't function properly (like not actually log someone in) are marked with an asterisk '*' +

+user.isVisitor
+True if the user is a visitor. +

+customText
+The user defined text to display if the user is logged in. +

+hello.label
+Internationalized welcome message. +

+customText
+The text supplied to the macro to display if the user is logged in. +

+account.display.url
+URL to display the account. +

+logout.label
+Internationalized logout message. +

+* form.header
+Form header. +

+username.label
+Internationalized label for "username". +

+* username.form
+Form element for the username. +

+password.label
+Internationalized label for "password". +

+* password.form
+Form element for the password. +

+* form.login
+Action to perform when logging in. +

+account.create.url
+URL to create an account. +

+account.create.label
+Internationalized label for "create an account" +

+* form.footer
+Form footer. +

+ +NOTE: The .loginBox style sheet class is tied to this macro. +

+ +|, + lastUpdated => 1112466919, + }, +}; + +1; diff --git a/lib/WebGUI/i18n/English/LastModified.pm b/lib/WebGUI/i18n/English/LastModified.pm new file mode 100644 index 000000000..5a24ec9f7 --- /dev/null +++ b/lib/WebGUI/i18n/English/LastModified.pm @@ -0,0 +1,25 @@ +package WebGUI::i18n::English::LastModified; + +our $I18N = { + + 'last modified title' => { + message => q|LastModified Macro|, + lastUpdated => 1112466408, + }, + + 'last modified body' => { + message => q| + +^LastModified;
+^LastModified("text","date format");
+Displays the date that the current page was last modified based upon the wobjects on the page. By default, the date is displayed based upon the user's date preferences. Optionally, it can take two parameters. The first is text to display before the date. The second is a date format string (see the date macro, ^D;, for details. +

+Example: ^LastModified("Updated: ","%c %D, %y"); +

+ +|, + lastUpdated => 1112466919, + }, +}; + +1; diff --git a/lib/WebGUI/i18n/English/LoginToggle.pm b/lib/WebGUI/i18n/English/LoginToggle.pm new file mode 100644 index 000000000..9b63b5e53 --- /dev/null +++ b/lib/WebGUI/i18n/English/LoginToggle.pm @@ -0,0 +1,27 @@ +package WebGUI::i18n::English::LoginToggle; + +our $I18N = { + + 'login toggle title' => { + message => q|Login Toggle Macro|, + lastUpdated => 1112466408, + }, + + 'login toggle body' => { + message => q| +^LoginToggle; or ^LoginToggle();
+Displays a "Login" or "Logout" message depending upon whether the user is logged in or not. You can optionally specify other labels like this: ^LoginToggle("Click here to log in.","Click here to log out.");. You can also use the special case ^LoginToggle(linkonly); to return only the URL with no label. +

+toggle.url
+The URL to login or logout. +

+toggle.text
+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 => 1112466919, + }, +}; + +1; diff --git a/lib/WebGUI/i18n/English/Macros.pm b/lib/WebGUI/i18n/English/Macros.pm new file mode 100644 index 000000000..582af8881 --- /dev/null +++ b/lib/WebGUI/i18n/English/Macros.pm @@ -0,0 +1,17 @@ +package WebGUI::i18n::English::Macros; + +our $I18N = { + 'macros list title' => { + message => q|Macros, List of Available|, + lastUpdated => 1112395935, + }, + + 'macros list body' => { + message => q|

These Macros are available for use on your site:

|, + context => 'Content for dynamically generated macro list', + lastUpdated => 1112395932, + }, + +}; + +1; diff --git a/lib/WebGUI/i18n/English/Page.pm b/lib/WebGUI/i18n/English/Page.pm new file mode 100644 index 000000000..a97ac1cb3 --- /dev/null +++ b/lib/WebGUI/i18n/English/Page.pm @@ -0,0 +1,22 @@ +package WebGUI::i18n::English::Page; + +our $I18N = { + + 'page title' => { + message => q|Page Macro|, + lastUpdated => 1112466408, + }, + + 'page body' => { + message => q| + +^Page();
+This can be used to retrieve information about the current page. For instance it could be used to get the page URL like this ^Page("urlizedTitle"); or to get the menu title like this ^Page("menuTitle");. +

+ +|, + lastUpdated => 1112466919, + }, +}; + +1; diff --git a/lib/WebGUI/i18n/English/PageTitle.pm b/lib/WebGUI/i18n/English/PageTitle.pm new file mode 100644 index 000000000..91825ec24 --- /dev/null +++ b/lib/WebGUI/i18n/English/PageTitle.pm @@ -0,0 +1,25 @@ +package WebGUI::i18n::English::PageTitle; + +our $I18N = { + + 'page title title' => { + message => q|PageTitle Macro|, + lastUpdated => 1112503983, + }, + + 'page title body' => { + message => q| + +^PageTitle;
+Displays the title of the current page. +

+ +NOTE: If you begin using admin functions or the in-depth functions of any wobject, the page title will become a link that will quickly bring you back to the page. +

+ +|, + lastUpdated => 1112504006, + }, +}; + +1; diff --git a/lib/WebGUI/i18n/English/PageUrl.pm b/lib/WebGUI/i18n/English/PageUrl.pm new file mode 100644 index 000000000..07c401897 --- /dev/null +++ b/lib/WebGUI/i18n/English/PageUrl.pm @@ -0,0 +1,19 @@ +package WebGUI::i18n::English::PageUrl; + +our $I18N = { + + 'page url title' => { + message => q|Page URL Macro|, + lastUpdated => 1112466408, + }, + + 'page url body' => { + message => q| +

^PageUrl;
+The URL to the current page (example: /index.pl/pagename). +|, + lastUpdated => 1112466919, + }, +}; + +1; diff --git a/lib/WebGUI/i18n/English/Quote.pm b/lib/WebGUI/i18n/English/Quote.pm new file mode 100644 index 000000000..69bded0ce --- /dev/null +++ b/lib/WebGUI/i18n/English/Quote.pm @@ -0,0 +1,22 @@ +package WebGUI::i18n::English::Quote; + +our $I18N = { + + 'quote title' => { + message => q|Quote Macro|, + lastUpdated => 1112466408, + }, + + 'quote body' => { + message => q| + +^Quote();
+Use this to escape a string before using it in a database query. +

+ +|, + lastUpdated => 1112466919, + }, +}; + +1; diff --git a/lib/WebGUI/i18n/English/RawHeadTags.pm b/lib/WebGUI/i18n/English/RawHeadTags.pm new file mode 100644 index 000000000..c932792e7 --- /dev/null +++ b/lib/WebGUI/i18n/English/RawHeadTags.pm @@ -0,0 +1,22 @@ +package WebGUI::i18n::English::RawHeadTags; + +our $I18N = { + + 'raw head tags title' => { + message => q|Raw Head Tags Macro|, + lastUpdated => 1112466408, + }, + + 'raw head tags body' => { + message => q| + +^RawHeadTags("header tags");
+This macro allows you to set some arbitrary tags in the head section of the page. Just pass in the text. +

+ +|, + lastUpdated => 1112466919, + }, +}; + +1; diff --git a/lib/WebGUI/i18n/English/RootTitle.pm b/lib/WebGUI/i18n/English/RootTitle.pm new file mode 100644 index 000000000..f1da247d3 --- /dev/null +++ b/lib/WebGUI/i18n/English/RootTitle.pm @@ -0,0 +1,22 @@ +package WebGUI::i18n::English::RootTitle; + +our $I18N = { + + 'root title title' => { + message => q|Root Title Macro|, + lastUpdated => 1112466408, + }, + + 'root title body' => { + message => q| + +^RootTitle;
+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. +

+ +|, + lastUpdated => 1112466919, + }, +}; + +1; diff --git a/lib/WebGUI/i18n/English/SQL.pm b/lib/WebGUI/i18n/English/SQL.pm new file mode 100644 index 000000000..c2c8b7f2a --- /dev/null +++ b/lib/WebGUI/i18n/English/SQL.pm @@ -0,0 +1,24 @@ +package WebGUI::i18n::English::SQL; + +our $I18N = { + + 'sql title' => { + message => q|SQL Macro|, + lastUpdated => 1112466408, + }, + + 'sql body' => { + message => q| +^SQL();
+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. Examples:

+ ^SQL("select count(*) from users","There are ^0; users on this system."); +

+^SQL("select userId,username from users order by username","<a href='^/;?op=viewProfile&uid=^0;'>^1;</a><br>"); +

+ +|, + lastUpdated => 1112466919, + }, +}; + +1; diff --git a/lib/WebGUI/i18n/English/Slash_gatewayUrl.pm b/lib/WebGUI/i18n/English/Slash_gatewayUrl.pm new file mode 100644 index 000000000..6dba23eeb --- /dev/null +++ b/lib/WebGUI/i18n/English/Slash_gatewayUrl.pm @@ -0,0 +1,19 @@ +package WebGUI::i18n::English::Slash_gatewayUrl; + +our $I18N = { + + 'gateway url title' => { + message => q|Gateway URL Macro|, + lastUpdated => 1112466408, + }, + + 'gateway url body' => { + message => q| +

^/; - System URL
+The URL to the gateway script (example: /index.pl/). +|, + lastUpdated => 1112466919, + }, +}; + +1; diff --git a/lib/WebGUI/i18n/English/Spacer.pm b/lib/WebGUI/i18n/English/Spacer.pm new file mode 100644 index 000000000..1005838a5 --- /dev/null +++ b/lib/WebGUI/i18n/English/Spacer.pm @@ -0,0 +1,24 @@ +package WebGUI::i18n::English::Spacer; + +our $I18N = { + + 'spacer title' => { + message => q|Spacer Macro|, + lastUpdated => 1112466408, + }, + + 'spacer body' => { + message => q| + +^Spacer("width","height");
+Create a spacer in your layout. Great for creating blocks of color with divs and tables. It takes two parameters, width and height. +

+Example: ^Spacer("100","50"); +

+ +|, + lastUpdated => 1112466919, + }, +}; + +1; diff --git a/lib/WebGUI/i18n/English/Splat_random.pm b/lib/WebGUI/i18n/English/Splat_random.pm new file mode 100644 index 000000000..1c2317024 --- /dev/null +++ b/lib/WebGUI/i18n/English/Splat_random.pm @@ -0,0 +1,22 @@ +package WebGUI::i18n::English::Splat_random; + +our $I18N = { + + 'random title' => { + message => q|Random Macro|, + lastUpdated => 1112466408, + }, + + 'random body' => { + message => q| + +^*; or ^*(); - Random Number
+A randomly generated number. This is often used on images (such as banner ads) that you want to ensure do not cache. In addition, you may configure this macro like this ^*(100); to create a random number between 0 and 100. +

+ +|, + lastUpdated => 1112466919, + }, +}; + +1; diff --git a/lib/WebGUI/i18n/English/StyleSheet.pm b/lib/WebGUI/i18n/English/StyleSheet.pm new file mode 100644 index 000000000..d204a1cce --- /dev/null +++ b/lib/WebGUI/i18n/English/StyleSheet.pm @@ -0,0 +1,22 @@ +package WebGUI::i18n::English::StyleSheet; + +our $I18N = { + + 'style sheet title' => { + message => q|Style Sheet Macro|, + lastUpdated => 1112466408, + }, + + 'style sheet body' => { + message => q| + +^StyleSheet();
+This macro allows you to set a cascading style sheet in the head section of the page. Just pass in the URL to the CSS file. +

+ +|, + lastUpdated => 1112466919, + }, +}; + +1; diff --git a/lib/WebGUI/i18n/English/URLEncode.pm b/lib/WebGUI/i18n/English/URLEncode.pm new file mode 100644 index 000000000..242299d02 --- /dev/null +++ b/lib/WebGUI/i18n/English/URLEncode.pm @@ -0,0 +1,22 @@ +package WebGUI::i18n::English::URLEncode; + +our $I18N = { + + 'url encode title' => { + message => q|URL Encode Macro|, + lastUpdated => 1112466408, + }, + + 'url encode body' => { + message => q| + +^URLEncode();
+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?"); +

+ +|, + lastUpdated => 1112466919, + }, +}; + +1; diff --git a/lib/WebGUI/i18n/English/User.pm b/lib/WebGUI/i18n/English/User.pm new file mode 100644 index 000000000..eeb113b15 --- /dev/null +++ b/lib/WebGUI/i18n/English/User.pm @@ -0,0 +1,22 @@ +package WebGUI::i18n::English::User; + +our $I18N = { + + 'user title' => { + message => q|User Macro|, + lastUpdated => 1112466408, + }, + + 'user body' => { + message => q| + +^User();
+This macro will allow you to display any information from a user's account or profile. For instance, if you wanted to display a user's email address you'd create this macro: ^User("email"); +

+ +|, + lastUpdated => 1112466919, + }, +}; + +1; diff --git a/lib/WebGUI/i18n/English/a_account.pm b/lib/WebGUI/i18n/English/a_account.pm new file mode 100644 index 000000000..33b1012f9 --- /dev/null +++ b/lib/WebGUI/i18n/English/a_account.pm @@ -0,0 +1,34 @@ +package WebGUI::i18n::English::a_account; + +our $I18N = { + + 'account title' => { + message => q|Account Macro|, + lastUpdated => 1112466408, + }, + + 'account body' => { + message => q| + +^a; or ^a(); - My Account Link
+A link to your account information. In addition you can change the link text by creating a macro like this ^a("Account Info");. If you specify "linkonly" in the first parameter then only the URL will be returned. Also, you can specify the name of a template in the Macro/a_account namespace as the second parameter to override the default template. +

+The following is a list of variables available in the template: +

+account.url
+The URL to the account page. +

+account.text
+The translated label for the account link, or the text that you supply to the macro. +

+ +NOTES: You can also use the special case ^a(linkonly); to return only the URL to the account page and nothing more. Also, the .myAccountLink style sheet class is tied to this macro. +

+ + +|, + lastUpdated => 1112466919, + }, +}; + +1; diff --git a/lib/WebGUI/i18n/English/c_companyName.pm b/lib/WebGUI/i18n/English/c_companyName.pm new file mode 100644 index 000000000..66825f80a --- /dev/null +++ b/lib/WebGUI/i18n/English/c_companyName.pm @@ -0,0 +1,22 @@ +package WebGUI::i18n::English::c_companyName; + +our $I18N = { + + 'company name title' => { + message => q|Company Name Macro|, + lastUpdated => 1112374923, + }, + + 'company name body' => { + message => q| +^c;
+The name of your company specified in the settings by your Administrator. +

+ + +|, + lastUpdated => 1112374920, + }, +}; + +1; diff --git a/lib/WebGUI/i18n/English/e_companyEmail.pm b/lib/WebGUI/i18n/English/e_companyEmail.pm new file mode 100644 index 000000000..35dd6a959 --- /dev/null +++ b/lib/WebGUI/i18n/English/e_companyEmail.pm @@ -0,0 +1,20 @@ +package WebGUI::i18n::English::e_companyEmail; + +our $I18N = { + + 'company email title' => { + message => q|Company Email Macro|, + lastUpdated => 1112466408, + }, + + 'company email body' => { + message => q| +^e;
+The email address for your company specified in the settings by your Administrator. +

+|, + lastUpdated => 1112466411, + }, +}; + +1; diff --git a/lib/WebGUI/i18n/English/r_printable.pm b/lib/WebGUI/i18n/English/r_printable.pm new file mode 100644 index 000000000..492332781 --- /dev/null +++ b/lib/WebGUI/i18n/English/r_printable.pm @@ -0,0 +1,48 @@ +package WebGUI::i18n::English::r_printable; + +our $I18N = { + + 'printable title' => { + message => q|Make Page Printable Macro|, + lastUpdated => 1112503983, + }, + + 'printable body' => { + message => q| + +^r(link text)
+^r("",custom style name)
+^r("",custom style name,custom template name)
+Creates a link to alter the style from a page to make it printable. + +

+ +The macro takes up to three arguments. The first argument allows you to replace the default internationalized link text like this ^r("Print Me!");. 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. + +

+ +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: ^r("Print!","WebGUI");. + +

+ +The third argument allows a different template be used to generate the HTML code for presenting the link and text, by specifying the name of the template. The following variables are available in the template: + +

+printable.url
+The URL to make the page printable. +

+printable.text
+The translated label for the printable link, or the text that you supply to the macro. + +

+ +NOTES:The .makePrintableLink style sheet class is tied to the default template for this macro. +

+ + +|, + lastUpdated => 1112504006, + }, +}; + +1;