From f70f02df286c491c44b79ac515f5f08447b1260e Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Sun, 4 Jun 2006 04:21:44 +0000 Subject: [PATCH] template variables broken out --- lib/WebGUI/Help/Asset_HttpProxy.pm | 20 + lib/WebGUI/Help/Asset_InOutBoard.pm | 94 +++++ lib/WebGUI/Help/Asset_Navigation.pm | 194 ++++++++++ lib/WebGUI/i18n/English/Asset_HttpProxy.pm | 56 +-- lib/WebGUI/i18n/English/Asset_InOutBoard.pm | 223 ++++++------ lib/WebGUI/i18n/English/Asset_Navigation.pm | 384 ++++++++++++++++---- 6 files changed, 769 insertions(+), 202 deletions(-) diff --git a/lib/WebGUI/Help/Asset_HttpProxy.pm b/lib/WebGUI/Help/Asset_HttpProxy.pm index a847fd37a..301ceda92 100644 --- a/lib/WebGUI/Help/Asset_HttpProxy.pm +++ b/lib/WebGUI/Help/Asset_HttpProxy.pm @@ -86,6 +86,26 @@ our $HELP = { body => 'http proxy template body', fields => [ ], + variables => [ + { + 'name' => 'header' + }, + { + 'name' => 'content' + }, + { + 'name' => 'search.for' + }, + { + 'name' => 'stop.at' + }, + { + 'name' => 'content.leading' + }, + { + 'name' => 'content.trailing' + } + ], related => [ { tag => 'http proxy add/edit', diff --git a/lib/WebGUI/Help/Asset_InOutBoard.pm b/lib/WebGUI/Help/Asset_InOutBoard.pm index 0dd7106bf..4976bc785 100644 --- a/lib/WebGUI/Help/Asset_InOutBoard.pm +++ b/lib/WebGUI/Help/Asset_InOutBoard.pm @@ -58,6 +58,46 @@ our $HELP = { 'in out board template' => { title => '20', body => '21', + variables => [ + { + 'name' => 'canViewReport' + }, + { + 'name' => 'viewReportURL' + }, + { + 'name' => 'selectDelegatesURL' + }, + { + 'name' => 'displayForm' + }, + { + 'name' => 'form' + }, + { + 'name' => 'rows_loop', + 'variables' => [ + { + 'name' => 'deptHasChanged' + }, + { + 'name' => 'username' + }, + { + 'name' => 'status' + }, + { + 'name' => 'dateStamp' + }, + { + 'name' => 'message' + } + ] + }, + { + 'name' => 'paginateBar' + } + ], related => [ { tag => 'in out board add/edit', @@ -76,6 +116,60 @@ our $HELP = { 'in out board report template' => { title => '22', body => '23', + variables => [ + { + 'name' => 'showReport' + }, + { + 'name' => 'form', + 'description' => 'report.form' + }, + { + 'name' => 'username.label' + }, + { + 'name' => 'status.label' + }, + { + 'name' => 'date.label' + }, + { + 'name' => 'message.label' + }, + { + 'name' => 'updatedBy.label' + }, + { + 'name' => 'rows_loop', + 'variables' => [ + { + 'name' => 'deptHasChanged', + }, + { + 'name' => 'username', + }, + { + 'name' => 'department' + }, + { + 'name' => 'status', + }, + { + 'name' => 'dateStamp', + }, + { + 'name' => 'message', + }, + { + 'name' => 'createdBy' + } + ], + 'description' => 'report rows_loop' + }, + { + 'name' => 'paginateBar', + } + ], related => [ { tag => 'in out board add/edit', diff --git a/lib/WebGUI/Help/Asset_Navigation.pm b/lib/WebGUI/Help/Asset_Navigation.pm index c64f0ae3d..116269fa0 100644 --- a/lib/WebGUI/Help/Asset_Navigation.pm +++ b/lib/WebGUI/Help/Asset_Navigation.pm @@ -71,11 +71,204 @@ our $HELP = { } ] }, + 'navigation template' => { title => '1096', body => '1097', fields => [ ], + variables => [ + { + 'name' => 'currentPage.menuTitle' + }, + { + 'name' => 'currentPage.assetId' + }, + { + 'name' => 'currentPage.parentId' + }, + { + 'name' => 'currentPage.ownerUserId' + }, + { + 'name' => 'currentPage.synopsis' + }, + { + 'name' => 'currentPage.newWindow' + }, + { + 'name' => 'currentPage.menuTitle' + }, + { + 'name' => 'currentPage.title' + }, + { + 'name' => 'currentPage.isHome' + }, + { + 'name' => 'currentPage.url' + }, + { + 'name' => 'currentPage.rank' + }, + { + 'name' => 'currentPage.hasChild' + }, + { + 'name' => 'currentPage.hasSibling' + }, + { + 'name' => 'currentPage.hasViewableSiblings' + }, + { + 'name' => 'currentPage.hasViewableChildren' + }, + { + 'name' => 'page_loop', + 'variables' => [ + { + 'name' => 'page.assetId' + }, + { + 'name' => 'page.parentId' + }, + { + 'name' => 'page.ownerUserId' + }, + { + 'name' => 'page.synopsis' + }, + { + 'name' => 'page.newWindow' + }, + { + 'name' => 'page.menuTitle' + }, + { + 'name' => 'page.title' + }, + { + 'name' => 'page.rank' + }, + { + 'name' => 'page.absDepth' + }, + { + 'name' => 'page.relDepth' + }, + { + 'name' => 'page.isSystem' + }, + { + 'name' => 'page.isHidden' + }, + { + 'name' => 'page.isContainer' + }, + { + 'name' => 'page.isUtility' + }, + { + 'name' => 'page.isViewable' + }, + { + 'name' => 'page.url' + }, + { + 'name' => 'page.indent' + }, + { + 'name' => 'page.indent_loop', + 'variables' => [ + { + 'name' => 'indent' + } + ] + }, + { + 'name' => 'page.isBranchRoot' + }, + { + 'name' => 'page.isTopOfBranch' + }, + { + 'name' => 'page.isChild' + }, + { + 'name' => 'page.isParent' + }, + { + 'name' => 'page.isCurrent' + }, + { + 'name' => 'page.isDescendent' + }, + { + 'name' => 'page.isAncestor' + }, + { + 'name' => 'page.inBranchRoot' + }, + { + 'name' => 'page.isSibling' + }, + { + 'name' => 'page.inBranch' + }, + { + 'name' => 'page.hasChild' + }, + { + 'name' => 'page.hasViewableChildren' + }, + { + 'name' => 'page.depthIsN' + }, + { + 'name' => 'page.relativeDepthIsN' + }, + { + 'name' => 'page.depthDiff' + }, + { + 'name' => 'page.depthDiffIsN' + }, + { + 'name' => 'page.depthDiff_loop' + }, + { + 'name' => 'page.isRankedFirst' + }, + { + 'name' => 'page.isRankedLast' + }, + { + 'name' => 'page.parent.menuTitle' + }, + { + 'name' => 'page.parent.title' + }, + { + 'name' => 'page.parent.url' + }, + { + 'name' => 'page.parent.assetId' + }, + { + 'name' => 'page.parent.parentId' + }, + { + 'name' => 'page.parent.ownerUserId' + }, + { + 'name' => 'page.parent.synopsis' + }, + { + 'name' => 'page.parent.newWindow' + } + ] + } + ], related => [ { tag => 'navigation add/edit', @@ -91,6 +284,7 @@ our $HELP = { } ] }, + 'navigation manage' => { title => '1094', body => '1095', diff --git a/lib/WebGUI/i18n/English/Asset_HttpProxy.pm b/lib/WebGUI/i18n/English/Asset_HttpProxy.pm index bb8442e49..c1cea548a 100644 --- a/lib/WebGUI/i18n/English/Asset_HttpProxy.pm +++ b/lib/WebGUI/i18n/English/Asset_HttpProxy.pm @@ -30,33 +30,41 @@ our $I18N = { lastUpdated => 1109714266, }, + 'header' => { + message => q|The header from the proxied URL.|, + lastUpdated => 1149393165, + }, + + 'content' => { + message => q|The content from the proxied URL. If the Search for or Stop at properties are used, then the content will not contain either of those.|, + lastUpdated => 1149393165, + }, + + 'search.for' => { + message => q|The string used to start the content search.|, + lastUpdated => 1149393165, + }, + + 'stop.at' => { + message => q|The string used to stop the content search.|, + lastUpdated => 1149393165, + }, + + 'content.leading' => { + message => q|Any text before the Search For string.|, + lastUpdated => 1149393165, + }, + + 'content.trailing' => { + message => q|Any text after the Stop At string.|, + lastUpdated => 1149393165, + }, + + 'http proxy template body' => { message => q|

The following variables are available in templates for HTTP Proxies:

-

header
-The header from the proxied URL. -

- -

content
-The content from the proxied URL. If the Search for or Stop at properties are used, then the content will not contain either of those. -

- -

search.for
-The string used to start the content search. -

- -

stop.at
-The string used to stop the content search. -

- -

content.leading
-Any text before the Search For string. -

- -

content.trailing
-Any text after the Stop At string. -

|, - lastUpdated => 1146775775, + lastUpdated => 1149393194, }, '1 description' => { diff --git a/lib/WebGUI/i18n/English/Asset_InOutBoard.pm b/lib/WebGUI/i18n/English/Asset_InOutBoard.pm index 52a60ad86..0ffe75ccf 100644 --- a/lib/WebGUI/i18n/English/Asset_InOutBoard.pm +++ b/lib/WebGUI/i18n/English/Asset_InOutBoard.pm @@ -32,77 +32,60 @@ our $I18N = { lastUpdated =>1139260288 }, + 'showReport' => { + message => q|A boolean indicating whether or not the rows_loop variable will be set.|, + lastUpdated => 1149393724, + }, + + 'report.form' => { + message => q|A variable that contains an HTML form for limiting the scope, by date or department, of the report.|, + lastUpdated => 1149393724, + }, + + 'username.label' => { + message => q|Internationalized label for the "Username" column of the report.|, + lastUpdated => 1149393724, + }, + + 'status.label' => { + message => q|Internationalized label for the "Status" column of the report.|, + lastUpdated => 1149393724, + }, + + 'date.label' => { + message => q|Internationalized label for the "Date" column of the report.|, + lastUpdated => 1149393724, + }, + + 'message.label' => { + message => q|Internationalized label for the "Message" column of the report.|, + lastUpdated => 1149393724, + }, + + 'updatedBy.label' => { + message => q|Internationalized label for the "Updated By" column of the report.|, + lastUpdated => 1149393724, + }, + + 'report rows_loop' => { + message => q|A loop containing the rows of data for the In/Out Board Report |, + lastUpdated => 1149393724, + }, + + 'department' => { + message => q|A variable that returns the user's department. If no department has been assigned to this user, an internationalized label for "No Department" will be used.|, + lastUpdated => 1149393724, + }, + + 'createdBy' => { + message => q|A variable that returns which user, either the user himself or a delegate, changed the status for this user.|, + lastUpdated => 1149393724, + }, + '23' => { message => q|

The following variables are available from In/Out Board Report template:

- -

showReport
-A boolean indicating whether or not the rows_loop variable will be set.

- -

form
-A variable that contains an HTML form for limiting the scope, by date or department, of the report. -

- -

username.label
-Internationalized label for the "Username" column of the report. -

- -

status.label
-Internationalized label for the "Status" column of the report. -

- -

date.label
-Internationalized label for the "Date" column of the report. -

- -

message.label
-Internationalized label for the "Message" column of the report. -

- -

updatedBy.label
-Internationalized label for the "Updated By" column of the report. -

- -

rows_loop
-A loop containing the rows of data for the In/Out Board Report  -

- -
- -

deptHasChanged
-A boolean value indicating whether or not this row of data is for a department that is differnet than the previous rows -

- -

username
-A variable that returns the user's name. If the first and last name fields are defined in the user profile, that is what is returned. Otherwise, the users WebGUI username is returned. i.e., "John Doe" vs "Jdoe". -

- -

department
-A variable that returns the user's department. If no department has been assigned to this user, an internationalized label for "No Department" will be used. -

- -

status
-A variable that returns the user's status. The status of a user is defined by the Status List in the Wobject Properties. If no status is set for the current user 'Never Checked In' is returned. -

- -

dateStamp
-A variable that returns the date the status of the user was last updated. -

- -

message
-A variable that returns what the user entered in the "What's going on?" field when updating their status. -

- -

createdBy
-A variable that returns which user, either the user himself or a delegate, changed the status for this user. -

- -
- -

paginateBar
-A variable that returns the HTML necessary to create a Traditional Pagination Bar. i.e., << First, 1, 2, Last >>

|, - - lastUpdated =>1139264476 + lastUpdated =>1149394078 }, '1 description' => { @@ -156,51 +139,71 @@ their status for them.

lastUpdated =>1091624565 }, + 'canViewReport' => { + message => q|A boolean indicating whether or not the viewReportURL variable will be set.|, + lastUpdated => 1149393667, + }, + + 'viewReportURL' => { + message => q|URL that links to the view report page.|, + lastUpdated => 1149393667, + }, + + 'selectDelegatesURL' => { + message => q|URL that links to a form where users can select other users (delegates) who +can alter their status.|, + lastUpdated => 1149393667, + }, + + 'displayForm' => { + message => q|A boolean indicating whether or not the form variable will be set.|, + lastUpdated => 1149393667, + }, + + 'form' => { + message => q|A variable that contains the HTML for displaying the In/Out Entry Form to update status for the current user or another user.|, + lastUpdated => 1149393667, + }, + + 'rows_loop' => { + message => q|A loop containing the rows of data for the In/Out Board|, + lastUpdated => 1149393667, + }, + + 'deptHasChanged' => { + message => q|A boolean value indicating whether or not this row of data is for a department that is differnet than the previous rows|, + lastUpdated => 1149393667, + }, + + 'username' => { + message => q|A variable that returns the users name. If the first and last name fields are defined in the user profile, that is what is returned. Otherwise, the users WebGUI username is returned. i.e., "John Doe" vs "Jdoe"|, + lastUpdated => 1149393667, + }, + + 'status' => { + message => q|A variable that returns the user's status. The status of a user is defined by the Status List in the Wobject Properties. If no status is set for the current user 'Never Checked In' is returned.|, + lastUpdated => 1149393667, + }, + + 'dateStamp' => { + message => q|A variable that returns the date the status of the user was last updated.|, + lastUpdated => 1149393667, + }, + + 'message' => { + message => q|A variable that returns what the user entered in the "What's going on?" field when updating their status.|, + lastUpdated => 1149393667, + }, + + 'paginateBar' => { + message => q|A variable that returns the HTML necessary to create a Traditional Pagination Bar. i.e., >> First, 1, 2, Last <<|, + lastUpdated => 1149393667, + }, + '21' => { message => q|

The following variables are made available from In/Out Board:

- -

canViewReport
-A boolean indicating whether or not the viewReportURL variable will be set.

- -

viewReportURL
-URL that links to the view report page.

- -

selectDelegatesURL
-URL that links to a form where users can select other users (delegates) who -can alter their status.

- -

displayForm
-A boolean indicating whether or not the form variable will be set.

- -

form
-A variable that contains the HTML for displaying the In/Out Entry Form to update status for the current user or another user.

- -

rows_loop
-A loop containing the rows of data for the In/Out Board

- -
- -

deptHasChanged
-A boolean value indicating whether or not this row of data is for a department that is differnet than the previous rows

- -

username
-A variable that returns the users name. If the first and last name fields are defined in the user profile, that is what is returned. Otherwise, the users WebGUI username is returned. i.e., "John Doe" vs "Jdoe"

- -

status
-A variable that returns the users status. The status of a user is defined by the Status List in the Wobject Properties. If no status is set for the current user 'Never Checked In' is returned.

- -

dateStamp
-A variable that returns the date the status of the user was last updated.

- -

message
-A variable that returns what the user entered in the "What's going on?" field when updating their status.

-
- -

paginateBar
-A variable that returns the HTML necessary to create a Traditional Pagination Bar. i.e., >> First, 1, 2, Last <<

- |, - lastUpdated =>1139254657 + lastUpdated =>1149393698 }, '2' => { diff --git a/lib/WebGUI/i18n/English/Asset_Navigation.pm b/lib/WebGUI/i18n/English/Asset_Navigation.pm index ab0c0d078..1c306dd44 100644 --- a/lib/WebGUI/i18n/English/Asset_Navigation.pm +++ b/lib/WebGUI/i18n/English/Asset_Navigation.pm @@ -216,75 +216,323 @@ a Google sitemap of your site.

lastUpdated => 1078207966 }, + 'currentPage.menuTitle' => { + message => q|The pageId of the start page.|, + lastUpdated => 1149394665, + }, + + 'currentPage.assetId' => { + message => q|The assetId of the start page.|, + lastUpdated => 1149394665, + }, + + 'currentPage.parentId' => { + message => q|The assetId of the parent of the start page.|, + lastUpdated => 1149394665, + }, + + 'currentPage.ownerUserId' => { + message => q|The userId of the owner of the start page.|, + lastUpdated => 1149394665, + }, + + 'currentPage.synopsis' => { + message => q|The synopsis of the start page.|, + lastUpdated => 1149394665, + }, + + 'currentPage.newWindow' => { + message => q|A conditional indicating whether the start page should be opened in a new window.|, + lastUpdated => 1149394665, + }, + + 'currentPage.menuTitle' => { + message => q|The menu title of the start page.|, + lastUpdated => 1149394665, + }, + + 'currentPage.title' => { + message => q|The title of the start page.|, + lastUpdated => 1149394665, + }, + + 'currentPage.isHome' => { + message => q|A conditional indicating whether the base page is the default page for the site.|, + lastUpdated => 1149394665, + }, + + 'currentPage.url' => { + message => q|The URL of the start page.|, + lastUpdated => 1149394665, + }, + + 'currentPage.rank' => { + message => q|The position of the current page compared to its siblings.|, + lastUpdated => 1149394665, + }, + + 'currentPage.hasChild' => { + message => q|A conditional indicating whether the start page has daughters.|, + lastUpdated => 1149394665, + }, + + 'currentPage.hasSibling' => { + message => q|A conditional indicating whether the start page has siblings.|, + lastUpdated => 1149394665, + }, + + 'currentPage.hasViewableSiblings' => { + message => q|A conditional indicating whether the start page has siblings that are viewable by the current user.|, + lastUpdated => 1149394665, + }, + + 'currentPage.hasViewableChildren' => { + message => q|A conditional indicating whether the start page has children that are viewable by the current user.|, + lastUpdated => 1149394665, + }, + + 'page_loop' => { + message => q|A loop containing page information in nested, hierarchical order.|, + lastUpdated => 1149394665, + }, + + 'page.assetId' => { + message => q|The assetId of this page.|, + lastUpdated => 1149394665, + }, + + 'page.parentId' => { + message => q|The assetId of the parent of this page.|, + lastUpdated => 1149394665, + }, + + 'page.ownerUserId' => { + message => q|The userId of the owner of this page.|, + lastUpdated => 1149394665, + }, + + 'page.synopsis' => { + message => q|The synopsis of this page.|, + lastUpdated => 1149394665, + }, + + 'page.newWindow' => { + message => q|A conditional indicating whether this page should be opened in a new window.|, + lastUpdated => 1149394665, + }, + + 'page.menuTitle' => { + message => q|The menu title of this page.|, + lastUpdated => 1149394665, + }, + + 'page.title' => { + message => q|The title of this page.|, + lastUpdated => 1149394665, + }, + + 'page.rank' => { + message => q|The rank of this page compared with is siblings.|, + lastUpdated => 1149394665, + }, + + 'page.absDepth' => { + message => q|The absolute depth of this page (relative to nameless root).|, + lastUpdated => 1149394665, + }, + + 'page.relDepth' => { + message => q|The relative depth of this page (relative to starting point).|, + lastUpdated => 1149394665, + }, + + 'page.isSystem' => { + message => q|A conditional indicating whether this page is a system page (Trash, Clipboard, etc).|, + lastUpdated => 1149394665, + }, + + 'page.isHidden' => { + message => q|A conditional indicating whether this page is a hidden page.|, + lastUpdated => 1149394665, + }, + + 'page.isContainer' => { + message => q|A conditional indicating whether this page a container asset.|, + lastUpdated => 1149394665, + }, + + 'page.isUtility' => { + message => q|A conditional indicating whether this page is a utility asset.|, + lastUpdated => 1149394665, + }, + + 'page.isViewable' => { + message => q|A conditional indicating whether the user has permission to view it.|, + lastUpdated => 1149394665, + }, + + 'page.url' => { + message => q|The complete URL to this page.|, + lastUpdated => 1149394665, + }, + + 'page.indent' => { + message => q|A variable containing the indent for the current page. The default indent is three spaces. Use the page.indent_loop if you need a more flexible indent.|, + lastUpdated => 1149394665, + }, + + 'page.indent_loop' => { + message => q|A loop that runs page.relDepth times.|, + lastUpdated => 1149394665, + }, + + 'indent' => { + message => q|A number representing the loop count.|, + lastUpdated => 1149394665, + }, + + 'page.isBranchRoot' => { + message => q|A conditional indicating whether this page is a root page.|, + lastUpdated => 1149394665, + }, + + 'page.isTopOfBranch' => { + message => q|A conditional indicating whether this page is a top page (daughter of root).|, + lastUpdated => 1149394665, + }, + + 'page.isChild' => { + message => q|A conditional indicating whether this page is a daughter of the base page.|, + lastUpdated => 1149394665, + }, + + 'page.isParent' => { + message => q|A conditional indicating whether this page is the mother of the base page.|, + lastUpdated => 1149394665, + }, + + 'page.isCurrent' => { + message => q|A conditional indicating whether this page is the base page.|, + lastUpdated => 1149394665, + }, + + 'page.isDescendent' => { + message => q|A conditional indicating whether this page is a descendant of the base page.|, + lastUpdated => 1149394665, + }, + + 'page.isAncestor' => { + message => q|A conditional indicating whether this page is an ancestor of the base page.|, + lastUpdated => 1149394665, + }, + + 'page.inBranchRoot' => { + message => q|This conditional is true if this page is a descendant of the root page of the base page.|, + lastUpdated => 1149394665, + }, + + 'page.isSibling' => { + message => q|A conditional indicating whether this page is the sister of the base page.|, + lastUpdated => 1149394665, + }, + + 'page.inBranch' => { + message => q|A conditional that is the logical OR of isAncestor, isSister, isBasepage and isDescendent.|, + lastUpdated => 1149394665, + }, + + 'page.hasChild' => { + message => q|A conditional indicating whether this page has a daughter. In other words, it evaluates to true if this page is a mother.|, + lastUpdated => 1149394665, + }, + + 'page.hasViewableChildren' => { + message => q|A conditional indicating whether this page has a viewable child.|, + lastUpdated => 1149394665, + }, + + 'page.depthIsN' => { + message => q|A conditional indicating whether the depth of this page is N. This variable is useful if you want to style a certain level. +

+

<tmpl_if page.depthIs1>
+   <img src="level1.gif">
<tmpl_else>
   <img src="defaultBullet.gif">
</tmpl_if>|, + lastUpdated => 1149394665, + }, + + 'page.relativeDepthIsN' => { + message => q|A conditional indicating whether the depth of this page is N, relative to the starting page.|, + lastUpdated => 1149394665, + }, + + 'page.depthDiff' => { + message => q|The difference in depth between the previous page and this page, parent.absDepth - page.absDepth, although parent.absDepth is not a template variable.|, + lastUpdated => 1149394665, + }, + + 'page.depthDiffIsN' => { + message => q|True if the page.depthDiff variable is N. N can be positive or negative.|, + lastUpdated => 1149394665, + }, + + 'page.depthDiff_loop' => { + message => q|A loop that runs page.depthDiff times, if page.depthDiff > 0. This loop contains no loop variables.|, + lastUpdated => 1149394665, + }, + + 'page.isRankedFirst' => { + message => q|This property is true if this page is the first within this level. ie. has no left sister.|, + lastUpdated => 1149394665, + }, + + 'page.isRankedLast' => { + message => q|This property is true if this page is the last within this level. ie. has no right sister.|, + lastUpdated => 1149394665, + }, + + 'page.parent.menuTitle' => { + message => q|The menu title of the mother of this page.|, + lastUpdated => 1149394665, + }, + + 'page.parent.title' => { + message => q|The title of the mother of this page.|, + lastUpdated => 1149394665, + }, + + 'page.parent.url' => { + message => q|The urlized title of the mother of this page.|, + lastUpdated => 1149394665, + }, + + 'page.parent.assetId' => { + message => q|The assetId of the mother of this page.|, + lastUpdated => 1149394665, + }, + + 'page.parent.parentId' => { + message => q|The assetId of the grandmother of this page.|, + lastUpdated => 1149394665, + }, + + 'page.parent.ownerUserId' => { + message => q|The userId of the owner of the mother of this page.|, + lastUpdated => 1149394665, + }, + + 'page.parent.synopsis' => { + message => q|The synopsis of the mother of this page.|, + lastUpdated => 1149394665, + }, + + 'page.parent.newWindow' => { + message => q|A conditional indicating whether the mother of this page should be opened in a new window.|, + lastUpdated => 1149394665, + }, + '1097' => { - message => q|

currentPage.menuTitle
The pageId of the start page.

-

currentPage.assetId
The assetId of the start page.

-

currentPage.parentId
The assetId of the parent of the start page.

-

currentPage.ownerUserId
The userId of the owner of the start page.

-

currentPage.synopsis
The synopsis of the start page.

-

currentPage.newWindow
A conditional indicating whether the start page should be opened in a new window.

-

currentPage.menuTitle
The menu title of the start page.

-

currentPage.title
The title of the start page.

-

currentPage.isHome
A conditional indicating whether the base page is the default page for the site.

-

currentPage.url
The URL of the start page.

-

currentPage.rank
The position of the current page compared to its siblings.

-

currentPage.hasChild
A conditional indicating whether the start page has daughters.

-

currentPage.hasSibling
A conditional indicating whether the start page has siblings.

-

currentPage.hasViewableSiblings
A conditional indicating whether the start page has siblings that are viewable by the current user.

-

currentPage.hasViewableChildren
A conditional indicating whether the start page has children that are viewable by the current user.

-

page_loop
A loop containing page information in nested, hierarchical order.

-
-

page.assetId
The assetId of this page.

-

page.parentId
The assetId of the parent of this page.

-

page.ownerUserId
The userId of the owner of this page.

-

page.synopsis
The synopsis of this page.

-

page.newWindow
A conditional indicating whether this page should be opened in a new window.

-

page.menuTitle
The menu title of this page.

-

page.title
The title of this page.

-

page.rank
The rank of this page compared with is siblings.

-

page.absDepth
The absolute depth of this page (relative to nameless root).

-

page.relDepth
The relative depth of this page (relative to starting point).

-

page.isSystem
A conditional indicating whether this page is a system page (Trash, Clipboard, etc).

-

page.isHidden
A conditional indicating whether this page is a hidden page.

-

page.isContainer
A conditional indicating whether this page a container asset.

-

page.isUtility
A conditional indicating whether this page is a utility asset.

-

page.isViewable
A conditional indicating whether the user has permission to view it.

-

page.url
The complete URL to this page.

-

page.indent
A variable containing the indent for the current page. The default indent is three spaces. Use the page.indent_loop if you need a more flexible indent.

-

page.indent_loop
A loop that runs page.relDepth times.

-
-

indent
A number representing the loop count.

-

page.isBranchRoot
A conditional indicating whether this page is a root page.

-

page.isTopOfBranch
A conditional indicating whether this page is a top page (daughter of root).

-

page.isChild
A conditional indicating whether this page is a daughter of the base page.

-

page.isParent
A conditional indicating whether this page is the mother of the base page.

-

page.isCurrent
A conditional indicating whether this page is the base page.

-

page.isDescendent
A conditional indicating whether this page is a descendant of the base page.

-

page.isAncestor
A conditional indicating whether this page is an ancestor of the base page.

-

page.inBranchRoot
This conditional is true if this page is a descendant of the root page of the base page.

-

page.isSibling
A conditional indicating whether this page is the sister of the base page.

-

page.inBranch
A conditional that is the logical OR of isAncestor, isSister, isBasepage and isDescendent.

-

page.hasChild
A conditional indicating whether this page has a daughter. In other words, it evaluates to true if this page is a mother.

-

page.hasViewableChildren
A conditional indicating whether this page has a viewable child.

-

page.depthIs1 , page.depthIs2 , page.depthIs3 , page.depthIs4 , page.depthIsN
A conditional indicating whether the depth of this page is N. This variable is useful if you want to style a certain level.

-

<tmpl_if page.depthIs1>
   <img src="level1.gif">
<tmpl_else>
   <img src="defaultBullet.gif">
</tmpl_if>

-

page.relativeDepthIs1 , page.relativeDepthIs2 , page.relativeDepthIs3 , page.relativeDepthIsN
A conditional indicating whether the depth of this page is N, relative to the starting page.

-

page.depthDiff
The difference in depth between the previous page and this page, parent.absDepth - page.absDepth, although parent.absDepth is not a template variable.

-

page.depthDiffIs1, page.depthDiffIs2, page.depthDiffIs3, page.depthDiffIsN
True if the page.depthDiff variable is N. N can be positive or negative.

-

page.depthDiff_loop
A loop that runs page.depthDiff times, if page.depthDiff > 0. This loop contains no loop variables.

-

page.isRankedFirst
This property is true if this page is the first within this level. ie. has no left sister.

-

page.isRankedLast
This property is true if this page is the last within this level. ie. has no right sister.

-

page.parent.*
These variables will be undefined if the page is a root.

-

page.parent.menuTitle
The menu title of the mother of this page.

-

page.parent.title
The title of the mother of this page.

-

page.parent.url
The urlized title of the mother of this page.

-

page.parent.assetId
The assetId of the mother of this page.

-

page.parent.parentId
The assetId of the grandmother of this page.

-

page.parent.ownerUserId
The userId of the owner of the mother of this page.

-

page.parent.synopsis
The synopsis of the mother of this page.

-

page.parent.newWindow
A conditional indicating whether the mother of this page should be opened in a new window.

-
|, - lastUpdated => 1145060204, + message => q|

These variables are available in Navigation Templates:

+ |, + lastUpdated => 1149394711, }, '1094' => {