diff --git a/docs/create.sql b/docs/create.sql index 19c20e889..e625f3d3c 100644 --- a/docs/create.sql +++ b/docs/create.sql @@ -2774,7 +2774,7 @@ CREATE TABLE style ( INSERT INTO style VALUES (-3,'WebGUI','\r\n\r\n\r\n\r\n
\r\n\r\n\r\n\r\n\r\n \r\n \r\n \r\n\r\n\r\n
^FlexMenu;
\r\n^L;\r\n
\r\n\r\n','
\r\n

\r\n

\r\n
\r\n©2001-2002 Plain Black Software
\r\n
\r\n',''); INSERT INTO style VALUES (2,'Fail Safe','\r\n^H; / ^t; / ^m; / ^a;\r\n
','
\r\n^H; / ^t; / ^m; / ^a;\r\n',''); INSERT INTO style VALUES (-2,'Plain Black Software (black)','\r\n\r\n\r\n\r\n \r\n \r\n \r\n\r\n\r\n \r\n \r\n\r\n
\"Plain\"User:\" ^@;\"My\"|\"\"Download\"\"|\"\"Home\"
^C;^D(\"%c %D, %y\");
\r\n\r\n\r\n \r\n \r\n\r\n\r\n \r\n\r\n
^T(2);','

\"\"

\r\n\r\n\r\n \r\n \r\n\r\n
\"Copyright\"Make
\r\n\r\n',''); -INSERT INTO style VALUES (4,'Clipboard','\r\n\r\n\r\n\r\n\r\n
Clipboard\r\n^H; / ^a;
\r\n
PAGES
^M(0);
CONTENT
','
\r\n\r\n\r\n
\r\n^H; / ^a;\r\n',''); +INSERT INTO style VALUES (4,'Clipboard','\r\n\r\n\r\n\r\n\r\n
Clipboard\r\n^H; / ^a;
\r\n
PAGES
^FlexMenu;
CONTENT
','
\r\n\r\n\r\n
\r\n^H; / ^a;\r\n',''); INSERT INTO style VALUES (6,'Reserved','','',NULL); INSERT INTO style VALUES (7,'Reserved','','',NULL); INSERT INTO style VALUES (8,'Reserved','','',NULL); @@ -2799,8 +2799,8 @@ INSERT INTO style VALUES (-4,'Demo Style','\r\n\r\n\r\n
','
© 2001-2002 Plain Black Software
\r\n',''); INSERT INTO style VALUES (25,'Reserved',NULL,NULL,NULL); INSERT INTO style VALUES (-5,'Plain Black Software (white)','\r\n\r\n\r\n\r\n \r\n \r\n \r\n\r\n\r\n \r\n \r\n\r\n
\"Plain\"User:\" ^@;\"My\"|\"\"Download\"\"|\"\"Home\"
^C;^D(\"%c %D, %y\");
\r\n\r\n\r\n \r\n \r\n\r\n\r\n \r\n\r\n
^T(2);','

\"\"

\r\n\r\n\r\n \r\n \r\n\r\n
\"Copyright\"Make
\r\n\r\n',''); -INSERT INTO style VALUES (5,'Trash','\r\n\r\n\r\n\r\n\r\n
Trash\r\n^H; / ^a; / Empty Trash
\r\n
PAGES
^M(0);
CONTENT
','
\r\n\r\n\r\n
\r\n^H; / ^a; / Empty Trash\r\n',''); -INSERT INTO style VALUES (1,'Packages','\r\n\r\n\r\n\r\n\r\n
Packages\r\n^H; / ^a;
\r\n
PACKAGES
^M(0);
CONTENT
','
\r\n\r\n\r\n
\r\n^H; / ^a;\r\n',''); +INSERT INTO style VALUES (5,'Trash','\r\n\r\n\r\n\r\n\r\n
Trash\r\n^H; / ^a; / Empty Trash
\r\n
PAGES
^FlexMenu;
CONTENT
','
\r\n\r\n\r\n
\r\n^H; / ^a; / Empty Trash\r\n',''); +INSERT INTO style VALUES (1,'Packages','\r\n\r\n\r\n\r\n\r\n
Packages\r\n^H; / ^a;
\r\n
PACKAGES
^FlexMenu;
CONTENT
','
\r\n\r\n\r\n
\r\n^H; / ^a;\r\n',''); # # Table structure for table 'userLoginLog' @@ -2952,7 +2952,7 @@ INSERT INTO widget VALUES (-1,4,'SiteMap',0,'Page Not Found',1,'The page you wer insert into international values (438,'WebGUI','English','Your Name'); -insert into webguiVersion values ('3.6.2','intitial install',unix_timestamp()); +insert into webguiVersion values ('3.6.3','intitial install',unix_timestamp()); INSERT INTO help VALUES (1,'WebGUI','English','Add/Edit','Page','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\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\nMenu Title
\r\nA shorter or altered title to appear in navigation. If left blank this will default to Title.\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\nTemplate
\r\nBy default, WebGUI has one big content area to place widgets. However, by specifying a template other than the default you can sub-divide the content area into several sections.\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\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\nAdvanced Users: If you have other things (like JavaScript) you usually put in the <head> area of your pages, you may put them here as well.\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\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\nIf you check the box 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\nOwner
\r\nThe owner of a page is usually the person who created the page.\r\n

\r\nOwner can view?
\r\nCan the owner view the page or not?\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\nGroup
\r\nA group is assigned to every page for additional privilege control. Pick a group from the pull-down menu.\r\n

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

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

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

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

\r\nYou can optionally give these privileges to all pages under this page.\r\n','0'); INSERT INTO help VALUES (3,'WebGUI','English','Delete','Page','Deleting a page can create a big mess if you are uncertain about what you are doing. When you delete a page you are also deleting the content it contains, all sub-pages connected to this page, and all the content they contain. Be certain that you have already moved all the content you wish to keep before you delete a page.\r\n

\r\nAs with any delete operation, you are prompted to be sure you wish to proceed with the delete. If you answer yes, the delete will proceed and there is no recovery possible. If you answer no you\'ll be returned to the prior screen.','0'); diff --git a/docs/previousVersion.sql b/docs/previousVersion.sql index 64eb23053..19c20e889 100644 --- a/docs/previousVersion.sql +++ b/docs/previousVersion.sql @@ -487,55 +487,6 @@ CREATE TABLE help ( KEY helpId (helpId,language) ) TYPE=MyISAM; -# -# Dumping data for table 'help' -# - -INSERT INTO help VALUES (1,'WebGUI','English','Add/Edit','Page','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\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\nMenu Title
\r\nA shorter or altered title to appear in navigation. If left blank this will default to Title.\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\nTemplate
\r\nBy default, WebGUI has one big content area to place widgets. However, by specifying a template other than the default you can sub-divide the content area into several sections.\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\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\nAdvanced Users: If you have other things (like JavaScript) you usually put in the <head> area of your pages, you may put them here as well.\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\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\nIf you check the box 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\nOwner
\r\nThe owner of a page is usually the person who created the page.\r\n

\r\nOwner can view?
\r\nCan the owner view the page or not?\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\nGroup
\r\nA group is assigned to every page for additional privilege control. Pick a group from the pull-down menu.\r\n

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

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

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

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

\r\nYou can optionally give these privileges to all pages under this page.\r\n','0'); -INSERT INTO help VALUES (3,'WebGUI','English','Delete','Page','Deleting a page can create a big mess if you are uncertain about what you are doing. When you delete a page you are also deleting the content it contains, all sub-pages connected to this page, and all the content they contain. Be certain that you have already moved all the content you wish to keep before you delete a page.\r\n

\r\nAs with any delete operation, you are prompted to be sure you wish to proceed with the delete. If you answer yes, the delete will proceed and there is no recovery possible. If you answer no you\'ll be returned to the prior screen.','0'); -INSERT INTO help VALUES (4,'WebGUI','English','Delete','Style','When you delete a style all pages using that style will be reverted to the fail safe (default) style. To ensure uninterrupted viewing, you should be sure that no pages are using a style before you delete it.\r\n

\r\n\r\nAs with any delete operation, you are prompted to be sure you wish to proceed with the delete. If you answer yes, the delete will proceed and there is no recovery possible. If you answer no you\'ll be returned to the prior screen.','4,5'); -INSERT INTO help VALUES (5,'WebGUI','English','Add/Edit','User','See Manage Users for additional details.\r\n

\r\n\r\nUsername
\r\nUsername is a unique identifier for a user. Sometimes called a handle, it is also how the user will be known on the site. (Note: Administrators have unlimited power in the WebGUI system. This also means they are capable of breaking the system. If you rename or create a user, be careful not to use a username already in existance.)\r\n

\r\n\r\nPassword
\r\nA password is used to ensure that the user is who s/he says s/he is.\r\n

\r\n\r\nAuthentication Method
\r\nSee Edit Settings for details.\r\n

\r\n\r\nLDAP URL
\r\nSee Edit Settings for details.\r\n

\r\n\r\nConnect DN
\r\nThe Connect DN is the cn (or common name) of a given user in your LDAP database. It should be specified as cn=John Doe. This is, in effect, the username that will be used to authenticate this user against your LDAP server.\r\n

\r\n\r\nEmail Address
\r\nThe user\'s email address. This must only be specified if the user will partake in functions that require email.\r\n

\r\n\r\nGroups
\r\nGroups displays which groups the user is in. Groups that are highlighted are groups that the user is assigned to. Those that are not highlighted are other groups that can be assigned. Note that you must hold down CTRL to select multiple groups.\r\n

\r\n\r\nLanguage
\r\nWhat language should be used to display system related messages.\r\n

\r\n\r\nICQ UIN
\r\nThe ICQ UIN is the \"User ID Number\" on the ICQ network. ICQ is a very popular instant messaging platform.\r\n\r\n','0'); -INSERT INTO help VALUES (7,'WebGUI','English','Delete','User','There is no need to ever actually delete a user. If you are concerned with locking out a user, then simply change their password. If you truely wish to delete a user, then please keep in mind that there are consequences. If you delete a user any content that they added to the site via widgets (like message boards and user contributions) will remain on the site. However, if another user tries to visit the deleted user\'s profile they will get an error message. Also if the user ever is welcomed back to the site, there is no way to give him/her access to his/her old content items except by re-adding the user to the users table manually.\r\n

\r\n\r\nAs with any delete operation, you are prompted to be sure you wish to proceed with the delete. If you answer yes, the delete will proceed and there is no recovery possible. If you answer no you\'ll be returned to the prior screen.','0'); -INSERT INTO help VALUES (8,'WebGUI','English','Manage','User','Users are the accounts in the system that are given rights to do certain things. There are two default users built into the system: Admin and Visitor.\r\n

\r\n\r\nAdmin
\r\nAdmin is exactly what you\'d expect. It is a user with unlimited rights in the WebGUI environment. If it can be done, this user has the rights to do it.\r\n

\r\n\r\nVisitor
\r\nVisitor is exactly the opposite of Admin. Visitor has no rights what-so-ever. By default any user who is not logged in is seen as the user Visitor.\r\n

\r\n\r\nAdd a new user.
\r\nClick on this to go to the add user screen.\r\n

\r\n\r\nSearch
\r\nYou can search users based on username and email address. You can do partial searches too if you like.','0'); -INSERT INTO help VALUES (9,'WebGUI','English','Manage','Style','Styles are used to manage the look and feel of your WebGUI pages. With WebGUI, you can have an unlimited number of styles, so your site can take on as many looks as you like. You could have some pages that look like your company\'s brochure, and some pages that look like Yahoo!®. You could even have some pages that look like pages in a book. Using style management, you have ultimate control over all your designs.\r\n

\r\n\r\nThere are several styles built into WebGUI. The first of these are used by WebGUI can should not be edited or deleted. The last few are simply example styles and may be edited or deleted as you please.\r\n

\r\n\r\nFail Safe
\r\nWhen you delete a style that is still in use on some pages, the Fail Safe style will be applied to those pages. This style has a white background and simple navigation.\r\n

\r\n\r\nMake Page Printable
\r\nThis style is used if you place an ^r; macro on your pages and the user clicks on it. This style allows you to put a simple logo and copyright message on your printable pages.\r\n

\r\n\r\nPackages
\r\nThis style is used by the package management system.\r\n

\r\n\r\nTrash / Clipboard
\r\nThis style is used by the trash and clipboard system.\r\n

\r\n\r\n


\r\n

\r\n\r\nDemo Style
\r\nThis is a sample design taken from a templates site (www.freewebtemplates.com).\r\n

\r\n\r\nPlain Black Software (black) & (white)
\r\nThese designs are used on the Plain Black site.\r\n

\r\n\r\nYahoo!®
\r\nThis is the design of the Yahoo!® site. (Used without permission.)\r\n

\r\n\r\nWebGUI
\r\nThis is a simple design featuring WebGUI logos.\r\n\r\n','4,5'); -INSERT INTO help VALUES (10,'WebGUI','English','Manage','Group','Groups are used to subdivide privileges and responsibilities within the WebGUI system. For instance, you may be building a site for a classroom situation. In that case you might set up a different group for each class that you teach. You would then apply those groups to the pages that are designed for each class.\r\n

\r\n\r\nThere are four groups built into WebGUI. They are Admins, Content Managers, Visitors, and Registered Users.\r\n

\r\n\r\nAdmins
\r\nAdmins are users who have unlimited privileges within WebGUI. A user should only be added to the admin group if they oversee the system. Usually only one to three people will be added to this group.\r\n

\r\n\r\nContent Managers
\r\nContent managers are users who have privileges to add, edit, and delete content from various areas on the site. The content managers group should not be used to control individual content areas within the site, but to determine whether a user can edit content at all. You should set up additional groups to separate content areas on the site.\r\n

\r\n\r\nRegistered Users
\r\nWhen users are added to the system they are put into the registered users group. A user should only be removed from this group if their account is deleted or if you wish to punish a troublemaker.\r\n

\r\n\r\nVisitors
\r\nVisitors are users who are not logged in using an account on the system. Also, if you wish to punish a registered user you could remove him/her from the Registered Users group and insert him/her into the Visitors group.','0'); -INSERT INTO help VALUES (12,'WebGUI','English','Manage','Settings','Settings are items that allow you to adjust WebGUI to your particular needs.\r\n

\r\n\r\nEdit Authentication Settings
\r\nSettings concerning user identification and login, such as LDAP.\r\n

\r\n\r\nEdit Company Information
\r\nInformation specific about the company or individual who controls this installation of WebGUI.\r\n

\r\n\r\nEdit File Settings
\r\nSettings concerning attachments and images.\r\n

\r\n\r\nEdit Mail Settings
\r\nSettings concerning email and related functions.\r\n

\r\n\r\nEdit Miscellaneous Settings
\r\nEverything else.\r\n\r\n','7,8,9.10,11,12'); -INSERT INTO help VALUES (14,'WebGUI','English','Delete','Widget','This function permanently deletes the selected widget from a page. If you are unsure whether you wish to delete this content you may be better served to cut the content to the clipboard until you are certain you wish to delete it.\r\n

\r\n\r\nAs with any delete operation, you are prompted to be sure you wish to proceed with the delete. If you answer yes, the delete will proceed and there is no recovery possible. If you answer no you\'ll be returned to the prior screen.','0'); -INSERT INTO help VALUES (15,'WebGUI','English','Delete','Group','As the function suggests you\'ll be deleting a group and removing all users from the group. Be careful not to orphan users from pages they should have access to by deleting a group that is in use.\r\n

\r\n\r\nAs with any delete operation, you are prompted to be sure you wish to proceed with the delete. If you answer yes, the delete will proceed and there is no recovery possible. If you answer no you\'ll be returned to the prior screen.','0'); -INSERT INTO help VALUES (16,'WebGUI','English','Add/Edit','Style','Styles are WebGUI macro enabled. See Using Macros for more information.\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\nHeader
\r\nThe header is the start of the look of your site. It is helpful to look at your design and cut it into three pieces. The top and left of your design is the header. The center part is the content, and the right and bottom is the footer. Cut the HTML from your header and paste it in the space provided.\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\nMany people will add WebGUI macros to their header for automated navigation, and other features.\r\n

\r\n\r\nFooter
\r\nThe footer is the end of the look for your site. It is the right and bottom portion of your design. You may also place WebGUI macros in your footer.\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\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<link href=\"/webgui.css\" rel=\"stylesheet\" rev=\"stylesheet\" type=\"text/css\">','4,5'); -INSERT INTO help VALUES (17,'WebGUI','English','Add/Edit','Group','See Manage Group for a description of grouping functions and the default groups.\r\n

\r\n\r\nGroup Name
\r\nA name for the group. It is best if the name is descriptive so you know what it is at a glance.\r\n

\r\n\r\nDescription
\r\nA longer description of the group so that other admins and content managers (or you if you forget) will know what the purpose of this group is.','0'); -INSERT INTO help VALUES (24,'WebGUI','English','Edit','Miscellaneous Settings','Not 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\nSession Timeout
\r\nThe time (in seconds) that a user session remains active (before needing to log in again). This timeout is reset each time a visitor hits a page. Therefore if you set the timeout for 8 hours, a user would have to log in again if s/he hadn\'t visited the site for 8 hours.\r\n

\r\n\r\n1800 = half hour
\r\n3600 = 1 hour
\r\n28000 = 8 hours
\r\n86400 = 1 day
\r\n604800 = 1 week
\r\n1209600 = 2 weeks
\r\n\r\n

\r\nDocument Type Declaration
\r\nThis setting allows you to specify what type of HTML you\'re generating with WebGUI. This is usually useful for HTML validation or for gaining special functionality in certain browsers. Most people should leave this at the default setting.\r\n\r\n

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

\r\nOn Critical Error
\r\nWhat do you want WebGUI to do if a critical error occurs. It can be a security risk to show debugging information, but you may want to show it if you are in development.\r\n\r\n

\r\nFilter Contributed HTML
\r\nChoose a setting that represents what you\'d like to do with user contributed HTML like that found in Message Boards and User Submission Systems. Note that it can be a security risk to not filter the HTML at all.\r\n','6'); -INSERT INTO help VALUES (18,'WebGUI','English','Using','Style Sheets','Cascading Style Sheets (CSS) are a great way to manage the look and feel of any web site. They are used extensively in WebGUI.\r\n

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

\r\n\r\nThe following is a list of classes used to control the look of WebGUI:\r\n

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

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

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

\r\n\r\n.accountOptions
\r\nThe links that appear under the login and account update forms.\r\n

\r\n\r\n.adminBar
\r\nThe bar that appears at the top of the page when you\'re in admin mode.\r\n

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

\r\n\r\n.crumbTrail
\r\nThe crumb trail (if you\'re using that macro).\r\n

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

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

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

\r\n\r\n.homeLink
\r\nUsed by the my home (^H;) macro.\r\n

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

\r\n\r\n.loginBox
\r\nThe login box (^L;) macro.\r\n

\r\n\r\n.makePrintableLink
\r\nUsed by the make printable (^r;) macro.\r\n

\r\n\r\n.myAccountLink
\r\nUsed by the my account (^a;) macro.\r\n

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

\r\n\r\n.searchBox
\r\nUsed by the search (^?;) macro.\r\n

\r\n\r\n.selectedMenuItem
\r\nUsed by the FlexMenu (^FlexMenu;) macro.\r\n

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

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

\r\n\r\n.tableMenu
\r\nThe menu on things like message boards and user submissions.\r\n

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

\r\n\r\nNote: Some widgets have their own unique styles.\r\n\r\n','0'); -INSERT INTO help VALUES (19,'WebGUI','English','Using','Macros','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\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^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\nNote: You can also use the special case ^a(linkonly); to return only the URL to the account page and nothing more.\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^c; - Company Name
\r\nThe name of your company specified in the settings by your Administrator.\r\n

\r\n^D; or ^D(); - Date
\r\nThe current date and time.\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\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\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
\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^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^FlexMenu;
\r\nThis menu macro creates a top-level menu that expands as the user selects each menu item.\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\nNote: You can also use the special case ^H(linkonly); to return only the URL to the home page and nothing more.\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^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^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^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^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^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^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^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^PageTitle;
\r\nDisplays the title of the current page.\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\nNote: You can also use the special case ^r(linkonly); to return only the URL to the make printable page and nothing more.\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^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^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^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^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^u; - Company URL
\r\nThe URL for your company specified in the settings by your Administrator.\r\n

\r\n^/; - System URL
\r\nThe URL to the gateway script (including the domain for this site). This is often used within pages so that if your development server is on a domain different than your production server that your URLs will still worked when moved.\r\n

\r\n^\\; - Page URL
\r\nThe URL to the current page (including the domain for this site). This is often used within pages so that if your development server is on a domain different than your production server that your URLs will still worked when moved.\r\n

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

\r\n^?; - Search
\r\nAdd a search box.\r\n

\r\n^#; - User ID
\r\nThe user id of the currently logged in user.\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^-;,^0;,^1;,^2;,^3;, etc.
\r\nThese macros are reserved for widget-specific functions as in the SQL Report widget.\r\n','0'); -INSERT INTO help VALUES (1,'SQLReport','English','Add/Edit','SQL Report','SQL Reports are perhaps the most powerful widget in the WebGUI arsenal. They allow a user to query data from any database that they have access to. This is great for getting sales figures from your Accounting database or even summarizing all the message boards on your web site.\r\n

\r\n\r\nTitle
\r\nThe title of this report.\r\n

\r\n\r\nDisplay the title?
\r\nDo you wish to disply the title?\r\n

\r\n\r\nProcess macros?
\r\nDo you wish to process WebGUI macros? Unchecking this box will not process macros and will speed up page execution.\r\n

\r\n\r\nPosition
\r\nSelect the position in the current page template where this widget should be placed.\r\n

\r\n\r\nDescription
\r\nDescribe the content of this report so your users will better understand what the report is all about.\r\n

\r\n\r\nPreprocess macros on query?
\r\nIf you\'re using WebGUI macros in your query you\'ll want to check this box.\r\n

\r\n\r\nDebug?
\r\nIf you want to display debugging and error messages on the page, check this box.\r\n

\r\n\r\nQuery
\r\nThis is a standard SQL query. If you are unfamiliar with SQL, Plain Black Software provides training courses in SQL and database management.\r\n

\r\n\r\nTemplate
\r\nLayout a template of how this report should look. Usually you\'ll use HTML tables to generate a report. An example is included below. If you leave this field blank a template will be generated based on your result set.\r\n

\r\n\r\nThere are special macro characters used in generating SQL Reports. They are ^-;, ^0;, ^1;, ^2;, ^3;, etc. These macros will be processed regardless of whether you checked the process macros box above. The ^- macro represents split points in the document where the report will begin and end looping. The numeric macros represent the data fields that will be returned from your query.\r\n

\r\n

\r\nSample Template:\r\n<table>\r\n<tr><th>Employee Name</th><th>Employee #</th><th>Vacation Days Remaining</th><th>Monthly Salary</th></tr>\r\n^-;\r\n<tr><td>^0;</td><td>^1;</td><td>^2;</td><td>^3;</td></tr>\r\n^-;\r\n</table>\r\n
\r\nDSN
\r\nData Source Name is the unique identifier that Perl uses to describe the location of your database. It takes the format of DBI:[driver]:[database name]:[host]. \r\n

\r\n\r\nExample: DBI:mysql:WebGUI:localhost\r\n

\r\n\r\nDatabase User\r\nThe username you use to connect to the DSN.\r\n

\r\n\r\nDatabase Password\r\nThe password you use to connect to the DSN.\r\n

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

\r\n\r\nConvert carriage returns?\r\nDo you wish to convert the carriage returns in the resultant data to HTML breaks (<br>).\r\n','1,2,3,4,5'); -INSERT INTO help VALUES (21,'WebGUI','English','Using','Widget','Widgets are the true power of WebGUI. Widgets are tiny pluggable applications built to run under WebGUI. Message boards and polls are examples of widgets.\r\n

\r\nTo add a widget to a page, first go to that page, then select Add Content... from the upper left corner of your screen. Each widget has it\'s own help so be sure to read the help if you\'re not sure how to use a widget.\r\n','0'); -INSERT INTO help VALUES (1,'Article','English','Add/Edit','Article','Articles are the Swiss Army knife of WebGUI. Most pieces of static content can be added via the Article widget.\r\n

\r\nTitle
\r\nWhat\'s the title for this content? Even if you don\'t wish the title to appear, it\'s a good idea to title your content so that if it is ever copied to the clipboard it will have a name.\r\n

\r\nDisplay the title?
\r\nDo you wish to display the title?\r\n

\r\nProcess macros?
\r\nDo you wish to process WebGUI macros on this article? Unchecking this box will not process macros and will speed up page execution.\r\n

\r\nPosition
\r\nSelect the position in the current page template where this widget should be placed.\r\n

\r\nStart Date
\r\nWhat date do you want this article to appear on the site? Dates are in the format of MM/DD/YYYY. You can use the JavaScript wizard to choose your date from a calendar by clicking on the set date button. By default the date is set to 01/01/2000.\r\n

\r\nEnd Date
\r\nWhat date do you want this article to be removed from the site? By default the date is set to 100 years in the future, 01/01/2100.\r\n

\r\nBody
\r\nThe body of the article is where all content is placed. You may feel free to add HTML tags as necessary to format your content. Be sure to put a <p> between paragraphs to add white space to your content.\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 the upper-right corner of your article.\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\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\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\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\nAllow discussion?
\r\nChecking this box will enable responses to your article much like Articles on Slashdot.org.\r\n

\r\nWho can post?
\r\nSelect the group that is allowed to respond to this article. By default it is registered users.\r\n

\r\nWho can moderate?
\r\nSelect the group that is allowed to moderate the responses to this article. By default it is content managers.\r\n

\r\nEdit Timeout
\r\nHow long (in hours) should a user be able to edit their response before editing is locked to them?\r\n','1,2,3,4,5'); -INSERT INTO help VALUES (1,'ExtraColumn','English','Add/Edit','Extra Column','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. \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\nPosition
\r\nSelect the position in the current page template where this widget should be placed.\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','1,2,3,4,5'); -INSERT INTO help VALUES (27,'WebGUI','English','Add/Edit','Widget','You can add widgets by selecting from the Add Content pulldown menu. You can edit them by clicking on the \"Edit\" button that appears directly above an instance of a particular widget.','0'); -INSERT INTO help VALUES (1,'Poll','English','Add/Edit','Poll','Polls can be used to get the impressions of your users on various topics.\r\n

\r\nTitle
\r\nThe title of the Poll. Even if you don\'t wish to display the title you should fill out this field so this poll will have a name if it is ever placed in the clipboard.\r\n

\r\nDisplay the title?
\r\nDo you wish to display the title?\r\n

\r\nProcess macros?
\r\nDo you wish to process WebGUI macros? Unchecking this box will not process macros and will speed up page execution.\r\n

\r\nPosition
\r\nSelect the position in the current page template where this widget should be placed.\r\n

\r\nDescription
\r\nYou may provide a description for this Poll, or give the user some background information.\r\n

\r\nActive
\r\nIf this box is checked, then users will be able to vote. Otherwise they\'ll only be able to see the results of the poll.\r\n

\r\nWho can vote?
\r\nChoose a group that can vote on this Poll.\r\n

\r\nGraph Width
\r\nThe width of the poll results graph. The width is measured in pixels.\r\n

\r\nQuestion
\r\nWhat is the question you\'d like to ask your users?\r\n

\r\nAnswers
\r\nEnter the possible answers to your question. Enter only one answer per line. Polls are only capable of 20 possible answers.\r\n

\r\nReset votes.
\r\nReset the votes on this Poll.\r\n

\r\n


\r\nNote: The following style sheet entries are custom to the Poll widget:\r\n

\r\n.pollAnswer
\r\nAn answer on a poll.\r\n

\r\n.pollColor \r\nThe color of the percentage bar on a poll.\r\n

\r\n.pollQuestion \r\nThe question on a poll.\r\n\r\n','1,2,3,4,5'); -INSERT INTO help VALUES (1,'SiteMap','English','Add/Edit','Site Map','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\nTitle
\r\nWhat title would you give to this Site Map? You should fill this field out even if you don\'t wish it to be displayed.\r\n

\r\nDisplay the title?
\r\nDo you wish to display the title?\r\n

\r\nProcess macros?
\r\nDo you wish to process WebGUI macros? Unchecking this box will not process macros and will speed up page execution.\r\n

\r\nPosition
\r\nSelect the position in the current page template where this widget should be placed.\r\n

\r\nDescription
\r\nEnter a description as to why this Site Map is here and what purpose it serves.\r\n

\r\nDisplay synopsis?
\r\nDo you wish to display page sysnopsis along-side the links to each page? Note that in order for this option to be valid, pages must have synopsis defined.\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\nShow only one level?
\r\nShould the Site Map display only the current level of pages or all pages from this point forward? \r\n','1,2,3,4,5'); -INSERT INTO help VALUES (1,'MessageBoard','English','Add/Edit','Message Board','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\nTitle
\r\nThe name of this Message Board.\r\n

\r\nDisplay the title?
\r\nDo you wish to display the title?\r\n

\r\nProcess macros?
\r\nDo you wish to process WebGUI macros? Unchecking this box will not process macros and will speed up page execution.\r\n

\r\nPosition
\r\nSelect the position in the current page template where this widget should be placed.\r\n

\r\nDescription
\r\nBriefly describe what should be displayed on this Message Board.\r\n

\r\nWho can post?
\r\nWhat group can post to this Message Board?\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\nEdit Timeout
\r\nEdit Timeout specifies how long a user\'s message will be available for him/her to edit. Timeout is measured in hours.\r\n

\r\nNote: Don\'t set this limit too high. One of the great things about message boards is that they are an accurate record of a discussion. 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','1,2,3,4,5'); -INSERT INTO help VALUES (1,'LinkList','English','Add/Edit','Link List','Link Lists are just what they sound like, a list of links. Many sites have a links section, and this widget just automates the process.\r\n

\r\nTitle
\r\nWhat is the title of this Link List?\r\n

\r\nDisplay the title?
\r\nDo you wish to display the title?\r\n

\r\nProcess macros?
\r\nDo you wish to process WebGUI macros? Unchecking this box will not process macros and will speed up page execution.\r\n

\r\nPosition
\r\nSelect the position in the current page template where this widget should be placed.\r\n

\r\nDescription
\r\nDescribe the purpose of the links in this list.\r\n

\r\nProceed to add link?
\r\nLeave this checked if you want to add links to the Link List directly after creating it.\r\n

\r\nAdd / Edit Links
\r\nYou\'ll notice at the bottom of the Edit screen that there are some options to add, edit, delete and reorder the links in your link lists. This process works exactly as the process for doing the same with widgets and pages. The three properties of links are Name, URL, and Description.\r\n

\r\nStyle
\r\nAn extra StyleSheet class has been added to this widget: linkTitle. Use this to bold, colorize, or otheriwise manipulate the title of each link.','1,2,3,4,5'); -INSERT INTO help VALUES (13,'WebGUI','English','Edit','Mail Settings','Recover Password Message
\r\nThe message that gets sent to a user when they use the \"recover password\" function.\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\n','6'); -INSERT INTO help VALUES (1,'SyndicatedContent','English','Add/Edit','Syndicated Content','Syndicated content is content that is pulled from another site using the RDF/RSS specification. This technology is often used to pull headlines from various news sites like CNN and Slashdot. It can, of course, be used for other things like sports scores, stock market info, etc.\r\n

\r\nTitle
\r\nWhat is the title for this content? This is often the title of the site that the content comes from.\r\n

\r\nDisplay the title?
\r\nDo you wish to disply the title?\r\n

\r\nProcess macros?
\r\nDo you wish to process WebGUI macros? Unchecking this box will not process macros and will speed up page execution.\r\n

\r\nPosition
\r\nSelect the position in the current page template where this widget should be placed.\r\n

\r\nDescription
\r\nBriefly describe the content being pulled so that your users will know what they are seeing.\r\n

\r\nURL to RSS file
\r\nProvide the exact URL (starting with http://) to the syndicated content\'s RDF or RSS file. The syndicated content will be downloaded from this URL hourly.\r\n

\r\nYou can find syndicated content at the following locations:\r\n','1,2,3,4,5'); -INSERT INTO help VALUES (1,'EventsCalendar','English','Add/Edit','Events Calendar','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\nTitle
\r\nWhat is the title of this Events Calendar?\r\n

\r\nDisplay the title?
\r\nDo you wish to display the title?\r\n

\r\nProcess macros?
\r\nDo you wish to process WebGUI macros? Unchecking this box will not process macros and will speed up page execution.\r\n

\r\nPosition
\r\nSelect the position in the current page template where this widget should be placed.\r\n

\r\nDescription
\r\nBriefly describe this Events Calendar.\r\n

\r\nDisplay Layout
\r\nThis can be set to List or Calendar. When set to List the events will be listed by date of occurence (and events that have already passed will not be displayed). This type of layout is best suited for Events Calendars that have only a few events per month. When set to Calendar the Events Calendar will display a traditional monthly Calendar, which can be paged through month-by-month. This type of layout is generally used when there are many events in each month.\r\n

\r\nPaginate After
\r\nWhen using the list layout, how many events should be shown per page?\r\n

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

\r\nAdd / Edit Events
\r\nOn the edit screen you\'ll notice that there are options to add, edit, and delete the events in your events calendar. The properties for events are Name, Description, Start Date, and End Date.\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','1,2,3,4,5'); -INSERT INTO help VALUES (1,'FAQ','English','Add/Edit','FAQ','It seems that almost every web site, intranet, and extranet in the world has a Frequently Asked Questions area. This widget helps you build one, too.\r\n

\r\nTitle
\r\nWhat is the title for this FAQ section?\r\n

\r\nDisplay the title?
\r\nDo you wish to display the title?\r\n

\r\nProcess macros?
\r\nDo you wish to process WebGUI macros? Unchecking this box will not process macros and will speed up page execution.\r\n

\r\nPosition
\r\nSelect the position in the current page template where this widget should be placed.\r\n

\r\nDescription
\r\nBriefly describe what this FAQ covers.\r\n

\r\nProceed to add question?
\r\nLeave this checked if you want to add questions to the FAQ directly after creating it.\r\n

\r\nAdd / Edit Questions
\r\nOn the edit screen you\'ll notice options for adding, editing, deleting, and reordering the questions in your FAQ. The two properties of FAQ questions are Question and Answer.\r\n

\r\n
\r\nNote: The following style is specific to the FAQ widget.\r\n

\r\n.faqQuestion
\r\nAn F.A.Q. question. To distinguish it from an answer.\r\n\r\n','1,2,3,4,5'); -INSERT INTO help VALUES (11,'WebGUI','English','Edit','File Settings','Path to WebGUI Extras
\r\nThe web-path to the directory containing WebGUI images and javascript files.\r\n

\r\nMaximum Attachment Size
\r\nThe maximum size of files allowed to be uploaded to this site. This applies to all widgets that allow uploaded files and images (like Article and User Contributions). This size is measured in kilobytes.\r\n

\r\nWeb Attachment Path
\r\nThe web-path of the directory where attachments are to be stored.\r\n

\r\nServer Attachment Path
\r\nThe local path of the directory where attachments are to be stored. (Perhaps /var/www/public/uploads) Be sure that the web server has the rights to write to that directory.\r\n','6'); -INSERT INTO help VALUES (2,'WebGUI','English','Edit','Authentication Settings','Anonymous Registration
\r\nDo you wish visitors to your site to be able to register themselves?\r\n

\r\nAuthentication Method (default)
\r\nWhat should the default authentication method be for new accounts that are created? The two available options are WebGUI and LDAP. WebGUI authentication means that the users will authenticate against the username and password stored in the WebGUI database. LDAP authentication means that users will authenticate against an external LDAP server.\r\n

\r\nNote: Authentication settings can be customized on a per user basis.\r\n

\r\nUsername Binding
\r\nBind the WebGUI username to the LDAP Identity. This requires the user to have the same username in WebGUI as they specified during the Anonymous Registration process. It also means that they won\'t be able to change their username later. This only in effect if the user is authenticating against LDAP.\r\n

\r\nLDAP URL (default)
\r\nThe default url to your LDAP server. The LDAP URL takes the form of ldap://[server]:[port]/[base DN]. Example: ldap://ldap.mycompany.com:389/o=MyCompany.\r\n

\r\nLDAP Identity
\r\nThe LDAP Identity is the unique identifier in the LDAP server that the user will be identified against. Often this field is shortname, which takes the form of first initial + last name. Example: jdoe. Therefore if you specify the LDAP identity to be shortname then Jon Doe would enter jdoe during the registration process.\r\n

\r\nLDAP Identity Name
\r\nThe label used to describe the LDAP Identity to the user. For instance, some companies use an LDAP server for their proxy server users to authenticate against. In the documentation or training already provided to their users, the LDAP identity is known as their Web Username. So you could enter that label here for consitency.\r\n

\r\nLDAP Password Name
\r\nJust as the LDAP Identity Name is a label, so is the LDAP Password Name. Use this label as you would LDAP Identity Name.\r\n\r\n','6'); -INSERT INTO help VALUES (1,'UserSubmission','English','Add/Edit','User Submission System','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\nTitle
\r\nWhat is the title for this User Submission System?\r\n

\r\nDisplay the title?
\r\nDo you wish to display the title?\r\n

\r\nProcess macros?
\r\nDo you wish to process WebGUI macros? Unchecking this box will not process macros and will speed up page execution.\r\n

\r\nPosition
\r\nSelect the position in the current page template where this widget should be placed.\r\n

\r\nDescription
\r\nBriefly describe why this User Submission System is here and what should be submitted to it.\r\n

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

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

\r\nSubmissions Per Page
\r\nHow many submissions should be listed per page in the submissions index?\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','1,2,3,4,5'); -INSERT INTO help VALUES (6,'WebGUI','English','Edit','Company Information','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\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\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','6'); -INSERT INTO help VALUES (46,'WebGUI','English','Empty','Trash','If you choose to empty your trash, any items contained in it will be lost forever. If you\'re unsure about a few items, it might be best to cut them to your clipboard before you empty the trash.','0'); -INSERT INTO help VALUES (22,'WebGUI','English','Edit','Profile Settings','Profiles are used to extend the information of a particular user. In some cases profiles are important to a site, in others they are not. Use the following switches to turn the various profile sections on and off.\r\n

\r\nAllow real name?
\r\nDo you want users to enter and display their real names?\r\n

\r\nAllow extra contact information?
\r\nDo you want users to enter and display their extra contact information such as Instant Messenger IDs, cell phone numbers, and pager numbers?\r\n

\r\nAllow home information?
\r\nDo you want users to enter and display their home address and phone number?\r\n

\r\nAllow business information?
\r\nDo you want users to enter and display their work address and phone number?\r\n

\r\nAllow miscellaneous information?
\r\nDo you want users to enter and display any extra info such as gender, birthdate and home page?','6'); -INSERT INTO help VALUES (25,'WebGUI','English','Using','Search Engine','Due to many requests by our customers, we\'ve built a small, but sturdy search engine into WebGUI. If you wish to use the internal search engine, you can use the ^?; macro or feel free to build your own form to access it.\r\n

\r\nWe do not recommend the built-in search engine\'s use on large sites as it can be very slow. There are many great search engines available around the Internet that can be used with WebGUI.\r\n

\r\nMnoGo Search - A very powerful and very fast open-source search engine. We maintain an unsupported WebGUI widget on the Plain Black site that will allow you to use MnoGo search directly within WebGUI or you can use the super-powerful external search engine it provides.\r\n

\r\nht://Dig - Another great open-source search engine. We\'ve used it in many instances and it always proves to be reliable and fast.','0'); -INSERT INTO help VALUES (1,'Item','English','Add/Edit','Item','Like Articles, Items are the Swiss Army knife of WebGUI. Most pieces of static content can be added via the Item widget, though Items are usually used for smaller content than Articles.\r\n

\r\nTitle
\r\nWhat\'s the title for this content?\r\n

\r\nProcess macros?
\r\nDo you wish to process WebGUI macros? Unchecking this box will not process macros and will speed up page execution.\r\n

\r\nPosition
\r\nSelect the position in the current page template where this widget should be placed.\r\n

\r\nDescription
\r\nThe long description of this Item.\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\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','1,2,3,4,5'); -INSERT INTO help VALUES (30,'WebGUI','English','Select','Package','Packages are groups of pages and widgets 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.','0'); -INSERT INTO help VALUES (31,'WebGUI','English','Add/Edit','Package','To create a package follow these simple steps:\r\n
    \r\n
  1. From the admin menu select \"View Packages.\"\r\n
  2. Add a page and give it a name. The name of the page will be the name of the package.\r\n
  3. Go to the new page you created and start adding pages and widgets. Any pages or widgets you add will be created each time this package is deployed. \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\nIf you add content to any of the widgets, that content will automatically be copied also when the package is deployed.\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.','0'); -INSERT INTO help VALUES (20,'WebGUI','English','Add/Edit','Image','Name
\r\nThe label that this image will be referenced by to include it into pages.\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\nExample:
\r\nalign=\"right\"\r\nalt=\"This is an image\"','15'); -INSERT INTO help VALUES (1,'DownloadManager','English','Add/Edit','Download Manager','The Download Manager is designed to help you manage file distribution on your site. It allows you to specify who may download files from your site.\r\n

\r\nTitle
\r\nWhat is the title of this Download Manager?\r\n

\r\nDisplay the title?
\r\nDo you wish to display the title?\r\n

\r\nProcess macros?
\r\nDo you wish to process WebGUI macros? Unchecking this box will not process macros and will speed up page execution.\r\n

\r\nPosition
\r\nSelect the position in the current page template where this widget should be placed.\r\n

\r\nDescription
\r\nDescribe the purpose of this Download 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\nDisplay thumbnails?
\r\nCheck this if you want to display thumbnails for any images that are uploaded. Note that the thumbnail is only displayed for the main attachment, not the alternate versions.\r\n

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

\r\n\r\nAdding Files
\r\nAfter you\'ve created a download manager you can add as many files as you wish to it. The properties for each file are Download File, Alternate Version #1, Alternate Version #2, File Title, Brief Synopsis, and Group to Download. All of these should be self explainatory except for the alternate versions. Alternate versions are used for when you\'re distributing different file formats of the same file, such as a Microsoft Word document and a PDF version. Or a JPEG, GIF, and TIFF.\r\n','1,2,3,4,5'); -INSERT INTO help VALUES (23,'WebGUI','English','Delete','Image','When you delete an image it will be removed from the server and cannot be recovered. Therefore, be sure that you really wish to delete the image before you confirm the delete.','15'); -INSERT INTO help VALUES (26,'WebGUI','English','Manage','Image','Using the built in image manager in WebGUI you can upload images to one central location for use anywhere else in the site with no need for any special software or knowledge.\r\n

\r\n To place the images you\'ve uploaded use the ^I(); and ^i(); macros. More information on them can be found in the Using Macros help.','15'); -INSERT INTO help VALUES (28,'WebGUI','English','Manage','Root','Simply put, roots are pages with no parent. The first and most important root in WebGUI is the \"Home\" page. Many people will never add any additional roots, but a few power users will. Those power users will create new roots for many different reasons. Perhaps they\'ll create a staging area for content managers. Or maybe a hidden area for Admin tools. Or possibly even a new root just to place their search engine.','0'); - # # Table structure for table 'helpSeeAlso' # @@ -3001,4 +2952,50 @@ INSERT INTO widget VALUES (-1,4,'SiteMap',0,'Page Not Found',1,'The page you wer insert into international values (438,'WebGUI','English','Your Name'); -insert into webguiVersion values ('3.6.1','intitial install',unix_timestamp()); +insert into webguiVersion values ('3.6.2','intitial install',unix_timestamp()); + +INSERT INTO help VALUES (1,'WebGUI','English','Add/Edit','Page','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\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\nMenu Title
\r\nA shorter or altered title to appear in navigation. If left blank this will default to Title.\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\nTemplate
\r\nBy default, WebGUI has one big content area to place widgets. However, by specifying a template other than the default you can sub-divide the content area into several sections.\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\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\nAdvanced Users: If you have other things (like JavaScript) you usually put in the <head> area of your pages, you may put them here as well.\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\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\nIf you check the box 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\nOwner
\r\nThe owner of a page is usually the person who created the page.\r\n

\r\nOwner can view?
\r\nCan the owner view the page or not?\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\nGroup
\r\nA group is assigned to every page for additional privilege control. Pick a group from the pull-down menu.\r\n

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

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

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

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

\r\nYou can optionally give these privileges to all pages under this page.\r\n','0'); +INSERT INTO help VALUES (3,'WebGUI','English','Delete','Page','Deleting a page can create a big mess if you are uncertain about what you are doing. When you delete a page you are also deleting the content it contains, all sub-pages connected to this page, and all the content they contain. Be certain that you have already moved all the content you wish to keep before you delete a page.\r\n

\r\nAs with any delete operation, you are prompted to be sure you wish to proceed with the delete. If you answer yes, the delete will proceed and there is no recovery possible. If you answer no you\'ll be returned to the prior screen.','0'); +INSERT INTO help VALUES (4,'WebGUI','English','Delete','Style','When you delete a style all pages using that style will be reverted to the fail safe (default) style. To ensure uninterrupted viewing, you should be sure that no pages are using a style before you delete it.\r\n

\r\n\r\nAs with any delete operation, you are prompted to be sure you wish to proceed with the delete. If you answer yes, the delete will proceed and there is no recovery possible. If you answer no you\'ll be returned to the prior screen.','4,5'); +INSERT INTO help VALUES (5,'WebGUI','English','Add/Edit','User','See Manage Users for additional details.\r\n

\r\n\r\nUsername
\r\nUsername is a unique identifier for a user. Sometimes called a handle, it is also how the user will be known on the site. (Note: Administrators have unlimited power in the WebGUI system. This also means they are capable of breaking the system. If you rename or create a user, be careful not to use a username already in existance.)\r\n

\r\n\r\nPassword
\r\nA password is used to ensure that the user is who s/he says s/he is.\r\n

\r\n\r\nAuthentication Method
\r\nSee Edit Settings for details.\r\n

\r\n\r\nLDAP URL
\r\nSee Edit Settings for details.\r\n

\r\n\r\nConnect DN
\r\nThe Connect DN is the cn (or common name) of a given user in your LDAP database. It should be specified as cn=John Doe. This is, in effect, the username that will be used to authenticate this user against your LDAP server.\r\n

\r\n\r\nEmail Address
\r\nThe user\'s email address. This must only be specified if the user will partake in functions that require email.\r\n

\r\n\r\nGroups
\r\nGroups displays which groups the user is in. Groups that are highlighted are groups that the user is assigned to. Those that are not highlighted are other groups that can be assigned. Note that you must hold down CTRL to select multiple groups.\r\n

\r\n\r\nLanguage
\r\nWhat language should be used to display system related messages.\r\n

\r\n\r\nICQ UIN
\r\nThe ICQ UIN is the \"User ID Number\" on the ICQ network. ICQ is a very popular instant messaging platform.\r\n\r\n','0'); +INSERT INTO help VALUES (7,'WebGUI','English','Delete','User','There is no need to ever actually delete a user. If you are concerned with locking out a user, then simply change their password. If you truely wish to delete a user, then please keep in mind that there are consequences. If you delete a user any content that they added to the site via widgets (like message boards and user contributions) will remain on the site. However, if another user tries to visit the deleted user\'s profile they will get an error message. Also if the user ever is welcomed back to the site, there is no way to give him/her access to his/her old content items except by re-adding the user to the users table manually.\r\n

\r\n\r\nAs with any delete operation, you are prompted to be sure you wish to proceed with the delete. If you answer yes, the delete will proceed and there is no recovery possible. If you answer no you\'ll be returned to the prior screen.','0'); +INSERT INTO help VALUES (8,'WebGUI','English','Manage','User','Users are the accounts in the system that are given rights to do certain things. There are two default users built into the system: Admin and Visitor.\r\n

\r\n\r\nAdmin
\r\nAdmin is exactly what you\'d expect. It is a user with unlimited rights in the WebGUI environment. If it can be done, this user has the rights to do it.\r\n

\r\n\r\nVisitor
\r\nVisitor is exactly the opposite of Admin. Visitor has no rights what-so-ever. By default any user who is not logged in is seen as the user Visitor.\r\n

\r\n\r\nAdd a new user.
\r\nClick on this to go to the add user screen.\r\n

\r\n\r\nSearch
\r\nYou can search users based on username and email address. You can do partial searches too if you like.','0'); +INSERT INTO help VALUES (9,'WebGUI','English','Manage','Style','Styles are used to manage the look and feel of your WebGUI pages. With WebGUI, you can have an unlimited number of styles, so your site can take on as many looks as you like. You could have some pages that look like your company\'s brochure, and some pages that look like Yahoo!®. You could even have some pages that look like pages in a book. Using style management, you have ultimate control over all your designs.\r\n

\r\n\r\nThere are several styles built into WebGUI. The first of these are used by WebGUI can should not be edited or deleted. The last few are simply example styles and may be edited or deleted as you please.\r\n

\r\n\r\nFail Safe
\r\nWhen you delete a style that is still in use on some pages, the Fail Safe style will be applied to those pages. This style has a white background and simple navigation.\r\n

\r\n\r\nMake Page Printable
\r\nThis style is used if you place an ^r; macro on your pages and the user clicks on it. This style allows you to put a simple logo and copyright message on your printable pages.\r\n

\r\n\r\nPackages
\r\nThis style is used by the package management system.\r\n

\r\n\r\nTrash / Clipboard
\r\nThis style is used by the trash and clipboard system.\r\n

\r\n\r\n


\r\n

\r\n\r\nDemo Style
\r\nThis is a sample design taken from a templates site (www.freewebtemplates.com).\r\n

\r\n\r\nPlain Black Software (black) & (white)
\r\nThese designs are used on the Plain Black site.\r\n

\r\n\r\nYahoo!®
\r\nThis is the design of the Yahoo!® site. (Used without permission.)\r\n

\r\n\r\nWebGUI
\r\nThis is a simple design featuring WebGUI logos.\r\n\r\n','4,5'); +INSERT INTO help VALUES (10,'WebGUI','English','Manage','Group','Groups are used to subdivide privileges and responsibilities within the WebGUI system. For instance, you may be building a site for a classroom situation. In that case you might set up a different group for each class that you teach. You would then apply those groups to the pages that are designed for each class.\r\n

\r\n\r\nThere are four groups built into WebGUI. They are Admins, Content Managers, Visitors, and Registered Users.\r\n

\r\n\r\nAdmins
\r\nAdmins are users who have unlimited privileges within WebGUI. A user should only be added to the admin group if they oversee the system. Usually only one to three people will be added to this group.\r\n

\r\n\r\nContent Managers
\r\nContent managers are users who have privileges to add, edit, and delete content from various areas on the site. The content managers group should not be used to control individual content areas within the site, but to determine whether a user can edit content at all. You should set up additional groups to separate content areas on the site.\r\n

\r\n\r\nRegistered Users
\r\nWhen users are added to the system they are put into the registered users group. A user should only be removed from this group if their account is deleted or if you wish to punish a troublemaker.\r\n

\r\n\r\nVisitors
\r\nVisitors are users who are not logged in using an account on the system. Also, if you wish to punish a registered user you could remove him/her from the Registered Users group and insert him/her into the Visitors group.','0'); +INSERT INTO help VALUES (12,'WebGUI','English','Manage','Settings','Settings are items that allow you to adjust WebGUI to your particular needs.\r\n

\r\n\r\nEdit Authentication Settings
\r\nSettings concerning user identification and login, such as LDAP.\r\n

\r\n\r\nEdit Company Information
\r\nInformation specific about the company or individual who controls this installation of WebGUI.\r\n

\r\n\r\nEdit File Settings
\r\nSettings concerning attachments and images.\r\n

\r\n\r\nEdit Mail Settings
\r\nSettings concerning email and related functions.\r\n

\r\n\r\nEdit Miscellaneous Settings
\r\nEverything else.\r\n\r\n','7,8,9.10,11,12'); +INSERT INTO help VALUES (14,'WebGUI','English','Delete','Widget','This function permanently deletes the selected widget from a page. If you are unsure whether you wish to delete this content you may be better served to cut the content to the clipboard until you are certain you wish to delete it.\r\n

\r\n\r\nAs with any delete operation, you are prompted to be sure you wish to proceed with the delete. If you answer yes, the delete will proceed and there is no recovery possible. If you answer no you\'ll be returned to the prior screen.','0'); +INSERT INTO help VALUES (15,'WebGUI','English','Delete','Group','As the function suggests you\'ll be deleting a group and removing all users from the group. Be careful not to orphan users from pages they should have access to by deleting a group that is in use.\r\n

\r\n\r\nAs with any delete operation, you are prompted to be sure you wish to proceed with the delete. If you answer yes, the delete will proceed and there is no recovery possible. If you answer no you\'ll be returned to the prior screen.','0'); +INSERT INTO help VALUES (16,'WebGUI','English','Add/Edit','Style','Styles are WebGUI macro enabled. See Using Macros for more information.\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\nHeader
\r\nThe header is the start of the look of your site. It is helpful to look at your design and cut it into three pieces. The top and left of your design is the header. The center part is the content, and the right and bottom is the footer. Cut the HTML from your header and paste it in the space provided.\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\nMany people will add WebGUI macros to their header for automated navigation, and other features.\r\n

\r\n\r\nFooter
\r\nThe footer is the end of the look for your site. It is the right and bottom portion of your design. You may also place WebGUI macros in your footer.\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\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<link href=\"/webgui.css\" rel=\"stylesheet\" rev=\"stylesheet\" type=\"text/css\">','4,5'); +INSERT INTO help VALUES (17,'WebGUI','English','Add/Edit','Group','See Manage Group for a description of grouping functions and the default groups.\r\n

\r\n\r\nGroup Name
\r\nA name for the group. It is best if the name is descriptive so you know what it is at a glance.\r\n

\r\n\r\nDescription
\r\nA longer description of the group so that other admins and content managers (or you if you forget) will know what the purpose of this group is.','0'); +INSERT INTO help VALUES (24,'WebGUI','English','Edit','Miscellaneous Settings','Not 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\nSession Timeout
\r\nThe time (in seconds) that a user session remains active (before needing to log in again). This timeout is reset each time a visitor hits a page. Therefore if you set the timeout for 8 hours, a user would have to log in again if s/he hadn\'t visited the site for 8 hours.\r\n

\r\n\r\n1800 = half hour
\r\n3600 = 1 hour
\r\n28000 = 8 hours
\r\n86400 = 1 day
\r\n604800 = 1 week
\r\n1209600 = 2 weeks
\r\n\r\n

\r\nDocument Type Declaration
\r\nThis setting allows you to specify what type of HTML you\'re generating with WebGUI. This is usually useful for HTML validation or for gaining special functionality in certain browsers. Most people should leave this at the default setting.\r\n\r\n

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

\r\nOn Critical Error
\r\nWhat do you want WebGUI to do if a critical error occurs. It can be a security risk to show debugging information, but you may want to show it if you are in development.\r\n\r\n

\r\nFilter Contributed HTML
\r\nChoose a setting that represents what you\'d like to do with user contributed HTML like that found in Message Boards and User Submission Systems. Note that it can be a security risk to not filter the HTML at all.\r\n','6'); +INSERT INTO help VALUES (18,'WebGUI','English','Using','Style Sheets','Cascading Style Sheets (CSS) are a great way to manage the look and feel of any web site. They are used extensively in WebGUI.\r\n

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

\r\n\r\nThe following is a list of classes used to control the look of WebGUI:\r\n

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

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

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

\r\n\r\n.accountOptions
\r\nThe links that appear under the login and account update forms.\r\n

\r\n\r\n.adminBar
\r\nThe bar that appears at the top of the page when you\'re in admin mode.\r\n

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

\r\n\r\n.crumbTrail
\r\nThe crumb trail (if you\'re using that macro).\r\n

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

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

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

\r\n\r\n.homeLink
\r\nUsed by the my home (^H;) macro.\r\n

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

\r\n\r\n.loginBox
\r\nThe login box (^L;) macro.\r\n

\r\n\r\n.makePrintableLink
\r\nUsed by the make printable (^r;) macro.\r\n

\r\n\r\n.myAccountLink
\r\nUsed by the my account (^a;) macro.\r\n

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

\r\n\r\n.searchBox
\r\nUsed by the search (^?;) macro.\r\n

\r\n\r\n.selectedMenuItem
\r\nUsed by the FlexMenu (^FlexMenu;) macro.\r\n

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

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

\r\n\r\n.tableMenu
\r\nThe menu on things like message boards and user submissions.\r\n

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

\r\n\r\nNote: Some widgets have their own unique styles.\r\n\r\n','0'); +INSERT INTO help VALUES (19,'WebGUI','English','Using','Macros','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\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^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\nNote: You can also use the special case ^a(linkonly); to return only the URL to the account page and nothing more.\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^c; - Company Name
\r\nThe name of your company specified in the settings by your Administrator.\r\n

\r\n^D; or ^D(); - Date
\r\nThe current date and time.\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\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\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
\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^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^FlexMenu;
\r\nThis menu macro creates a top-level menu that expands as the user selects each menu item.\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^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\nNote: You can also use the special case ^H(linkonly); to return only the URL to the home page and nothing more.\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^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^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^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^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^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^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^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^PageTitle;
\r\nDisplays the title of the current page.\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\nNote: You can also use the special case ^r(linkonly); to return only the URL to the make printable page and nothing more.\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^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^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^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^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^u; - Company URL
\r\nThe URL for your company specified in the settings by your Administrator.\r\n

\r\n^/; - System URL
\r\nThe URL to the gateway script (including the domain for this site). This is often used within pages so that if your development server is on a domain different than your production server that your URLs will still worked when moved.\r\n

\r\n^\\; - Page URL
\r\nThe URL to the current page (including the domain for this site). This is often used within pages so that if your development server is on a domain different than your production server that your URLs will still worked when moved.\r\n

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

\r\n^?; - Search
\r\nAdd a search box.\r\n

\r\n^#; - User ID
\r\nThe user id of the currently logged in user.\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^-;,^0;,^1;,^2;,^3;, etc.
\r\nThese macros are reserved for widget-specific functions as in the SQL Report widget.\r\n','0'); +INSERT INTO help VALUES (1,'SQLReport','English','Add/Edit','SQL Report','SQL Reports are perhaps the most powerful widget in the WebGUI arsenal. They allow a user to query data from any database that they have access to. This is great for getting sales figures from your Accounting database or even summarizing all the message boards on your web site.\r\n

\r\n\r\nTitle
\r\nThe title of this report.\r\n

\r\n\r\nDisplay the title?
\r\nDo you wish to disply the title?\r\n

\r\n\r\nProcess macros?
\r\nDo you wish to process WebGUI macros? Unchecking this box will not process macros and will speed up page execution.\r\n

\r\n\r\nPosition
\r\nSelect the position in the current page template where this widget should be placed.\r\n

\r\n\r\nDescription
\r\nDescribe the content of this report so your users will better understand what the report is all about.\r\n

\r\n\r\nPreprocess macros on query?
\r\nIf you\'re using WebGUI macros in your query you\'ll want to check this box.\r\n

\r\n\r\nDebug?
\r\nIf you want to display debugging and error messages on the page, check this box.\r\n

\r\n\r\nQuery
\r\nThis is a standard SQL query. If you are unfamiliar with SQL, Plain Black Software provides training courses in SQL and database management. You can make your queries more dynamic by using the ^FormParam(); macro.\r\n

\r\n\r\nTemplate
\r\nLayout a template of how this report should look. Usually you\'ll use HTML tables to generate a report. An example is included below. If you leave this field blank a template will be generated based on your result set.\r\n

\r\n\r\nThere are special macro characters used in generating SQL Reports. They are ^-;, ^0;, ^1;, ^2;, ^3;, etc. These macros will be processed regardless of whether you checked the process macros box above. The ^- macro represents split points in the document where the report will begin and end looping. The numeric macros represent the data fields that will be returned from your query.\r\n

\r\n

\r\nSample Template:\r\n<table>\r\n<tr><th>Employee Name</th><th>Employee #</th><th>Vacation Days Remaining</th><th>Monthly Salary</th></tr>\r\n^-;\r\n<tr><td>^0;</td><td>^1;</td><td>^2;</td><td>^3;</td></tr>\r\n^-;\r\n</table>\r\n
\r\nDSN
\r\nData Source Name is the unique identifier that Perl uses to describe the location of your database. It takes the format of DBI:[driver]:[database name]:[host]. \r\n

\r\n\r\nExample: DBI:mysql:WebGUI:localhost\r\n

\r\n\r\nDatabase User\r\nThe username you use to connect to the DSN.\r\n

\r\n\r\nDatabase Password\r\nThe password you use to connect to the DSN.\r\n

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

\r\n\r\nConvert carriage returns?\r\nDo you wish to convert the carriage returns in the resultant data to HTML breaks (<br>).\r\n','1,2,3,4,5'); +INSERT INTO help VALUES (21,'WebGUI','English','Using','Widget','Widgets are the true power of WebGUI. Widgets are tiny pluggable applications built to run under WebGUI. Message boards and polls are examples of widgets.\r\n

\r\nTo add a widget to a page, first go to that page, then select Add Content... from the upper left corner of your screen. Each widget has it\'s own help so be sure to read the help if you\'re not sure how to use a widget.\r\n','0'); +INSERT INTO help VALUES (1,'Article','English','Add/Edit','Article','Articles are the Swiss Army knife of WebGUI. Most pieces of static content can be added via the Article widget.\r\n

\r\nTitle
\r\nWhat\'s the title for this content? Even if you don\'t wish the title to appear, it\'s a good idea to title your content so that if it is ever copied to the clipboard it will have a name.\r\n

\r\nDisplay the title?
\r\nDo you wish to display the title?\r\n

\r\nProcess macros?
\r\nDo you wish to process WebGUI macros on this article? Unchecking this box will not process macros and will speed up page execution.\r\n

\r\nPosition
\r\nSelect the position in the current page template where this widget should be placed.\r\n

\r\nStart Date
\r\nWhat date do you want this article to appear on the site? Dates are in the format of MM/DD/YYYY. You can use the JavaScript wizard to choose your date from a calendar by clicking on the set date button. By default the date is set to 01/01/2000.\r\n

\r\nEnd Date
\r\nWhat date do you want this article to be removed from the site? By default the date is set to 100 years in the future, 01/01/2100.\r\n

\r\nBody
\r\nThe body of the article is where all content is placed. You may feel free to add HTML tags as necessary to format your content. Be sure to put a <p> between paragraphs to add white space to your content.\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 the upper-right corner of your article.\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\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\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\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\nAllow discussion?
\r\nChecking this box will enable responses to your article much like Articles on Slashdot.org.\r\n

\r\nWho can post?
\r\nSelect the group that is allowed to respond to this article. By default it is registered users.\r\n

\r\nWho can moderate?
\r\nSelect the group that is allowed to moderate the responses to this article. By default it is content managers.\r\n

\r\nEdit Timeout
\r\nHow long (in hours) should a user be able to edit their response before editing is locked to them?\r\n','1,2,3,4,5'); +INSERT INTO help VALUES (1,'ExtraColumn','English','Add/Edit','Extra Column','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. \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\nPosition
\r\nSelect the position in the current page template where this widget should be placed.\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','1,2,3,4,5'); +INSERT INTO help VALUES (27,'WebGUI','English','Add/Edit','Widget','You can add widgets by selecting from the Add Content pulldown menu. You can edit them by clicking on the \"Edit\" button that appears directly above an instance of a particular widget.','0'); +INSERT INTO help VALUES (1,'Poll','English','Add/Edit','Poll','Polls can be used to get the impressions of your users on various topics.\r\n

\r\nTitle
\r\nThe title of the Poll. Even if you don\'t wish to display the title you should fill out this field so this poll will have a name if it is ever placed in the clipboard.\r\n

\r\nDisplay the title?
\r\nDo you wish to display the title?\r\n

\r\nProcess macros?
\r\nDo you wish to process WebGUI macros? Unchecking this box will not process macros and will speed up page execution.\r\n

\r\nPosition
\r\nSelect the position in the current page template where this widget should be placed.\r\n

\r\nDescription
\r\nYou may provide a description for this Poll, or give the user some background information.\r\n

\r\nActive
\r\nIf this box is checked, then users will be able to vote. Otherwise they\'ll only be able to see the results of the poll.\r\n

\r\nWho can vote?
\r\nChoose a group that can vote on this Poll.\r\n

\r\nGraph Width
\r\nThe width of the poll results graph. The width is measured in pixels.\r\n

\r\nQuestion
\r\nWhat is the question you\'d like to ask your users?\r\n

\r\nAnswers
\r\nEnter the possible answers to your question. Enter only one answer per line. Polls are only capable of 20 possible answers.\r\n

\r\nReset votes.
\r\nReset the votes on this Poll.\r\n

\r\n


\r\nNote: The following style sheet entries are custom to the Poll widget:\r\n

\r\n.pollAnswer
\r\nAn answer on a poll.\r\n

\r\n.pollColor \r\nThe color of the percentage bar on a poll.\r\n

\r\n.pollQuestion \r\nThe question on a poll.\r\n\r\n','1,2,3,4,5'); +INSERT INTO help VALUES (1,'SiteMap','English','Add/Edit','Site Map','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\nTitle
\r\nWhat title would you give to this Site Map? You should fill this field out even if you don\'t wish it to be displayed.\r\n

\r\nDisplay the title?
\r\nDo you wish to display the title?\r\n

\r\nProcess macros?
\r\nDo you wish to process WebGUI macros? Unchecking this box will not process macros and will speed up page execution.\r\n

\r\nPosition
\r\nSelect the position in the current page template where this widget should be placed.\r\n

\r\nDescription
\r\nEnter a description as to why this Site Map is here and what purpose it serves.\r\n

\r\nDisplay synopsis?
\r\nDo you wish to display page sysnopsis along-side the links to each page? Note that in order for this option to be valid, pages must have synopsis defined.\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\nShow only one level?
\r\nShould the Site Map display only the current level of pages or all pages from this point forward? \r\n','1,2,3,4,5'); +INSERT INTO help VALUES (1,'MessageBoard','English','Add/Edit','Message Board','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\nTitle
\r\nThe name of this Message Board.\r\n

\r\nDisplay the title?
\r\nDo you wish to display the title?\r\n

\r\nProcess macros?
\r\nDo you wish to process WebGUI macros? Unchecking this box will not process macros and will speed up page execution.\r\n

\r\nPosition
\r\nSelect the position in the current page template where this widget should be placed.\r\n

\r\nDescription
\r\nBriefly describe what should be displayed on this Message Board.\r\n

\r\nWho can post?
\r\nWhat group can post to this Message Board?\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\nEdit Timeout
\r\nEdit Timeout specifies how long a user\'s message will be available for him/her to edit. Timeout is measured in hours.\r\n

\r\nNote: Don\'t set this limit too high. One of the great things about message boards is that they are an accurate record of a discussion. 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','1,2,3,4,5'); +INSERT INTO help VALUES (1,'LinkList','English','Add/Edit','Link List','Link Lists are just what they sound like, a list of links. Many sites have a links section, and this widget just automates the process.\r\n

\r\nTitle
\r\nWhat is the title of this Link List?\r\n

\r\nDisplay the title?
\r\nDo you wish to display the title?\r\n

\r\nProcess macros?
\r\nDo you wish to process WebGUI macros? Unchecking this box will not process macros and will speed up page execution.\r\n

\r\nPosition
\r\nSelect the position in the current page template where this widget should be placed.\r\n

\r\nDescription
\r\nDescribe the purpose of the links in this list.\r\n

\r\nProceed to add link?
\r\nLeave this checked if you want to add links to the Link List directly after creating it.\r\n

\r\nAdd / Edit Links
\r\nYou\'ll notice at the bottom of the Edit screen that there are some options to add, edit, delete and reorder the links in your link lists. This process works exactly as the process for doing the same with widgets and pages. The three properties of links are Name, URL, and Description.\r\n

\r\nStyle
\r\nAn extra StyleSheet class has been added to this widget: linkTitle. Use this to bold, colorize, or otheriwise manipulate the title of each link.','1,2,3,4,5'); +INSERT INTO help VALUES (13,'WebGUI','English','Edit','Mail Settings','Recover Password Message
\r\nThe message that gets sent to a user when they use the \"recover password\" function.\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\n','6'); +INSERT INTO help VALUES (1,'SyndicatedContent','English','Add/Edit','Syndicated Content','Syndicated content is content that is pulled from another site using the RDF/RSS specification. This technology is often used to pull headlines from various news sites like CNN and Slashdot. It can, of course, be used for other things like sports scores, stock market info, etc.\r\n

\r\nTitle
\r\nWhat is the title for this content? This is often the title of the site that the content comes from.\r\n

\r\nDisplay the title?
\r\nDo you wish to disply the title?\r\n

\r\nProcess macros?
\r\nDo you wish to process WebGUI macros? Unchecking this box will not process macros and will speed up page execution.\r\n

\r\nPosition
\r\nSelect the position in the current page template where this widget should be placed.\r\n

\r\nDescription
\r\nBriefly describe the content being pulled so that your users will know what they are seeing.\r\n

\r\nURL to RSS file
\r\nProvide the exact URL (starting with http://) to the syndicated content\'s RDF or RSS file. The syndicated content will be downloaded from this URL hourly.\r\n

\r\nYou can find syndicated content at the following locations:\r\n','1,2,3,4,5'); +INSERT INTO help VALUES (1,'EventsCalendar','English','Add/Edit','Events Calendar','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\nTitle
\r\nWhat is the title of this Events Calendar?\r\n

\r\nDisplay the title?
\r\nDo you wish to display the title?\r\n

\r\nProcess macros?
\r\nDo you wish to process WebGUI macros? Unchecking this box will not process macros and will speed up page execution.\r\n

\r\nPosition
\r\nSelect the position in the current page template where this widget should be placed.\r\n

\r\nDescription
\r\nBriefly describe this Events Calendar.\r\n

\r\nDisplay Layout
\r\nThis can be set to List or Calendar. When set to List the events will be listed by date of occurence (and events that have already passed will not be displayed). This type of layout is best suited for Events Calendars that have only a few events per month. When set to Calendar the Events Calendar will display a traditional monthly Calendar, which can be paged through month-by-month. This type of layout is generally used when there are many events in each month.\r\n

\r\nPaginate After
\r\nWhen using the list layout, how many events should be shown per page?\r\n

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

\r\nAdd / Edit Events
\r\nOn the edit screen you\'ll notice that there are options to add, edit, and delete the events in your events calendar. The properties for events are Name, Description, Start Date, and End Date.\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','1,2,3,4,5'); +INSERT INTO help VALUES (1,'FAQ','English','Add/Edit','FAQ','It seems that almost every web site, intranet, and extranet in the world has a Frequently Asked Questions area. This widget helps you build one, too.\r\n

\r\nTitle
\r\nWhat is the title for this FAQ section?\r\n

\r\nDisplay the title?
\r\nDo you wish to display the title?\r\n

\r\nProcess macros?
\r\nDo you wish to process WebGUI macros? Unchecking this box will not process macros and will speed up page execution.\r\n

\r\nPosition
\r\nSelect the position in the current page template where this widget should be placed.\r\n

\r\nDescription
\r\nBriefly describe what this FAQ covers.\r\n

\r\nProceed to add question?
\r\nLeave this checked if you want to add questions to the FAQ directly after creating it.\r\n

\r\nAdd / Edit Questions
\r\nOn the edit screen you\'ll notice options for adding, editing, deleting, and reordering the questions in your FAQ. The two properties of FAQ questions are Question and Answer.\r\n

\r\n
\r\nNote: The following style is specific to the FAQ widget.\r\n

\r\n.faqQuestion
\r\nAn F.A.Q. question. To distinguish it from an answer.\r\n\r\n','1,2,3,4,5'); +INSERT INTO help VALUES (11,'WebGUI','English','Edit','File Settings','Path to WebGUI Extras
\r\nThe web-path to the directory containing WebGUI images and javascript files.\r\n

\r\nMaximum Attachment Size
\r\nThe maximum size of files allowed to be uploaded to this site. This applies to all widgets that allow uploaded files and images (like Article and User Contributions). This size is measured in kilobytes.\r\n

\r\nWeb Attachment Path
\r\nThe web-path of the directory where attachments are to be stored.\r\n

\r\nServer Attachment Path
\r\nThe local path of the directory where attachments are to be stored. (Perhaps /var/www/public/uploads) Be sure that the web server has the rights to write to that directory.\r\n','6'); +INSERT INTO help VALUES (2,'WebGUI','English','Edit','Authentication Settings','Anonymous Registration
\r\nDo you wish visitors to your site to be able to register themselves?\r\n

\r\nAuthentication Method (default)
\r\nWhat should the default authentication method be for new accounts that are created? The two available options are WebGUI and LDAP. WebGUI authentication means that the users will authenticate against the username and password stored in the WebGUI database. LDAP authentication means that users will authenticate against an external LDAP server.\r\n

\r\nNote: Authentication settings can be customized on a per user basis.\r\n

\r\nUsername Binding
\r\nBind the WebGUI username to the LDAP Identity. This requires the user to have the same username in WebGUI as they specified during the Anonymous Registration process. It also means that they won\'t be able to change their username later. This only in effect if the user is authenticating against LDAP.\r\n

\r\nLDAP URL (default)
\r\nThe default url to your LDAP server. The LDAP URL takes the form of ldap://[server]:[port]/[base DN]. Example: ldap://ldap.mycompany.com:389/o=MyCompany.\r\n

\r\nLDAP Identity
\r\nThe LDAP Identity is the unique identifier in the LDAP server that the user will be identified against. Often this field is shortname, which takes the form of first initial + last name. Example: jdoe. Therefore if you specify the LDAP identity to be shortname then Jon Doe would enter jdoe during the registration process.\r\n

\r\nLDAP Identity Name
\r\nThe label used to describe the LDAP Identity to the user. For instance, some companies use an LDAP server for their proxy server users to authenticate against. In the documentation or training already provided to their users, the LDAP identity is known as their Web Username. So you could enter that label here for consitency.\r\n

\r\nLDAP Password Name
\r\nJust as the LDAP Identity Name is a label, so is the LDAP Password Name. Use this label as you would LDAP Identity Name.\r\n\r\n','6'); +INSERT INTO help VALUES (1,'UserSubmission','English','Add/Edit','User Submission System','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\nTitle
\r\nWhat is the title for this User Submission System?\r\n

\r\nDisplay the title?
\r\nDo you wish to display the title?\r\n

\r\nProcess macros?
\r\nDo you wish to process WebGUI macros? Unchecking this box will not process macros and will speed up page execution.\r\n

\r\nPosition
\r\nSelect the position in the current page template where this widget should be placed.\r\n

\r\nDescription
\r\nBriefly describe why this User Submission System is here and what should be submitted to it.\r\n

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

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

\r\nSubmissions Per Page
\r\nHow many submissions should be listed per page in the submissions index?\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','1,2,3,4,5'); +INSERT INTO help VALUES (6,'WebGUI','English','Edit','Company Information','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\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\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','6'); +INSERT INTO help VALUES (46,'WebGUI','English','Empty','Trash','If you choose to empty your trash, any items contained in it will be lost forever. If you\'re unsure about a few items, it might be best to cut them to your clipboard before you empty the trash.','0'); +INSERT INTO help VALUES (22,'WebGUI','English','Edit','Profile Settings','Profiles are used to extend the information of a particular user. In some cases profiles are important to a site, in others they are not. Use the following switches to turn the various profile sections on and off.\r\n

\r\nAllow real name?
\r\nDo you want users to enter and display their real names?\r\n

\r\nAllow extra contact information?
\r\nDo you want users to enter and display their extra contact information such as Instant Messenger IDs, cell phone numbers, and pager numbers?\r\n

\r\nAllow home information?
\r\nDo you want users to enter and display their home address and phone number?\r\n

\r\nAllow business information?
\r\nDo you want users to enter and display their work address and phone number?\r\n

\r\nAllow miscellaneous information?
\r\nDo you want users to enter and display any extra info such as gender, birthdate and home page?','6'); +INSERT INTO help VALUES (25,'WebGUI','English','Using','Search Engine','Due to many requests by our customers, we\'ve built a small, but sturdy search engine into WebGUI. If you wish to use the internal search engine, you can use the ^?; macro or feel free to build your own form to access it.\r\n

\r\nWe do not recommend the built-in search engine\'s use on large sites as it can be very slow. There are many great search engines available around the Internet that can be used with WebGUI.\r\n

\r\nMnoGo Search - A very powerful and very fast open-source search engine. We maintain an unsupported WebGUI widget on the Plain Black site that will allow you to use MnoGo search directly within WebGUI or you can use the super-powerful external search engine it provides.\r\n

\r\nht://Dig - Another great open-source search engine. We\'ve used it in many instances and it always proves to be reliable and fast.','0'); +INSERT INTO help VALUES (1,'Item','English','Add/Edit','Item','Like Articles, Items are the Swiss Army knife of WebGUI. Most pieces of static content can be added via the Item widget, though Items are usually used for smaller content than Articles.\r\n

\r\nTitle
\r\nWhat\'s the title for this content?\r\n

\r\nProcess macros?
\r\nDo you wish to process WebGUI macros? Unchecking this box will not process macros and will speed up page execution.\r\n

\r\nPosition
\r\nSelect the position in the current page template where this widget should be placed.\r\n

\r\nDescription
\r\nThe long description of this Item.\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\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','1,2,3,4,5'); +INSERT INTO help VALUES (30,'WebGUI','English','Select','Package','Packages are groups of pages and widgets 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.','0'); +INSERT INTO help VALUES (31,'WebGUI','English','Add/Edit','Package','To create a package follow these simple steps:\r\n
    \r\n
  1. From the admin menu select \"View Packages.\"\r\n
  2. Add a page and give it a name. The name of the page will be the name of the package.\r\n
  3. Go to the new page you created and start adding pages and widgets. Any pages or widgets you add will be created each time this package is deployed. \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\nIf you add content to any of the widgets, that content will automatically be copied also when the package is deployed.\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.','0'); +INSERT INTO help VALUES (20,'WebGUI','English','Add/Edit','Image','Name
\r\nThe label that this image will be referenced by to include it into pages.\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\nExample:
\r\nalign=\"right\"\r\nalt=\"This is an image\"','15'); +INSERT INTO help VALUES (1,'DownloadManager','English','Add/Edit','Download Manager','The Download Manager is designed to help you manage file distribution on your site. It allows you to specify who may download files from your site.\r\n

\r\nTitle
\r\nWhat is the title of this Download Manager?\r\n

\r\nDisplay the title?
\r\nDo you wish to display the title?\r\n

\r\nProcess macros?
\r\nDo you wish to process WebGUI macros? Unchecking this box will not process macros and will speed up page execution.\r\n

\r\nPosition
\r\nSelect the position in the current page template where this widget should be placed.\r\n

\r\nDescription
\r\nDescribe the purpose of this Download 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\nDisplay thumbnails?
\r\nCheck this if you want to display thumbnails for any images that are uploaded. Note that the thumbnail is only displayed for the main attachment, not the alternate versions.\r\n

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

\r\n\r\nAdding Files
\r\nAfter you\'ve created a download manager you can add as many files as you wish to it. The properties for each file are Download File, Alternate Version #1, Alternate Version #2, File Title, Brief Synopsis, and Group to Download. All of these should be self explainatory except for the alternate versions. Alternate versions are used for when you\'re distributing different file formats of the same file, such as a Microsoft Word document and a PDF version. Or a JPEG, GIF, and TIFF.\r\n','1,2,3,4,5'); +INSERT INTO help VALUES (23,'WebGUI','English','Delete','Image','When you delete an image it will be removed from the server and cannot be recovered. Therefore, be sure that you really wish to delete the image before you confirm the delete.','15'); +INSERT INTO help VALUES (26,'WebGUI','English','Manage','Image','Using the built in image manager in WebGUI you can upload images to one central location for use anywhere else in the site with no need for any special software or knowledge.\r\n

\r\n To place the images you\'ve uploaded use the ^I(); and ^i(); macros. More information on them can be found in the Using Macros help.','15'); +INSERT INTO help VALUES (28,'WebGUI','English','Manage','Root','Simply put, roots are pages with no parent. The first and most important root in WebGUI is the \"Home\" page. Many people will never add any additional roots, but a few power users will. Those power users will create new roots for many different reasons. Perhaps they\'ll create a staging area for content managers. Or maybe a hidden area for Admin tools. Or possibly even a new root just to place their search engine.','0'); + diff --git a/docs/upgrades/upgrade_3.6.2-3.6.3.sql b/docs/upgrades/upgrade_3.6.2-3.6.3.sql new file mode 100644 index 000000000..9988c4a5a --- /dev/null +++ b/docs/upgrades/upgrade_3.6.2-3.6.3.sql @@ -0,0 +1,8 @@ +insert into webguiVersion values ('3.6.3','upgrade',unix_timestamp()); +delete from style where styleId=5; +delete from style where styleId=4; +delete from style where styleId=1; +INSERT INTO style VALUES (4,'Clipboard','\r\n\r\n\r\n\r\n\r\n
Clipboard\r\n^H; / ^a;
\r\n
PAGES
^M(0);
CONTENT
','
\r\n\r\n\r\n
\r\n^H; / ^a;\r\n',''); +INSERT INTO style VALUES (5,'Trash','\r\n\r\n\r\n\r\n\r\n
Trash\r\n^H; / ^a; / Empty Trash
\r\n
PAGES
^M(0);
CONTENT
','
\r\n\r\n\r\n
\r\n^H; / ^a; / Empty Trash\r\n',''); +INSERT INTO style VALUES (1,'Packages','\r\n\r\n\r\n\r\n\r\n
Packages\r\n^H; / ^a;
\r\n
PACKAGES
^M(0);
CONTENT
','
\r\n\r\n\r\n
\r\n^H; / ^a;\r\n',''); + diff --git a/lib/WebGUI.pm b/lib/WebGUI.pm index e4c85a757..6a3e9dd9d 100644 --- a/lib/WebGUI.pm +++ b/lib/WebGUI.pm @@ -1,5 +1,5 @@ package WebGUI; -our $VERSION = "3.6.2"; +our $VERSION = "3.6.3"; #------------------------------------------------------------------- # WebGUI is Copyright 2001-2002 Plain Black Software. diff --git a/lib/WebGUI/Operation/Package.pm b/lib/WebGUI/Operation/Package.pm index d271e837f39..803a7052f 100644 --- a/lib/WebGUI/Operation/Package.pm +++ b/lib/WebGUI/Operation/Package.pm @@ -34,7 +34,7 @@ sub _duplicateWidgets { #------------------------------------------------------------------- sub _recursePageTree { - my ($a, %package, %newParent, $newPageId, $test, $urlizedTitle); + my ($a, %package, %newParent, $newPageId, $urlizedTitle); tie %newParent, 'Tie::CPHash'; tie %package, 'Tie::CPHash'; %newParent = WebGUI::SQL->quickHash("select * from page where pageId=$_[1]"); @@ -42,10 +42,7 @@ sub _recursePageTree { $a = WebGUI::SQL->read("select * from page where parentId=$_[0]"); while (%package = $a->hash) { $newPageId = getNextId("pageId"); - $urlizedTitle = $package{urlizedTitle}; - while (($test) = WebGUI::SQL->quickArray("select urlizedTitle from page where urlizedTitle='$urlizedTitle'")) { - $urlizedTitle .= 2; - } + $urlizedTitle = WebGUI::URL::makeUnique($package{urlizedTitle}); WebGUI::SQL->write("insert into page values ($newPageId,$_[1],".quote($package{title}).",$newParent{styleId},$session{user}{userId},$newParent{ownerView},$newParent{ownerEdit},$newParent{groupId},$newParent{groupView},$newParent{groupEdit},$newParent{worldView},$newParent{worldEdit},$package{sequenceNumber},".quote($package{metaTags}).",".quote($urlizedTitle).",$package{defaultMetaTags},".quote($package{template}).",".quote($package{menuTitle}).",".quote($package{synopsis}).")"); _recursePageTree($package{pageId},$newPageId); } diff --git a/lib/WebGUI/Operation/Page.pm b/lib/WebGUI/Operation/Page.pm index ffaf698a9..e9c683836 100644 --- a/lib/WebGUI/Operation/Page.pm +++ b/lib/WebGUI/Operation/Page.pm @@ -94,7 +94,7 @@ sub www_addPage { #------------------------------------------------------------------- sub www_addPageSave { - my ($urlizedTitle, $test, $nextSeq, $parentId, $menuTitle); + my ($urlizedTitle, $nextSeq, $parentId, $menuTitle); if (WebGUI::Privilege::canEditPage()) { ($nextSeq) = WebGUI::SQL->quickArray("select max(sequenceNumber)+1 from page where parentId=$session{page}{pageId}"); if ($session{form}{title} eq "") { @@ -110,10 +110,7 @@ sub www_addPageSave { } else { $menuTitle = $session{form}{menuTitle}; } - $urlizedTitle = WebGUI::URL::urlize($session{form}{title}); - while (($test) = WebGUI::SQL->quickArray("select urlizedTitle from page where urlizedTitle='$urlizedTitle'")) { - $urlizedTitle .= 2; - } + $urlizedTitle = WebGUI::URL::makeUnique(WebGUI::URL::urlize($session{form}{title})); WebGUI::SQL->write("insert into page values (".getNextId("pageId").", $parentId, ".quote($session{form}{title}).", $session{page}{styleId}, $session{user}{userId}, $session{page}{ownerView}, $session{page}{ownerEdit}, $session{page}{groupId}, $session{page}{groupView}, $session{page}{groupEdit}, $session{page}{worldView}, $session{page}{worldEdit}, '$nextSeq', ".quote($session{form}{metaTags}).", '$urlizedTitle', '$session{form}{defaultMetaTags}', '$session{form}{template}', ".quote($menuTitle).", ".quote($session{form}{synopsis}).")"); return ""; } else { @@ -245,10 +242,7 @@ sub www_editPageSave { if ($session{form}{title} eq "") { $session{form}{title} = "no title"; } - $urlizedTitle = WebGUI::URL::urlize($session{form}{urlizedTitle}); - while (($test) = WebGUI::SQL->quickArray("select urlizedTitle from page where urlizedTitle='$urlizedTitle' and pageId<>$session{page}{pageId}")) { - $urlizedTitle .= 2; - } + $urlizedTitle = WebGUI::URL::makeUnique(WebGUI::URL::urlize($session{form}{urlizedTitle})); WebGUI::SQL->write("update page set title=".quote($session{form}{title}).", styleId=$session{form}{styleId}, ownerId=$session{form}{ownerId}, ownerView=$session{form}{ownerView}, ownerEdit=$session{form}{ownerEdit}, groupId='$session{form}{groupId}', groupView=$session{form}{groupView}, groupEdit=$session{form}{groupEdit}, worldView=$session{form}{worldView}, worldEdit=$session{form}{worldEdit}, metaTags=".quote($session{form}{metaTags}).", urlizedTitle='$urlizedTitle', defaultMetaTags='$session{form}{defaultMetaTags}', template='$session{form}{template}', menuTitle=".quote($session{form}{menuTitle}).", synopsis=".quote($session{form}{synopsis})." where pageId=$session{page}{pageId}"); if ($session{form}{recurseStyle} eq "yes") { _recursivelyChangeStyle($session{page}{pageId}); diff --git a/lib/WebGUI/Operation/Statistics.pm b/lib/WebGUI/Operation/Statistics.pm index 03c2d89ad..94549d855 100644 --- a/lib/WebGUI/Operation/Statistics.pm +++ b/lib/WebGUI/Operation/Statistics.pm @@ -76,7 +76,7 @@ sub www_viewLoginHistory { tie %data, 'Tie::CPHash'; if (WebGUI::Privilege::isInGroup(3)) { $output = '

'.WebGUI::International::get(426).'

'; - $sth = WebGUI::SQL->read("select * from users,userLoginLog where users.userId=userLoginLog.userId order by userLoginLog.timeStamp"); + $sth = WebGUI::SQL->read("select * from users,userLoginLog where users.userId=userLoginLog.userId order by userLoginLog.timeStamp desc"); while (%data = $sth->hash) { $data{username} = 'unknown user' if ($data{userId} == 0); $row[$i] = ''.$data{username}.' ('.$data{userId}.')'; @@ -96,7 +96,7 @@ sub www_viewLoginHistory { $output .= ''.WebGUI::International::get(433).''; $output .= $p->getPage($session{form}{pn}); $output .= ''; - $output .= $p->getBarTraditional($session{form}{pn}); + $output .= $p->getBar($session{form}{pn}); } else { $output = WebGUI::Privilege::adminOnly(); } diff --git a/lib/WebGUI/Operation/Style.pm b/lib/WebGUI/Operation/Style.pm index 8b35911e6..5ac4f9cb3 100644 --- a/lib/WebGUI/Operation/Style.pm +++ b/lib/WebGUI/Operation/Style.pm @@ -75,7 +75,7 @@ sub www_copyStyle { #------------------------------------------------------------------- sub www_deleteStyle { my ($output); - if ($session{form}{sid} < 26) { + if ($session{form}{sid} < 26 && $session{form}{sid} > 0) { return WebGUI::Privilege::vitalComponent(); } elsif (WebGUI::Privilege::isInGroup(5)) { $output .= helpLink(4); @@ -94,7 +94,7 @@ sub www_deleteStyle { #------------------------------------------------------------------- sub www_deleteStyleConfirm { - if ($session{form}{sid} < 26) { + if ($session{form}{sid} < 26 || $session{form}{sid} > 0) { return WebGUI::Privilege::vitalComponent(); } elsif (WebGUI::Privilege::isInGroup(5)) { WebGUI::SQL->write("delete from style where styleId=".$session{form}{sid}); diff --git a/lib/WebGUI/URL.pm b/lib/WebGUI/URL.pm index 875dbab23..d386e115f 100644 --- a/lib/WebGUI/URL.pm +++ b/lib/WebGUI/URL.pm @@ -13,6 +13,7 @@ package WebGUI::URL; use strict; use URI::Escape; use WebGUI::Session; +use WebGUI::SQL; use WebGUI::Utility; #------------------------------------------------------------------- @@ -45,6 +46,20 @@ sub gateway { return $url; } +#------------------------------------------------------------------- +sub makeUnique { + my ($url, $test); + $url = $_[0]; + while (($test) = WebGUI::SQL->quickArray("select urlizedTitle from page where urlizedTitle='$url'")) { + if ($url =~ /(.*)(\d+$)/) { + $url = $1.($2+1); + } elsif ($test ne "") { + $url .= "2"; + } + } + return $url; +} + #------------------------------------------------------------------- sub page { my ($url); diff --git a/lib/WebGUI/Widget/UserSubmission.pm b/lib/WebGUI/Widget/UserSubmission.pm index 666f573f3..25a76c174 100644 --- a/lib/WebGUI/Widget/UserSubmission.pm +++ b/lib/WebGUI/Widget/UserSubmission.pm @@ -482,7 +482,7 @@ sub www_viewSubmission { #---content if ($submission{image} ne "") { $file = WebGUI::Attachment->new($submission{image},$session{form}{wid},$session{form}{sid}); - $output .= ''; + $output .= '

'; } if ($submission{convertCarriageReturns}) { $submission{content} =~ s/\n/\/g; diff --git a/preload.perl b/preload.perl index 4b32e8bef..211b8a454 100644 --- a/preload.perl +++ b/preload.perl @@ -13,7 +13,7 @@ use CGI::Carp (); use DBI (); use DBD::mysql (); use URI::Escape (); -use HTML::Parser (); +#use HTML::Parser (); # commented because it is causing problems with attachments use Data::Config (); use Date::Calc (); use HTML::CalendarMonthSimple (); @@ -25,7 +25,7 @@ use Net::SMTP (); use File::Copy (); use File::Path (); use FileHandle (); -use HTML::TagFilter (); +#use HTML::TagFilter (); # commented because it is causing problems with attachments use POSIX (); use WebGUI ();