diff --git a/docs/upgrades/upgrade_5.9.9-6.0.0.sql b/docs/upgrades/upgrade_5.9.9-6.0.0.sql index 5d4ddb786..1cb6944b5 100644 --- a/docs/upgrades/upgrade_5.9.9-6.0.0.sql +++ b/docs/upgrades/upgrade_5.9.9-6.0.0.sql @@ -31,7 +31,6 @@ insert into international (internationalId,languageId,namespace,message,lastUpda delete from international where languageId=1 and namespace='WebGUI' and internationalId=634; insert into international (internationalId,languageId,namespace,message,lastUpdated,context) values (634,1,'WebGUI','Default Home Page
Some really small sites don\'t have a home page, but instead like to use one of their internal pages like \"About Us\" or \"Company Information\" as their home page. For that reason, you can set the default page of your site to any page in the site. That page will be the one people go to if they type in just your URL http://www.mywebguisite.com, or if they click on the Home link generated by the ^H; macro. \r\n\r\n

Not Found Page
If a page that a user requests is not found in the system, the user can be redirected to the home page or to an error page where they can attempt to find what they were looking for. You decide which is better for your users. \r\n\r\n\r\n

Favicon
An icon that appears on Internet Explorer short cuts such as your \"Favorites\". To learn more about Favicon click here. \r\n\r\n

Site Icon
An icon that appears in the URL bar of most modern browsers. It may also appear in the bookmarks of the browser. The image must be 16x16 pixels. \r\n\r\n

Add edit stamp to posts?
Typically if a user edits a post on a discussion, a stamp is added to that post to identify who made the edit, and at what time. On some sites that information is not necessary, therefore you can turn it off here. \r\n\r\n

Filter Contributed HTML
Especially when running a public site where anybody can post to your message boards or user submission systems, it is often a good idea to filter their content for malicious code that can harm the viewing experience of your visitors; And in some circumstances, it can even cause security problems. Use this setting to select the level of filtering you wish to apply. \r\n\r\n

Maximum Attachment Size
The size (in kilobytes) of the maximum allowable attachment to be uploaded to your system. \r\n\r\n

Max Image Size
If images are uploaded to your system that are bigger than the max image size, then they will be resized to the max image size. The max image size is measured in pixels and will use the size of the longest side of the image to determine if the limit has been reached. \r\n\r\n

Thumbnail Size
When images are uploaded to your system, they will automatically have thumbnails generated at the size specified here (unless overridden on a case-by-case basis). Thumbnail size is measured in pixels. \r\n\r\n

Snippet Preview Length
How many characters of a snippet should be displayed in the collateral management system main listing. \r\n\r\n

Text Area Rows
Some sites wish to control the size of the forms that WebGUI generates. With this setting you can specify how many rows of characters will be displayed in textareas on the site. \r\n\r\n

Text Area Columns
Some sites wish to control the size of the forms that WebGUI generates. With this setting you can specify how many columns of characters will be displayed in textareas on the site. \r\n\r\n

Text Box Size
Some sites wish to control the size of the forms that WebGUI generates. With this setting you can specify how characters can be displayed at once in text boxes on the site. \r\n\r\n

Wobject Privileges
Choose \'Yes\' to enable privileges at the Wobject level.  By default, Wobjects are set to inherit page level privileges

', 1070026791,NULL); delete from international where languageId=1 and namespace='WebGUI' and internationalId=842; -insert into international (internationalId,languageId,namespace,message,lastUpdated,context) values (842,1,'WebGUI','These macros are used to create navigation on the site.\r\n

\r\n\r\n^C; or ^C(); - Crumb Trail
\r\nA dynamically generated crumb trail to the current page. You can optionally specify a delimeter to be used between page names by using ^C(::);. The default delimeter is >.\r\n

\r\n\r\nNOTE: The .crumbTrail style sheet class is tied to this macro.\r\n

\r\n\r\n^FlexMenu;
\r\nThis menu macro creates a top-level menu that expands as the user selects each menu item.\r\n

\r\n\r\n^H; or ^H(); - Home Link
\r\nA 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\");.\r\n

\r\n\r\nNOTES: 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.\r\n

\r\n\r\n^M; or ^M(); - Current Menu (Vertical)
\r\nA vertical menu containing the sub-pages at the current level. In addition, you may configure this macro by specifying how many levels deep the menu should go. By default it will show only the first level. To go three levels deep create a macro like this ^M(3);. If you set the macro to \"0\" it will track the entire site tree.\r\n

\r\n\r\n^m; - Current Menu (Horizontal)
\r\nA horizontal menu containing the sub-pages at the current level. You can optionally specify a delimeter to be used between page names by using ^m(:--:);. The default delimeter is ·.\r\n

\r\n\r\n^PreviousDropMenu;
\r\nCreate a drop down menu containing the sub-pages at the previous level in the page tree.\r\n

\r\nExample: ^PreviousDropMenu;\r\n

\r\n\r\n^P; or ^P(); - Previous Menu (Vertical)
\r\nA vertical menu containing the sub-pages at the previous level. In addition, you may configure this macro by specifying how many levels deep the menu should go. By default it will show only the first level. To go three levels deep create a macro like this ^P(3);. If you set the macro to \"0\" it will track the entire site tree.\r\n

\r\n\r\n^p; - Previous Menu (Horizontal)
\r\nA horizontal menu containing the sub-pages at the previous level. You can optionally specify a delimeter to be used between page names by using ^p(:--:);. The default delimeter is ·.\r\n

\r\n\r\n^rootmenu; or ^rootmenu(); (Horizontal)
\r\nCreates a horizontal menu of the various roots on your system (except for the WebGUI system roots). You can optionally specify a menu delimiter like this: ^rootmenu(|);\r\n

\r\n\r\n^RootTab;
\r\nCreate a tab navigation system from the roots on your site (except WebGUI\'s system roots) similar to the tabs used in the tab forms (editing wobjects or pages).\r\n

\r\nNOTE: Has two special style sheet classes: .RootTabOn{} and .RootTabOff{}.\r\n

\r\nExample:
\r\n<style>\r\n.rootTabOn {\r\n line-height: 17px;\r\n font-size: 16px;\r\n spacing: 3px;\r\n border: 1px solid black;\r\n border-bottom-width: 0px;\r\n background-color: #333333;\r\n z-index: 10000;\r\n padding: 3px 9px 5px 9px;\r\n color: white;\r\n}\r\n\r\n.rootTabOn A, .rootTabOn A:visited {\r\n color: white;\r\n font-weight: bold;\r\n text-decoration: none;\r\n}\r\n\r\n.rootTabOff {\r\n line-height: 15px;\r\n font-size: 14px;\r\n border: 1px solid black;\r\n border-bottom-width: 0px;\r\n background-color: #c8c8c8;\r\n z-index: 1000;\r\n padding: 2px 9px 2px 9px;\r\n}\r\n\r\n.rootTabOff A, .rootTabOff A:visited {\r\n color: black;\r\n text-decoration: underline;\r\n}\r\n\r\n.rootTabOff A:hover {\r\n font-weight: bold;\r\n}\r\n</style>\r\n^RootTab;\r\n

\r\n\r\n\r\n^SpecificDropMenu();
\r\nCreate a drop down menu starting at a specific point in your navigation tree. This takes two parameters. The first is the url of the page to start with and the second (optional parameter) is the depth to traverse to.\r\n

\r\nExample: ^SpecificDropMenu(\"home\",3);\r\n

\r\n\r\n^S(); - Specific SubMenu (Vertical)
\r\nThis macro allows you to get the submenu of any page, starting with the page you specified. For instance, you could get the home page submenu by creating a macro that looks like this ^S(\"home\",0);. The first value is the urlized title of the page and the second value is the depth you\'d like the menu to go. By default it will show only the first level. To go three levels deep create a macro like this ^S(\"home\",3);.\r\n

\r\n\r\n\r\n^s(); - Specific SubMenu (Horizontal)
\r\nThis macro allows you to get the submenu of any page, starting with the page you specified. For instance, you could get the home page submenu by creating a macro that looks like this ^s(\"home\");. The value is the urlized title of the page. You can optionally specify a delimeter to be used between page names by using ^s(\"home\",\":--:\");. The default delimeter is ·.\r\n

\r\n\r\n^Synopsis; or ^Synopsis(); Menu
\r\nThis macro allows you to get the submenu of a page along with the synopsis of each link. You may specify an integer to specify how many levels deep to traverse the page tree.\r\n

\r\n\r\nNOTES: The .synopsis_sub, .synopsis_summary, and .synopsis_title style sheet classes are tied to this macro.\r\n

\r\n\r\n^TopDropMenu;
\r\nCreate a drop down menu of your top level navigation.\r\n

\r\nExample: ^TopDropMenu;\r\n

\r\n\r\n^T; or ^T(); - Top Level Menu (Vertical)
\r\nA vertical menu containing the main pages of the site (aka the sub-pages from the home page). In addition, you may configure this macro by specifying how many levels deep the menu should go. By default it will show only the first level. To go three levels deep create a macro like this ^T(3);. If you set the macro to \"0\" it will track the entire site tree.\r\n

\r\n\r\n^t; - Top Level Menu (Horizontal)
\r\nA vertical menu containing the main pages of the site (aka the sub-pages from the home page). You can optionally specify a delimeter to be used between page names by using ^t(:--:);. The default delimeter is ·.\r\n

\r\n\r\n^/; - System URL
\r\nThe URL to the gateway script (example: /index.pl/).\r\n

\r\n\r\n^\\; - Page URL
\r\nThe URL to the current page (example: /index.pl/pagename).\r\n

\r\n\r\nIt should be noted that many of these macros can also make use of these style sheet classes:\r\n

\r\n.selectedMenuItem
\r\nUse this class to highlight the current page in any of the menu macros.\r\n

\r\n\r\n.verticalMenu
\r\nThe vertical menu (if you use a vertical menu macro).\r\n

\r\n\r\n\r\n.horizontalMenu
\r\nThe horizontal menu (if you use a horizontal menu macro).\r\n

\r\n', 1070030242,NULL); delete from international where languageId=1 and namespace='WebGUI' and internationalId=623; insert into international (internationalId,languageId,namespace,message,lastUpdated,context) values (623,1,'WebGUI','Cascading Style Sheets (CSS) are a great way to manage the look and feel of any web site. They are used extensively in WebGUI.\r\n

\r\n\r\n\r\nIf you are unfamiliar with how to use CSS, Plain Black provides training classes on XHTML and CSS. Alternatively, Bradsoft makes an excellent CSS editor called Top Style.\r\n

\r\n\r\n\r\nThe following is a list of classes used to control the default look of WebGUI. These of course can be overridden or replaced in the various templates that generate them.\r\n

\r\n\r\n\r\nA
\r\nThe links throughout the style.\r\n

\r\n\r\n\r\nBODY
\r\nThe default setup of all pages within a style.\r\n

\r\n\r\n\r\nH1
\r\nThe headers on every page.\r\n

\r\n\r\n\r\n.content
\r\nThe main content area on all pages of the style.\r\n

\r\n\r\n\r\n.formDescription
\r\nThe tags on all forms next to the form elements. \r\n

\r\n\r\n\r\n.formSubtext
\r\nThe tags below some form elements.\r\n

\r\n\r\n\r\n.highlight
\r\nDenotes a highlighted item, such as which message you are viewing within a list.\r\n

\r\n\r\n\r\n\r\n\r\n.pagination
\r\nThe Previous and Next links on pages with pagination.\r\n

\r\n\r\n\r\n\r\n\r\n.tableData
\r\nThe data rows on things like message boards and user contributions.\r\n

\r\n\r\n\r\n.tableHeader
\r\nThe headings of columns on things like message boards and user contributions.\r\n

\r\n\r\n\r\n\r\n\r\nNOTE: Some wobjects and macros have their own unique styles sheet classes, which are documented in their individual help files.\r\n

\r\n\r\n\r\n', 1070030223,NULL); delete from international where languageId=1 and namespace='WebGUI' and internationalId=846; @@ -471,29 +470,29 @@ INSERT INTO Navigation VALUES (12,'TopLevelMenuVertical',0,'self_and_sisters','t INSERT INTO Navigation VALUES (13,'TopLevelMenuHorizontal',0,'self_and_sisters','top',-1,3,0,0,0,0); INSERT INTO Navigation VALUES (14,'RootTab',99,'daughters','root',-1,5,0,0,0,0); INSERT INTO Navigation VALUES (15,'TopDropMenu',0,'self_and_sisters','top',-1,4,0,0,0,0); -INSERT INTO international VALUES (2,'Navigation',1,'root level (/home)',1077078325,'Option of \"Start traversing at\"'); +INSERT INTO international VALUES (2,'Navigation',1,'root level (/home)',1077078325,'Option of \"Base page\"'); INSERT INTO international VALUES (19,'Navigation',1,'Copy this Navigation.',1077080062,''); INSERT INTO international VALUES (13,'Navigation',1,'childless descendants',1077079109,'Option on question \"return a loop with\".'); INSERT INTO international VALUES (17,'Navigation',1,'pedigree',1077079481,'Option on question \"return a loop with\".'); INSERT INTO international VALUES (16,'Navigation',1,'self and ancestors',1077079343,'Option on question \"return a loop with\".'); INSERT INTO international VALUES (11,'Navigation',1,'descendants',1077078969,'Option on question \"return a loop with\"'); INSERT INTO international VALUES (18,'Navigation',1,'Edit this Navigation.',1077079911,''); -INSERT INTO international VALUES (3,'Navigation',1,'top level (/home/page)',1077078394,'Option of \"Start traversing at\"'); -INSERT INTO international VALUES (1,'Navigation',1,'nameless root',1077078206,'Option of \"Start traversing at\"'); +INSERT INTO international VALUES (3,'Navigation',1,'top level (/home/page)',1077078394,'Option of \"Base page\"'); +INSERT INTO international VALUES (1,'Navigation',1,'nameless root',1077078206,'Option of \"Base page\"'); INSERT INTO international VALUES (12,'Navigation',1,'self and descendants',1077079020,'Option on question \"return a loop with\"'); INSERT INTO international VALUES (14,'Navigation',1,'generation',1077079203,'Option on question \"return a loop with\".'); INSERT INTO international VALUES (15,'Navigation',1,'ancestors',1077079273,'Option on question \"return a loop with\".'); INSERT INTO international VALUES (35,'Navigation',1,'Please specify an identifier. ie: ^Navigation(myMenu);',1077081415,''); INSERT INTO international VALUES (8,'Navigation',1,'daughters',1077078773,'Option on question \"return a loop with\"'); -INSERT INTO international VALUES (4,'Navigation',1,'my grandmother\'s level (../../page)',1077078456,'Option of \"Start traversing at\"'); -INSERT INTO international VALUES (6,'Navigation',1,'my level (.)',1077078579,'Option of \"Start traversing at\"'); -INSERT INTO international VALUES (7,'Navigation',1,'my daughter\'s level (./page)',1077078687,'Option of \"Start traversing at\"'); +INSERT INTO international VALUES (4,'Navigation',1,'my grandmother\'s level (../../page)',1077078456,'Option of \"Base page\"'); +INSERT INTO international VALUES (6,'Navigation',1,'my level (.)',1077078579,'Option of \"Base page\"'); +INSERT INTO international VALUES (7,'Navigation',1,'my daughter\'s level (./page)',1077078687,'Option of \"Base page\"'); INSERT INTO international VALUES (10,'Navigation',1,'self and sisters',1077078879,'Option on question \"return a loop with\"'); -INSERT INTO international VALUES (5,'Navigation',1,'my mother\'s level (../page)',1077078526,'Option of \"Start traversing at\"'); +INSERT INTO international VALUES (5,'Navigation',1,'my mother\'s level (../page)',1077078526,'Option of \"Base page\"'); INSERT INTO international VALUES (34,'Navigation',1,'Manage Navigation',1077081304,''); INSERT INTO international VALUES (27,'Navigation',1,'Max depth',1077080669,''); INSERT INTO international VALUES (28,'Navigation',1,'Return a loop with',1077080706,''); -INSERT INTO international VALUES (25,'Navigation',1,'Start traversing at',1077080583,''); +INSERT INTO international VALUES (25,'Navigation',1,'Base page',1077080583,''); INSERT INTO international VALUES (26,'Navigation',1,'Stop traversing when reaching level',1077080617,''); INSERT INTO international VALUES (21,'Navigation',1,'List all Navigation.',1077080151,''); INSERT INTO international VALUES (22,'Navigation',1,'Edit Navigation',1077080241,''); @@ -660,9 +659,7 @@ INSERT INTO template VALUES (14,'Job Listing','\n

< INSERT INTO template VALUES (2,'Job','

\n\n\n

\nJob Description
\n\n

\n
\n\n\n

\nJob Requirements
\n\n

\n
\n\n\n\n \n \n\n\n \n \n\n\n \n \n\n\n \n \n\n
Date Posted
Location
Compensation
Views
\n\n

\n\n \">« Previous Job ·\n\n\">List All Jobs\n\n · \">Next Job »\n\n

\n\n\n\n

\n \">Edit\n ·\n \">\n

\n
\n\n\n

\nStatus: ||\n \">\n ·\n \">\n

\n
\n\n\n\n','USS/Submission'); INSERT INTO template VALUES (4,'Job Submission Form','

Edit Job Posting

\n\n\n\n \n \n \n \n \n \n \n \n \n \n
Job Title
Job Description
Job Requirements
Compensation
Location
\n\n','USS/SubmissionForm'); INSERT INTO international VALUES (1085,'WebGUI',1,'Navigation, Add/Edit',1078208044,NULL); -INSERT INTO international VALUES (1086,'WebGUI',1,'

Manage Navigation lets you add and edit what are essentially \'menu templates\' -- they define what pages\' Menu Names should be included in a menu based (sometimes) on where that menu appears.

\r\n

Identifier
This is the (unique) label you will later use to specify this Navigation definition in a ^Navigation(); macro.

\r\n

Start Traversing At  SHALL WE CALL THIS \"Base Page\" ?
This identifies the spot in the Page Tree where the macro should commence listing pages. The first three choices will create \'absolute\' menus -- ones which will display the same pages no matter which page you use the macro from.

\r\n

\r\n

The next four create \'relative\' menus -- ones in which the items which will be displayed depend on the location in the page tree of the page in which you use the macro.

\r\n

The last two I still don\'t understand. Len? :-)
[Leave blank] has no function but it\'s part of the \"combo box\".
Add new value-> gives the possibility to define your own start page in the second field. It can be any page in the tree. Just fill in it\'s urlizedtitle ( home , staff , about_us , whatever ) or the pageId.

\r\n

Return a Loop With
This determines which pages relative to the base page will be included in the menu which the macro creates.

\r\n\r\n

... and many other terms someone is going to have to explain to *me* before I can document them. :-)

\r\n

\r\n

Stop traversing when reaching level
This allows you to prune a menu -- in either direction (?) that\'s right -- when it reaches a specific level in the page tree. It\'s slightly different in effect than...

\r\n

Max Depth
...which allows you to prune a menu -- in either direction (?) that\'s right-- when it reaches a number of levels in the page tree. \'Stop Traversing\' is absolute; \'Max Depth\' is relative. Presumably, if you set both, whichever one takes effect first will be the active limit (that is, they\'re OR\'d together Very true again :) ).

\r\n

Show System Pages
Should the menus the macro creates include System pages? (What\'s a system page, Len? Trash, clipboard, :-)

\r\n

Show Hidden Pages
Should the menus the macro creates include pages which are marked as Hidden?

\r\n

Show Unpriviliged Pages
Should the menus the macro creates include pages which the currently logged-in user does not have the privilige to view?

\r\n

Template
This menu permits you to select a template which is used to style the output created by the macro -- if you need the same collection of pages in multiple formats, you\'ll need to create multiple Navigation entries with (slightly) different names; the Copy Navigation button is useful for this.

\r\n

Revert Output
I dunno what this does. Len? It draws the menu upside down :)

',1078216633,NULL); INSERT INTO international VALUES (1087,'WebGUI',1,'Navigation, Manage',1078208044,NULL); -INSERT INTO international VALUES (1088,'WebGUI',1,'TODO: Document the Manage navigation Interface ',1078208044,NULL); INSERT INTO international VALUES (1089,'WebGUI',1,'Navigation Template',1078207966,NULL); INSERT INTO international VALUES (1090,'WebGUI',1,'config.button 
A \"Edit / Manage\" button for this navigation item.
\r\n

page_loop
A loop containing page information.

\r\n
\r\n

page.menuTitle
The menu title of this page.

\r\n

page.title
The title of this page.

\r\n

page.urlizedTitle
The urlized title of this pagepage.url.

\r\n

page.url
The url of this page.

\r\n

page.pageId
The pageId of this page.

\r\n

page.parentId
The ParentId of this page.

\r\n

page.ownerId
The ownerId of this page.

\r\n

page.synopsis
The synopsis of this page.

\r\n

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

\r\n

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

\r\n

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

\r\n

page.isCurrent
A condition indicating whether this page is current page.

\r\n

page.isHidden
A condition indicating whether this page is a hidden page.
(Note: This variable is only visible if \"Show hidden pages\" is switched on.)

\r\n

page.isSystem
A condition indicating whether this page is a system page (Trash, Clipboard, etc).
(Note: This variable is only visible if \"Show system pages\" is switched on.)

\r\n

page.isViewable
A condition indicating whether the user has permission to view it.
(Note: This variable is only visible if \"Show unprivileged pages\" is switched on.)

\r\n

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

\r\n

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

\r\n
\r\n

indent
A number representing the loop count.

\r\n

page.isRoot
A condition indication whether this page is a root page.

\r\n

page.isTop
A condition indication whether this page is a top page (daughter of root).

\r\n

page.hasDaughter
A condition indication whether this page has a daughter. In other words: It evaluates to true if this page is a mother.

\r\n

page.isMyDaughter
A condition indication whether this page is a daughter of current page.

\r\n

page.isMyMother
A condition indication whether this page is the mother of current page.

\r\n

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

\r\n

page.mother.urlizedTitle
The urlized title of the mother of this page.

\r\n

page.mother.pageId
The pageId of the mother of this page.

\r\n

page.mother.parentId
The parentId of the mother of this page.

\r\n

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

\r\n

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

\r\n

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

\r\n

 

',1078207966,NULL); INSERT INTO help VALUES (79,'WebGUI',1085,1086,'58,WebGUI;81,WebGUI;80,WebGUI;34,WebGUI;'); @@ -671,18 +668,19 @@ INSERT INTO help VALUES (81,'WebGUI',1089,1090,'58,WebGUI;79,WebGUI;80,WebGUI;50 INSERT INTO template VALUES (8,'Synopsis','
\r\n\r\n
\r\n \">\r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
','Navigation'); INSERT INTO Navigation VALUES (18,'Synopsis',99,'self_and_descendants','current',-1,8,0,0,0,0); alter table forum add column groupToView int not null default 7; -INSERT INTO template VALUES (1,'Default WebGUI Login Template','

\n \n

\n\n\r\n \r\n\r\n\r\n\r\n\r\n\r\n\r\n \r\n \r\n\r\n\r\n \r\n \r\n\r\n\r\n \r\n \r\n\r\n
\r\n\r\n\r\n
\r\n \r\n
','Auth/WebGUI/Login',1,1); -INSERT INTO template VALUES (1,'Default WebGUI Account Display Template','

\n \n

\n\n\n\r\n \r\n\r\n\r\n\r\n\r\n\n\r\n\r\n \r\n \r\n\r\n\r\n\r\n \r\n \r\n\r\n\r\n \r\n \r\n\r\n\r\n \r\n \r\n\r\n\r\n \r\n \r\n\r\n
\r\n\r\n\r\n
\r\n
    \r\n \r\n
  • \r\n \r\n
\r\n
','Auth/WebGUI/Account',1,1); -INSERT INTO template VALUES (1,'Default WebGUI Anonymous Registration Template','

\r\n\n\r\n \r\n\r\n\r\n\r\n\r\n\r\n \r\n \r\n\r\n\r\n \r\n \r\n\r\n\r\n \r\n \r\n\r\n\r\n\r\n \r\n \r\n\r\n\r\n\r\n \r\n \r\n\r\n
\r\n\r\n\r\n
\r\n \r\n
','Auth/WebGUI/Create',1,1); -INSERT INTO template VALUES (1,'Default WebGUI Password Recovery Template','

\n \n

\n\r\n\r\n\r\n \r\n\r\n\r\n\r\n\r\n\r\n\r\n \r\n \r\n\r\n\r\n \r\n \r\n\r\n
\r\n\r\n\r\n\r\n
\r\n \r\n
','Auth/WebGUI/Recovery',1,1); -INSERT INTO template VALUES (1,'Default WebGUI Password Reset Template','

\n \n

\n\r\n\r\n \r\n\r\n\r\n\r\n\r\n\r\n\r\n \r\n \r\n\r\n\r\n \r\n \r\n\r\n\r\n \r\n \r\n\r\n\r\n \r\n \r\n\r\n
\r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n
\r\n \r\n
\r\n','Auth/WebGUI/Expired',1,1); -INSERT INTO template VALUES (1,'Default LDAP Login Template','

\n \n

\r\n\r\n \r\n\r\n\r\n\r\n\r\n\r\n\r\n \r\n \r\n\r\n\r\n \r\n \r\n\r\n\r\n \r\n \r\n\r\n
\r\n\r\n\r\n
\r\n
    \r\n \n
  • \">
  • \n
    \n\n
\r\n
','Auth/LDAP/Login',1,1); -INSERT INTO template VALUES (1,'Default LDAP Account Display Template','

\n \n

\n\n\r\n\r\n\r\n

\r\n\r\n\r\n \r\n \r\n\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n
    \r\n \r\n
  • \r\n \r\n
\r\n
','Auth/LDAP/Account',1,1); -INSERT INTO template VALUES (1,'Default LDAP Anonymous Registration Template','

\n \r\n

\n\r\n \r\n\r\n\r\n\r\n\r\n\r\n\r\n \r\n \r\n\r\n\r\n \r\n \r\n\r\n\r\n\r\n \r\n \r\n\r\n\r\n\r\n \r\n \r\n\r\n
\r\n\r\n\r\n\r\n
\r\n \r\n
','Auth/LDAP/Create',1,1); -INSERT INTO template VALUES (1,'Default SMB Login Template','

\n \n

\n\n\r\n\r\n \r\n\r\n\r\n\r\n\r\n\r\n\r\n \r\n \r\n\r\n\r\n \r\n \r\n\r\n\r\n \r\n \r\n\r\n
\r\n\r\n\r\n
\r\n
    \n \n
  • \">
  • \n
    \n
\r\n
','Auth/SMB/Login',1,1); -INSERT INTO template VALUES (1,'Default SMB Account Display Template','

\n \n

\n\n\r\n\r\n\r\n

\r\n\r\n\r\n \r\n \r\n\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
    \r\n \r\n
  • \r\n \r\n
\r\n
','Auth/SMB/Account',1,1); -INSERT INTO template VALUES (1,'Default SMB Anonymous Registration Template','

\n \r\n

\n\r\n \r\n\r\n\r\n\r\n\r\n\r\n\r\n \r\n \r\n\r\n\r\n \r\n \r\n\r\n\r\n\r\n \r\n \r\n\r\n\r\n\r\n \r\n \r\n\r\n
\r\n\r\n\r\n\r\n
\r\n \r\n
','Auth/SMB/Create',1,1); -INSERT INTO template VALUES (1,'Default WebGUI Yes/No Prompt','

\n\n

\n\n

\n\n
\n\n\">\n\n          \n\n\">\n\n
\n','prompt',1,1); - - +INSERT INTO template VALUES (1,'Default WebGUI Login Template','

\n \n

\n\n\r\n \r\n\r\n\r\n\r\n\r\n\r\n\r\n \r\n \r\n\r\n\r\n \r\n \r\n\r\n\r\n \r\n \r\n\r\n
\r\n\r\n\r\n
\r\n \r\n
','Auth/WebGUI/Login'); +INSERT INTO template VALUES (1,'Default WebGUI Account Display Template','

\n \n

\n\n\n\r\n \r\n\r\n\r\n\r\n\r\n\n\r\n\r\n \r\n \r\n\r\n\r\n\r\n \r\n \r\n\r\n\r\n \r\n \r\n\r\n\r\n \r\n \r\n\r\n\r\n \r\n \r\n\r\n
\r\n\r\n\r\n
\r\n
    \r\n \r\n
  • \r\n \r\n
\r\n
','Auth/WebGUI/Account'); +INSERT INTO template VALUES (1,'Default WebGUI Anonymous Registration Template','

\r\n\n\r\n \r\n\r\n\r\n\r\n\r\n\r\n \r\n \r\n\r\n\r\n \r\n \r\n\r\n\r\n \r\n \r\n\r\n\r\n\r\n \r\n \r\n\r\n\r\n\r\n \r\n \r\n\r\n
\r\n\r\n\r\n
\r\n \r\n
','Auth/WebGUI/Create'); +INSERT INTO template VALUES (1,'Default WebGUI Password Recovery Template','

\n \n

\n\r\n\r\n\r\n \r\n\r\n\r\n\r\n\r\n\r\n\r\n \r\n \r\n\r\n\r\n \r\n \r\n\r\n
\r\n\r\n\r\n\r\n
\r\n \r\n
','Auth/WebGUI/Recovery'); +INSERT INTO template VALUES (1,'Default WebGUI Password Reset Template','

\n \n

\n\r\n\r\n \r\n\r\n\r\n\r\n\r\n\r\n\r\n \r\n \r\n\r\n\r\n \r\n \r\n\r\n\r\n \r\n \r\n\r\n\r\n \r\n \r\n\r\n
\r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n
\r\n \r\n
\r\n','Auth/WebGUI/Expired'); +INSERT INTO template VALUES (1,'Default LDAP Login Template','

\n \n

\r\n\r\n \r\n\r\n\r\n\r\n\r\n\r\n\r\n \r\n \r\n\r\n\r\n \r\n \r\n\r\n\r\n \r\n \r\n\r\n
\r\n\r\n\r\n
\r\n
    \r\n \n
  • \">
  • \n
    \n\n
\r\n
','Auth/LDAP/Login'); +INSERT INTO template VALUES (1,'Default LDAP Account Display Template','

\n \n

\n\n\r\n\r\n\r\n

\r\n\r\n\r\n \r\n \r\n\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n
    \r\n \r\n
  • \r\n \r\n
\r\n
','Auth/LDAP/Account'); +INSERT INTO template VALUES (1,'Default LDAP Anonymous Registration Template','

\n \r\n

\n\r\n \r\n\r\n\r\n\r\n\r\n\r\n\r\n \r\n \r\n\r\n\r\n \r\n \r\n\r\n\r\n\r\n \r\n \r\n\r\n\r\n\r\n \r\n \r\n\r\n
\r\n\r\n\r\n\r\n
\r\n \r\n
','Auth/LDAP/Create'); +INSERT INTO template VALUES (1,'Default SMB Login Template','

\n \n

\n\n\r\n\r\n \r\n\r\n\r\n\r\n\r\n\r\n\r\n \r\n \r\n\r\n\r\n \r\n \r\n\r\n\r\n \r\n \r\n\r\n
\r\n\r\n\r\n
\r\n
    \n \n
  • \">
  • \n
    \n
\r\n
','Auth/SMB/Login'); +INSERT INTO template VALUES (1,'Default SMB Account Display Template','

\n \n

\n\n\r\n\r\n\r\n

\r\n\r\n\r\n \r\n \r\n\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
    \r\n \r\n
  • \r\n \r\n
\r\n
','Auth/SMB/Account'); +INSERT INTO template VALUES (1,'Default SMB Anonymous Registration Template','

\n \r\n

\n\r\n \r\n\r\n\r\n\r\n\r\n\r\n\r\n \r\n \r\n\r\n\r\n \r\n \r\n\r\n\r\n\r\n \r\n \r\n\r\n\r\n\r\n \r\n \r\n\r\n
\r\n\r\n\r\n\r\n
\r\n \r\n
','Auth/SMB/Create'); +INSERT INTO template VALUES (1,'Default WebGUI Yes/No Prompt','

\n\n

\n\n

\n\n
\n\n\">\n\n          \n\n\">\n\n
\n','prompt'); +INSERT INTO international VALUES (842,'WebGUI',1,'

These macros are used to create navigation on the site.

\r\n

^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\");. \r\n

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.

\r\n

^/; - System URL
The URL to the gateway script (example: /index.pl/). \r\n

^\\; - Page URL
The URL to the current page (example: /index.pl/pagename). \r\n

^Navigation(crumbTrail);
A dynamically generated crumb trail to the current page.\r\n

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

\r\n

^Navigation(FlexMenu);
This menu macro creates a top-level menu that expands as the user selects each menu item.

\r\n

^Navigation(currentMenuVertical);
A vertical menu containing the sub-pages at the current level. By default it tracks 1 level deep.

\r\n

^Navigation(currentMenuHorizontal);
A horizontal menu containing the sub-pages at the current level.

\r\n

^Navigation(PreviousDropMenu);
Create a drop down menu containing the sub-pages at the previous level in the page tree.

\r\n

^Navigation(previousMenuVertical);
A vertical menu containing the sub-pages at the previous level. By default it will show only the first level.

\r\n

^Navigation(previousMenuHorizontal);
A horizontal menu containing the sub-pages at the previous level.

\r\n

^Navigation(rootmenu);
Creates a horizontal menu of the various roots on your system (except for the WebGUI system roots).

\r\n

^Navigation(SpecificDropMenu);
Create a drop down menu starting at a specific point in your navigation tree. The default start page is \"home\".

\r\n

^Navigation(SpecificSubMenuVertical);
Allows you to get the submenu of any page, starting with the page you specified. The default start page is \"home\" and it will show the first level.

\r\n

^Navigation(SpecificSubMenuHorizontal);
Allows you to get the submenu of any page, starting with the page you specified. The default start page is \"home\" and it will show the first level.

\r\n

^Navigation(TopLevelMenuVertical);
A vertical menu containing the main pages of the site (aka the sub-pages from the home page). By default it will show only the first level.

\r\n

^Navigation(TopLevelMenuHorizontal);
A vertical menu containing the main pages of the site (aka the sub-pages from the home page).

\r\n

^Navigation(RootTab);
Create a tab navigation system from the roots on your site (except WebGUI\'s system roots) similar to the tabs used in the tab forms (editing wobjects or pages).

\r\n

NOTE: Has two special style sheet classes: .RootTabOn{} and .RootTabOff{}. \r\n

Example:
<style> .rootTabOn { line-height: 17px; font-size: 16px; spacing: 3px; border: 1px solid black; border-bottom-width: 0px; background-color: #333333; z-index: 10000; padding: 3px 9px 5px 9px; color: white; } .rootTabOn A, .rootTabOn A:visited { color: white; font-weight: bold; text-decoration: none; } .rootTabOff { line-height: 15px; font-size: 14px; border: 1px solid black; border-bottom-width: 0px; background-color: #c8c8c8; z-index: 1000; padding: 2px 9px 2px 9px; } .rootTabOff A, .rootTabOff A:visited { color: black; text-decoration: underline; } .rootTabOff A:hover { font-weight: bold; } </style> ^RootTab;

\r\n

^Navigation(TopDropMenu);
Create a drop down menu of your top level navigation.

\r\n

^Navigation(dtree);
Create a dynamic tree menu.

\r\n

^Navigation(coolmenu);
Create a DHTML driven menu.

\r\n

^Navigation(Synopsis);
This macro allows you to get the submenu of a page along with the synopsis of each link.

\r\n

NOTES: The .synopsis_sub, .synopsis_summary, and .synopsis_title style sheet classes are tied to this macro.

\r\n

It should be noted that many of these macros can also make use of these style sheet classes:

\r\n

.selectedMenuItem
Use this class to highlight the current page in any of the menu macros. \r\n

.verticalMenu
The vertical menu (if you use a vertical menu macro). \r\n

.horizontalMenu
The horizontal menu (if you use a horizontal menu macro).

',1078477366,NULL); +INSERT INTO international VALUES (1086,'WebGUI',1,'

Manage Navigation lets you add and edit what are essentially \'menu templates\' -- they define what pages\' Menu Names should be included in a menu based (sometimes) on where that menu appears.

\r\n

Identifier
This is the (unique) label you will later use to specify this Navigation definition in a ^Navigation(); macro.

\r\n

Base Page
This identifies the spot in the Page Tree where the macro should commence listing pages. The first three choices will create \'absolute\' menus -- ones which will display the same pages no matter which page you use the macro from.

\r\n

\r\n

The next four create \'relative\' menus -- ones in which the items which will be displayed depend on the location in the page tree of the page in which you use the macro.

\r\n

Use the \'Add new value\' option if you want to specify a custom starting page. You can refer to a starting page by its urlized title or its pageId.

\r\n

Return a Loop With
This determines which pages relative to the base page will be included in the menu which the macro creates.

\r\n
    \r\n
  • daughters - pages below the base page \r\n
  • sisters - pages at the same level as the base page, excluding the base page itself. \r\n
  • self and sisters - all pages at the same level as the base page. \r\n
  • descendants - all the descendants of base page (daughters, granddaughters, grand-granddaughters, etc) \r\n
  • self and descendants - base page and all of it\'s descendants. \r\n
  • childless descendants - The \"leaf nodes\" under base page. Also called \"terminal nodes\" -- i.e. pages that have no daughters. \r\n
  • generation - base page, it\'s sisters, it\'s cousins, grand cousins, grand-grand cousins, etc. Technically spoken: Pages that share the same depth as \"base page\". \r\n
  • ancestors - all base page ancestors, starting with it\'s mother, then grandmother, etc, up to the root page. \r\n
  • self and ancestors - same as ancestors but starting at base page. \r\n
  • pedigree - This is what we know as the \"FlexMenu\". Starting at base page, it returns its daughters, self and sisters, ancestors and the sisters of each ancestor.
\r\n

Stop traversing when reaching level
This allows you to prune a menu -- in either direction -- when it reaches a specific level in the page tree. It\'s slightly different in effect than...

\r\n

Max Depth
...which allows you to prune a menu -- in either direction -- when it reaches a number of levels in the page tree. \'Stop Traversing\' is absolute; \'Max Depth\' is relative. Presumably, if you set both, whichever one takes effect first will be the active limit (that is, they\'re OR\'d together).

\r\n

Show System Pages
Should the menus the macro creates include System pages?
System pages: Trash, clipboard, page not found, etc.

\r\n

Show Hidden Pages
Should the menus the macro creates include pages which are marked as Hidden?

\r\n

Show Unpriviliged Pages
Should the menus the macro creates include pages which the currently logged-in user does not have the privilige to view?

\r\n

Template
This menu permits you to select a template which is used to style the output created by the macro -- if you need the same collection of pages in multiple formats, you\'ll need to create multiple Navigation entries with (slightly) different names; the Copy Navigation button is useful for this.

\r\n

Revert Output
When this option is switched on, the menu will be in reverse order.

\r\n

Preview
The Preview button allows you to view a navigation setup without actually saving it.

',1078461049,NULL); +INSERT INTO international VALUES (1088,'WebGUI',1,'

The general idea behind the navigation system is that instead of
hardwiring all the various choices you might make into the code, the
system manages a \'library\' of these styles, just the way it does with
Snippets, Images, Templates, Page Styles, and other types of reusable
information.  You can create a new \'nav menu style\', give it a name,
and then use it anywhere on your site that you like.

\r\n

The navigation system consists of two parts:

\r\n
    \r\n
  1. The navigation editor
  2. \r\n
  3. The ^Navigation(); macro
\r\n

The easiest way to add a completely new menu to your site is to put a ^Navigation(myMenu); macro into your style.
A \"edit myMenu\" link will be displayed if \"myMenu\" is not defined.

\r\n

Note: In this example \"myMenu\" is used, but you can pick any name, as long as it is unique.

',1078462928,NULL);