From a6c161cc33ef51859397d99b6ed7a01b326b7619 Mon Sep 17 00:00:00 2001 From: JT Smith Date: Tue, 3 Dec 2002 04:39:39 +0000 Subject: [PATCH] Updated help for the 5.0 release. --- docs/upgrades/upgrade_4.8.0-4.9.0.sql | 420 +++++++++++++++++++++++++- lib/WebGUI.pm | 27 +- lib/WebGUI/Form.pm | 7 +- lib/WebGUI/Macro/AdminBar.pm | 5 +- lib/WebGUI/Operation/Page.pm | 66 +++- lib/WebGUI/Operation/Template.pm | 4 +- lib/WebGUI/Page.pm | 74 +++++ lib/WebGUI/Style.pm | 2 +- lib/WebGUI/Template.pm | 104 +------ lib/WebGUI/Wobject.pm | 5 +- lib/WebGUI/Wobject/EventsCalendar.pm | 4 +- lib/WebGUI/Wobject/ExtraColumn.pm | 5 +- lib/WebGUI/Wobject/WobjectProxy.pm | 5 +- sbin/preload.perl | 1 + 14 files changed, 587 insertions(+), 142 deletions(-) create mode 100644 lib/WebGUI/Page.pm diff --git a/docs/upgrades/upgrade_4.8.0-4.9.0.sql b/docs/upgrades/upgrade_4.8.0-4.9.0.sql index 60412064a..2993fa372 100644 --- a/docs/upgrades/upgrade_4.8.0-4.9.0.sql +++ b/docs/upgrades/upgrade_4.8.0-4.9.0.sql @@ -999,8 +999,424 @@ insert into international (internationalId,languageId,namespace,message,lastUpda insert into international (internationalId,languageId,namespace,message,lastUpdated) values (78,1,'Survey','Total Time', 1038782125); insert into international (internationalId,languageId,namespace,message,lastUpdated) values (77,1,'Survey','End Time', 1038782119); insert into international (internationalId,languageId,namespace,message,lastUpdated) values (76,1,'Survey','Start Time', 1038782111); - - +delete from template where namespace='Page' and templateId<8; +INSERT INTO template VALUES (5,'Left Column','\r\n\r\n \r\n \r\n\r\n
','Page'); +INSERT INTO template VALUES (4,'Three Over One','\r\n\r\n \r\n \r\n \r\n\r\n\r\n \r\n\r\n
','Page'); +INSERT INTO template VALUES (3,'One Over Three','\r\n\r\n \r\n\r\n\r\n \r\n \r\n \r\n\r\n
','Page'); +INSERT INTO template VALUES (1,'Default Page','\r\n\r\n\r\n\r\n
\r\n','Page'); +INSERT INTO template VALUES (2,'News','\r\n\r\n \r\n\r\n \r\n \r\n\r\n\r\n \r\n\r\n
\r\n','Page'); +INSERT INTO template VALUES (6,'Right Column','\r\n\r\n \r\n \r\n\r\n
\r\n','Page'); +INSERT INTO template VALUES (7,'Side By Side','\r\n\r\n \r\n \r\n\r\n
\r\n','Page'); +delete from help where helpId=20 and namespace='WebGUI'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (20, 'WebGUI', 670, 625, '49,WebGUI;'); +delete from help where helpId=1 and namespace='FileManager'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (1, 'FileManager', 61, 71, '3,FileManager;2,FileManager;21,WebGUI;'); +delete from help where helpId=28 and namespace='WebGUI'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (28, 'WebGUI', 678, 633, '1,WebGUI;3,WebGUI;'); +delete from help where helpId=31 and namespace='WebGUI'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (31, 'WebGUI', 681, 636, '30,WebGUI;1,WebGUI;3,WebGUI;'); +delete from help where helpId=30 and namespace='WebGUI'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (30, 'WebGUI', 680, 635, '31,WebGUI;'); +delete from help where helpId=25 and namespace='WebGUI'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (25, 'WebGUI', 675, 630, '60,WebGUI;'); +delete from help where helpId=1 and namespace='Item'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (1, 'Item', 61, 71, '2,Item;21,WebGUI;'); +delete from help where helpId=6 and namespace='WebGUI'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (6, 'WebGUI', 656, 611, '12,WebGUI;'); +delete from help where helpId=46 and namespace='WebGUI'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (46, 'WebGUI', 696, 651, NULL); +delete from help where helpId=22 and namespace='WebGUI'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (22, 'WebGUI', 672, 627, '12,WebGUI;'); +delete from help where helpId=1 and namespace='USS'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (1, 'USS', 61, 71, '3,USS;2,USS;21,WebGUI;'); +delete from help where helpId=24 and namespace='WebGUI'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (24, 'WebGUI', 674, 629, '12,WebGUI;'); +delete from help where helpId=1 and namespace='FAQ'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (1, 'FAQ', 61, 71, '3,FAQ;2,FAQ;21,WebGUI;'); +delete from help where helpId=13 and namespace='WebGUI'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (13, 'WebGUI', 663, 618, '12,WebGUI;'); +delete from help where helpId=1 and namespace='SyndicatedContent'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (1, 'SyndicatedContent', 61, 71, '21,WebGUI;'); +delete from help where helpId=1 and namespace='EventsCalendar'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (1, 'EventsCalendar', 61, 71, '2,EventsCalendar;3,EventsCalendar;21,WebGUI;'); +delete from help where helpId=1 and namespace='MessageBoard'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (1, 'MessageBoard', 61, 71, '2,MessageBoard;21,WebGUI;'); +delete from help where helpId=1 and namespace='LinkList'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (1, 'LinkList', 61, 71, '3,LinkList;2,LinkList;21,WebGUI;'); +delete from help where helpId=21 and namespace='WebGUI'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (21, 'WebGUI', 671, 626, '1,Article;1,FileManager;1,EventsCalendar;1,ExtraColumn;1,FAQ;1,Item;1,LinkList;19,WebGUI;1,MailForm;1,MessageBoard;1,Poll;1,Product;1,SiteMap;1,SQLReport;18,WebGUI;1,SyndicatedContent;1,USS;1,WobjectProxy;27,WebGUI;14,WebGUI;'); +delete from help where helpId=1 and namespace='Article'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (1, 'Article', 61, 71, '21,WebGUI;'); +delete from help where helpId=1 and namespace='ExtraColumn'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (1, 'ExtraColumn', 61, 71, '21,WebGUI;'); +delete from help where helpId=27 and namespace='WebGUI'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (27, 'WebGUI', 677, 632, '21,WebGUI;'); +delete from help where helpId=1 and namespace='Poll'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (1, 'Poll', 61, 71, '21,WebGUI;'); +delete from help where helpId=1 and namespace='SiteMap'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (1, 'SiteMap', 61, 71, '2,SiteMap;21,WebGUI;'); +delete from help where helpId=1 and namespace='SQLReport'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (1, 'SQLReport', 61, 71, '21,WebGUI;'); +delete from help where helpId=18 and namespace='WebGUI'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (18, 'WebGUI', 668, 623, NULL); +delete from help where helpId=17 and namespace='WebGUI'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (17, 'WebGUI', 667, 622, '10,WebGUI;'); +delete from help where helpId=2 and namespace='WebGUI'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (2, 'WebGUI', 652, 607, '12,WebGUI;'); +delete from help where helpId=15 and namespace='WebGUI'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (15, 'WebGUI', 665, 620, '10,WebGUI;'); +delete from help where helpId=16 and namespace='WebGUI'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (16, 'WebGUI', 666, 621, '60,WebGUI;9,WebGUI;'); +delete from help where helpId=14 and namespace='WebGUI'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (14, 'WebGUI', 664, 619, '21,WebGUI;'); +delete from help where helpId=12 and namespace='WebGUI'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (12, 'WebGUI', 662, 617, '6,WebGUI;29,WebGUI;13,WebGUI;24,WebGUI;22,WebGUI;2,WebGUI;'); +delete from help where helpId=10 and namespace='WebGUI'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (10, 'WebGUI', 660, 615, '17,WebGUI;15,WebGUI;8,WebGUI;'); +delete from help where helpId=8 and namespace='WebGUI'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (8, 'WebGUI', 658, 613, '10,WebGUI;32,WebGUI;5,WebGUI;7,WebGUI;'); +delete from help where helpId=9 and namespace='WebGUI'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (9, 'WebGUI', 659, 614, '19,WebGUI;18,WebGUI;16,WebGUI;4,WebGUI;'); +delete from help where helpId=7 and namespace='WebGUI'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (7, 'WebGUI', 657, 612, '8,WebGUI;'); +delete from help where helpId=32 and namespace='WebGUI'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (32, 'WebGUI', 682, 637, '8,WebGUI;'); +delete from help where helpId=5 and namespace='WebGUI'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (5, 'WebGUI', 655, 610, '8,WebGUI;'); +delete from help where helpId=3 and namespace='WebGUI'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (3, 'WebGUI', 653, 608, '1,WebGUI;'); +delete from help where helpId=4 and namespace='WebGUI'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (4, 'WebGUI', 654, 609, '9,WebGUI;'); +delete from help where helpId=1 and namespace='WebGUI'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (1, 'WebGUI', 642, 606, '52,WebGUI;3,WebGUI;'); +delete from help where helpId=29 and namespace='WebGUI'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (29, 'WebGUI', 679, 634, '12,WebGUI;'); +delete from help where helpId=33 and namespace='WebGUI'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (33, 'WebGUI', 683, 638, '34,WebGUI;35,WebGUI;50,WebGUI;'); +delete from help where helpId=34 and namespace='WebGUI'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (34, 'WebGUI', 684, 639, '33,WebGUI;'); +delete from help where helpId=35 and namespace='WebGUI'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (35, 'WebGUI', 685, 640, '33,WebGUI;'); +delete from help where helpId=19 and namespace='WebGUI'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (19, 'WebGUI', 669, 624, '53,WebGUI;58,WebGUI;57,WebGUI;60,WebGUI;59,WebGUI;'); +delete from help where helpId=1 and namespace='MailForm'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (1, 'MailForm', 61, 71, '21,WebGUI;'); +delete from help where helpId=2 and namespace='MailForm'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (2, 'MailForm', 62, 72, '1,MailForm;'); +delete from help where helpId=2 and namespace='FileManager'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (2, 'FileManager', 72, 73, '1,FileManager;'); +delete from help where helpId=2 and namespace='EventsCalendar'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (2, 'EventsCalendar', 72, 73, '4,EventsCalendar;1,EventsCalendar;'); +delete from help where helpId=2 and namespace='FAQ'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (2, 'FAQ', 72, 73, '1,FAQ;'); +delete from help where helpId=2 and namespace='LinkList'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (2, 'LinkList', 72, 73, '1,LinkList;'); +delete from help where helpId=47 and namespace='WebGUI'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (47, 'WebGUI', 697, 698, '1,Article;17,WebGUI;1,MessageBoard;1,Poll;2,WebGUI;1,USS;'); +delete from help where helpId=1 and namespace='WobjectProxy'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (1, 'WobjectProxy', 5, 6, '21,WebGUI;'); +delete from help where helpId=1 and namespace='Product'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (1, 'Product', 38, 39, '5,Product;4,Product;6,Product;2,Product;3,Product;7,Product;21,WebGUI;'); +delete from help where helpId=2 and namespace='Product'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (2, 'Product', 40, 41, '6,Product;1,Product;'); +delete from help where helpId=3 and namespace='Product'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (3, 'Product', 42, 43, '1,Product;'); +delete from help where helpId=4 and namespace='Product'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (4, 'Product', 44, 45, '1,Product;'); +delete from help where helpId=5 and namespace='Product'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (5, 'Product', 46, 47, '1,Product;'); +delete from help where helpId=48 and namespace='WebGUI'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (48, 'WebGUI', 708, 709, '12,WebGUI;'); +delete from help where helpId=6 and namespace='Product'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (6, 'Product', 49, 50, '2,Product;1,Product;'); +delete from help where helpId=7 and namespace='Product'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (7, 'Product', 62, 63, '1,Product;51,WebGUI;'); +delete from help where helpId=1 and namespace='Survey'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (1, 'Survey', 3, 4, '21,WebGUI;'); +delete from help where helpId=49 and namespace='WebGUI'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (49, 'WebGUI', 785, 786, '53,WebGUI;54,WebGUI;56,WebGUI;20,WebGUI;55,WebGUI;'); +delete from help where helpId=50 and namespace='WebGUI'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (50, 'WebGUI', 825, 826, '33,WebGUI;'); +delete from help where helpId=2 and namespace='Article'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (2, 'Article', 72, 73, '1,Article;51,WebGUI;'); +delete from help where helpId=51 and namespace='WebGUI'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (51, 'WebGUI', 827, 828, '33,WebGUI;'); +delete from help where helpId=3 and namespace='EventsCalendar'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (3, 'EventsCalendar', 94, 95, '1,EventsCalendar;51,WebGUI;'); +delete from help where helpId=3 and namespace='FAQ'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (3, 'FAQ', 76, 77, '1,FAQ;51,WebGUI;'); +delete from help where helpId=3 and namespace='FileManager'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (3, 'FileManager', 75, 76, '1,FileManager;51,WebGUI;'); +delete from help where helpId=4 and namespace='EventsCalendar'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (4, 'EventsCalendar', 96, 97, '2,EventsCalendar;51,WebGUI;'); +delete from help where helpId=2 and namespace='Item'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (2, 'Item', 73, 74, '1,Item;51,WebGUI;'); +delete from help where helpId=3 and namespace='LinkList'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (3, 'LinkList', 75, 76, '1,LinkList;51,WebGUI;'); +delete from help where helpId=2 and namespace='MessageBoard'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (2, 'MessageBoard', 73, 74, '1,MessageBoard;51,WebGUI;'); +delete from help where helpId=2 and namespace='SiteMap'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (2, 'SiteMap', 72, 73, '1,SiteMap;51,WebGUI;'); +delete from help where helpId=2 and namespace='USS'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (2, 'USS', 74, 75, '1,USS;51,WebGUI;'); +delete from help where helpId=3 and namespace='USS'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (3, 'USS', 76, 77, '1,USS;51,WebGUI;'); +delete from help where helpId=52 and namespace='WebGUI'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (52, 'WebGUI', 829, 830, '1,WebGUI;33,WebGUI;'); +delete from help where helpId=53 and namespace='WebGUI'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (53, 'WebGUI', 831, 832, '49,WebGUI;19,WebGUI;'); +delete from help where helpId=54 and namespace='WebGUI'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (54, 'WebGUI', 833, 834, '49,WebGUI;'); +delete from help where helpId=55 and namespace='WebGUI'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (55, 'WebGUI', 835, 836, '49,WebGUI;'); +delete from help where helpId=56 and namespace='WebGUI'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (56, 'WebGUI', 837, 838, '49,WebGUI;'); +delete from help where helpId=57 and namespace='WebGUI'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (57, 'WebGUI', 839, 840, '19,WebGUI;'); +delete from help where helpId=58 and namespace='WebGUI'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (58, 'WebGUI', 841, 842, '19,WebGUI;'); +delete from help where helpId=59 and namespace='WebGUI'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (59, 'WebGUI', 843, 844, '19,WebGUI;'); +delete from help where helpId=60 and namespace='WebGUI'; +insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (60, 'WebGUI', 845, 846, '19,WebGUI;16,WebGUI;'); +delete from international where languageId=1 and namespace='USS' and internationalId=61; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (61,1,'USS','User Submission System, Add/Edit', 1038890802); +delete from international where languageId=1 and namespace='USS' and internationalId=71; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (71,1,'USS','User Submission Systems are a great way to add a sense of community to any site as well as get free content from your users.\r\n

\r\n\r\nMain Template
\r\nChoose a layout for this USS.\r\n

\r\n\r\n\r\nSubmission Template
\r\nChoose a layout for the individual submissions.\r\n

\r\n\r\nWho can approve?
\r\nWhat group is allowed to approve and deny content?\r\n

\r\n\r\nWho can contribute?
\r\nWhat group is allowed to contribute content?\r\n

\r\n\r\nSubmissions Per Page
\r\nHow many submissions should be listed per page in the submissions index?\r\n

\r\n\r\nDefault Status
\r\nShould submissions be set to Approved, Pending, or Denied by default?\r\n

\r\nNote: If you set the default status to Pending, then be prepared to monitor your message log for new submissions.\r\n

\r\n\r\nKarma Per Submission
\r\nHow much karma should be given to a user when they contribute to this user submission system?\r\n

\r\n\r\n\r\nDisplay thumbnails?
\r\nIf there is an image present in the submission, the thumbnail will be displayed in the Layout (see above).\r\n

\r\n\r\nAllow discussion?
\r\nDo you wish to attach a discussion to this user submission system? If you do, users will be able to comment on each submission.\r\n

\r\n\r\nWho can post?
\r\nSelect the group that is allowed to post to this discussion.\r\n

\r\n\r\nEdit Timeout
\r\nHow long should a user be able to edit their post before editing is locked to them?\r\n

\r\nNote: Don\'t set this limit too high. One of the great things about discussions is that they are an accurate record of who said what. If you allow editing for a long time, then a user has a chance to go back and change his/her mind a long time after the original statement was made.\r\n

\r\n\r\nKarma Per Post
\r\nHow much karma should be given to a user when they post to this discussion?\r\n

\r\n\r\nWho can moderate?
\r\nSelect the group that is allowed to moderate this discussion.\r\n

\r\n\r\nModeration Type?
\r\nYou can select what type of moderation you\'d like for your users. After-the-fact means that when a user posts a message it is displayed publically right away. Pre-emptive means that a moderator must preview and approve users posts before allowing them to be publically visible. Alerts for new posts will automatically show up in the moderator\'s WebGUI Inbox.\r\n

\r\nNote: In both types of moderation the moderator can always edit or delete the messages posted by your users.\r\n

\r\n', 1038890802); +delete from international where languageId=1 and namespace='WebGUI' and internationalId=639; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (639,1,'WebGUI','Template Name
\r\nGive this template a descriptive name so that you\'ll know what it is when you\'re applying a template to content.\r\n

\r\n\r\nNamespace
\r\nWhat type of template is this?\r\n

\r\n\r\nTemplate
\r\nCreate your template by using template commands and variables, macros, and HTML.\r\n

\r\n\r\nNOTE: You should never edit the default templates that come with WebGUI as they are subject to change with each new release. Instead, copy the template you wish to edit, and edit the copy.', 1038890615); +delete from international where languageId=1 and namespace='WebGUI' and internationalId=684; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (684,1,'WebGUI','Template, Add/Edit', 1038890615); +delete from international where languageId=1 and namespace='Survey' and internationalId=3; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (3,1,'Survey','Survey, Add/Edit', 1038890559); +delete from international where languageId=1 and namespace='Survey' and internationalId=4; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (4,1,'Survey','Surveys allow you to gather information from your users. In the case of WebGUI surveys, you can also use them to test your user\'s knowledge.\r\n

\r\n\r\nQuestion Order
\r\nThe order the questions will be asked. Sequential displays the questions in the order you create them. Random displays the questions randomly. Response driven displays the questions in order based on the responses of the users.\r\n

\r\n\r\nMode
\r\nBy default the Survey is in survey mode. This allows it to ask questions of your users. However, if you switch to Quiz mode, you can have a self-correcting test of your user\'s knowledge.\r\n

\r\n\r\n\r\nWho can take the survey?
\r\nWhich users can participate in the survey?\r\n

\r\n\r\n\r\nWho can view reports?
\r\nWho can view the results of the survey?\r\n

\r\n\r\n\r\nWhat next?
\r\nIf you leave this set at its default, then you will add a question directly after adding the survey.\r\n

\r\n', 1038890559); +delete from international where languageId=1 and namespace='WebGUI' and internationalId=621; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (621,1,'WebGUI','Styles are WebGUI macro enabled. See Using Macros for more information.\r\n

\r\n\r\n\r\nStyle Name
\r\nA unique name to describe what this style looks like at a glance. The name has no effect on the actual look of the style.\r\n

\r\n\r\n\r\nBody
\r\nThe body is quite literally the HTML body of your site. It defines how the page navigation will be laid out and many other things like logo, copyright, etc. At bare minimum a body must consist of a few things, the ^AdminBar; macro and the ^-; (seperator) macro. The ^AdminBar; macro tells WebGUI where to display admin functions. The ^-; (splitter) macro tells WebGUI where to put the content of your page.\r\n

\r\n\r\n\r\nIf you are in need of assistance for creating a look for your site, or if you need help cutting apart your design, Plain Black Software provides support services for a small fee.\r\n

\r\n\r\n\r\nMany people will add WebGUI macros to their body for automated navigation, and other features.\r\n

\r\n\r\n\r\nStyle Sheet
\r\nPlace your style sheet entries here. Style sheets are used to control colors, sizes, and other properties of the elements on your site. See Using Style Sheets for more information.\r\n

\r\n\r\n\r\nAdvanced Users: for greater performance create your stylesheet on the file system (call it something like webgui.css) and add an entry like this to this area: \r\n\r\n

\r\n\r\n', 1038890195); +delete from international where languageId=1 and namespace='WebGUI' and internationalId=666; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (666,1,'WebGUI','Style, Add/Edit', 1038890195); +delete from international where languageId=1 and namespace='SiteMap' and internationalId=61; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (61,1,'SiteMap','Site Map, Add/Edit', 1038890147); +delete from international where languageId=1 and namespace='SiteMap' and internationalId=71; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (71,1,'SiteMap','Site maps are used to provide additional navigation in WebGUI. You could set up a traditional site map that would display a hierarchical view of all the pages in the site. On the other hand, you could use site maps to provide extra navigation at certain levels in your site.\r\n

\r\n\r\nTemplate
\r\nChoose a layout for this site map.\r\n

\r\n\r\nStarting from this level?
\r\nIf the Site Map should display the page tree starting from this level, then check this box. If you wish the Site Map to start from the home page then uncheck it.\r\n

\r\n\r\nDepth To Traverse
\r\nHow many levels deep of navigation should the Site Map show? If 0 (zero) is specified, it will show as many levels as there are.\r\n

\r\n\r\nIndent\r\nHow many characters should indent each level?\r\n

\r\n\r\n', 1038890147); +delete from international where languageId=1 and namespace='FAQ' and internationalId=72; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (72,1,'FAQ','Question, Add/Edit', 1038890062); +delete from international where languageId=1 and namespace='FAQ' and internationalId=73; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (73,1,'FAQ','Question
\r\nAdd the question you\'d like to appear on the FAQ.\r\n

\r\n\r\n\r\nAnswer
\r\nAdd the answer for the question you entered above.\r\n

\r\n\r\n\r\nWhat next?
\r\nIf you wish to add another question then leave this set to the default.\r\n\r\n

\r\n\r\n', 1038890062); +delete from international where languageId=1 and namespace='WebGUI' and internationalId=839; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (839,1,'WebGUI','Programmer Macros', 1038889992); +delete from international where languageId=1 and namespace='WebGUI' and internationalId=840; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (840,1,'WebGUI','These macros are designed to provide programming like functionality.\r\n

\r\n\r\n^D; or ^D(); - Date
\r\nThe current date and time.\r\n

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

\r\n\r\n
%%%
%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
\r\n

\r\n\r\n^Env()
\r\nCan 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\r\n

\r\n\r\nThe macro should be specified like this ^Env("REMOTE_ADDR");\r\n

\r\n\r\n^Execute();
\r\nAllows a content manager or administrator to execute an external program. Takes the format of ^Execute("/this/file.sh");.\r\n

\r\n\r\n\r\n^FormParam();
\r\nThis 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 specifing the name of the form field, like this: ^FormParam("phoneNumber");\r\n

\r\n\r\n^Include();
\r\nAllows a content manager or administrator to include a file from the local filesystem. \r\n

\r\nExample: ^Include("/this/file.html");\r\n

\r\n\r\n^International();
\r\nPull a translated message from the internationalization system.\r\n

\r\nExample: ^International(45,"Article");\r\n

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

\r\n^SQL();
\r\nA 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:

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

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

\r\n^URLEncode();
\r\nThis 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?");\r\n

\r\n\r\n\r\n^User();
\r\nThis 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");\r\n

\r\n\r\n^*; or ^*(); - Random Number
\r\nA 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.\r\n

\r\n\r\n^-;,^0;,^1;,^2;,^3;, etc.
\r\nThese macros are reserved for system/wobject-specific functions as in the SQL Report wobject and the Body in the Style Manager.\r\n

\r\n', 1038889992); +delete from international where languageId=1 and namespace='Product' and internationalId=38; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (38,1,'Product','Product, Add/Edit', 1038889846); +delete from international where languageId=1 and namespace='Product' and internationalId=39; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (39,1,'Product','WebGUI has a product management system built in to enable you to publish your products and services to your site quickly and easily.\r\n

\r\n\r\nTemplate
\r\nSelect a layout for this product.\r\n

\r\n\r\nPrice
\r\nThe price of this product. You may optionally enter text like "call for pricing" if you wish, or you may leave it blank.\r\n

\r\n\r\nProduct Number
\r\nThe product number, SKU, ISBN, or other identifier for this product.\r\n

\r\n\r\nProduct Image 1
\r\nAn image of this product.\r\n

\r\n\r\nProduct Image 2
\r\nAn image of this product.\r\n

\r\n\r\nProduct Image 3
\r\nAn image of this product.\r\n

\r\n\r\nBrochure
\r\nThe brochure for this product.\r\n

\r\n\r\nManual
\r\nThe product, user, or service manual for this product.\r\n

\r\n\r\nWarranty
\r\nThe warranty for this product.\r\n

\r\n', 1038889846); +delete from international where languageId=1 and namespace='WebGUI' and internationalId=709; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (709,1,'WebGUI','\r\nStyle Managers Group
\r\nSelect the group that should have control over adding, editing, and deleting styles.\r\n

\r\n\r\nTemplate Managers Group
\r\nSelect the group that should have control over adding, editing, and deleting templates.\r\n

\r\n', 1038889779); +delete from international where languageId=1 and namespace='WebGUI' and internationalId=708; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (708,1,'WebGUI','Privilege Settings, Manage', 1038889779); +delete from international where languageId=1 and namespace='WebGUI' and internationalId=642; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (642,1,'WebGUI','Page, Add/Edit', 1038889740); +delete from international where languageId=1 and namespace='WebGUI' and internationalId=606; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (606,1,'WebGUI','Think of pages as containers for content. For instance, if you want to write a letter to the editor of your favorite magazine you\'d get out a notepad (or open a word processor) and start filling it with your thoughts. The same is true with WebGUI. Create a page, then add your content to the page.\r\n

\r\n\r\nTitle
\r\nThe title of the page is what your users will use to navigate through the site. Titles should be descriptive, but not very long.\r\n

\r\n\r\n\r\nMenu Title
\r\nA shorter or altered title to appear in navigation. If left blank this will default to Title.\r\n

\r\n\r\nPage URL
\r\nWhen you create a page a URL for the page is generated based on the page title. If you are unhappy with the URL that was chosen, you can change it here.\r\n

\r\n\r\nLanguage
\r\nChoose the default language for this page. All WebGUI generated messages will appear in that language and the character set will be changed to the character set for that language.\r\n

\r\n\r\nRedirect URL
\r\nWhen this page is visited, the user will be redirected to the URL specified here. In order to edit this page in the future, you\'ll have to access it from the "Manage page tree." menu under "Administrative functions..."\r\n

\r\n\r\nTemplate
\r\nBy default, WebGUI has one big content area to place wobjects. However, by specifying a template other than the default you can sub-divide the content area into several sections.\r\n

\r\n\r\nSynopsis
\r\nA short description of a page. It is used to populate default descriptive meta tags as well as to provide descriptions on Site Maps.\r\n

\r\n\r\nMeta Tags
\r\nMeta tags are used by some search engines to associate key words to a particular page. There is a great site called Meta Tag Builder that will help you build meta tags if you\'ve never done it before.\r\n

\r\n\r\nAdvanced Users: If you have other things (like JavaScript) you usually put in the area of your pages, you may put them here as well.\r\n

\r\n\r\nUse default meta tags?
\r\nIf you don\'t wish to specify meta tags yourself, WebGUI can generate meta tags based on the page title and your company\'s name. Check this box to enable the WebGUI-generated meta tags.\r\n

\r\n\r\n\r\nStyle
\r\nBy default, when you create a page, it inherits a few traits from its parent. One of those traits is style. Choose from the list of styles if you would like to change the appearance of this page. See Add Style for more details.\r\n

\r\n\r\nIf you select "Yes" below the style pull-down menu, all of the pages below this page will take on the style you\'ve chosen for this page.\r\n

\r\n\r\nStart Date
\r\nThe date when users may begin viewing this page. Note that before this date only content managers with the rights to edit this page will see it.\r\n

\r\n\r\nEnd Date
\r\nThe date when users will stop viewing this page. Note that after this date only content managers with the rights to edit this page will see it.\r\n

\r\n\r\n\r\nOwner
\r\nThe owner of a page is usually the person who created the page.\r\n

\r\n\r\nOwner can view?
\r\nCan the owner view the page or not?\r\n

\r\n\r\nOwner can edit?
\r\nCan the owner edit the page or not? Be careful, if you decide that the owner cannot edit the page and you do not belong to the page group, then you\'ll lose the ability to edit this page.\r\n

\r\n\r\nGroup
\r\nA group is assigned to every page for additional privilege control. Pick a group from the pull-down menu.\r\n

\r\n\r\nGroup can view?
\r\nCan members of this group view this page?\r\n

\r\n\r\nGroup can edit?
\r\nCan members of this group edit this page?\r\n

\r\n\r\nAnybody can view?
\r\nCan any visitor or member regardless of the group and owner view this page?\r\n

\r\n\r\nAnybody can edit?
\r\nCan any visitor or member regardless of the group and owner edit this page?\r\n

\r\n\r\nYou can optionally recursively give these privileges to all pages under this page.\r\n

\r\n\r\nWhat next?
\r\nIf you leave this on the default setting you\'ll be redirected to the new page after creating it.\r\n

', 1038889740); +delete from international where languageId=1 and namespace='WebGUI' and internationalId=636; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (636,1,'WebGUI','To create a package follow these simple steps:\r\n\r\n

    \r\n
  1. From the admin menu select "Manage packages."\r\n
  2. \r\n\r\n
  3. Add a page and give it a name. The name of the page will be the name of the package.\r\n
  4. \r\n\r\n
  5. Go to the new page you created and start adding pages and wobjects. Any pages or wobjects you add will be created each time this package is deployed. \r\n
  6. \r\n
\r\n\r\nNotes:
\r\nIn order to add, edit, or delete packages you must be in the Package Mangers group or in the Admins group.\r\n

\r\n\r\nIf you add content to any of the wobjects, that content will automatically be copied when the package is deployed.\r\n

\r\n\r\nPrivileges and styles assigned to pages in the package will not be copied when the package is deployed. Instead the pages will take the privileges and styles of the area to which they are deployed.\r\n

\r\n', 1038889481); +delete from international where languageId=1 and namespace='WebGUI' and internationalId=681; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (681,1,'WebGUI','Packages, Creating', 1038889481); +delete from international where languageId=1 and namespace='WebGUI' and internationalId=635; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (635,1,'WebGUI','Packages are groups of pages and wobjects that are predefined to be deployed together. A package manager may see the need to create a package several pages with a message board, an FAQ, and a Poll because that task is performed quite often. Packages are often defined to lessen the burden of repetitive tasks.\r\n

\r\nOne package that many people create is a Page/Article package. It is often the case that you want to add a page with an article on it for content. Instead of going through the steps of creating a page, going to the page, and then adding an article to the page, you may wish to simply create a package to do those steps all at once.', 1038889471); +delete from international where languageId=1 and namespace='WebGUI' and internationalId=680; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (680,1,'WebGUI','Package, Add', 1038889471); +delete from international where languageId=1 and namespace='WebGUI' and internationalId=629; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (629,1,'WebGUI','Prevent Proxy Caching
\r\nSome companies have proxy servers that cause problems with WebGUI. If you\'re experiencing problems with WebGUI, and you have a proxy server, you may want to set this setting to Yes. Beware that WebGUI\'s URLs will not be as user-friendly after this feature is turned on.\r\n

\r\n\r\nShow debugging?
\r\nShow debugging information in WebGUI\'s output. This is primarily useful for WebGUI developers, but can also be interesting for Administrators trying to troubleshoot a problem.\r\n

\r\n\r\nTrack page statistics?
\r\nWebGUI can track some statistical information for your site. However, this will add a little extra strain on your processor and will make your database grow much more quickly. Enable this only if you do not have an external web statistics program.\r\n

\r\n', 1038889454); +delete from international where languageId=1 and namespace='WebGUI' and internationalId=674; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (674,1,'WebGUI','Miscellaneous Settings, Edit', 1038889454); +delete from international where languageId=1 and namespace='MessageBoard' and internationalId=61; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (61,1,'MessageBoard','Message Board, Add/Edit', 1038889218); +delete from international where languageId=1 and namespace='MessageBoard' and internationalId=71; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (71,1,'MessageBoard','Message boards, also called Forums and/or Discussions, are a great way to add community to any site or intranet. Many companies use message boards internally to collaborate on projects.\r\n

\r\n\r\nMessages Per Page
\r\nWhen a visitor first comes to a message board s/he will be presented with a listing of all the topics (a.k.a. threads) of the Message Board. If a board is popular, it will quickly have many topics. The Messages Per Page attribute allows you to specify how many topics should be shown on one page.\r\n

\r\n\r\nMain Template
\r\nSelect a layout for the main listing of this message board.\r\n

\r\n\r\nWho can post?
\r\nSelect the group that is allowed to post to this discussion.\r\n

\r\n\r\nEdit Timeout
\r\nHow long should a user be able to edit their post before editing is locked to them?\r\n

\r\nNote: Don\'t set this limit too high. One of the great things about discussions is that they are an accurate record of who said what. If you allow editing for a long time, then a user has a chance to go back and change his/her mind a long time after the original statement was made.\r\n

\r\n\r\nKarma Per Post
\r\nHow much karma should be given to a user when they post to this discussion?\r\n

\r\n\r\nWho can moderate?
\r\nSelect the group that is allowed to moderate this discussion.\r\n

\r\n\r\nModeration Type?
\r\nYou can select what type of moderation you\'d like for your users. After-the-fact means that when a user posts a message it is displayed publically right away. Pre-emptive means that a moderator must preview and approve users posts before allowing them to be publically visible. Alerts for new posts will automatically show up in the moderator\'s WebGUI Inbox.\r\n

\r\nNote: In both types of moderation the moderator can always edit or delete the messages posted by your users.\r\n

\r\n', 1038889218); +delete from international where languageId=1 and namespace='WebGUI' and internationalId=618; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (618,1,'WebGUI','Recover Password Message
\r\nThe message that gets sent to a user when they use the "recover password" function.\r\n

\r\n\r\nEmail Footer
\r\nThis footer will be processed for macros and attached to every email sent from this WebGUI instance.\r\n

\r\n\r\nSMTP Server
\r\nThis is the address of your local mail server. It is needed for all features that use the Internet email system (such as password recovery).\r\n

\r\nOptionally, if you are running a sendmail server on the same machine as WebGUI, you can also specify a path to your sendmail executable. On most Linux systems this can be found at "/usr/lib/sendmail".\r\n\r\n', 1038889094); +delete from international where languageId=1 and namespace='WebGUI' and internationalId=663; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (663,1,'WebGUI','Mail Settings, Edit', 1038889094); +delete from international where languageId=1 and namespace='MailForm' and internationalId=61; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (61,1,'MailForm','Mail Form, Add/Edit', 1038888983); +delete from international where languageId=1 and namespace='MailForm' and internationalId=71; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (71,1,'MailForm','This wobject creates a simple form that will email an email address when it is filled out.\r\n

\r\n\r\nWidth
\r\nThe width of all fields in the form. The default value is 45.\r\n

\r\n\r\nFrom, To, Cc, Bcc, Subject
\r\nThese fields control how the email will look when sent, and who it is sent to. You can give your site visitors the ability to modify some or all of these fields, but typically the only fields you will want the user to be able to modify are From and Subject. Use the drop-down options by each field to choose whether or not the user can see or modify that field.
\r\n
\r\nYou may also choose to enter a WebGUI username or group in the To field, and the email will be sent to the corresponding user or group.\r\n

\r\n\r\nAcknowledgement
\r\nThis message will be displayed to the user after they click "Send".\r\n

\r\n\r\nStore Entries?
\r\nIf set to yes, when your mail form is submitted the entries will be saved to the database for later viewing. The tool to view these entries is not yet available, but when it is you will be able to view all entries from your form in a centralized location.\r\n

\r\n\r\nProceed to add more fields?
\r\nLeave this checked if you want to add additional fields to your form directly after creating it.', 1038888983); +delete from international where languageId=1 and namespace='MailForm' and internationalId=62; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (62,1,'MailForm','Mail Form Fields, Add/Edit', 1038888974); +delete from international where languageId=1 and namespace='MailForm' and internationalId=72; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (72,1,'MailForm','You may add as many additional fields to your Mail Form as you like.\r\n

\r\n\r\nField Name
\r\nThe name of this field. It must be unique among all of the other fields on your form.\r\n

\r\n\r\nStatus
\r\nHidden fields will not be visible to the user, but will be sent in the email.
\r\nDisplayed fields can be seen by the user but not modified.
\r\nModifiable fields can be filled in by the user.
\r\nIf you choose Hidden or Displayed, be sure to fill in a Default Value.\r\n

\r\n\r\nType
\r\nChoose the type of form element for this field. The following field types are supported:
\r\nURL: A textbox that will auto-format URL\'s entered.
\r\nTextbox: A standard textbox.
\r\nDate: A textbox field with a popup window to select a date.
\r\nYes/No: A set of yes/no radio buttons.
\r\nEmail Address: A textbox that requires the user to enter a valid email address.
\r\nTextarea: A simple textarea.
\r\nCheckbox: A single checkbox.
\r\nDrop-Down Box: A drop-down box. Use the Possible Values field to enter each option to be displayed in the box. Enter one option per line.\r\n

\r\n\r\nPossible Values
\r\nThis field is only used for the Drop-Down Box type. Enter the values you wish to appear in your drop-down box, one per line.\r\n

\r\n\r\nDefault Value (optional)
\r\nEnter the default value (if any) for the field. For Yes/No fields, enter "yes" to select "Yes" and "no" to select "No".\r\nFor Checkbox fields, enter "checked" to check the box.\r\n

\r\n\r\nProceed to add more fields?
\r\nLeave this checked if you want to add additional fields to your form directly after creating this field.\r\n

\r\n', 1038888974); +delete from international where languageId=1 and namespace='WebGUI' and internationalId=630; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (630,1,'WebGUI','WebGUI has a small, but sturdy real-time search engine built-in. If you wish to use the internal search engine, you can use the ^?; macro, or by adding ?op=search to the end of any URL, or feel free to build your own form to access it.\r\n

\r\nMany people need a search engine to index their WebGUI site, plus many others. Or they have more advanced needs than what WebGUI\'s search engine allows. In those cases we recommend MnoGo Search or ht://Dig.\r\n

\r\n\r\n', 1038888957); +delete from international where languageId=1 and namespace='WebGUI' and internationalId=675; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (675,1,'WebGUI','Search Engine, Using', 1038888957); +delete from international where languageId=1 and namespace='WebGUI' and internationalId=845; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (845,1,'WebGUI','Style Macros', 1038888926); +delete from international where languageId=1 and namespace='WebGUI' and internationalId=846; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (846,1,'WebGUI','These macros are mainly useful in maintaining styles in WebGUI.\r\n

\r\n\r\n^AdminBar;
\r\nPlaces the administrative tool bar on the page. This is a required element in the "body" segment of the Style Manager.\r\n

\r\n\r\n\r\n^c; - Company Name
\r\nThe name of your company specified in the settings by your Administrator.\r\n

\r\n\r\n\r\n^e; - Company Email Address
\r\nThe email address for your company specified in the settings by your Administrator.\r\n

\r\n\r\n^Extras;
\r\nReturns the path to the WebGUI "extras" folder, which contains things like WebGUI icons.\r\n

\r\n\r\n^PageTitle;
\r\nDisplays the title of the current page.\r\n

\r\n\r\nNote: If you begin using admin functions or the indepth functions of any wobject, the page title will become a link that will quickly bring you back to the page.\r\n

\r\n\r\n^r; or ^r(); - Make Page Printable
\r\nCreates a link to remove the style from a page to make it printable. In addition, you can change the link text by creating a macro like this ^r("Print Me!");.\r\n

\r\n\r\nBy default, when this link is clicked, the current page\'s style is replaced with the "Make Page Printable" style in the Style Manager. However, that can be overridden by specifying the name of another style as the second parameter, like this: ^r("Print!","WebGUI");\r\n

\r\n\r\nNotes: You can also use the special case ^r(linkonly); to return only the URL to the make printable page and nothing more. Also, the .makePrintableLink style sheet class is tied to this macro.\r\n

\r\n\r\n^RootTitle;
\r\nReturns 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.\r\n

\r\n\r\n^u; - Company URL
\r\nThe URL for your company specified in the settings by your Administrator.\r\n

\r\n\r\n^?; - Search
\r\nAdd a search box to the page. The search box is tied to WebGUI\'s built-in search engine.\r\n

\r\n\r\nNote: The .searchBox style sheet class is tied to this macro.\r\n

\r\n\r\n^-;
\r\nThis is known as the separator macro. It must appear exactly once in every style. Wherever it appears is where the content for any given page will be put.\r\n

', 1038888926); +delete from international where languageId=1 and namespace='WebGUI' and internationalId=624; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (624,1,'WebGUI','WebGUI macros are used to create dynamic content within otherwise static content. For instance, you may wish to show which user is logged in on every page, or you may wish to have a dynamically built menu or crumb trail. \r\n

\r\n\r\nMacros always begin with a carat (^) and follow with at least one other character and ended with w semicolon (;). Some macros can be extended/configured by taking the format of ^x("config text");. The following is a description of all the macros in the WebGUI system.\r\n

\r\n\r\n^a; or ^a(); - My Account Link
\r\nA link to your account information. In addition you can change the link text by creating a macro like this ^a("Account Info");. \r\n

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

\r\n\r\n^AdminBar;
\r\nPlaces the administrative tool bar on the page. This is a required element in the "body" segment of the Style Manager.\r\n

\r\n\r\n^AdminText();
\r\nDisplays a small text message to a user who is in admin mode. Example: ^AdminText("You are in admin mode!");\r\n

\r\n\r\n^AdminToggle; or ^AdminToggle();
\r\nPlaces a link on the page which is only visible to content managers and adminstrators. The link toggles on/off admin mode. You can optionally specify other messages to display like this: ^AdminToggle("Edit On","Edit Off");\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^c; - Company Name
\r\nThe name of your company specified in the settings by your Administrator.\r\n

\r\n\r\n\r\n^D; or ^D(); - Date
\r\nThe current date and time.\r\n

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

\r\n\r\n
%%%
%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
\r\n

\r\n\r\n\r\n^e; - Company Email Address
\r\nThe email address for your company specified in the settings by your Administrator.\r\n

\r\n\r\n^Env()
\r\nCan 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\r\n

\r\n\r\nThe macro should be specified like this ^Env("REMOTE_ADDR");\r\n

\r\n\r\n^Execute();
\r\nAllows a content manager or administrator to execute an external program. Takes the format of ^Execute("/this/file.sh");.\r\n

\r\n\r\n\r\n^Extras;
\r\nReturns the path to the WebGUI "extras" folder, which contains things like WebGUI icons.\r\n

\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^FormParam();
\r\nThis 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 specifing the name of the form field, like this: ^FormParam("phoneNumber");\r\n

\r\n\r\n^GroupText();
\r\nDisplays a small text message to the user if they belong to the specified group. Example: ^GroupText("Visitors","You need an account to do anything cool on this site!");\r\n

\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^I(); - Image Manager Image with Tag
\r\nThis macro returns an image tag with the parameters for an image defined in the image manager. Specify the name of the image using a tag like this ^I("imageName");.\r\n

\r\n\r\n^i(); - Image Manager Image Path
\r\nThis macro returns the path of an image uploaded using the Image Manager. Specify the name of the image using a tag like this ^i("imageName");.\r\n

\r\n\r\n^Include();
\r\nAllows a content manager or administrator to include a file from the local filesystem. Takes the format of ^Include("/this/file.html");\r\n

\r\n\r\n^L; or ^L(); - Login
\r\nA small login form. You can also configure this macro. You can set the width of the login box like this ^L(20);. You can also set the message displayed after the user is logged in like this ^L(20,Hi ^a(^@;);. Click %here% if you wanna log out!)\r\n

\r\n\r\nNote: The .loginBox style sheet class is tied to this macro.\r\n

\r\n\r\n^LoginToggle; or ^LoginToggle();
\r\nDisplays a "Login" or "Logout" message depending upon whether the user is logged in or not. You can optionally specify other messages like this: ^LoginToggle("Click here to log in.","Click here to log out.");\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^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^Page();
\r\nThis 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");.\r\n

\r\n\r\n^PageTitle;
\r\nDisplays the title of the current page.\r\n

\r\n\r\nNote: If you begin using admin functions or the indepth functions of any wobject, the page title will become a link that will quickly bring you back to the page.\r\n

\r\n\r\n^r; or ^r(); - Make Page Printable
\r\nCreates a link to remove the style from a page to make it printable. In addition, you can change the link text by creating a macro like this ^r("Print Me!");.\r\n

\r\n\r\nBy default, when this link is clicked, the current page\'s style is replaced with the "Make Page Printable" style in the Style Manager. However, that can be overridden by specifying the name of another style as the second parameter, like this: ^r("Print!","WebGUI");\r\n

\r\n\r\nNotes: You can also use the special case ^r(linkonly); to return only the URL to the make printable page and nothing more. Also, the .makePrintableLink style sheet class is tied to this macro.\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\r\n^RootTitle;
\r\nReturns 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.\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^SQL();
\r\nA 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:

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

\r\n^SQL("select userId,username from users order by username","<a href=\'^/;?op=viewProfile&uid=^0;\'>^1;</a><br>");\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^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^Thumbnail();
\r\nReturns the URL of a thumbnail for an image from the image manager. Specify the name of the image like this ^Thumbnail("imageName");.\r\n

\r\n\r\n^ThumbnailLinker();
\r\nThis is a good way to create a quick and dirty screenshots page or a simple photo gallery. Simply specify the name of an image in the Image Manager like this: ^ThumbnailLinker("My Grandmother"); and this macro will create a thumnail image with a title under it that links to the full size version of the image.\r\n

\r\n\r\n^u; - Company URL
\r\nThe URL for your company specified in the settings by your Administrator.\r\n

\r\n\r\n^URLEncode();
\r\nThis 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?");\r\n

\r\n\r\n\r\n^User();
\r\nThis 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");\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\n^@; - Username
\r\nThe username of the currently logged in user.\r\n

\r\n\r\n^?; - Search
\r\nAdd a search box to the page. The search box is tied to WebGUI\'s built-in search engine.\r\n

\r\n\r\nNote: The .searchBox style sheet class is tied to this macro.\r\n

\r\n\r\n^#; - User ID
\r\nThe user id of the currently logged in user.\r\n

\r\n\r\n^*; or ^*(); - Random Number
\r\nA 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.\r\n

\r\n\r\n^-;,^0;,^1;,^2;,^3;, etc.
\r\nThese macros are reserved for system/wobject-specific functions as in the SQL Report wobject and the Body in the Style Manager.\r\n

\r\n', 1038888892); +delete from international where languageId=1 and namespace='WebGUI' and internationalId=669; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (669,1,'WebGUI','Macros, Using', 1038888892); +delete from international where languageId=1 and namespace='WebGUI' and internationalId=843; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (843,1,'WebGUI','User Macros', 1038888561); +delete from international where languageId=1 and namespace='WebGUI' and internationalId=844; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (844,1,'WebGUI','These macros have to do with users and logins.\r\n

\r\n\r\n^a; or ^a(); - My Account Link
\r\nA link to your account information. In addition you can change the link text by creating a macro like this ^a("Account Info");. \r\n

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

\r\n\r\n\r\n^AdminText();
\r\nDisplays a small text message to a user who is in admin mode. Example: ^AdminText("You are in admin mode!");\r\n

\r\n\r\n^AdminToggle; or ^AdminToggle();
\r\nPlaces a link on the page which is only visible to content managers and adminstrators. The link toggles on/off admin mode. You can optionally specify other messages to display like this: ^AdminToggle("Edit On","Edit Off");\r\n

\r\n\r\n\r\n\r\n^GroupText();
\r\nDisplays a small text message to the user if they belong to the specified group. Example: ^GroupText("Visitors","You need an account to do anything cool on this site!");\r\n

\r\n\r\n^L; or ^L(); - Login
\r\nA small login form. You can also configure this macro. You can set the width of the login box like this ^L(20);. You can also set the message displayed after the user is logged in like this ^L(20,Hi ^a(^@;);. Click %here% if you wanna log out!)\r\n

\r\n\r\nNote: The .loginBox style sheet class is tied to this macro.\r\n

\r\n\r\n^LoginToggle; or ^LoginToggle();
\r\nDisplays a "Login" or "Logout" message depending upon whether the user is logged in or not. You can optionally specify other messages like this: ^LoginToggle("Click here to log in.","Click here to log out.");\r\n

\r\n\r\n\r\n^@; - Username
\r\nThe username of the currently logged in user.\r\n

\r\n\r\n\r\n^#; - User ID
\r\nThe user id of the currently logged in user.\r\n

\r\n\r\n', 1038888561); +delete from international where languageId=1 and namespace='WebGUI' and internationalId=841; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (841,1,'WebGUI','Navigation Macros', 1038888367); +delete from international where languageId=1 and namespace='WebGUI' and internationalId=842; +insert into international (internationalId,languageId,namespace,message,lastUpdated) 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^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\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^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\n', 1038888367); +delete from international where languageId=1 and namespace='LinkList' and internationalId=72; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (72,1,'LinkList','Link, Add/Edit', 1038887880); +delete from international where languageId=1 and namespace='LinkList' and internationalId=73; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (73,1,'LinkList','Title
\r\nThe text that will be linked.\r\n

\r\n\r\nURL
\r\nThe web site to link to.\r\n

\r\n\r\nOpen in new window?
\r\nSelect yes if you\'d like this link to pop-up into a new window.\r\n

\r\n\r\nDescription
\r\nDescribe the site you\'re linking to. You can omit this if you\'d like.\r\n

\r\n\r\nWhat Next?\r\nLeave this set to the default if you wish to add another link after this one.\r\n

\r\n', 1038887880); +delete from international where languageId=1 and namespace='LinkList' and internationalId=61; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (61,1,'LinkList','Link List, Add/Edit', 1038887837); +delete from international where languageId=1 and namespace='LinkList' and internationalId=71; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (71,1,'LinkList','Link Lists are just what they sound like, a list of links. Many sites have a links section, and this wobject just automates the process.\r\n

\r\n\r\nTemplate
\r\nChoose a layout for this wobject.\r\n

\r\n\r\nWhat Next?
\r\nLeave this set to the default if you wish to add a link after creating the link list.\r\n

\r\n\r\n', 1038887837); +delete from international where languageId=1 and namespace='Item' and internationalId=61; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (61,1,'Item','Item, Add/Edit', 1038887675); +delete from international where languageId=1 and namespace='Item' and internationalId=71; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (71,1,'Item','Like Articles, Items are the Swiss Army knife of WebGUI. Most pieces of static content can be added via the Item, though Items are usually used for smaller content than Articles.\r\n

\r\n\r\nLink URL
\r\nThis URL will be attached to the title of this Item.\r\n

\r\nExample: http://www.google.com\r\n

\r\n\r\nAttachment
\r\nIf you wish to attach a word processor file, a zip file, or any other file for download by your users, then choose it from your hard drive.\r\n

\r\n\r\nTemplate
\r\nChoose a layout for this Item.\r\n

\r\n', 1038887675); +delete from international where languageId=1 and namespace='FAQ' and internationalId=61; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (61,1,'FAQ','FAQ, Add/Edit', 1038887388); +delete from international where languageId=1 and namespace='FAQ' and internationalId=71; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (71,1,'FAQ','It seems that almost every web site, intranet, and extranet in the world has a Frequently Asked Questions area. This wobject helps you build one, too.\r\n

\r\n\r\nTemplate
\r\nChoose a layout for this FAQ.\r\n

\r\n\r\nWhat Next?
\r\nSelect "add a question" if you wish to add another question after this one.\r\n

\r\n\r\n


\r\nNote: The following style is specific to the FAQ in some of the built-in templates.\r\n

\r\n.faqQuestion
\r\nAn F.A.Q. question. To distinguish it from an answer.\r\n\r\n', 1038887388); +delete from international where languageId=1 and namespace='EventsCalendar' and internationalId=72; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (72,1,'EventsCalendar','Event, Add/Edit', 1038887363); +delete from international where languageId=1 and namespace='EventsCalendar' and internationalId=73; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (73,1,'EventsCalendar','Title
\r\nThe title for this event.\r\n

\r\n\r\nDescription
\r\nDescribe the activities of this event or information about where the event is to be held.\r\n

\r\n\r\nStart Date
\r\nOn what date will this event begin?\r\n

\r\n\r\nEnd Date
\r\nOn what date will this event end?\r\n

\r\n\r\nRecurs every
\r\nSelect a recurrence interval for this event. \r\n\r\n

\r\n\r\nWhat next?
\r\nSelect "add new event" if you\'d like to add another event, otherwise select "go back to page".\r\n

\r\n', 1038887363); +delete from international where languageId=1 and namespace='EventsCalendar' and internationalId=61; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (61,1,'EventsCalendar','Events Calendar, Add/Edit', 1038887352); +delete from international where languageId=1 and namespace='EventsCalendar' and internationalId=71; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (71,1,'EventsCalendar','Events calendars are used on many intranets to keep track of internal dates that affect a whole organization. Also, Events Calendars on consumer sites are a great way to let your customers know what events you\'ll be attending and what promotions you\'ll be having.\r\n

\r\n\r\nMain Template
\r\nChoose a layout for the events calendar.\r\n

\r\n\r\nEvent Template
\r\nChoose a layout for the individual events within the calendars.\r\n

\r\n\r\nStart Month
\r\nChoose the start month for your calendar. If you choose "current" the calendar will always start on the current month, therefore it will change from month to month. If you choose "first in the calendar" then it will start at whatever the earliest date in the calendar is.\r\n

\r\n\r\nEnd Month
\r\nChoose the end month for your calendar. If you choose "show X months from start", then only X months worth of information will ever be displayed. If you choose "current" then the calendar will end on the month you are currently in. If you choose "last in calendar" then the calendar will end on the last date entered into the calendar.\r\n

\r\n\r\nDefault Month
\r\nChoose which month for this calendar to start on when a visitor comes to the page containing the calendar.\r\n

\r\n\r\nPaginate After
\r\nWhen using a list-style calendar, how many events should be shown per page?\r\n

\r\nProceed to add event?
\r\nLeave this set to yes if you want to add events to the Events Calendar directly after creating it.\r\n

\r\n\r\nNote: Events that have already happened will not be displayed on the events calendar.\r\n

\r\n


\r\nNote: The following style is specific to the Events Calendar.\r\n

\r\n.eventTitle
\r\nThe title of an individual event.\r\n\r\n', 1038887352); +delete from international where languageId=1 and namespace='FileManager' and internationalId=61; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (61,1,'FileManager','File Manager, Add/Edit', 1038887335); +delete from international where languageId=1 and namespace='FileManager' and internationalId=71; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (71,1,'FileManager','The File Manager is designed to help you manage file distribution on your site. It allows you to specify who may view/download files from your site.\r\n

\r\n\r\nTemplate
\r\nChoose a layout for the file manager.\r\n

\r\n\r\nPaginate After
\r\nHow many files should be displayed before splitting the results into separate pages? In other words, how many files should be displayed per page?\r\n

\r\n\r\nProceed to add download?
\r\nIf you wish to start adding files to download right away, leave this checked.\r\n

\r\n\r\n', 1038887335); +delete from international where languageId=1 and namespace='ExtraColumn' and internationalId=61; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (61,1,'ExtraColumn','Extra Column, Add/Edit', 1038887140); +delete from international where languageId=1 and namespace='ExtraColumn' and internationalId=71; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (71,1,'ExtraColumn','Extra columns allow you to change the layout of your page for one page only. If you wish to have multiple columns on all your pages, perhaps you should consider altering the style applied to your pages or use a Template instead of an Extra Column. \r\n

\r\nColumns are always added from left to right. Therefore any existing content will be on the left of the new column.\r\n

\r\nSpacer
\r\nSpacer is the amount of space between your existing content and your new column. It is measured in pixels.\r\n

\r\nWidth
\r\nWidth is the actual width of the new column to be added. Width is measured in pixels.\r\n

\r\nStyleSheet Class
\r\nBy default the content style (which is the style the body of your site should be using) that is applied to all columns. However, if you\'ve created a style specifically for columns, then feel free to modify this class.\r\n', 1038887140); +delete from international where languageId=1 and namespace='FileManager' and internationalId=72; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (72,1,'FileManager','File, Add/Edit', 1038883174); +delete from international where languageId=1 and namespace='FileManager' and internationalId=73; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (73,1,'FileManager','File Title
\r\nThe title that will be displayed for this file. If left blank the filename will be used.\r\n

\r\n\r\nFile
\r\nChoose the file from your hard drive that you wish to upload.\r\n

\r\n\r\nAlternate Version #1
\r\nAn alternate version of the file. For instance, if the file was a JPEG, perhaps the alternate version would be a TIFF or a BMP.\r\n

\r\n\r\nAlternate Version #2
\r\nAn alternate version of the file. For instance, if the file was a JPEG, perhaps the alternate version would be a TIFF or a BMP.\r\n

\r\n\r\nBrief Synopsis
\r\nA short description of this file. Be sure to include keywords that users may try to search for.\r\n

\r\n\r\nGroup To Download
\r\nChoose the group that may download this file.\r\n

\r\n\r\nWhat\'s next?
\r\nIf you\'d like to add another file after this one, then select "add a new file" otherwise select "go back to the page".\r\n

\r\n', 1038883174); +delete from international where languageId=1 and namespace='FileManager' and internationalId=19; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (19,1,'FileManager','You have no files available.', 1038882995); +delete from international where languageId=1 and namespace='FileManager' and internationalId=12; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (12,1,'FileManager','Are you certain that you wish to delete this file?', 1038882975); +delete from international where languageId=1 and namespace='FileManager' and internationalId=11; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (11,1,'FileManager','Add a new file.', 1038882956); +delete from international where languageId=1 and namespace='FileManager' and internationalId=6; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (6,1,'FileManager','File', 1038882929); +delete from international where languageId=1 and namespace='FileManager' and internationalId=10; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (10,1,'FileManager','Edit File', 1038882889); +delete from international where languageId=1 and namespace='WebGUI' and internationalId=634; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (634,1,'WebGUI','Default Home Page
\r\nSome 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\r\nNot Found Page
\r\nIf 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\nDocument Type Declaration
\r\nThese days it is very common to have a wide array of browsers accessing your site, including automated browsers like search engine spiders. Many of those browsers want to know what kind of content you are serving. The doctype tag allows you to specify that. By default WebGUI generates HTML 4.0 compliant content.\r\n

\r\n\r\nAdd edit stamp to posts?
\r\nTypically 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\r\nFilter Contributed HTML
\r\nEspecially 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\r\nMaximum Attachment Size
\r\nThe size (in kilobytes) of the maximum allowable attachment to be uploaded to your system.\r\n

\r\n\r\nMax Image Size
\r\nIf 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\r\nThumbnail Size
\r\nWhen 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\r\nSnippet Preview Length
\r\nHow many characters of a snippet should be displayed in the collateral management system main listing.\r\n

\r\n\r\nText Area Rows
\r\nSome 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\r\nText Area Columns
\r\nSome 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\r\nText Box Size
\r\nSome 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\r\nEditor To Use
\r\nWebGUI has a very sophisticated Rich Editor that allows users to fomat content as though they were in Microsoft Word® or some other word processor. To use that functionality, select "Built-In Editor". Sometimes web sites have the need for even more complex rich editors for things like Spell Check. For that reason you can install an 3rd party editor called Real Objects Edit-On Pro® rich text editor. After you\'ve installed it change this option. If you need detailed instructions on how to integrate Edit-On Pro®), you can find them in Ruling WebGUI.\r\n

\r\n', 1038872365); +delete from international where languageId=1 and namespace='WebGUI' and internationalId=679; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (679,1,'WebGUI','Content Settings, Edit', 1038872365); +delete from international where languageId=1 and namespace='WebGUI' and internationalId=611; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (611,1,'WebGUI','Company Name
\r\nThe name of your company. It will appear on all emails and anywhere you use the Company Name macro.\r\n

\r\n\r\nCompany Email Address
\r\nA general email address at your company. This is the address that all automated messages will come from. It can also be used via the WebGUI macro system.\r\n

\r\n\r\nCompany URL
\r\nThe primary URL of your company. This will appear on all automated emails sent from the WebGUI system. It is also available via the WebGUI macro system.\r\n', 1038872019); +delete from international where languageId=1 and namespace='WebGUI' and internationalId=656; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (656,1,'WebGUI','Company Information, Edit', 1038872019); +delete from international where languageId=1 and namespace='WebGUI' and internationalId=786; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (786,1,'WebGUI','WebGUI\'s collateral management system allows you to upload files and text to a central repository for use elsewhere in your content.\r\n

\r\n', 1038871973); +delete from international where languageId=1 and namespace='WebGUI' and internationalId=785; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (785,1,'WebGUI','Collateral, Manage', 1038871973); +delete from international where languageId=1 and namespace='WebGUI' and internationalId=837; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (837,1,'WebGUI','Folder, Add/Edit', 1038871918); +delete from international where languageId=1 and namespace='WebGUI' and internationalId=838; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (838,1,'WebGUI','Folders are used to organize collateral, much the same way you\'d use folders on your hard drive or in a file cabinet.\r\n

\r\nOrganize in Folder
\r\nFolders can be inside of other folders. In which folder would you like to put this folder?\r\n

\r\n\r\nName
\r\nGive this folder a name so you can recognize what\'s in it.\r\n

\r\n\r\nDescription
\r\nDescribe the folder so that you remember why you created it and what it\'s supposed to contain.\r\n

', 1038871918); +delete from international where languageId=1 and namespace='WebGUI' and internationalId=835; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (835,1,'WebGUI','Snippet, Add/Edit', 1038871744); +delete from international where languageId=1 and namespace='WebGUI' and internationalId=836; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (836,1,'WebGUI','Snippets are bits of text that may be reused on your site. Thinks like java scripts, style sheets, flash animations, or even slogans are all great snippets. Best of all, if you need to change the text, you can change it in only one location.\r\n

\r\nName
\r\nGive your snippet a unqiue name that you can use later to retrieve it.\r\n

\r\n\r\nOrganize in Folder
\r\nWhich collateral folder should contain this snippet?\r\n

\r\n\r\nSnippet
\r\nStart typing! Or better yet, copy the snippet from some other electronic document and paste it here.\r\n

', 1038871744); +delete from international where languageId=1 and namespace='WebGUI' and internationalId=625; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (625,1,'WebGUI','Upload any images that you\'ll possibly use in more than one location on your site.\r\n

\r\n\r\nName
\r\nThe label that this image will be referenced by to include it into pages.\r\n

\r\n\r\nOrganize In Folder
\r\nWhich collateral folder should this image be placed in.\r\n

\r\n\r\nFile
\r\nSelect a file from your local drive to upload to the server.\r\n

\r\n\r\nParameters
\r\nAdd any HTML <img&rt; parameters that you wish to act as the defaults for this image.\r\n

\r\n\r\nExample:
\r\nalign="right"
\r\nalt="This is an image"
\r\n

\r\n\r\nThumbnail Size
\r\nHow big (in pixels) should the thumbnail for this image be?\r\n

', 1038871530); +delete from international where languageId=1 and namespace='WebGUI' and internationalId=670; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (670,1,'WebGUI','Image, Add/Edit', 1038871530); +delete from international where languageId=1 and namespace='WebGUI' and internationalId=833; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (833,1,'WebGUI','File, Add/Edit', 1038871497); +delete from international where languageId=1 and namespace='WebGUI' and internationalId=834; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (834,1,'WebGUI','You can upload any kind of file to the repository to be used later.\r\n

\r\n\r\nName
\r\nGive this file a unique name that you can use to retrieve it later.\r\n

\r\n\r\nOrganize in Folder
\r\nWhich collateral folder should hold this file?\r\n

\r\n\r\nFile
\r\nSelect a file from your hard drive to upload.\r\n

', 1038871497); +delete from international where languageId=1 and namespace='WebGUI' and internationalId=831; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (831,1,'WebGUI','Collateral Macros', 1038871188); +delete from international where languageId=1 and namespace='WebGUI' and internationalId=832; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (832,1,'WebGUI','The collateral management system has several macros for its specific purpose.\r\n

\r\n\r\n^I();
\r\nThis macro retrieves an image from the collateral management system along with an HTML image tag so that you can quickly display an image from the repository in your content.\r\n

\r\nExample: ^I("logo");\r\n

\r\n\r\n^i();
\r\nThis macro retrieves the URL for any file in the collateral management system.\r\n

\r\nExample: ^i("status report");\r\n

\r\n\r\n^Thumbnail();
\r\nThis macro retrieves the URL for the thumbnail of any image in the collateral management system.\r\n

\r\nExample: ^Thumbnail("logo");\r\n

\r\n\r\n^ThumbnailLinker();
\r\nThis macro builds a quick image viewer using nothing more than the collateral management system. It creates a thumbnail image with the name of the image under it and then links them both to the full sized image.\r\n

\r\nExample: ^ThumbnailLinker("logo");\r\n

\r\n\r\n^File();
\r\nThis macro builds a quick file link. It creates an icon for the file and outputs the files name. Then it links them both to the file for downloading.\r\n

\r\n', 1038871188); +delete from international where languageId=1 and namespace='Article' and internationalId=61; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (61,1,'Article','Article, Add/Edit', 1038870449); +delete from international where languageId=1 and namespace='Article' and internationalId=71; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (71,1,'Article','Articles are the Swiss Army knife of WebGUI. Most pieces of static content can be added via the Article.\r\n

\r\n\r\nTemplate
\r\nSelect a template to layout your article.\r\n

\r\n\r\nImage
\r\nChoose an image (.jpg, .gif, .png) file from your hard drive. This file will be uploaded to the server and displayed in your article.\r\n

\r\n\r\n\r\nAttachment
\r\nIf you wish to attach a word processor file, a zip file, or any other file for download by your users, then choose it from your hard drive.\r\n

\r\n\r\nLink Title
\r\nIf you wish to add a link to your article, enter the title of the link in this field. \r\n

\r\nExample: Google\r\n

\r\n\r\nLink URL
\r\nIf you added a link title, now add the URL (uniform resource locator) here. \r\n

\r\nExample: http://www.google.com\r\n\r\n

\r\n\r\nConvert carriage returns?
\r\nIf you\'re publishing HTML there\'s generally no need to check this option, but if you aren\'t using HTML and you want a carriage return every place you hit your "Enter" key, then check this option.\r\n

\r\n\r\nAllow discussion?
\r\nChecking this box will enable responses to your article much like Articles on Slashdot.org.\r\n

\r\n\r\nWho can post?
\r\nSelect the group that is allowed to post to this discussion.\r\n

\r\n\r\nEdit Timeout
\r\nHow long should a user be able to edit their post before editing is locked to them?\r\n

\r\nNOTE: Don\'t set this limit too high. One of the great things about discussions is that they are an accurate record of who said what. If you allow editing for a long time, then a user has a chance to go back and change his/her mind a long time after the original statement was made.\r\n

\r\n\r\nKarma Per Post
\r\nHow much karma should be given to a user when they post to this discussion?\r\n

\r\n\r\nWho can moderate?
\r\nSelect the group that is allowed to moderate this discussion.\r\n

\r\n\r\nModeration Type?
\r\nYou can select what type of moderation you\'d like for your users. After-the-fact means that when a user posts a message it is displayed publically right away. Pre-emptive means that a moderator must preview and approve users posts before allowing them to be publically visible. Alerts for new posts will automatically show up in the moderator\'s WebGUI Inbox.\r\n

\r\nNOTE: In both types of moderation the moderator can always edit or delete the messages posted by your users.\r\n

\r\n', 1038870449); +delete from international where languageId=1 and namespace='WebGUI' and internationalId=829; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (829,1,'WebGUI','Page Template', 1038870260); +delete from international where languageId=1 and namespace='WebGUI' and internationalId=830; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (830,1,'WebGUI','Page templates are used to organize wobjects on your page. To do this you create page template positions. You can have any number of positions in your page template, but you must always have position one. The page template position variables look like this: \r\n

\r\n<tmpl_var page.position1>\r\n<tmpl_var page.position2>\r\n<tmpl_var page.position3>\r\n<tmpl_var page.position4>\r\n<tmpl_var page.position5>\r\n<tmpl_var page.position6>\r\n<tmpl_var page.position7>\r\n<tmpl_var ...>\r\n\r\n
\r\n\r\nThe position elements can go up to 1 billion, which should be more than enough for the average site.', 1038870260); +delete from international where languageId=1 and namespace='WebGUI' and internationalId=638; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (638,1,'WebGUI','Templates are used to affect how content is laid out in WebGUI. There are many templates that come with WebGUI, and using the template management system, you can add your own templates to the system to ensure that your site looks exactly how you want it to look. \r\n', 1038869802); +delete from international where languageId=1 and namespace='WebGUI' and internationalId=683; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (683,1,'WebGUI','Templates, Manage', 1038869802); +delete from international where languageId=1 and namespace='USS' and internationalId=76; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (76,1,'USS','Submission Template', 1038867009); +delete from international where languageId=1 and namespace='USS' and internationalId=77; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (77,1,'USS','The following are the template variables used in a submission template. Submission templates are used to display the individual submissions in a user submission system.\r\n

\r\n\r\ntitle
\r\nThe title of this submission.\r\n

\r\n\r\ncontent
\r\nThe full text content of this submission.\r\n

\r\n\r\nuser.label
\r\nThe translated label indicating what user posted this submission.\r\n

\r\n\r\nuser.profile
\r\nThe URL to the profile of the user that posted this submission.\r\n

\r\n\r\nuser.username
\r\nThe username of the user that posted this submission.\r\n

\r\n\r\nuser.id
\r\nThe unique identifier for the user that posted this submission.\r\n

\r\n\r\ndate.label
\r\nThe translated label indicating what date this submission was posted.\r\n

\r\n\r\ndate.epoch
\r\nThe number of seconds since January 1, 1970 that this submission was posted.\r\n

\r\n\r\ndate.human
\r\nA human readable date that displays the date and time this submission was posted.\r\n

\r\n\r\nstatus.label
\r\nA translated label indicating the status of this submission.\r\n

\r\n\r\nstatus.status
\r\nThe actual status of this submission (pending, approved, denied).\r\n

\r\n\r\nviews.label
\r\nA translated label indicating how many times this submission has been viewed.\r\n

\r\n\r\nviews.count
\r\nThe number of times this submission has been viewed.\r\n

\r\n\r\ncanPost
\r\nAn condition indicating whether or not this user can post a new submission.\r\n

\r\n\r\npost.url
\r\nThe URL to post a new submission.\r\n

\r\n\r\npost.label
\r\nA translated label for the post link.\r\n

\r\n\r\nprevious.more
\r\nAn condition indicating whether there are any posts prior to this one available for viewing.\r\n

\r\n\r\nprevious.url
\r\nA URL to the post that came before this one.\r\n

\r\n\r\nprevious.label
\r\nA translated label for the previous link.\r\n

\r\n\r\nnext.more
\r\nA condition indicating whether there are any posts after this one available for viewing.\r\n

\r\n\r\nnext.url
\r\nThe URL to the post that came after this one.\r\n

\r\n\r\nnext.label
\r\nA translated label for the next link.\r\n

\r\n\r\ncanEdit
\r\nA condition indicating whether the current user cane edit or delete this post.\r\n

\r\n\r\nedit.url
\r\nThe URL to edit this post.\r\n

\r\n\r\nedit.label
\r\nA translated label for the edit link.\r\n

\r\n\r\ndelete.url
\r\nThe URL to delete this post.\r\n

\r\n\r\ndelete.label
\r\nA translated label for the delete link.\r\n

\r\n\r\ncanChangeStatus
\r\nA condition indicating whether the current user has the privileges to change the status of this post.\r\n

\r\n\r\napprove.url
\r\nThe URL to approve this post.\r\n

\r\n\r\napprove.label
\r\nA translated label for the approve link.\r\n

\r\n\r\ndeny.url
\r\nThe URL to deny this post.\r\n

\r\n\r\ndeny.label
\r\nA translated label for the deny link.\r\n

\r\n\r\nleave.url
\r\nThe URL to leave this post in it\'s current state.\r\n

\r\n\r\nleave.label
\r\nA translated label for the leave link.\r\n

\r\n\r\ncanDiscuss
\r\nA condition indicating whether the current user can reply to this post.\r\n

\r\n\r\nreply.url
\r\nThe URL to reply to this post.\r\n

\r\n\r\nreply.label
\r\nA translated label for the reply link.\r\n

\r\n\r\nsearch.url
\r\nThe URL to toggle on the WebGUI power search form.\r\n

\r\n\r\nsearch.label
\r\nA translated label for the search link.\r\n

\r\n\r\nback.url
\r\nThe URL to return the user to the main listing.\r\n

\r\n\r\nback.label
\r\nA translated label for the back link.\r\n

\r\n\r\nreplies
\r\nA complete listing of all replies to this post.\r\n

\r\n', 1038867009); +delete from international where languageId=1 and namespace='WebGUI' and internationalId=825; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (825,1,'WebGUI','Template, Language', 1038865669); +delete from international where languageId=1 and namespace='WebGUI' and internationalId=826; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (826,1,'WebGUI','WebGUI has a powerful templating language built to give you maximum control over the layout of your content. The following is a list of the template language syntax.\r\n\r\n

\r\nNOTE: Please note that the words foo and bar are used below as placeholders for the actual variable names that you\'ll use. They are not part of the template language.\r\n\r\n

\r\nVariables
\r\nVariables are the most basic of the template commands. They are used to position pieces of content.\r\n\r\n

\r\nSyntax: <tmpl_var foo> or <tmpl_var name="foo">\r\n

\r\n\r\nExample: <tmpl_var name>\r\n

\r\n\r\nConditions
\r\nTo programmers conditions are nothing new, but to designers they can often be confusing at first. Conditions are really just true or false questions, and if you think of them that way, you\'ll have no trouble at all.\r\n

\r\n\r\nSyntax: <tmpl_if foo> <tmpl_else> </tmpl_if>\r\n
\r\nSyntax: <tmpl_unless foo> <tmpl_else> </tmpl_unless>\r\n

\r\n\r\nExample: <tmpl_if isTrue> It was true!<tmpl_else> It was false! </tmpl_if>\r\n

\r\n\r\nLoops
\r\nLoops iterate over a list of data output for each pass in the loop. Loops are slightly more complicated to use than plain variables, but are considerably more powerful.\r\n

\r\n\r\nSyntax: <tmpl_loop foo> </tmpl_loop>\r\n

\r\n\r\nExample:
\r\n<tmpl_loop users>
\r\n   Name: <tmpl_var first_name><br/>
\r\n</tmpl_loop>\r\n

\r\n\r\nLoop Conditions
\r\nLoops come with special condition variables of their own. They are __FIRST__, __ODD__, __INNER__, and __LAST__.\r\n

\r\n\r\nExamples:
\r\n

\r\n   <TMPL_LOOP FOO>\r\n      <TMPL_IF __FIRST__>\r\n        This only outputs on the first pass.\r\n      </TMPL_IF>\r\n\r\n      <TMPL_IF __ODD__>\r\n        This outputs every other pass, on the odd passes.\r\n      </TMPL_IF>\r\n\r\n      <TMPL_UNLESS __ODD__>\r\n        This outputs every other pass, on the even passes.\r\n      </TMPL_UNLESS>\r\n\r\n      <TMPL_IF __INNER__>\r\n        This outputs on passes that are neither first nor last.\r\n      </TMPL_IF>\r\n\r\n      <TMPL_IF __LAST__>\r\n        This only outputs on the last pass.\r\n      <TMPL_IF>\r\n   </TMPL_LOOP>\r\n
\r\n\r\n

\r\nNOTE:Both the template language and template variables are case-insensitive.', 1038865669); +delete from international where languageId=1 and namespace='USS' and internationalId=74; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (74,1,'USS','User Submission System Template', 1038865585); +delete from international where languageId=1 and namespace='USS' and internationalId=75; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (75,1,'USS','This is the listing of template variables available in user submission system templates.\r\n

\r\n\r\nreadmore.label
\r\nA translated label that indicates that the user should click to read more.\r\n

\r\n\r\nresponses.label
\r\nA translated label that indicates that the user should click to view the responses to this submission.\r\n

\r\n\r\ncanPost
\r\nA condition that indicates whether a user can add a new submission.\r\n

\r\n\r\npost.url
\r\nThe URL to add a new submission.\r\n

\r\n\r\npost.label
\r\nA translated label for the post link.\r\n

\r\n\r\nsearch.label
\r\nA translated label for the search link.\r\n

\r\n\r\nsearch.url
\r\nThe URL to toggle on/off WebGUI\'s power search form.\r\n

\r\n\r\nsearch.form
\r\nWebGUI\'s power search form.\r\n

\r\n\r\ntitle.label
\r\nA translated label for the title column.\r\n

\r\n\r\nthumbnail.label
\r\nA translated label for the thumbnail column.\r\n

\r\n\r\ndate.label
\r\nA translated label for the date column.\r\n

\r\n\r\nby.label
\r\nA translated label stating who the submission was submitted by.\r\n

\r\n\r\nsubmissions_loop
\r\nA loop containing each submission.\r\n

\r\nsubmission.id
\r\nA unique identifier for this submission.\r\n

\r\n\r\nsubmission.url
\r\nThe URL to view this submission.\r\n

\r\n\r\nsubmission.content
\r\nThe abbreviated text content of this submission.\r\n

\r\n\r\nsubmission.responses
\r\nThe number of responses to this submission.\r\n

\r\n\r\nsubmission.title
\r\nThe title for this submission.\r\n

\r\n\r\nsubmission.userId
\r\nThe user id of the user that posted this submission.\r\n

\r\n\r\nsubmission.username
\r\nThe username of the person that posted this submission.\r\n

\r\n\r\nsubmission.status
\r\nThe status of this submission (approved, pending, denied).\r\n

\r\n\r\nsubmission.thumbnail
\r\nThe thumbnail of the image uploaded with this submission (if any).\r\n

\r\n\r\nsubmission.date
\r\nThe that this submission was posted.\r\n

\r\n\r\nsubmission.currentUser
\r\nA condition indicating whether the current user is the same as the user that posted this submission.\r\n

\r\n\r\nsubmission.userProfile
\r\nThe URL to the profile of the user that posted this submission.\r\n

\r\n\r\nsubmission.secondColumn
\r\nA condition indicating whether or not this submission would belong in the second column, in a multi-column layout.\r\n

\r\n\r\nsubmission.thirdColumn
\r\nA condition indicating whether or not this submission would belong in the third column, in a multi-column layout.\r\n

\r\n\r\nsubmission.fourthColumn
\r\nA condition indicating whether or not this submission would belong in the fourth column, in a multi-column layout.\r\n

\r\n\r\nsubmission.fifthColumn
\r\nA condition indicating whether or not this submission would belong in the fifth column, in a multi-column layout.\r\n

\r\n\r\n

\r\n

\r\n\r\n\r\nfirstPage
\r\nA link to the first page in the paginator.\r\n

\r\n\r\nlastPage
\r\nA link to the last page in the paginator.\r\n

\r\n\r\nnextPage
\r\nA link to the next page forward in the paginator.\r\n

\r\n\r\npreviousPage
\r\nA link to the next page backward in the paginator.\r\n

\r\n\r\npageList
\r\nA list of links to all the pages in the paginator.\r\n

\r\n\r\nmultiplePages
\r\nA conditional indicating whether there is more than one page in the paginator.\r\n

\r\n', 1038865585); +delete from international where languageId=1 and namespace='MessageBoard' and internationalId=73; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (73,1,'MessageBoard','Message Board Template', 1038865549); +delete from international where languageId=1 and namespace='MessageBoard' and internationalId=74; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (74,1,'MessageBoard','The following is the list of template variables available in message board templates.\r\n

\r\n\r\ncanPost
\r\nA conditional indicating whether the current user has the privileges to post a new message.\r\n

\r\n\r\n\r\npost.url
\r\nThe URL to post a new message.\r\n

\r\n\r\npost.label
\r\nThe translated label for the post URL.\r\n

\r\n\r\n\r\nsearch.url
\r\nThe URL to search this message board.\r\n

\r\n\r\nsearch.label
\r\nThe translated label for the search URL.\r\n

\r\n\r\nsubject.label
\r\nThe translated label for the subject column.\r\n

\r\n\r\nuser.label
\r\nThe translated label for the user column.\r\n

\r\n\r\ndate.label
\r\nThe translated label for the date column.\r\n

\r\n\r\nviews.label
\r\nThe translated label for the views column.\r\n

\r\n\r\nreplies.label
\r\nThe translated label for the replies column.\r\n

\r\n\r\nlast.label
\r\nThe translated label for the last reply column.\r\n

\r\n\r\nmessage_loop
\r\nThe loop containing each message.\r\n

\r\n\r\nlast.url
\r\nThe URL to the last reply to this message.\r\n

\r\n\r\nlast.subject
\r\nThe subject on the last reply to this message.\r\n

\r\n\r\n\r\nlast.username
\r\nThe username who posted the last reply to this message.\r\n

\r\n\r\nlast.userProfile
\r\nThe URL to the profile of the user who posted the last reply to this message.\r\n

\r\n\r\nlast.date
\r\nThe date that the last reply to this message was posted.\r\n

\r\n\r\n\r\nmessage.subject
\r\nThe subject of this message.\r\n

\r\n\r\nmessage.date
\r\nThe date that this message was posted.\r\n

\r\n\r\nmessage.user
\r\nThe user that posted this message.\r\n

\r\n\r\nmessage.views
\r\nThe views that this message has received.\r\n

\r\n\r\nmessage.replies
\r\nThe number of replies to this thread.\r\n

\r\n\r\nmessage.url
\r\nThe URL to view this message.\r\n

\r\n\r\nmessage.currentUser
\r\nA condition indicating whether the current user is also the user that posted this message.\r\n

\r\n\r\nmessage.status
\r\nThe status of this message (pending, approved, denied).\r\n

\r\n\r\n

\r\n

\r\n\r\n\r\nfirstPage
\r\nA link to the first page in the paginator.\r\n

\r\n\r\nlastPage
\r\nA link to the last page in the paginator.\r\n

\r\n\r\nnextPage
\r\nA link to the next page forward in the paginator.\r\n

\r\n\r\npreviousPage
\r\nA link to the next page backward in the paginator.\r\n

\r\n\r\npageList
\r\nA list of links to all the pages in the paginator.\r\n

\r\n\r\nmultiplePages
\r\nA conditional indicating whether there is more than one page in the paginator.\r\n

\r\n', 1038865549); +delete from international where languageId=1 and namespace='SiteMap' and internationalId=72; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (72,1,'SiteMap','Site Map Template', 1038864556); +delete from international where languageId=1 and namespace='SiteMap' and internationalId=73; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (73,1,'SiteMap','This is the list of template variables available for site map templates.\r\n

\r\n\r\npage_loop
\r\nThis loop contains all of the pages in the site map.\r\n

\r\n\r\npage.indent
\r\nThe indent spacer for this page indicating the depth of the page in the tree.\r\n

\r\n\r\npage.url
\r\nThe URL to the page.\r\n

\r\n\r\npage.id
\r\nThe unique identifier for this page that WebGUI uses internally.\r\n

\r\n\r\npage.title
\r\nThe title of this page.\r\n

\r\n\r\npage.menutitle
\r\nThe title of this page that appears in navigation.\r\n

\r\n\r\npage.synopsis
\r\nThe description of the contents of this page (if any).\r\n

\r\n\r\n

\r\n

', 1038864556); +delete from international where languageId=1 and namespace='Product' and internationalId=62; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (62,1,'Product','Product Template', 1038864092); +delete from international where languageId=1 and namespace='Product' and internationalId=63; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (63,1,'Product','The following is the list of template variables available in product templates.\r\n

\r\n\r\nbrochure.icon
\r\nThe URL to the icon for the brochure.\r\n

\r\n\r\n\r\nbrochure.url
\r\nThe URL to download the brochure.\r\n

\r\n\r\nbrochure.label
\r\nThe translated label for the brochure URL.\r\n

\r\n\r\nwarranty.icon
\r\nThe URL to the icon for the warranty.\r\n

\r\n\r\n\r\nwarranty.url
\r\nThe URL to download the warranty.\r\n

\r\n\r\nwarranty.label
\r\nThe label for the warranty URL.\r\n

\r\n\r\nimage1
\r\nThe URL to the first image uploaded to this product.\r\n

\r\n\r\nthumbnail1
\r\nThe URL to the thumbnail of the first image uploaded to this product.\r\n

\r\n\r\nimage2
\r\nThe URL to the second image uploaded to this product.\r\n

\r\n\r\nthumbnail2
\r\nThe URL to the thumbnail of the second image uploaded to this product.\r\n

\r\n\r\nimage3
\r\nThe URL to the third image uploaded to this product.\r\n

\r\n\r\nthumbnail3
\r\nThe URL to the thumbnail of the third image uploaded to this product.\r\n

\r\n\r\n\r\naddfeature.url
\r\nThe URL to add a feature to this product.\r\n

\r\n\r\naddfeature.label
\r\nThe translated label for the add feature link.\r\n

\r\n\r\nfeature_loop
\r\nThis loop contains all of the features associated with this product.\r\n

\r\nfeature.controls
\r\nThe WebGUI management controls for this feature.\r\n

\r\n\r\nfeature.feature
\r\nThe text of the feature itself.\r\n

\r\n

\r\n

\r\n\r\naddbenefit.url
\r\nThe URL to add a benefit to this product.\r\n

\r\n\r\naddbenefit.label
\r\nThe translated label for the add benefit link.\r\n

\r\n\r\nbenefit_loop
\r\nThis loop contains the benefits for this product.\r\n

\r\n\r\nbenefit.benefit
\r\nThe benefit text itself.\r\n

\r\n\r\nbenefit.controls
\r\nThe WebGUI management controls for this benefit.\r\n

\r\n\r\n

\r\n

\r\n\r\naddspecification.url
\r\nThe URL to add a specification to this product.\r\n

\r\n\r\naddspecification.label
\r\nThe translated label for the add specification link.\r\n

\r\n\r\nspecification_loop
\r\nThe list of specifications associated with this product.\r\n

\r\n\r\nspecification.controls
\r\nThe WebGUI management controls for this specification.\r\n

\r\n\r\nspecification.specification
\r\nThe text of the specification itself.\r\n

\r\n\r\nspecification.units
\r\nThe units for this specification. ex: meters\r\n

\r\n\r\nspecification.label
\r\nThe label for this specification. ex: height\r\n

\r\n\r\n

\r\n

\r\n\r\naddaccessory.url
\r\nThe URL to add an accessory to this product.\r\n

\r\n\r\naddaccessory.label
\r\nThe translated label for the add accessory link.\r\n

\r\n\r\naccessory_loop
\r\nThis loop contains all of the accessories associated with this product.\r\n

\r\n\r\naccessory.url
\r\nThe URL to the linked accessory.\r\n

\r\n\r\naccessory.title
\r\nThe title of the linked accessory.\r\n

\r\n\r\naccessory.controls
\r\nThe WebGUI management controls for this accessory.\r\n

\r\n\r\n

\r\n

\r\n\r\naddRelatedProduct.url
\r\nThe URL to add a related product to this product.\r\n

\r\n\r\naddRelatedProduct.label
\r\nThe translated label for the add related product link.\r\n

\r\n\r\nrelatedproduct.url
\r\nThe URL to the linked product.\r\n

\r\n\r\nrelatedproduct.title
\r\nThe title of the linked product.\r\n

\r\n\r\nrelatedproduct.controls
\r\nThe WebGUI management controls for this related product.\r\n

\r\n', 1038864092); +delete from international where languageId=1 and namespace='FileManager' and internationalId=75; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (75,1,'FileManager','File Manager Template', 1038853712); +delete from international where languageId=1 and namespace='FileManager' and internationalId=76; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (76,1,'FileManager','This is the list of template variables available in File Manager templates.\r\n

\r\n\r\ntitleColumn.url
\r\nThe URL to sort by the title.\r\n

\r\n\r\ntitleColumn.label
\r\nThe translated label for the title.\r\n

\r\n\r\ndescriptionColumn.label
\r\nThe translated label for the description.\r\n

\r\n\r\ndescriptionColumn.url
\r\nThe URL to sort by the description.\r\n

\r\n\r\ndateColumn.label
\r\nThe translated label for the upload date.\r\n

\r\n\r\ndateColumn.url
\r\nThe URL to sort by the date uploaded.\r\n

\r\n\r\nsearch.form
\r\nWebGUI\'s power search form.\r\n

\r\n\r\nsearch.url
\r\nThe URL to toggle search mode on and off.\r\n

\r\n\r\nsearch.label
\r\nThe translated label for the search link.\r\n

\r\n\r\naddfile.url
\r\nThe URL to add a file to the file manager.\r\n

\r\n\r\naddfile.label
\r\nThe translated label for the add file link.\r\n

\r\n\r\nfile_loop
\r\nA loop containing the information about each file uploaded to this file manager.\r\n

\r\nfile.canView
\r\nA condition as to whether the current user has the privileges to view this file.\r\n

\r\nfile.controls
\r\nThe WebGUI management controls for this file.\r\n

\r\nfile.title
\r\nThe title for this file.\r\n

\r\nfile.version1.name
\r\nThe filename for the first version of this file.\r\n

\r\nfile.version1.url
\r\nThe download URL for the first version of this file.\r\n

\r\nfile.version1.icon
\r\nThe URL to the icon for the file type of the first version of this file.\r\n

\r\nfile.version1.size
\r\nThe storage size of the first version of this file.\r\n

\r\nfile.version1.type
\r\nThe type (or file extension) of the first version of this file.\r\n

\r\nfile.version1.thumbnail
\r\nThe URL to the thumbnail for the first version of this file.\r\n

\r\nfile.version1.isImage
\r\nA conditional indicating whether the first version of this file is an image or not.\r\n

\r\nfile.version2.name
\r\nThe filename for the second version of this file.\r\n

\r\nfile.version2.url
\r\nThe download URL for the second version of this file.\r\n

\r\nfile.version2.icon
\r\nThe URL to the icon for the file type of the second version of this file.\r\n

\r\nfile.version2.size
\r\nThe storage size of the second version of this file.\r\n

\r\nfile.version2.type
\r\nThe type (or file extension) of the second version of this file.\r\n

\r\nfile.version2.thumbnail
\r\nThe URL to the thumbnail for the second version of this file.\r\n

\r\nfile.version2.isImage
\r\nA conditional indicating whether the second version of this file is an image or not.\r\n

\r\nfile.version3.name
\r\nThe filename for the third version of this file.\r\n

\r\nfile.version3.url
\r\nThe download URL for the third version of this file.\r\n

\r\nfile.version3.icon
\r\nThe URL to the icon for the file type of the third version of this file.\r\n

\r\nfile.version3.size
\r\nThe storage size of the third version of this file.\r\n

\r\nfile.version3.type
\r\nThe type (or file extension) of the third version of this file.\r\n

\r\nfile.version3.thumbnail
\r\nThe URL to the thumbnail for the third version of this file.\r\n

\r\nfile.version3.isImage
\r\nA conditional indicating whether the third version of this file is an image or not.\r\n

\r\nfile.description
\r\nThe description of this file.\r\n

\r\nfile.date
\r\nThe date that this file was uploaded.\r\n

\r\nfile.time
\r\nThe time that this file was uploaded.\r\n

\r\n

\r\n

\r\nnoresults.message
\r\nA translated message stating that this file manager has no files for this user to view.\r\n

\r\nnoresults
\r\nA conditional indicating whether there are any files for this user to view.\r\n

\r\n\r\nfirstPage
\r\nA link to the first page in the paginator.\r\n

\r\n\r\nlastPage
\r\nA link to the last page in the paginator.\r\n

\r\n\r\nnextPage
\r\nA link to the next page forward in the paginator.\r\n

\r\n\r\npreviousPage
\r\nA link to the next page backward in the paginator.\r\n

\r\n\r\npageList
\r\nA list of links to all the pages in the paginator.\r\n

\r\n\r\nmultiplePages
\r\nA conditional indicating whether there is more than one page in the paginator.\r\n

\r\n', 1038853712); +delete from international where languageId=1 and namespace='LinkList' and internationalId=75; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (75,1,'LinkList','Link List Template', 1038852816); +delete from international where languageId=1 and namespace='LinkList' and internationalId=76; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (76,1,'LinkList','The following is the list of template variables available in Link List templates.\r\n

\r\n\r\n\r\naddlink.url
\r\nThe URL to add a link to this link list.\r\n

\r\n\r\naddlink.label
\r\nThe translated label for the add link URL.\r\n

\r\n\r\nlink_loop
\r\nThis loop contains all of the information about each link.\r\n

\r\n\r\nlink.url
\r\nThe URL for this link.\r\n

\r\n\r\nlink.name
\r\nThe text to be linked.\r\n

\r\n\r\nlink.controls
\r\nThe WebGUI management controls for this link.\r\n

\r\n\r\nlink.newwindow
\r\nA conditional as to whether the link should be opened in a new window.\r\n

\r\n\r\nlink.description
\r\nThe description of this link.\r\n

\r\n\r\n

\r\n

\r\n', 1038852816); +delete from international where languageId=1 and namespace='Item' and internationalId=73; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (73,1,'Item','Item Template', 1038852468); +delete from international where languageId=1 and namespace='Item' and internationalId=74; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (74,1,'Item','The following is the list of template variables available in item templates.\r\n

\r\n\r\nattachment.name
\r\nThe filename for the file attached to this item.\r\n

\r\n\r\nattachment.url
\r\nThe URL to download the file attached to this item.\r\n

\r\n\r\nattachment.icon
\r\nThe URL to the icon for the file attached to this item.\r\n

', 1038852468); +delete from international where languageId=1 and namespace='EventsCalendar' and internationalId=96; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (96,1,'EventsCalendar','Event Template', 1038852164); +delete from international where languageId=1 and namespace='EventsCalendar' and internationalId=97; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (97,1,'EventsCalendar','The following is the list of template variables available in event templates.\r\n

\r\n\r\ntitle
\r\nThe title of this event.\r\n

\r\n\r\nstart.label
\r\nThe translated label for the start date.\r\n

\r\n\r\nstart.date
\r\nThe date this event starts.\r\n

\r\n\r\nend.date
\r\nThe date this event ends.\r\n

\r\n\r\nend.label
\r\nThe translated label for the end date.\r\n

\r\n\r\ncanEdit
\r\nA condition indicating whether the current user can edit an event.\r\n

\r\n\r\nedit.url
\r\nThe URL to edit this event.\r\n

\r\n\r\nedit.label
\r\nThe translated label for the edit URL.\r\n

\r\n\r\ndelete.url
\r\nThe URL to delete this event.\r\n

\r\n\r\ndelete.label
\r\nThe translated label for the delete URL.\r\n

\r\n\r\nprevious.url
\r\nThe URL to view the event before this one.\r\n

\r\n\r\nprevious.label
\r\nThe translated label for the previous URL.\r\n

\r\n\r\nnext.label
\r\nThe translated label for the next URL.\r\n

\r\n\r\nnext.url
\r\nThe URL to view the event after this one.\r\n

\r\n\r\ndescription
\r\nThe description of this event.\r\n

\r\n', 1038852164); +delete from international where languageId=1 and namespace='FAQ' and internationalId=76; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (76,1,'FAQ','FAQ Template', 1038802597); +delete from international where languageId=1 and namespace='FAQ' and internationalId=77; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (77,1,'FAQ','The following is the list of template variables available in FAQ templates.\r\n

\r\n\r\naddquestion.url
\r\nThe URL to add a question to the FAQ.\r\n

\r\n\r\naddquestion.label
\r\nThe translated label for the add question link.\r\n

\r\n\r\nqa_loop
\r\nThe loop containing the variables for each question in the FAQ.\r\n

\r\nqa.id
\r\nThe unique identifier for this question.\r\n

\r\nqa.answer
\r\nThe answer for this question.\r\n

\r\nqa.question
\r\nThe question itself.\r\n

\r\nqa.controls
\r\nThe WebGUI management controls for this question.\r\n

\r\n

\r\n

', 1038802597); +delete from international where languageId=1 and namespace='EventsCalendar' and internationalId=94; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (94,1,'EventsCalendar','Events Calendar Template', 1038795945); +delete from international where languageId=1 and namespace='EventsCalendar' and internationalId=95; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (95,1,'EventsCalendar','The following template variables are available for you to customize your events calendar.\r\n

\r\naddevent.url
\r\nThe URL to add an event to the calendar.\r\n

\r\n\r\naddevent.label
\r\nThe translated label for the add event link.\r\n

\r\n\r\ncalendar.big
\r\nA full page calendar.\r\n

\r\n\r\ncalendar.small
\r\nA small calendar showing only dates.\r\n

\r\n\r\ncalendar.firstPage
\r\nA link to the first page of the calendar pagination.\r\n

\r\n\r\ncalendar.lastPage
\r\nA link to the last page of the calendar pagination.\r\n

\r\n\r\ncalendar.nextPage
\r\nA link to the next page forward in the calendar pagination.\r\n

\r\n\r\ncalendar.previousPage
\r\nA link to the next page backward in the calendar pagination.\r\n

\r\n\r\ncalendar.pageList
\r\nA list of links to all the pages in the calendar pagination.\r\n

\r\n\r\ncalendar.multiplePages
\r\nA conditional variable indicating whether there is more than one page in the calendar pagination.\r\n

\r\n\r\nlist_loop
\r\nA loop containing the list view of an events calendar.\r\n

\r\nlist.date
\r\nThe date of this event.\r\n

\r\nlist.title
\r\nThe title of this event.\r\n

\r\nlist.description
\r\nThe description of this event.\r\n

\r\nlist.sameAsPrevious
\r\nA conditional indicating whether the this event has the same date as the last event.\r\n

\r\nlist.url
\r\nThe URL to the full page view of this event.\r\n

\r\nlist.controls
\r\nThe WebGUI management controls for this event.\r\n

\r\n\r\n

\r\n

\r\n\r\nlist.firstPage
\r\nA link to the first page of the pagination.\r\n

\r\n\r\nlist.lastPage
\r\nA link to the last page of the pagination.\r\n

\r\n\r\nlist.nextPage
\r\nA link to the next page forward in the pagination.\r\n

\r\n\r\nlist.previousPage
\r\nA link to the next page backward in the pagination.\r\n

\r\n\r\nlist.pageList
\r\nA list of links to all the pages in the pagination.\r\n

\r\n\r\nlist.multiplePages
\r\nA conditional variable indicating whether there is more than one page in the pagination.\r\n

\r\n\r\n', 1038795945); +delete from international where languageId=1 and namespace='Article' and internationalId=73; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (73,1,'Article','The following template variables are available for article templates.\r\n

\r\n\r\nattachment.box
\r\nOutputs a standard WebGUI attachment box including icon, filename, and attachment indicator.\r\n

\r\n\r\nattachment.icon
\r\nThe URL to the icon image for this attachment type.\r\n

\r\n\r\nattachment.name
\r\nThe filename for this attachment.\r\n

\r\n\r\nattachment.url
\r\nThe URL to download this attachment.\r\n

\r\n\r\nimage.thumbnail
\r\nThe URL to the thumbnail for the attached image.\r\n

\r\n\r\nimage.url
\r\nThe URL to the attached image.\r\n

\r\n\r\npost.label
\r\nThe translated label to add a comment to this article.\r\n

\r\n\r\n\r\npost.URL
\r\nThe URL to add a comment to this article.\r\n

\r\n\r\nreplies.count
\r\nThe number of comments attached to this article.\r\n

\r\n\r\nreplies.label
\r\nThe translated text indicating that you can view the replies.\r\n

\r\n\r\nreplies.url
\r\nThe URL to view the replies to this article.\r\n

\r\n', 1038794871); +delete from international where languageId=1 and namespace='Article' and internationalId=72; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (72,1,'Article','Article Template', 1038794871); +delete from international where languageId=1 and namespace='WebGUI' and internationalId=827; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (827,1,'WebGUI','Wobject Template', 1038794854); +delete from international where languageId=1 and namespace='WebGUI' and internationalId=828; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (828,1,'WebGUI','Most wobjects have templates that allow you to change the layout of the wobject\'s user interface. Those wobjects that do have templates all have a common set of template variables that you can use for layout, as well as their own custom variables. The following is a list of the common template variables shared among all wobjects.\r\n

\r\ntitle
\r\nThe title for this wobject.\r\n

\r\n\r\ndisplayTitle
\r\nA conditional variable for whether or not the title should be displayed.\r\n

\r\n\r\ndescription
\r\nThe description of this wobject.\r\n

\r\n\r\nwobjectId
\r\nThe unique identifier that WebGUI uses to control this wobject.\r\n

\r\n', 1038794854); +delete from international where languageId=1 and namespace='WebGUI' and internationalId=640; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (640,1,'WebGUI','It is not a good idea to delete templates as you never know what kind of adverse affect it may have on your site (some content may still be using the template). \r\n

\r\n\r\n', 1038791020); +delete from international where languageId=1 and namespace='WebGUI' and internationalId=685; +insert into international (internationalId,languageId,namespace,message,lastUpdated) values (685,1,'WebGUI','Template, Delete', 1038791020); diff --git a/lib/WebGUI.pm b/lib/WebGUI.pm index 4548912bc..b90e98114 100644 --- a/lib/WebGUI.pm +++ b/lib/WebGUI.pm @@ -22,6 +22,7 @@ use WebGUI::Privilege; use WebGUI::Session; use WebGUI::SQL; use WebGUI::Style; +use WebGUI::Page; use WebGUI::Template; use WebGUI::URL; use WebGUI::Utility; @@ -74,7 +75,7 @@ sub _generatePage { order by sequenceNumber, wobjectId"); while ($wobject = $sth->hashRef) { if ($session{var}{adminOn} && $canEdit) { - $contentHash{"template.position".${$wobject}{templatePosition}} .= "\n


" + $contentHash{"page.position".${$wobject}{templatePosition}} .= "\n
" .wobjectIcon() .deleteIcon('func=delete&wid='.${$wobject}{wobjectId}) .editIcon('func=edit&wid='.${$wobject}{wobjectId}) @@ -108,19 +109,19 @@ sub _generatePage { $w = eval{$cmd->new($wobject)}; WebGUI::ErrorHandler::fatalError("Couldn't instanciate wobject: ${$wobject}{namespace}. Root cause: ".$@) if($@); if ($w->inDateRange) { - $contentHash{"template.position".${$wobject}{templatePosition}} .= '
'; - $contentHash{"template.position".${$wobject}{templatePosition}} .= ''; - $contentHash{"template.position".${$wobject}{templatePosition}} .= eval{$w->www_view}; + $contentHash{"page.position".${$wobject}{templatePosition}} .= eval{$w->www_view}; WebGUI::ErrorHandler::fatalError("Wobject runtime error: ${$wobject}{namespace}. Root cause: ".$@) if($@); - $contentHash{"template.position".${$wobject}{templatePosition}} .= "
\n\n"; + $contentHash{"page.position".${$wobject}{templatePosition}} .= "\n\n"; } } $sth->finish; $template = $session{page}{templateId}; } else { - $contentHash{"template.position".1} = WebGUI::Privilege::noAccess(); + $contentHash{"page.position1"} = WebGUI::Privilege::noAccess(); } return (\%contentHash,$template,$pageEdit); } @@ -234,7 +235,7 @@ sub page { WebGUI::Session::close(); return $httpHeader.$operationOutput.$wobjectOutput; } elsif ($operationOutput ne "") { - $positions->{"template.position".1} = $operationOutput; + $positions->{"page.position1"} = $operationOutput; } elsif ($session{page}{redirectURL}) { $httpHeader = WebGUI::Session::httpRedirect(WebGUI::Macro::process($session{page}{redirectURL})); WebGUI::Session::close(); @@ -244,20 +245,12 @@ sub page { WebGUI::Session::close(); return $httpHeader; } elsif ($wobjectOutput ne "") { - $positions->{"template.position".1} = $wobjectOutput; + $positions->{"page.position1"} = $wobjectOutput; } else { ($positions, $template, $pageEdit) = _generatePage(); } $httpHeader = WebGUI::Session::httpHeader(); - $content = WebGUI::Template::process( - WebGUI::Macro::process( - WebGUI::Style::get( - $pageEdit - .WebGUI::Template::get($template) - ) - ), - $positions - ); + $content = WebGUI::Template::process(WebGUI::Style::get($pageEdit.WebGUI::Page::getTemplate($template)), $positions); $debug = _generateDebug(); WebGUI::Session::close(); return $httpHeader.$content.$debug; diff --git a/lib/WebGUI/Form.pm b/lib/WebGUI/Form.pm index 840a6ee92..38ac95e47 100644 --- a/lib/WebGUI/Form.pm +++ b/lib/WebGUI/Form.pm @@ -19,6 +19,7 @@ use WebGUI::DateTime; use WebGUI::International; use WebGUI::Session; use WebGUI::SQL; +use WebGUI::Template; use WebGUI::URL; =head1 NAME @@ -1079,13 +1080,11 @@ sub submit { =cut sub template { - my ($templates, $templateId, $where); + my ($templateId, $where); $templateId = $_[0]->{value} || 1; - $templates = WebGUI::SQL->buildHashRef("select templateId,name from template where namespace=" - .quote($_[0]->{namespace})." order by name"); return selectList({ name=>$_[0]->{name}, - options=>$templates, + options=>WebGUI::Template::getList($_[0]->{namespace}), value=>[$templateId] }); } diff --git a/lib/WebGUI/Macro/AdminBar.pm b/lib/WebGUI/Macro/AdminBar.pm index a96b0e264..f61533022 100644 --- a/lib/WebGUI/Macro/AdminBar.pm +++ b/lib/WebGUI/Macro/AdminBar.pm @@ -32,10 +32,9 @@ sub _replacement { $hash{WebGUI::URL::page('op=selectPackageToDeploy')} = WebGUI::International::get(376); } foreach $key (keys %{$session{wobject}}) { - $hash2{WebGUI::URL::page('func=edit&wid=new&namespace='.$key)} = $session{wobject}{$key}; + $hash{WebGUI::URL::page('func=edit&wid=new&namespace='.$key)} = $session{wobject}{$key}; } - %hash2 = sortHash(%hash2); - %hash = (%hash, %hash2); + %hash = sortHash(%hash); $contentSelect = WebGUI::Form::selectList({ name=>"contentSelect", options=>\%hash, diff --git a/lib/WebGUI/Operation/Page.pm b/lib/WebGUI/Operation/Page.pm index d939e022d..21bd81069 100644 --- a/lib/WebGUI/Operation/Page.pm +++ b/lib/WebGUI/Operation/Page.pm @@ -19,7 +19,7 @@ use WebGUI::International; use WebGUI::Privilege; use WebGUI::Session; use WebGUI::SQL; -use WebGUI::Template; +use WebGUI::Page; use WebGUI::URL; use WebGUI::Utility; @@ -64,6 +64,66 @@ sub _reorderPages { $sth->finish; } +#------------------------------------------------------------------- +sub _selectPositions { + my ($templates, $output, $f, $key); + $f = WebGUI::HTMLForm->new(1); + $templates = WebGUI::Page::getTemplateList(); + $f->select("templateId",$templates,'',[$_[0]],'','','onChange="changeTemplatePreview(this.form.templateId.value)"'); + $output = ' + '; + $output .= $f->printRowsOnly; + $output .= '
'; + return $output; +} + #------------------------------------------------------------------- sub _traversePageTree { my ($a, $b, %page, %wobject, $output, $depth, $i, $spacer); @@ -240,7 +300,7 @@ sub www_editPage { -uiLevel=>9 ); $f->readOnly( - -value=>WebGUI::Template::select($page{templateId}), + -value=>_selectPositions($page{templateId}), -label=>WebGUI::International::get(356), -uiLevel=>5 ); @@ -384,7 +444,7 @@ sub www_editPageSave { synopsis=".quote($session{form}{synopsis})." where pageId=$session{form}{pageId}"); WebGUI::SQL->write("update wobject set templatePosition=1 where pageId=$session{form}{pageId} - and templatePosition>".WebGUI::Template::countPositions($session{form}{templateId})); + and templatePosition>".WebGUI::Page::countTemplatePositions($session{form}{templateId})); _recursivelyChangeStyle($session{page}{pageId}) if ($session{form}{recurseStyle}); _recursivelyChangePrivileges($session{page}{pageId}) if ($session{form}{recursePrivs}); WebGUI::Session::refreshPageInfo($session{page}{pageId}) if ($session{form}{pageId} == $session{page}{pageId}); diff --git a/lib/WebGUI/Operation/Template.pm b/lib/WebGUI/Operation/Template.pm index 7bf4de368..fbc9f7823 100644 --- a/lib/WebGUI/Operation/Template.pm +++ b/lib/WebGUI/Operation/Template.pm @@ -93,7 +93,7 @@ sub www_editTemplate { if (WebGUI::Privilege::isInGroup($session{setting}{templateManagersGroup})) { if ($session{form}{tid} eq "new") { if ($session{form}{namespace} eq "Page") { - $template{template} = "\n \n
\n\n\n\n". + $template{template} = "\n \n \n \n
\n\n\n\n". "
\n"; } else { $template{template} = "

\n\n"; @@ -146,7 +146,7 @@ sub www_editTemplateSave { ($session{form}{tid}, ".quote($session{form}{namespace}).")"); } if ($session{form}{template} eq "" && $session{form}{namespace} eq "Page") { - $session{form}{template} = "\n\n\n \n
\n\n\n\n
\n"; + $session{form}{template} = "\n\n\n \n
\n\n\n\n
\n"; } WebGUI::SQL->write("update template set name=".quote($session{form}{name}).", template=".quote($session{form}{template})." diff --git a/lib/WebGUI/Page.pm b/lib/WebGUI/Page.pm new file mode 100644 index 000000000..fa06c1133 --- /dev/null +++ b/lib/WebGUI/Page.pm @@ -0,0 +1,74 @@ +package WebGUI::Page; + +#------------------------------------------------------------------- +# WebGUI is Copyright 2001-2002 Plain Black LLC. +#------------------------------------------------------------------- +# Please read the legal notices (docs/legal.txt) and the license +# (docs/license.txt) that came with this distribution before using +# this software. +#------------------------------------------------------------------- +# http://www.plainblack.com info@plainblack.com +#------------------------------------------------------------------- + +use HTML::Template; +use strict; +use Tie::IxHash; +use WebGUI::ErrorHandler; +use WebGUI::HTMLForm; +use WebGUI::Session; +use WebGUI::SQL; +use WebGUI::Template; + + +#------------------------------------------------------------------- +sub _newPositionFormat { + return ""; +} + +#------------------------------------------------------------------- +sub countTemplatePositions { + my ($template, $i); + $template = getTemplate($_[0]); + $i = 1; + while ($template =~ m/page\.position$i/) { + $i++; + } + return $i-1; +} + +#------------------------------------------------------------------- +sub drawTemplate { + my $template = getTemplate($_[0]); + $template =~ s/\n//g; + $template =~ s/\r//g; + $template =~ s/\'/\\\'/g; + $template =~ s/\/\/ig; + $template =~ s/\/$1/ig; + return $template; +} + +#------------------------------------------------------------------- +sub getTemplateList { + return WebGUI::Template::getList("Page"); +} + +#------------------------------------------------------------------- +sub getTemplate { + my $template = WebGUI::Template::get($_[0],"Page"); + $template =~ s/\^(\d+)\;/_newPositionFormat($1)/eg; #compatibility with old-style templates + return $template; +} + +#------------------------------------------------------------------- +sub getTemplatePositions { + my (%hash, $template, $i); + tie %hash, "Tie::IxHash"; + for ($i=1; $i<=countTemplatePositions($_[0]); $i++) { + $hash{$i} = $i; + } + return \%hash; +} + + +1; + diff --git a/lib/WebGUI/Style.pm b/lib/WebGUI/Style.pm index b127461a5..ea376a5ad 100644 --- a/lib/WebGUI/Style.pm +++ b/lib/WebGUI/Style.pm @@ -46,7 +46,7 @@ sub get { } $header .= ''.$body[0]; $footer = $body[1].' '; - return $header.$_[0].$footer; + return WebGUI::Macro::process($header.$_[0].$footer); } diff --git a/lib/WebGUI/Template.pm b/lib/WebGUI/Template.pm index 5e7747d12..6eaad00b8 100644 --- a/lib/WebGUI/Template.pm +++ b/lib/WebGUI/Template.pm @@ -12,66 +12,24 @@ package WebGUI::Template; use HTML::Template; use strict; -use Tie::IxHash; use WebGUI::ErrorHandler; -use WebGUI::HTMLForm; use WebGUI::Session; use WebGUI::SQL; -#------------------------------------------------------------------- -sub _newPositionFormat { - return ""; -} - -#------------------------------------------------------------------- -sub countPositions { - my ($template, $i); - $template = get($_[0]); - $i = 1; - while ($template =~ m/template\.position$i/) { - $i++; - } - return $i-1; -} - -#------------------------------------------------------------------- -sub draw { - my $template = get($_[0]); - $template =~ s/\n//g; - $template =~ s/\r//g; - $template =~ s/\'/\\\'/g; - $template =~ s/\/\
/ig; - $template =~ s/\/$1/ig; - return $template; -} - #------------------------------------------------------------------- sub get { my $templateId = $_[0] || 1; my $namespace = $_[1] || "Page"; my ($template) = WebGUI::SQL->quickArray("select template from template where templateId=".$templateId." and namespace=".quote($namespace)); - $template =~ s/\^(\d+)\;/_newPositionFormat($1)/eg; #compatibility with old-style templates return $template; } #------------------------------------------------------------------- sub getList { - my (%list); - tie %list, 'Tie::IxHash'; - %list = WebGUI::SQL->buildHash("select templateId,name from template where namespace='Page' order by name"); - return \%list; -} - -#------------------------------------------------------------------- -sub getPositions { - my (%hash, $template, $i); - tie %hash, "Tie::IxHash"; - for ($i=1; $i<=countPositions($_[0]); $i++) { - $hash{$i} = $i; - } - return \%hash; + my $namespace = $_[0] || "Page"; + return WebGUI::SQL->buildHashRef("select templateId,name from template where namespace=".quote($namespace)." order by name"); } #------------------------------------------------------------------- @@ -104,64 +62,6 @@ sub process { return $t->output; } -#------------------------------------------------------------------- -sub select { - my ($templates, $output, $f, $key); - $f = WebGUI::HTMLForm->new(1); - $templates = getList(); - $f->select("templateId",$templates,'',[$_[0]],'','','onChange="changeTemplatePreview(this.form.templateId.value)"'); - $output = ' - '; - $output .= $f->printRowsOnly; - $output .= '
'; - return $output; -} 1; diff --git a/lib/WebGUI/Wobject.pm b/lib/WebGUI/Wobject.pm index 967d123e3..96fb8913a 100644 --- a/lib/WebGUI/Wobject.pm +++ b/lib/WebGUI/Wobject.pm @@ -26,6 +26,7 @@ use WebGUI::Macro; use WebGUI::Node; use WebGUI::Session; use WebGUI::SQL; +use WebGUI::Page; use WebGUI::Template; use WebGUI::URL; use WebGUI::Utility; @@ -1070,8 +1071,8 @@ sub www_edit { -label=>WebGUI::International::get(363), -value=>[$templatePosition], -uiLevel=>5, - -options=>WebGUI::Template::getPositions($session{page}{templateId}), - -subtext=>WebGUI::Template::draw($session{page}{templateId}) + -options=>WebGUI::Page::getTemplatePositions($session{page}{templateId}), + -subtext=>WebGUI::Page::drawTemplate($session{page}{templateId}) ); $f->date( -name=>"startDate", diff --git a/lib/WebGUI/Wobject/EventsCalendar.pm b/lib/WebGUI/Wobject/EventsCalendar.pm index e04ed0af0..36dc74492 100644 --- a/lib/WebGUI/Wobject/EventsCalendar.pm +++ b/lib/WebGUI/Wobject/EventsCalendar.pm @@ -266,7 +266,7 @@ sub www_edit { -options=>{ addEvent=>WebGUI::International::get(91,$namespace), backToPage=>WebGUI::International::get(745) - } + }, -value=>"addEvent" ); } @@ -343,7 +343,7 @@ sub www_editEvent { -options=>{ addEvent=>WebGUI::International::get(91,$namespace), backToPage=>WebGUI::International::get(745) - } + }, -value=>"addEvent" ); } diff --git a/lib/WebGUI/Wobject/ExtraColumn.pm b/lib/WebGUI/Wobject/ExtraColumn.pm index e904c92d5..df33f0402 100644 --- a/lib/WebGUI/Wobject/ExtraColumn.pm +++ b/lib/WebGUI/Wobject/ExtraColumn.pm @@ -19,6 +19,7 @@ use WebGUI::International; use WebGUI::Privilege; use WebGUI::Session; use WebGUI::SQL; +use WebGUI::Page; use WebGUI::Template; use WebGUI::Wobject; @@ -74,8 +75,8 @@ sub www_edit { -label=>WebGUI::International::get(363), -value=>[$templatePosition], -uiLevel=>5, - -options=>WebGUI::Template::getPositions($session{page}{templateId}), - -subtext=>WebGUI::Template::draw($session{page}{templateId}) + -options=>WebGUI::Page::getTemplatePositions($session{page}{templateId}), + -subtext=>WebGUI::Page::drawTemplate($session{page}{templateId}) ); $f->date("startDate",WebGUI::International::get(497),$startDate); $f->date("endDate",WebGUI::International::get(498),$endDate); diff --git a/lib/WebGUI/Wobject/WobjectProxy.pm b/lib/WebGUI/Wobject/WobjectProxy.pm index 91a7d84ca..b99e5f263 100644 --- a/lib/WebGUI/Wobject/WobjectProxy.pm +++ b/lib/WebGUI/Wobject/WobjectProxy.pm @@ -19,6 +19,7 @@ use WebGUI::International; use WebGUI::Privilege; use WebGUI::Session; use WebGUI::SQL; +use WebGUI::Page; use WebGUI::Template; use WebGUI::Wobject; @@ -72,8 +73,8 @@ sub www_edit { -label=>WebGUI::International::get(363), -value=>[$templatePosition], -uiLevel=>5, - -options=>WebGUI::Template::getPositions($session{page}{templateId}), - -subtext=>WebGUI::Template::draw($session{page}{templateId}) + -options=>WebGUI::Page::getTemplatePositions($session{page}{templateId}), + -subtext=>WebGUI::Page::drawTemplate($session{page}{templateId}) ); $f->date("startDate",WebGUI::International::get(497),$startDate); $f->date("endDate",WebGUI::International::get(498),$endDate); diff --git a/sbin/preload.perl b/sbin/preload.perl index 7f72285f4..d2931a4d7 100644 --- a/sbin/preload.perl +++ b/sbin/preload.perl @@ -80,6 +80,7 @@ use WebGUI::Operation::Style (); use WebGUI::Operation::Template (); use WebGUI::Operation::Trash (); use WebGUI::Operation::User (); +use WebGUI::Page (); use WebGUI::Paginator (); use WebGUI::Privilege (); #use WebGUI::Profile (); # compile problems when this is included