664 lines
178 KiB
SQL
664 lines
178 KiB
SQL
insert into webguiVersion values ('6.0.0','upgrade',unix_timestamp());
|
|
delete from international where internationalId=158 and namespace='WebGUI';
|
|
delete from international where internationalId=803 and namespace='WebGUI';
|
|
delete from international where internationalId=804 and namespace='WebGUI';
|
|
delete from international where internationalId=805 and namespace='WebGUI';
|
|
delete from international where internationalId=814 and namespace='WebGUI';
|
|
delete from international where internationalId=156 and namespace='WebGUI';
|
|
delete from international where internationalId=155 and namespace='WebGUI';
|
|
delete from international where internationalId=380 and namespace='WebGUI';
|
|
delete from international where internationalId=151 and namespace='WebGUI';
|
|
delete from international where internationalId=501 and namespace='WebGUI';
|
|
delete from international where internationalId=154 and namespace='WebGUI';
|
|
delete from international where internationalId=157 and namespace='WebGUI';
|
|
delete from international where internationalId=398 and namespace='WebGUI';
|
|
delete from style where name='Reserved';
|
|
delete from international where internationalId=654 and namespace='WebGUI';
|
|
delete from international where internationalId=609 and namespace='WebGUI';
|
|
delete from international where internationalId=659 and namespace='WebGUI';
|
|
delete from international where internationalId=614 and namespace='WebGUI';
|
|
delete from international where internationalId=666 and namespace='WebGUI';
|
|
delete from international where internationalId=621 and namespace='WebGUI';
|
|
delete from international where internationalId=6 and namespace='WebGUI';
|
|
delete from international where languageId=1 and namespace='WebGUI' and internationalId=830;
|
|
insert into international (internationalId,languageId,namespace,message,lastUpdated,context) values (830,1,'WebGUI','Page templates are used to organize wobjects on your page. To do this you create page template positions. You can have any number of positions in your page template, but you must always have position one. The following are the variables available to page templates.\r\n<p>\r\n\r\n<b>position<i>X</i>_loop</b><br>\r\nThe loop that defines a page position and contains a list of wobjects for that position. Replace <i>X</i> with a number, so position one would be <i>position1_loop</i>, and position two would be <i>position2_loop</i>, etc.\r\n<blockquote>\r\n\r\n<b>wobject.canView</b><br>\r\nA condition indicating whether the current user has the privileges to view this wobject. \r\n<p>\r\n\r\n<b>wobject.canEdit</b><br>\r\nA condition indicating whether the current user has the privileges to edit this wobject.\r\n<p>\r\n\r\n<b>wobject.controls</b><br>\r\nThe toolbar for manipulating the properties of this wobject.\r\n<p>\r\n\r\n<b>wobject.namespace</b><br>\r\nThe namespace of this wobject. This is also known as the wobject type, for instance Article, USS, SQLReport, and SiteMap are all namespaces.\r\n<p>\r\n\r\n<b>wobject.id</b><br>\r\nThe unique identifier for this wobject.\r\n<p>\r\n\r\n<b>wobject.isInDateRange</b><br>\r\nA condition indicating whether the wobject is scheduled to be displayed right now. The variable <i>wobject.canView</i> already takes this into account, but content managers can always view content, so this is an extra check so they don\'t have to see the wobject if it\'s not scheduled to appear yet, or if it\'s end date has already passed.\r\n<p>\r\n\r\n<b>wobject.content</b><br>\r\nThe content produced by the wobject.\r\n<p>\r\n\r\n</blockquote>\r\n\r\n<p>\r\n<b>NOTE:</b> The position elements can go up to 1 billion, which should be more than enough for the average site.\r\n\r\n<p>\r\n\r\n<b>page.canEdit</b><br>\r\nA condition indicating whether the current user has the privileges to edit this page.\r\n<p>\r\n\r\n<b>page.controls</b><br>\r\nThe toolbar for manipulating the properties of the page.\r\n<p>\r\n\r\n\r\n\r\n', 1070028702,NULL);
|
|
delete from international where languageId=1 and namespace='WebGUI' and internationalId=932;
|
|
insert into international (internationalId,languageId,namespace,message,lastUpdated,context) values (932,1,'WebGUI','Themes are a mechanism to quickly install new styles, templates, and collateral into a WebGUI site. They are also great for moving those same items from one site to another.\r\n<p>\r\n<b>TIP:</b> When building a theme, be sure to name the components (styles, templates collateral) in the theme with some name that is unique to the theme. This is useful so that your users can find the components in your theme, as well as to avoid name conflicts.', 1070027889,NULL);
|
|
delete from international where languageId=1 and namespace='WebGUI' and internationalId=1073;
|
|
insert into international (internationalId,languageId,namespace,message,lastUpdated,context) values (1073,1,'WebGUI','Style Template', 1070027660,NULL);
|
|
delete from international where languageId=1 and namespace='WebGUI' and internationalId=1074;
|
|
insert into international (internationalId,languageId,namespace,message,lastUpdated,context) values (1074,1,'WebGUI','Style templates are a special kind of template in WebGUI. They allow you to keep your content seperated from the look and feel of your site. The following are the template variables available in style templates:\r\n\r\n<p>\r\n\r\n<b>body.content</b><br>\r\nThe the content on the current page.\r\n<p>\r\n\r\n<b>head.tags</b><br>\r\nTags that WebGUI automatically generates for you so that caching works the way it should, search engines can find you better, and other useful automated functionality. This should go in the <head> </head> section of your style.\r\n\r\n<p>\r\nIn addition to the above tags all of the session variables are made available to you just like any other template. We suggest using something like this in the <title> </title> portion of your style:\r\n<p>\r\n\r\n<tmpl_var session.page.title> - <tmpl_var session.setting.companyName>\r\n\r\n<p>\r\nFollowing a guide like the above will help you get good ranking on search engines.\r\n\r\n', 1070027660,NULL);
|
|
delete from international where languageId=1 and namespace='WebGUI' and internationalId=634;
|
|
insert into international (internationalId,languageId,namespace,message,lastUpdated,context) values (634,1,'WebGUI','<B>Default Home Page</B><BR>Some really small sites don\'t have a home page, but instead like to use one of their internal pages like \"About Us\" or \"Company Information\" as their home page. For that reason, you can set the default page of your site to any page in the site. That page will be the one people go to if they type in just your URL http://www.mywebguisite.com, or if they click on the Home link generated by the ^H; macro. \r\n\r\n<P><B>Not Found Page</B><BR>If a page that a user requests is not found in the system, the user can be redirected to the home page or to an error page where they can attempt to find what they were looking for. You decide which is better for your users. \r\n\r\n\r\n<P><B>Favicon</B><BR>An icon that appears on Internet Explorer short cuts such as your \"Favorites\". To learn more about Favicon <A href=\"http://msdn.microsoft.com/workshop/author/dhtml/howto/shortcuticon.asp\">click here</A>. \r\n\r\n<P><B>Site Icon</B><BR>An icon that appears in the URL bar of most modern browsers. It may also appear in the bookmarks of the browser. The image must be 16x16 pixels. \r\n\r\n<P><B>Add edit stamp to posts?</B><BR>Typically if a user edits a post on a discussion, a stamp is added to that post to identify who made the edit, and at what time. On some sites that information is not necessary, therefore you can turn it off here. \r\n\r\n<P><B>Filter Contributed HTML</B><BR>Especially when running a public site where anybody can post to your message boards or user submission systems, it is often a good idea to filter their content for malicious code that can harm the viewing experience of your visitors; And in some circumstances, it can even cause security problems. Use this setting to select the level of filtering you wish to apply. \r\n\r\n<P><B>Maximum Attachment Size</B><BR>The size (in kilobytes) of the maximum allowable attachment to be uploaded to your system. \r\n\r\n<P><B>Max Image Size</B><BR>If images are uploaded to your system that are bigger than the max image size, then they will be resized to the max image size. The max image size is measured in pixels and will use the size of the longest side of the image to determine if the limit has been reached. \r\n\r\n<P><B>Thumbnail Size</B><BR>When images are uploaded to your system, they will automatically have thumbnails generated at the size specified here (unless overridden on a case-by-case basis). Thumbnail size is measured in pixels. \r\n\r\n<P><B>Snippet Preview Length</B><BR>How many characters of a snippet should be displayed in the collateral management system main listing. \r\n\r\n<P><B>Text Area Rows</B><BR>Some sites wish to control the size of the forms that WebGUI generates. With this setting you can specify how many rows of characters will be displayed in textareas on the site. \r\n\r\n<P><B>Text Area Columns</B><BR>Some sites wish to control the size of the forms that WebGUI generates. With this setting you can specify how many columns of characters will be displayed in textareas on the site. \r\n\r\n<P><B>Text Box Size</B><BR>Some sites wish to control the size of the forms that WebGUI generates. With this setting you can specify how characters can be displayed at once in text boxes on the site. \r\n\r\n<BR><BR><B>Wobject Privileges</B><BR>Choose \'Yes\' to enable privileges at the Wobject level. By default, Wobjects are set to inherit page level privileges</P>', 1070026791,NULL);
|
|
delete from international where languageId=1 and namespace='WebGUI' and internationalId=842;
|
|
insert into international (internationalId,languageId,namespace,message,lastUpdated,context) values (842,1,'WebGUI','These macros are used to create navigation on the site.\r\n<p/>\r\n\r\n<b>^C; or ^C(); - Crumb Trail</b><br>\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<p>\r\n\r\n<b>NOTE:</b> The .crumbTrail style sheet class is tied to this macro.\r\n<p>\r\n\r\n<b>^FlexMenu;</b><br>\r\nThis menu macro creates a top-level menu that expands as the user selects each menu item.\r\n<p>\r\n\r\n<b>^H; or ^H(); - Home Link</b><br>\r\nA link to the home page of this site. In addition you can change the link text by creating a macro like this <b>^H(\"Go Home\");</b>.\r\n<p>\r\n\r\n<b>NOTES:</b> You can also use the special case ^H(linkonly); to return only the URL to the home page and nothing more. Also, the .homeLink style sheet class is tied to this macro.\r\n<p>\r\n\r\n<b>^M; or ^M(); - Current Menu (Vertical)</b><br>\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 <b>^M(3);</b>. If you set the macro to \"0\" it will track the entire site tree.\r\n<p>\r\n\r\n<b>^m; - Current Menu (Horizontal)</b><br>\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<p>\r\n\r\n<b>^PreviousDropMenu;</b><br>\r\nCreate a drop down menu containing the sub-pages at the previous level in the page tree.\r\n<p>\r\n<i>Example:</i> ^PreviousDropMenu;\r\n<p>\r\n\r\n<b>^P; or ^P(); - Previous Menu (Vertical)</b><br>\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 <b>^P(3);</b>. If you set the macro to \"0\" it will track the entire site tree.\r\n<p>\r\n\r\n<b>^p; - Previous Menu (Horizontal)</b><br>\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<p>\r\n\r\n<b>^rootmenu; or ^rootmenu(); (Horizontal)</b><br>\r\nCreates a horizontal menu of the various roots on your system (except for the WebGUI system roots). You can optionally specify a menu delimiter like this: ^rootmenu(|);\r\n<p>\r\n\r\n<b>^RootTab;</b><br>\r\nCreate a tab navigation system from the roots on your site (except WebGUI\'s system roots) similar to the tabs used in the tab forms (editing wobjects or pages).\r\n<p>\r\n<b>NOTE:</b> Has two special style sheet classes: .RootTabOn{} and .RootTabOff{}.\r\n<p>\r\n<i>Example:</i><br>\r\n<style>\r\n.rootTabOn {\r\n line-height: 17px;\r\n font-size: 16px;\r\n spacing: 3px;\r\n border: 1px solid black;\r\n border-bottom-width: 0px;\r\n background-color: #333333;\r\n z-index: 10000;\r\n padding: 3px 9px 5px 9px;\r\n color: white;\r\n}\r\n\r\n.rootTabOn A, .rootTabOn A:visited {\r\n color: white;\r\n font-weight: bold;\r\n text-decoration: none;\r\n}\r\n\r\n.rootTabOff {\r\n line-height: 15px;\r\n font-size: 14px;\r\n border: 1px solid black;\r\n border-bottom-width: 0px;\r\n background-color: #c8c8c8;\r\n z-index: 1000;\r\n padding: 2px 9px 2px 9px;\r\n}\r\n\r\n.rootTabOff A, .rootTabOff A:visited {\r\n color: black;\r\n text-decoration: underline;\r\n}\r\n\r\n.rootTabOff A:hover {\r\n font-weight: bold;\r\n}\r\n</style>\r\n^RootTab;\r\n<p>\r\n\r\n\r\n<b>^SpecificDropMenu();</b><br>\r\nCreate a drop down menu starting at a specific point in your navigation tree. This takes two parameters. The first is the url of the page to start with and the second (optional parameter) is the depth to traverse to.\r\n<p>\r\n<i>Example:</i> ^SpecificDropMenu(\"home\",3);\r\n<p>\r\n\r\n<b>^S(); - Specific SubMenu (Vertical)</b><br>\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 <b>^S(\"home\",0);</b>. 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 <b>^S(\"home\",3);</b>.\r\n<p>\r\n\r\n\r\n<b>^s(); - Specific SubMenu (Horizontal)</b><br>\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 <b>^s(\"home\");</b>. 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<p>\r\n\r\n<b>^Synopsis; or ^Synopsis(); Menu</b><br>\r\nThis macro allows you to get the submenu of a page along with the synopsis of each link. You may specify an integer to specify how many levels deep to traverse the page tree.\r\n<p>\r\n\r\n<b>NOTES:</b> The .synopsis_sub, .synopsis_summary, and .synopsis_title style sheet classes are tied to this macro.\r\n<p>\r\n\r\n<b>^TopDropMenu;</b><br>\r\nCreate a drop down menu of your top level navigation.\r\n<p>\r\n<i>Example:</i> ^TopDropMenu;\r\n<p>\r\n\r\n<b>^T; or ^T(); - Top Level Menu (Vertical)</b><br>\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 <b>^T(3);</b>. If you set the macro to \"0\" it will track the entire site tree.\r\n<p>\r\n\r\n<b>^t; - Top Level Menu (Horizontal)</b><br>\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<p>\r\n\r\n<b>^/; - System URL</b><br>\r\nThe URL to the gateway script (example: <i>/index.pl/</i>).\r\n<p>\r\n\r\n<b>^\\; - Page URL</b><br>\r\nThe URL to the current page (example: <i>/index.pl/pagename</i>).\r\n<p>\r\n\r\nIt should be noted that many of these macros can also make use of these style sheet classes:\r\n<p>\r\n<b>.selectedMenuItem</b><br>\r\nUse this class to highlight the current page in any of the menu macros.\r\n<p>\r\n\r\n<b>.verticalMenu </b><br>\r\nThe vertical menu (if you use a vertical menu macro).\r\n<p>\r\n\r\n\r\n<b>.horizontalMenu </b><br>\r\nThe horizontal menu (if you use a horizontal menu macro).\r\n<p>\r\n', 1070030242,NULL);
|
|
delete from international where languageId=1 and namespace='WebGUI' and internationalId=623;
|
|
insert into international (internationalId,languageId,namespace,message,lastUpdated,context) values (623,1,'WebGUI','<a href=\"http://www.w3.org/Style/CSS/\">Cascading Style Sheets (CSS)</a> are a great way to manage the look and feel of any web site. They are used extensively in WebGUI.\r\n<p>\r\n\r\n\r\nIf you are unfamiliar with how to use CSS, <a href=\"http://www.plainblack.com/\">Plain Black</a> provides training classes on XHTML and CSS. Alternatively, Bradsoft makes an excellent CSS editor called <a href=\"http://www.bradsoft.com/topstyle/index.asp\">Top Style</a>.\r\n<p>\r\n\r\n\r\nThe following is a list of classes used to control the default look of WebGUI. These of course can be overridden or replaced in the various templates that generate them.\r\n<p>\r\n\r\n\r\n<b>A</b><br>\r\nThe links throughout the style.\r\n<p>\r\n\r\n\r\n<b>BODY</b><br>\r\nThe default setup of all pages within a style.\r\n<p>\r\n\r\n\r\n<b>H1</b><br>\r\nThe headers on every page.\r\n<p>\r\n\r\n\r\n<b>.content</b><br>\r\nThe main content area on all pages of the style.\r\n<p>\r\n\r\n\r\n<b>.formDescription </b><br>\r\nThe tags on all forms next to the form elements. \r\n<p>\r\n\r\n\r\n<b>.formSubtext </b><br>\r\nThe tags below some form elements.\r\n<p>\r\n\r\n\r\n<b>.highlight </b><br>\r\nDenotes a highlighted item, such as which message you are viewing within a list.\r\n<p>\r\n\r\n\r\n\r\n\r\n<b>.pagination </b><br>\r\nThe Previous and Next links on pages with pagination.\r\n<p>\r\n\r\n\r\n\r\n\r\n<b>.tableData </b><br>\r\nThe data rows on things like message boards and user contributions.\r\n<p>\r\n\r\n\r\n<b>.tableHeader </b><br>\r\nThe headings of columns on things like message boards and user contributions.\r\n<p>\r\n\r\n\r\n\r\n\r\n<b>NOTE:</b> Some wobjects and macros have their own unique styles sheet classes, which are documented in their individual help files.\r\n<p>\r\n\r\n\r\n', 1070030223,NULL);
|
|
delete from international where languageId=1 and namespace='WebGUI' and internationalId=846;
|
|
insert into international (internationalId,languageId,namespace,message,lastUpdated,context) values (846,1,'WebGUI','These macros are mainly useful in maintaining styles in WebGUI.\r\n<p/>\r\n\r\n<b>^AdminBar;</b><br>\r\nPlaces the administrative tool bar on the page. This is a required element in the \"body\" segment of the Style Manager. This macro uses a style sheet class called <i>.adminBar </i>, which you may want to account for in your style.\r\n\r\n<p>\r\n\r\n\r\n<b>^c; - Company Name</b><br>\r\nThe name of your company specified in the settings by your Administrator.\r\n<p>\r\n\r\n\r\n<b>^e; - Company Email Address</b><br>\r\nThe email address for your company specified in the settings by your Administrator.\r\n<p>\r\n\r\n<b>^Extras;</b><br>\r\nReturns the path to the WebGUI \"extras\" folder, which contains things like WebGUI icons.\r\n<p>\r\n\r\n<b>^LastModified; or ^LastModified();</b><br>\r\nDisplays the date that the current page was last modified based upon the wobjects on the page. The date is defaultly displayed based upon the user\'s date preferences. Optionally, it can take two parameters. The first is text to display before the date. The second is a date format string (see the D (date) macro for details.\r\n<p>\r\n<i>Example:</i> ^LastModified(\"Updated: \",\"%c %D, %y\");\r\n<p>\r\n\r\n\r\n<b>^PageTitle;</b><br>\r\nDisplays the title of the current page.\r\n<p>\r\n\r\n<B>NOTE:</b> If you begin using admin functions or the indepth functions of any wobject, the page title will become a link that will quickly bring you back to the page.\r\n<p>\r\n\r\n<b>^r; or ^r(); - Make Page Printable</b><br>\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 <b>^r(\"Print Me!\");</b>.\r\n<p>\r\n\r\nBy default, when this link is clicked, the current page\'s style is replaced with the \"Make Page Printable\" style in the Style Manager. However, that can be overridden by specifying the name of another style as the second parameter, like this: ^r(\"Print!\",\"WebGUI\");\r\n<p>\r\n\r\n<b>NOTES:</b> You can also use the special case ^r(linkonly); to return only the URL to the make printable page and nothing more. Also, the .makePrintableLink style sheet class is tied to this macro.\r\n<p>\r\n\r\n<b>^RootTitle;</b><br>\r\nReturns the title of the root of the current page. For instance, the main root in WebGUI is the \"Home\" page. Many advanced sites have many roots and thus need a way to display to the user which root they are in.\r\n<p>\r\n\r\n<b>^u; - Company URL</b><br>\r\nThe URL for your company specified in the settings by your Administrator.\r\n<p>\r\n\r\n\r\n\r\n<b>^?; - Search</b><br>\r\nAdd a search box to the page. The search box is tied to WebGUI\'s built-in search engine.\r\n<p>\r\n\r\n<b>NOTE:</b> The .searchBox style sheet class is tied to this macro.\r\n<p>\r\n\r\n<b>^Spacer();</b><br>\r\nCreate a spacer in your layout. Great for creating blocks of color with divs and tables. It takes two parameters, width and height.\r\n<p>\r\n<i>Example:</i> ^Spacer(\"100\",\"50\");\r\n<p>\r\n\r\n<b>^-;</b><br/>\r\nThis is known as the separator macro. It must appear exactly once in every style. Wherever it appears is where the content for any given page will be put.\r\n<p/>', 1070029970,NULL);
|
|
|
|
delete from help;
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (20, 'WebGUI', 670, 625, '49,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (1, 'FileManager', 61, 71, '3,FileManager;2,FileManager;21,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (28, 'WebGUI', 678, 633, '1,WebGUI;3,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (31, 'WebGUI', 681, 636, '30,WebGUI;1,WebGUI;3,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (30, 'WebGUI', 680, 635, '31,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (25, 'WebGUI', 675, 630, '60,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (6, 'WebGUI', 656, 611, '12,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (46, 'WebGUI', 696, 651, '66,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (22, 'WebGUI', 672, 627, '12,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (1, 'USS', 61, 71, '71,WebGUI;4,USS;3,USS;2,USS;21,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (24, 'WebGUI', 674, 629, '12,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (13, 'WebGUI', 663, 618, '12,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (1, 'SyndicatedContent', 61, 71, '2,SyndicatedContent;21,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (1, 'EventsCalendar', 61, 71, '2,EventsCalendar;3,EventsCalendar;21,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (1, 'MessageBoard', 61, 71, '3,MessageBoard;2,MessageBoard;21,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (21, 'WebGUI', 671, 626, '19,WebGUI;18,WebGUI;27,WebGUI;14,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (1, 'Article', 61, 71, '2,Article;71,WebGUI;21,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (27, 'WebGUI', 677, 632, '1,Article;1,EventsCalendar;1,FileManager;1,HttpProxy;1,DataForm;1,MessageBoard;1,Poll;1,Product;1,SiteMap;1,SQLReport;1,Survey;1,SyndicatedContent;1,USS;1,WobjectProxy;21,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (1, 'Poll', 61, 71, '2,Poll;21,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (1, 'SiteMap', 61, 71, '2,SiteMap;21,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (1, 'SQLReport', 61, 71, '21,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (18, 'WebGUI', 668, 623, '52,WebGUI;78,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (17, 'WebGUI', 667, 622, '10,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (2, 'WebGUI', 652, 607, '12,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (15, 'WebGUI', 665, 620, '10,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (14, 'WebGUI', 664, 619, '21,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (12, 'WebGUI', 662, 617, '6,WebGUI;29,WebGUI;13,WebGUI;24,WebGUI;22,WebGUI;2,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (10, 'WebGUI', 660, 615, '17,WebGUI;15,WebGUI;8,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (8, 'WebGUI', 658, 613, '10,WebGUI;32,WebGUI;5,WebGUI;7,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (78, 'WebGUI', 1073, 1074, '60,WebGUI;18,WebGUI;50,WebGUI;33,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (7, 'WebGUI', 657, 612, '8,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (32, 'WebGUI', 682, 637, '8,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (5, 'WebGUI', 655, 610, '8,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (3, 'WebGUI', 653, 608, '1,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (1, 'WebGUI', 642, 606, '52,WebGUI;3,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (29, 'WebGUI', 679, 634, '12,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (33, 'WebGUI', 683, 638, '61,WebGUI;34,WebGUI;35,WebGUI;50,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (34, 'WebGUI', 684, 639, '33,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (35, 'WebGUI', 685, 640, '33,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (19, 'WebGUI', 669, 624, '53,WebGUI;58,WebGUI;57,WebGUI;60,WebGUI;59,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (66, 'WebGUI', 960, 961, '46,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (65, 'WebGUI', 957, 958, '67,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (2, 'FileManager', 72, 73, '1,FileManager;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (2, 'EventsCalendar', 72, 73, '4,EventsCalendar;1,EventsCalendar;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (47, 'WebGUI', 697, 698, '1,Article;17,WebGUI;1,MessageBoard;1,Poll;2,WebGUI;1,USS;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (1, 'WobjectProxy', 5, 6, '21,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (1, 'Product', 38, 39, '5,Product;4,Product;6,Product;2,Product;3,Product;7,Product;21,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (2, 'Product', 40, 41, '6,Product;1,Product;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (3, 'Product', 42, 43, '1,Product;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (4, 'Product', 44, 45, '1,Product;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (5, 'Product', 46, 47, '1,Product;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (6, 'Product', 49, 50, '2,Product;1,Product;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (7, 'Product', 62, 63, '1,Product;51,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (1, 'Survey', 3, 4, '21,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (49, 'WebGUI', 785, 786, '53,WebGUI;54,WebGUI;56,WebGUI;20,WebGUI;61,WebGUI;55,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (50, 'WebGUI', 825, 826, '33,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (2, 'Article', 72, 73, '1,Article;51,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (51, 'WebGUI', 827, 828, '2,Article;3,DataForm;3,EventsCalendar;3,FileManager;2,MessageBoard;7,Product;2,SiteMap;2,SyndicatedContent;33,WebGUI;2,USS;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (3, 'EventsCalendar', 94, 95, '1,EventsCalendar;51,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (3, 'FileManager', 75, 76, '1,FileManager;51,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (4, 'EventsCalendar', 96, 97, '2,EventsCalendar;51,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (2, 'MessageBoard', 73, 74, '75,WebGUI;76,WebGUI;73,WebGUI;77,WebGUI;72,WebGUI;74,WebGUI;1,MessageBoard;51,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (2, 'SiteMap', 72, 73, '1,SiteMap;51,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (2, 'USS', 74, 75, '1,USS;51,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (3, 'USS', 76, 77, '1,USS;51,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (52, 'WebGUI', 829, 830, '1,WebGUI;33,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (53, 'WebGUI', 831, 832, '49,WebGUI;19,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (54, 'WebGUI', 833, 834, '49,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (55, 'WebGUI', 835, 836, '49,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (56, 'WebGUI', 837, 838, '49,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (57, 'WebGUI', 839, 840, '19,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (58, 'WebGUI', 841, 842, '19,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (59, 'WebGUI', 843, 844, '19,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (60, 'WebGUI', 845, 846, '19,WebGUI;78,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (2, 'SyndicatedContent', 72, 73, '1,SyndicatedContent;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (1, 'HttpProxy', 10, 11, '21,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (67, 'WebGUI', 968, 969, '65,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (1, 'DataForm', 61, 71, '2,DataForm;4,DataForm;3,DataForm;21,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (2, 'DataForm', 62, 72, '3,DataForm;1,DataForm;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (2, 'Poll', 73, 74, '1,Poll;51,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (61, 'WebGUI', 931, 932, '49,WebGUI;33,WebGUI;64,WebGUI;62,WebGUI;63,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (62, 'WebGUI', 933, 934, '61,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (63, 'WebGUI', 936, 937, '61,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (64, 'WebGUI', 938, 939, '61,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (3, 'DataForm', 82, 83, '2,DataForm;1,DataForm;51,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (4, 'DataForm', 88, 89, '1,DataForm;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (68, 'WebGUI', 997, 1000, '69,WebGUI;70,WebGUI;1,SQLReport;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (69, 'WebGUI', 998, 1001, '68,WebGUI;70,WebGUI;1,SQLReport;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (70, 'WebGUI', 999, 1002, '68,WebGUI;69,WebGUI;1,SQLReport;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (71, 'WebGUI', 1054, 1055, '75,WebGUI;76,WebGUI;73,WebGUI;77,WebGUI;72,WebGUI;74,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (72, 'WebGUI', 1056, 1057, '71,WebGUI;50,WebGUI;33,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (73, 'WebGUI', 1058, 1059, '71,WebGUI;50,WebGUI;33,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (74, 'WebGUI', 1060, 1061, '71,WebGUI;73,WebGUI;50,WebGUI;33,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (75, 'WebGUI', 1062, 1063, '71,WebGUI;73,WebGUI;50,WebGUI;33,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (76, 'WebGUI', 1065, 1066, '71,WebGUI;73,WebGUI;50,WebGUI;33,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (77, 'WebGUI', 1067, 1068, '71,WebGUI;50,WebGUI;33,WebGUI;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (3, 'MessageBoard', 78, 79, '71,WebGUI;1,MessageBoard;');
|
|
insert into help (helpId,namespace,titleId,bodyId,seeAlso) values (4, 'USS', 93, 94, '1,USS;');
|
|
|
|
delete from international where namespace='Item';
|
|
update international set namespace='USS', internationalId='83' where namespace='FAQ' and internationalId=9;
|
|
update international set namespace='USS', internationalId='84' where namespace='FAQ' and internationalId=10;
|
|
update international set namespace='USS', internationalId='85' where namespace='FAQ' and internationalId=5;
|
|
update international set namespace='USS', internationalId='86' where namespace='FAQ' and internationalId=6;
|
|
delete from international where namespace='FAQ';
|
|
delete from international where namespace='USS' and internationalId=34;
|
|
delete from international where namespace='USS' and internationalId=38;
|
|
INSERT INTO template VALUES (1,'Default Submission Form','<h1><tmpl_var submission.header.label></h1>\n\n<tmpl_var form.header>\n <table>\n <tmpl_if user.isVisitor> <tmpl_if submission.isNew>\n <tr><td><tmpl_var visitorName.label></td><td><tmpl_var visitorName.form></td></tr>\n </tmpl_if> </tmpl_if>\n <tr><td><tmpl_var title.label></td><td><tmpl_var title.form></td></tr>\n <tr><td><tmpl_var body.label></td><td><tmpl_var body.form></td></tr>\n <tr><td><tmpl_var image.label></td><td><tmpl_var image.form></td></tr>\n <tr><td><tmpl_var attachment.label></td><td><tmpl_var attachment.form></td></tr>\n <tr><td><tmpl_var contentType.label></td><td><tmpl_var contentType.form></td></tr>\n <tr><td></td><td><tmpl_var form.submit></td></tr>\n </table>\n<tmpl_var form.footer>\n','USS/SubmissionForm');
|
|
INSERT INTO template VALUES (2,'FAQ Submission Form','<h1><tmpl_var question.header.label></h1>\n\n<tmpl_var form.header>\n <table>\n <tmpl_if user.isVisitor> <tmpl_if submission.isNew>\n <tr><td><tmpl_var visitorName.label></td><td><tmpl_var visitorName.form></td></tr>\n </tmpl_if> </tmpl_if>\n <tr><td><tmpl_var question.label></td><td><tmpl_var title.form.textarea></td></tr>\n <tr><td><tmpl_var answer.label></td><td><tmpl_var body.form></td></tr>\n <tr><td><tmpl_var contentType.label></td><td><tmpl_var contentType.form></td></tr>\n <tr><td></td><td><tmpl_var form.submit></td></tr>\n </table>\n<tmpl_var form.footer>\n','USS/SubmissionForm');
|
|
insert into international (internationalId,languageId,namespace,message,lastUpdated,context) values (87,1,'USS','Submission Form Template', 1070027660,'Prompt the user to select a template for the USS submission form.');
|
|
insert into international (internationalId,languageId,namespace,message,lastUpdated,context) values (88,1,'USS','Sequence', 1070027660,'A type of ordering in the USS that will allow the admin to specify (or sequence) the order of the results.');
|
|
delete from international where namespace='ExtraColumn';
|
|
update international set namespace='USS', internationalId='89' where namespace='LinkList' and internationalId=13;
|
|
update international set namespace='USS', internationalId='90' where namespace='LinkList' and internationalId=12;
|
|
update international set namespace='USS', internationalId='91' where namespace='LinkList' and internationalId=8;
|
|
update international set namespace='USS', internationalId='92' where namespace='LinkList' and internationalId=3;
|
|
delete from international where namespace='LinkList';
|
|
INSERT INTO template VALUES (3,'Link List Submission Form','<h1><tmpl_var link.header.label></h1>\n\n<tmpl_var form.header>\n <table>\n <tmpl_if user.isVisitor> <tmpl_if submission.isNew>\n <tr><td><tmpl_var visitorName.label></td><td><tmpl_var visitorName.form></td></tr>\n </tmpl_if> </tmpl_if>\n <tr><td><tmpl_var title.label></td><td><tmpl_var title.form></td></tr>\n <tr><td><tmpl_var description.label></td><td><tmpl_var body.form.textarea></td></tr>\n <tr><td><tmpl_var contentType.label></td><td><tmpl_var contentType.form></td></tr>\n <tr><td><tmpl_var url.label></td><td><tmpl_var userDefined1.form></td></tr>\n <tr><td><tmpl_var newWindow.label></td><td><tmpl_var userDefined2.form.yesNo></td></tr>\n <tr><td></td><td><tmpl_var form.submit></td></tr>\n </table>\n<tmpl_var form.footer>\n','USS/SubmissionForm');
|
|
delete from international where languageId=1 and namespace='USS' and internationalId=93;
|
|
insert into international (internationalId,languageId,namespace,message,lastUpdated,context) values (93,1,'USS','Submission Form Template', 1070199365,NULL);
|
|
delete from international where languageId=1 and namespace='USS' and internationalId=94;
|
|
insert into international (internationalId,languageId,namespace,message,lastUpdated,context) values (94,1,'USS','The following template variables are available to you when building your submission form templates.\r\n<p>\r\n\r\n<b>submission.isNew</b><br>\r\nA condition indicating whether this is a new submission being contributed.\r\n<p>\r\n\r\n<b>link.header.label</b><br>\r\nA header telling the user they are editing a link.\r\n<p>\r\n\r\n<b>question.header.label</b><br>\r\nA header telling the user they are editing a question.\r\n<p>\r\n\r\n<b>submission.header.label</b><br>\r\nA header telling the user they are editing a submission.\r\n<p>\r\n\r\n<b>user.isVisitor</b><br>\r\nA condition indicating whether the current user is a visitor.\r\n<p>\r\n\r\n<b>visitorName.label</b><br>\r\nA label for the visitorName.form variable.\r\n<p>\r\n\r\n<b>visitorName.form</b><br>\r\nA text box that allows a visitor (non-logged in user) to enter their own name instead of submitting completely anonymously.\r\n<p>\r\n\r\n<b>form.header</b><br>\r\nAll the information necessary to route the form contents back to WebGUI.\r\n<p>\r\n\r\n<b>url.label</b><br>\r\nA generic label for a URL field.\r\n<p>\r\n\r\n<b>newWindow.label</b><br>\r\nA generic label for a field asking the user whether they would like links to pop up new windows.\r\n<p>\r\n\r\n<b>userDefined1.form - userDefined5.form</b><br>\r\nA series of generic text fields that can be used to extend the functionality of the USS.\r\n<p>\r\n\r\n<b>userDefined1.form.yesNo - userDefined5.form.yesNo</b><br>\r\nYes / No versions of the user defined fields.\r\n<p>\r\n\r\n<b>userDefined1.form.textarea - userDefined5.form.textarea</b><br>\r\nTextarea versions of the user defined fields.\r\n<p>\r\n\r\n<b>userDefined1.value - userDefined5.value</b><br>\r\nThe raw values of the user defined fields.\r\n<p>\r\n\r\n<b>question.label</b><br>\r\nA label prompting the user to enter a question.\r\n<p>\r\n\r\n<b>title.label</b><br>\r\nA label prompting the user to enter a title.\r\n<p>\r\n\r\n<b>title.form</b><br>\r\nA text field for titles or headers for each submission.\r\n<p>\r\n\r\n<b>title.form.textarea</b><br>\r\nA textarea version of the title.form field.\r\n<p>\r\n\r\n<b>title.value</b><br>\r\nThe raw value of the title field.\r\n<p>\r\n\r\n<b>body.label</b><br>\r\nA label for the body.form variable.\r\n<p>\r\n\r\n<b>answer.label</b><br>\r\nAnother label for the body.form variable.\r\n<p>\r\n\r\n<b>description.label</b><br>\r\nAnother label for the body.form variable.\r\n<p>\r\n\r\n<b>body.form</b><br>\r\nAn HTML Area field allowing the user to enter descriptive content of this submission.\r\n<p>\r\n\r\n<b>body.value</b><br>\r\nThe raw content of the body.form field.\r\n<p>\r\n\r\n<b>body.form.textarea</b><br>\r\nA textarea version of body.form.\r\n<p>\r\n\r\n<b>image.label</b><br>\r\nA label for the image.form variable.\r\n<p>\r\n\r\n<b>image.form</b><br>\r\nA field allowing the user to pick an image from his/her hard drive.\r\n<p>\r\n\r\n<b>attachment.label</b><br>\r\nA label for the attachment.form variable.\r\n<p>\r\n\r\n<b>attachment.form</b><br>\r\nA field allowing the user to pick a file from his/her hard drive to attach to this submission.\r\n<p>\r\n\r\n<b>contentType.label</b><br>\r\nA label for the contentType.form variable.\r\n<p>\r\n\r\n<b>contentType.form</b><br>\r\nA field allowing the user to select the type of content contained in the form.body field.\r\n<p>\r\n\r\n<b>form.submit</b><br>\r\nA submit button.\r\n<p>\r\n\r\n<b>form.footer</b><br>\r\nThe bottom of the form.\r\n<p>\r\n', 1070199365,NULL);
|
|
delete from international where languageId=1 and namespace='USS' and internationalId=75;
|
|
insert into international (internationalId,languageId,namespace,message,lastUpdated,context) values (75,1,'USS','This is the listing of template variables available in user submission system templates.\r\n<p/>\r\n\r\n<b>readmore.label</b><br/>\r\nA translated label that indicates that the user should click to read more.\r\n<p/>\r\n\r\n<b>responses.label</b><br/>\r\nA translated label that indicates that the user should click to view the responses to this submission.\r\n<p/>\r\n\r\n<b>canPost</b><br/>\r\nA condition that indicates whether a user can add a new submission.\r\n<p/>\r\n\r\n<b>post.url</b><br/>\r\nThe URL to add a new submission.\r\n<p/>\r\n\r\n<b>post.label</b><br/>\r\nA translated label for the post link.\r\n<p/>\r\n\r\n<b>addquestion.label</b><br>\r\nA translated label that prompts the user to add a question to the USS.\r\n<p>\r\n\r\n<b>addlink.label</b><br>\r\nA translated label that prompts the user to add a link to the USS.\r\n<p>\r\n\r\n<b>search.label</b><br/>\r\nA translated label for the search link.\r\n<p/>\r\n\r\n<b>search.url</b><br/>\r\nThe URL to toggle on/off WebGUI\'s power search form.\r\n<p/>\r\n\r\n<b>search.form</b><br/>\r\nWebGUI\'s power search form.\r\n<p/>\r\n\r\n<b>rss.url</b><br>\r\nThe URL to generate an RSS feed from the content in the USS.\r\n<p>\r\n\r\n<b>canModerate</b><br>\r\nA condition indicating whether the current user has the rights to moderate posts in this USS.\r\n<p>\r\n\r\n<b>title.label</b><br/>\r\nA translated label for the title column.\r\n<p/>\r\n\r\n<b>thumbnail.label</b><br/>\r\nA translated label for the thumbnail column.\r\n<p/>\r\n\r\n<b>date.label</b><br/>\r\nA translated label for the date column.\r\n<p/>\r\n\r\n<b>date.updated.label</b><br/>\r\nThe translated label indicating what date this submission was last edited.\r\n<p/>\r\n\r\n<b>by.label</b><br/>\r\nA translated label stating who the submission was submitted by.\r\n<p/>\r\n\r\n<b>submission.edit.label</b><br>\r\nA translated text label that prompts the user to edit a particular submission.\r\n<p>\r\n\r\n<b>submissions_loop</b><br/>\r\nA loop containing each submission.\r\n<blockquote>\r\n\r\n<b>submission.id</b><br/>\r\nA unique identifier for this submission.\r\n<p/>\r\n\r\n<b>submission.url</b><br/>\r\nThe URL to view this submission.\r\n<p/>\r\n\r\n<b>submission.content</b><br/>\r\nThe abbreviated text content of this submission.\r\n<p/>\r\n\r\n<b>submission.content.full</b><br/>\r\nThe full text content of this submission.\r\n<p/>\r\n\r\n\r\n<b>submission.responses</b><br/>\r\nThe number of responses to this submission.\r\n<p/>\r\n\r\n<b>submission.title</b><br/>\r\nThe title for this submission.\r\n<p/>\r\n\r\n<b>submission.userDefined1 - submission.userDefined5</b><br>\r\nA series of user defined fields to add custom functionality to the USS.\r\n<p>\r\n\r\n<b>submission.userId</b><br/>\r\nThe user id of the user that posted this submission.\r\n<p/>\r\n\r\n<b>submission.username</b><br/>\r\nThe username of the person that posted this submission.\r\n<p/>\r\n\r\n<b>submission.status</b><br/>\r\nThe status of this submission (approved, pending, denied).\r\n<p/>\r\n\r\n<b>submission.thumbnail</b><br/>\r\nThe thumbnail of the image uploaded with this submission (if any).\r\n<p/>\r\n\r\n<b>submission.image</b><br>\r\nThe URL of the image attached to this submission.\r\n<p>\r\n\r\n\r\n<b>submission.date</b><br/>\r\nThe that this submission was posted.\r\n<p/>\r\n\r\n<b>submission.date.updated</b><br/>\r\nA human readable date that displays the date and time this submission was last edited.\r\n<p/>\r\n\r\n<b>submission.currentUser</b><br/>\r\nA condition indicating whether the current user is the same as the user that posted this submission.\r\n<p/>\r\n\r\n<b>submission.userProfile</b><br/>\r\nThe URL to the profile of the user that posted this submission.\r\n<p/>\r\n\r\n<b>submission.edit.url</b><br>\r\nThe URL to edit this submission.\r\n<p>\r\n\r\n\r\n<b>submission.secondColumn</b><br/>\r\nA condition indicating whether or not this submission would belong in the second column, in a multi-column layout.\r\n<p/>\r\n\r\n<b>submission.thirdColumn</b><br/>\r\nA condition indicating whether or not this submission would belong in the third column, in a multi-column layout.\r\n<p/>\r\n\r\n<b>submission.fourthColumn</b><br/>\r\nA condition indicating whether or not this submission would belong in the fourth column, in a multi-column layout.\r\n<p/>\r\n\r\n<b>submission.fifthColumn</b><br/>\r\nA condition indicating whether or not this submission would belong in the fifth column, in a multi-column layout.\r\n<p/>\r\n\r\n<b>submission.controls</b><br>\r\nThe administrative toolbar for each submission.\r\n<p>\r\n\r\n</blockquote>\r\n<p/>\r\n\r\n\r\n<b>firstPage</b><br/>\r\nA link to the first page in the paginator.\r\n<p/>\r\n\r\n<b>lastPage</b><br/>\r\nA link to the last page in the paginator.\r\n<p/>\r\n\r\n<b>nextPage</b><br/>\r\nA link to the next page forward in the paginator.\r\n<p/>\r\n\r\n<b>previousPage</b><br/>\r\nA link to the next page backward in the paginator.\r\n<p/>\r\n\r\n<b>pageList</b><br/>\r\nA list of links to all the pages in the paginator.\r\n<p/>\r\n\r\n<b>multiplePages</b><br/>\r\nA conditional indicating whether there is more than one page in the paginator.\r\n<p/>\r\n', 1070197639,NULL);
|
|
delete from international where languageId=1 and namespace='USS' and internationalId=77;
|
|
insert into international (internationalId,languageId,namespace,message,lastUpdated,context) values (77,1,'USS','The following are the template variables used in a submission template. Submission templates are used to display the individual submissions in a user submission system.\r\n<p/>\r\n\r\n<b>title</b><br/>\r\nThe title of this submission.\r\n<p/>\r\n\r\n<b>content</b><br/>\r\nThe full text content of this submission.\r\n<p/>\r\n\r\n<b>user.label</b><br/>\r\nThe translated label indicating what user posted this submission.\r\n<p/>\r\n\r\n<b>user.profile</b><br/>\r\nThe URL to the profile of the user that posted this submission.\r\n<p/>\r\n\r\n<b>user.username</b><br/>\r\nThe username of the user that posted this submission.\r\n<p/>\r\n\r\n<b>user.id</b><br/>\r\nThe unique identifier for the user that posted this submission.\r\n<p/>\r\n\r\n<b>date.label</b><br/>\r\nThe translated label indicating what date this submission was posted.\r\n<p/>\r\n\r\n<b>date.epoch</b><br/>\r\nThe number of seconds since January 1, 1970 that this submission was posted.\r\n<p/>\r\n\r\n<b>date.human</b><br/>\r\nA human readable date that displays the date and time this submission was posted.\r\n<p/>\r\n\r\n<b>date.updated.label</b><br/>\r\nThe translated label indicating what date this submission was last edited.\r\n<p/>\r\n\r\n<b>date.updated.epoch</b><br/>\r\nThe number of seconds since January 1, 1970 that this submission was last edited.\r\n<p/>\r\n\r\n<b>date.updated.human</b><br/>\r\nA human readable date that displays the date and time this submission was last edited.\r\n<p/>\r\n\r\n<b>status.label</b><br/>\r\nA translated label indicating the status of this submission.\r\n<p/>\r\n\r\n<b>status.status</b><br/>\r\nThe actual status of this submission (pending, approved, denied).\r\n<p/>\r\n\r\n<b>views.label</b><br/>\r\nA translated label indicating how many times this submission has been viewed.\r\n<p/>\r\n\r\n<b>views.count</b><br/>\r\nThe number of times this submission has been viewed.\r\n<p/>\r\n\r\n<b>canPost</b><br/>\r\nAn condition indicating whether or not this user can post a new submission.\r\n<p/>\r\n\r\n<b>post.url</b><br/>\r\nThe URL to post a new submission.\r\n<p/>\r\n\r\n<b>post.label</b><br/>\r\nA translated label for the post link.\r\n<p/>\r\n\r\n<b>previous.more</b><br/>\r\nAn condition indicating whether there are any posts prior to this one available for viewing.\r\n<p/>\r\n\r\n<b>previous.url</b><br/>\r\nA URL to the post that came before this one.\r\n<p/>\r\n\r\n<b>previous.label</b><br/>\r\nA translated label for the previous link.\r\n<p/>\r\n\r\n<b>next.more</b><br/>\r\nA condition indicating whether there are any posts after this one available for viewing.\r\n<p/>\r\n\r\n<b>next.url</b><br/>\r\nThe URL to the post that came after this one.\r\n<p/>\r\n\r\n<b>next.label</b><br/>\r\nA translated label for the next link.\r\n<p/>\r\n\r\n<b>canEdit</b><br/>\r\nA condition indicating whether the current user cane edit or delete this post.\r\n<p/>\r\n\r\n<b>edit.url</b><br/>\r\nThe URL to edit this post.\r\n<p/>\r\n\r\n<b>edit.label</b><br/>\r\nA translated label for the edit link.\r\n<p/>\r\n\r\n<b>delete.url</b><br/>\r\nThe URL to delete this post.\r\n<p/>\r\n\r\n<b>delete.label</b><br/>\r\nA translated label for the delete link.\r\n<p/>\r\n\r\n<b>canChangeStatus</b><br/>\r\nA condition indicating whether the current user has the privileges to change the status of this post.\r\n<p/>\r\n\r\n<b>approve.url</b><br/>\r\nThe URL to approve this post.\r\n<p/>\r\n\r\n<b>approve.label</b><br/>\r\nA translated label for the approve link.\r\n<p/>\r\n\r\n<b>deny.url</b><br/>\r\nThe URL to deny this post.\r\n<p/>\r\n\r\n<b>deny.label</b><br/>\r\nA translated label for the deny link.\r\n<p/>\r\n\r\n<b>leave.url</b><br/>\r\nThe URL to leave this post in it\'s current state.\r\n<p/>\r\n\r\n<b>leave.label</b><br/>\r\nA translated label for the leave link.\r\n<p/>\r\n\r\n<b>canReply</b><br/>\r\nA condition indicating whether the current user can reply to this post.\r\n<p/>\r\n\r\n<b>reply.url</b><br/>\r\nThe URL to reply to this post.\r\n<p/>\r\n\r\n<b>reply.label</b><br/>\r\nA translated label for the reply link.\r\n<p/>\r\n\r\n<b>search.url</b><br/>\r\nThe URL to toggle on the WebGUI power search form.\r\n<p/>\r\n\r\n<b>search.label</b><br/>\r\nA translated label for the search link.\r\n<p/>\r\n\r\n<b>back.url</b><br/>\r\nThe URL to return the user to the main listing.\r\n<p/>\r\n\r\n<b>back.label</b><br/>\r\nA translated label for the back link.\r\n<p/>\r\n\r\n<b>replies</b><br/>\r\nA complete listing of all replies to this post.\r\n<p/>\r\n\r\n<b>userDefined1.value - userDefined5.value</b><br />\r\nA series of user defined values that can be used to extend the functionality of the USS.\r\n<p>\r\n\r\n<b>image.url</b><br>\r\nThe URL to the attached image.\r\n<p>\r\n\r\n<b>image.thumbnail</b><br>\r\nThe URL to the attached image\'s thumbnail.\r\n<p>\r\n\r\n<b>attachment.box</b><br>\r\nA standard WebGUI attachment box which displays the icon for the file, and the filename, along with an attachment icon and all are linked to the file.\r\n<p>\r\n\r\n<b>attachment.url</b><br>\r\nThe URL to the attached file.\r\n<p>\r\n\r\n<b>attachment.icon</b><br>\r\nThe icon that represents the attached file\'s type.\r\n<p>\r\n\r\n<b>attachment.name</b><br>\r\nThe filename of the attached file.\r\n<p>\r\n\r\n\r\n', 1070197000,NULL);
|
|
|
|
delete from international where languageId=1 and namespace='USS' and internationalId=71;
|
|
insert into international (internationalId,languageId,namespace,message,lastUpdated,context) values (71,1,'USS','User Submission Systems (USS) are a great way to add a sense of community to any site as well as get free content from your users. The User Submission System name is misleading to some people, because they immediately think of users as visitors. However, users are also staff, or business partners, or even yourself. With the USS you can select who can add new content, and even who can moderate that content.\r\n<br><br>\r\nUser Submission systems are so versatile that they allow you to create all kinds of applications, just by editing a few templates. Example applications are Photo Galleries, FAQs, Link Lists, Guest Books, Classifieds, and more.\r\n\r\n\r\n<p>\r\n<b>Submission Template</b><br/>\r\nChoose a layout for the individual submissions.\r\n<p/>\r\n\r\n<b>Submission Form Template</b><br>\r\nChoose a layout of the form users see when submitting content.\r\n<p>\r\n\r\n\r\n<b>Submissions Per Page</b><br>\r\nHow many submissions should be listed per page in the submissions index?\r\n<br><br>\r\n\r\n\r\n<b>Filter Content</b><br>\r\nSelect the level of content filtering you wish to perform on all submitted content.\r\n<p>\r\n\r\n<b>Sort By</b><br>\r\nThe field to sort the submission list by.\r\n<p>\r\n\r\n<b>Sort Order</b><br>\r\nThe direction to sort the submission list by.\r\n<p>\r\n\r\n\r\n\r\n\r\n<b>Who can approve?</b><br>\r\nWhat group is allowed to approve and deny content?\r\n<br><br>\r\n\r\n<b>Who can contribute?</b><br>\r\nWhat group is allowed to contribute content?\r\n<br><br>\r\n\r\n\r\n<b>Default Status</b><br>\r\nShould submissions be set to <i>Approved</i>, <i>Pending</i>, or <i>Denied</i> by default?\r\n<br><br>\r\n<i>Note:</i> If you set the default status to Pending, then be prepared to monitor your message log for new submissions.\r\n<p>\r\n\r\n<b>Karma Per Submission</b><br>\r\nHow much karma should be given to a user when they contribute to this user submission system?\r\n<p>\r\n\r\n\r\n<b>Allow discussion?</b><br>\r\nChecking this box will enable responses to your article much like Articles on Slashdot.org.\r\n<p>\r\n\r\n\r\n', 1070199700,NULL);
|
|
INSERT INTO template VALUES (1,'Default Login Box','<div class=\"loginBox\">\n<tmpl_if user.isVisitor>\n <tmpl_var form.header>\n <span><tmpl_var username.label><br></span>\n <tmpl_var username.form>\n <span><br><tmpl_var password.label><br></span>\n <tmpl_var password.form>\n <span><br></span>\n <tmpl_var form.login>\n <tmpl_var form.footer>\n <tmpl_if session.setting.anonymousRegistration>\n <p><a href=\"<tmpl_var account.create.url>\"><tmpl_var account.create.label></a></p>\n </tmpl_if> \n<tmpl_else>\n <tmpl_unless customText>\n <tmpl_var hello.label> <a href=\"<tmpl_var account.display.url>\"><tmpl_var session.user.username></a>.\n <tmpl_var logout.label>\n <tmpl_else>\n <tmpl_var customText>\n </tmpl_unless>\n</tmpl_if>\n</div>\n','Macro/L_loginBox');
|
|
INSERT INTO template VALUES (2,'Horizontal Login Box','<div class=\"loginBox\">\n<tmpl_if user.isVisitor>\n <tmpl_var form.header>\n <table border=\"0\" class=\"loginBox\" cellpadding=\"1\" cellspacing=\"0\">\n <tr>\n <td><tmpl_var username.form></td>\n <td><tmpl_var password.form></td>\n <td><tmpl_var form.login></td>\n </tr>\n <tr>\n <td><tmpl_var username.label></td>\n <td><tmpl_var password.label></td>\n <td></td>\n </tr>\n </table> <tmpl_if session.setting.anonymousRegistration>\n <a href=\"<tmpl_var account.create.url>\"><tmpl_var account.create.label></a>\n </tmpl_if> <tmpl_var form.footer> \n<tmpl_else>\n <tmpl_unless customText>\n <tmpl_var hello.label> <a href=\"<tmpl_var account.display.url>\"><tmpl_var session.user.username></a>.\n <tmpl_var logout.label><br />\n <tmpl_else>\n <tmpl_var customText>\n </tmpl_unless>\n<tmpl_var form.footer> \n </tmpl_if>\n</div>\n','Macro/L_loginBox');
|
|
delete from international where internationalId=34 and namespace='WebGUI';
|
|
delete from international where internationalId=19 and namespace='SQLReport';
|
|
delete from international where internationalId=21 and namespace='SQLReport';
|
|
delete from international where internationalId=5 and namespace='SQLReport';
|
|
delete from international where internationalId=6 and namespace='SQLReport';
|
|
delete from international where internationalId=7 and namespace='SQLReport';
|
|
delete from international where internationalId=9 and namespace='SQLReport';
|
|
update international set internationalId=1075, namespace='WebGUI' where internationalId=20 and namespace='SQLReport';
|
|
insert into international (internationalId,languageId,namespace,message,lastUpdated,context) values (1076,1,'WebGUI','WebGUI Database', 1070899134,'A label indicating the the user will be selecting the default WebGUI database.');
|
|
alter table SQLReport change column databaseLinkId databaseLinkId int not null default 0;
|
|
INSERT INTO template VALUES (1,'Default SQL Report','<tmpl_if displayTitle>\n <h1><tmpl_var title></h1>\n</tmpl_if>\n\n<tmpl_if description>\n <tmpl_var description><p />\n</tmpl_if>\n\n<tmpl_if debugMode>\n <ul>\n <tmpl_loop debug_loop>\n <li><tmpl_var debug.output></li>\n </tmpl_loop>\n </ul>\n</tmpl_if>\n\n<table width=\"100%\">\n<tr>\n <tmpl_loop columns_loop>\n <td class=\"tableHeader\"><tmpl_var column.name></td>\n </tmpl_loop>\n</tr>\n<tmpl_loop rows_loop>\n <tr>\n <tmpl_loop row.field_loop>\n <td class=\"tableData\"><tmpl_var field.value></td>\n </tmpl_loop>\n </tr>\n</tmpl_loop>\n</table>\n\n<tmpl_if multiplePages>\n <div class=\"pagination\">\n <tmpl_var previousPage> <tmpl_var pageList> <tmpl_var nextPage>\n </div>\n</tmpl_if>','SQLReport');
|
|
|
|
|
|
#Start Authentication Changes
|
|
delete from settings where name='webguiExpirePasswordOnCreation';
|
|
INSERT INTO settings (name,value) VALUES ('webguiExpirePasswordOnCreation','0');
|
|
delete from settings where name='webguiPasswordLength';
|
|
INSERT INTO settings (name,value) VALUES ('webguiPasswordLength','0');
|
|
delete from settings where name='webguiPasswordRecovery';
|
|
INSERT INTO settings (name,value) VALUES ('webguiPasswordRecovery','1');
|
|
delete from settings where name='webguiPasswordTimeout';
|
|
INSERT INTO settings (name,value) VALUES ('webguiPasswordTimeout','3122064000');
|
|
delete from settings where name='ldapWelcomeMessage';
|
|
INSERT INTO settings (name,value) VALUES ('ldapWelcomeMessage','Welcome to our site.');
|
|
delete from settings where name='ldapSendWelcomeMessage';
|
|
INSERT INTO settings (name,value) VALUES ('ldapSendWelcomeMessage','0');
|
|
delete from settings where name='smbWelcomeMessage';
|
|
INSERT INTO settings (name,value) VALUES ('smbWelcomeMessage','Welcome to our site.');
|
|
delete from settings where name='smbSendWelcomeMessage';
|
|
INSERT INTO settings (name,value) VALUES ('smbSendWelcomeMessage','0');
|
|
delete from settings where name='webguiSendWelcomeMessage';
|
|
update settings set name='webguiSendWelcomeMessage' where name='sendWelcomeMessage';
|
|
delete from settings where name='webguiWelcomeMessage';
|
|
update settings set name='webguiWelcomeMessage' where name='welcomeMessage';
|
|
delete from settings where name='webguiRecoverPasswordEmail';
|
|
update settings set name='webguiRecoverPasswordEmail' where name='recoverPasswordEmail';
|
|
|
|
delete from international where languageId=1 and namespace='Auth/SMB' and internationalId=10;
|
|
insert into international (internationalId,languageId,namespace,message,lastUpdated,context) values (10,1,'Auth/SMB','No SMB username specfified.', 1071926471,'');
|
|
delete from international where languageId=1 and namespace='Auth/LDAP' and internationalId=13;
|
|
insert into international (internationalId,languageId,namespace,message,lastUpdated,context) values (13, 1,'Auth/LDAP','Invalid LDAP connection URL. Contact your administrator.',1071849063,'');
|
|
delete from international where languageId=1 and namespace='Auth/LDAP' and internationalId=12;
|
|
insert into international (internationalId,languageId,namespace,message,lastUpdated,context) values (12, 1,'Auth/LDAP','No LDAP Url Specified for this user',1071848371,'');
|
|
delete from international where languageId=1 and namespace='Auth/LDAP' and internationalId=11;
|
|
insert into international (internationalId,languageId,namespace,message,lastUpdated,context) values (11, 1,'Auth/LDAP','No connect DN specified for this user',1071848383,'');
|
|
delete from international where languageId=1 and namespace='Auth/LDAP' and internationalId=10;
|
|
insert into international (internationalId,languageId,namespace,message,lastUpdated,context) values (10, 1,'Auth/LDAP','Password (confirm)',1071845113,'');
|
|
delete from international where languageId=1 and namespace='Auth/WebGUI' and internationalId=17;
|
|
insert into international (internationalId,languageId,namespace,message,lastUpdated,context) values (17,1,'Auth/WebGUI','Password Updated', 1071885563,'');
|
|
delete from international where languageId=1 and namespace='Auth/WebGUI' and internationalId=16;
|
|
insert into international (internationalId,languageId,namespace,message,lastUpdated,context) values (16,1,'Auth/WebGUI','Password Timeout', 1071885309,'');
|
|
delete from international where languageId=1 and namespace='Auth/WebGUI' and internationalId=15;
|
|
insert into international (internationalId,languageId,namespace,message,lastUpdated,context) values (15,1,'Auth/WebGUI','Minimum Password Length', 1071885112,'');
|
|
delete from international where languageId=1 and namespace='Auth/WebGUI' and internationalId=14;
|
|
insert into international (internationalId,languageId,namespace,message,lastUpdated,context) values (14,1,'Auth/WebGUI','Minimum password length', 1071507951,'What is the minimum password length?');
|
|
delete from international where languageId=1 and namespace='Auth/WebGUI' and internationalId=13;
|
|
insert into international (internationalId,languageId,namespace,message,lastUpdated,context) values (13,1,'Auth/WebGUI','Allow password recovery?', 1071507940,'');
|
|
delete from international where languageId=1 and namespace='Auth/WebGUI' and internationalId=12;
|
|
insert into international (internationalId,languageId,namespace,message,lastUpdated,context) values (12,1,'Auth/WebGUI','You may not use your old password as your new password', 1071507932,'');
|
|
delete from international where languageId=1 and namespace='Auth/WebGUI' and internationalId=11;
|
|
insert into international (internationalId,languageId,namespace,message,lastUpdated,context) values (11,1,'Auth/WebGUI','New Password', 1071507924,'');
|
|
delete from international where languageId=1 and namespace='Auth/WebGUI' and internationalId=10;
|
|
insert into international (internationalId,languageId,namespace,message,lastUpdated,context) values (10,1,'Auth/WebGUI','Old Password', 1071507875,'');
|
|
delete from international where languageId=1 and namespace='Auth/WebGUI' and internationalId=9;
|
|
insert into international (internationalId,languageId,namespace,message,lastUpdated,context) values (9,1,'Auth/WebGUI','Expire passwords on user creation?', 1071507780,'');
|
|
delete from international where languageId=1 and namespace='Auth/WebGUI' and internationalId=8;
|
|
insert into international (internationalId,languageId,namespace,message,lastUpdated,context) values (8,1,'Auth/WebGUI','Your Password Has Expired', 1071507773,'');
|
|
delete from international where languageId=1 and namespace='Auth/WebGUI' and internationalId=7;
|
|
insert into international (internationalId,languageId,namespace,message,lastUpdated,context) values (7,1,'Auth/WebGUI','Passwords must have a minimum character length of', 1071507767,'Password expires every 10 days');
|
|
delete from international where languageId=1 and namespace='Auth/WebGUI' and internationalId=6;
|
|
insert into international (internationalId,languageId,namespace,message,lastUpdated,context) values (6,1,'Auth/WebGUI','Allow Password Recovery?', 1071507760,'Password expires every 10 days');
|
|
delete from international where languageId=1 and namespace='Auth/WebGUI' and internationalId=5;
|
|
insert into international (internationalId,languageId,namespace,message,lastUpdated,context) values (5,1,'Auth/WebGUI','Your password cannot be \"password\".', 1071507752,NULL);
|
|
delete from international where languageId=1 and namespace='Auth/WebGUI' and internationalId=4;
|
|
insert into international (internationalId,languageId,namespace,message,lastUpdated,context) values (4,1,'Auth/WebGUI','Your password cannot be blank.', 1071507744,NULL);
|
|
delete from international where languageId=1 and namespace='Auth/WebGUI' and internationalId=3;
|
|
insert into international (internationalId,languageId,namespace,message,lastUpdated,context) values (3,1,'Auth/WebGUI','Your passwords did not match. Please try again.', 1071507737,NULL);
|
|
delete from international where languageId=1 and namespace='Auth/WebGUI' and internationalId=2;
|
|
insert into international (internationalId,languageId,namespace,message,lastUpdated,context) values (2,1,'Auth/WebGUI','Password (confirm)', 1071507729,NULL);
|
|
delete from international where languageId=1 and namespace='Auth/WebGUI' and internationalId=1;
|
|
insert into international (internationalId,languageId,namespace,message,lastUpdated,context) values (1,1,'Auth/WebGUI','WebGUI Authentication Options', 1071507721,NULL);
|
|
delete from international where languageId=1 and namespace='WebGUI' and internationalId=1078;
|
|
insert into international (internationalId,languageId,namespace,message,lastUpdated,context) values (1078,1,'WebGUI','There is already a user of this system with the email address you\'ve entered. Press \"Save\" if you still wish to create this user', 1067951807,NULL);
|
|
delete from international where languageId=1 and namespace='WebGUI' and internationalId=1077;
|
|
insert into international (internationalId,languageId,namespace,message,lastUpdated,context) values (1077,1,'WebGUI','The function you are attempting to call is not available for this authentication module', 1067951805,NULL);
|
|
|
|
|
|
delete from template where namespace='Auth/WebGUI/Login' and templateId=1;
|
|
INSERT INTO template (templateId,name,template,namespace) VALUES (1,'Default WebGUI Login Template','<tmpl_if displayTitle>\r\n <tmpl_var displayTitle>\r\n</tmpl_if>\r\n\r\n<tmpl_if login.message>\r\n <tmpl_var login.message>\r\n</tmpl_if>\r\n\r\n<tmpl_var login.form.header>\r\n<table >\r\n<tmpl_var login.form.hidden>\r\n<tr>\r\n <td class=\"formDescription\" valign=\"top\"><tmpl_var login.form.username.label></td>\r\n <td class=\"tableData\"><tmpl_var login.form.username></td>\r\n</tr>\r\n<tr>\r\n <td class=\"formDescription\" valign=\"top\"><tmpl_var login.form.password.label></td>\r\n <td class=\"tableData\"><tmpl_var login.form.password></td>\r\n</tr>\r\n<tr>\r\n <td class=\"formDescription\" valign=\"top\"></td>\r\n <td class=\"tableData\"><tmpl_var login.form.submit></td>\r\n</tr>\r\n</table>\r\n<tmpl_var login.form.footer>\r\n\r\n<div class=\"accountOptions\">\r\n <ul>\r\n <tmpl_if login.options.passwordRecovery>\r\n <li><tmpl_var login.options.passwordRecovery>\r\n </tmpl_if>\r\n <tmpl_if login.options.anonymousRegistration>\r\n <li><tmpl_var login.options.anonymousRegistration>\r\n </tmpl_if>\r\n </ul>\r\n</div>','Auth/WebGUI/Login');
|
|
delete from template where namespace='Auth/WebGUI/Account' and templateId=1;
|
|
INSERT INTO template (templateId,name,template,namespace) VALUES (1,'Default WebGUI Account Display Template','<tmpl_if displayTitle>\r\n <tmpl_var displayTitle>\r\n</tmpl_if>\r\n\r\n<tmpl_if account.message>\r\n <tmpl_var account.message>\r\n</tmpl_if>\r\n\r\n<tmpl_var account.form.header>\r\n<table >\r\n<tmpl_var account.form.hidden>\r\n<tmpl_if account.form.karma>\r\n<tr>\r\n <td class=\"formDescription\" valign=\"top\"><tmpl_var account.form.karma.label></td>\r\n <td class=\"tableData\"><tmpl_var account.form.karma></td>\r\n</tr>\r\n</tmpl_if>\r\n<tr>\r\n <td class=\"formDescription\" valign=\"top\"><tmpl_var account.form.username.label></td>\r\n <td class=\"tableData\"><tmpl_var account.form.username></td>\r\n</tr>\r\n<tr>\r\n <td class=\"formDescription\" valign=\"top\"><tmpl_var account.form.password.label></td>\r\n <td class=\"tableData\"><tmpl_var account.form.password></td>\r\n</tr>\r\n<tr>\r\n <td class=\"formDescription\" valign=\"top\"><tmpl_var account.form.passwordConfirm.label></td>\r\n <td class=\"tableData\"><tmpl_var account.form.passwordConfirm></td>\r\n</tr>\r\n<tr>\r\n <td class=\"formDescription\" valign=\"top\"></td>\r\n <td class=\"tableData\"><tmpl_var account.form.submit></td>\r\n</tr>\r\n</table>\r\n<tmpl_var account.form.footer>\r\n\r\n<div class=\"accountOptions\">\r\n <ul>\r\n <tmpl_loop account.options>\r\n <li><tmpl_var options.display>\r\n </tmpl_loop>\r\n </ul>\r\n</div>','Auth/WebGUI/Account');
|
|
delete from template where namespace='Auth/WebGUI/Create' and templateId=1;
|
|
INSERT INTO template (templateId,name,template,namespace) VALUES (1,'Default WebGUI Anonymous Registration Template','<tmpl_if displayTitle>\r\n <tmpl_var displayTitle>\r\n</tmpl_if>\r\n\r\n<tmpl_if create.message>\r\n <tmpl_var create.message>\r\n</tmpl_if>\r\n\r\n<tmpl_var create.form.header>\r\n<table >\r\n<tmpl_var create.form.hidden>\r\n<tr>\r\n <td class=\"formDescription\" valign=\"top\"><tmpl_var create.form.username.label></td>\r\n <td class=\"tableData\"><tmpl_var create.form.username></td>\r\n</tr>\r\n<tr>\r\n <td class=\"formDescription\" valign=\"top\"><tmpl_var create.form.password.label></td>\r\n <td class=\"tableData\"><tmpl_var create.form.password></td>\r\n</tr>\r\n<tr>\r\n <td class=\"formDescription\" valign=\"top\"><tmpl_var create.form.passwordConfirm.label></td>\r\n <td class=\"tableData\"><tmpl_var create.form.passwordConfirm></td>\r\n</tr>\r\n<tmpl_loop create.form.profile>\r\n<tr>\r\n <td class=\"formDescription\" valign=\"top\"><tmpl_var profile.formElement.label></td>\r\n <td class=\"tableData\"><tmpl_var profile.formElement></td>\r\n</tr>\r\n</tmpl_loop>\r\n<tr>\r\n <td class=\"formDescription\" valign=\"top\"></td>\r\n <td class=\"tableData\"><tmpl_var create.form.submit></td>\r\n</tr>\r\n</table>\r\n<tmpl_var create.form.footer>\r\n\r\n\r\n<div class=\"accountOptions\">\r\n <ul>\r\n <li><tmpl_var create.options.accountExists>\r\n <tmpl_if create.options.passwordRecovery>\r\n <li><tmpl_var create.options.passwordRecovery>\r\n </tmpl_if>\r\n </ul>\r\n</div>','Auth/WebGUI/Create');
|
|
delete from template where namespace='Auth/WebGUI/Recovery' and templateId=1;
|
|
INSERT INTO template (templateId,name,template,namespace) VALUES (1,'Default WebGUI Password Recovery Template','<tmpl_if displayTitle>\r\n <tmpl_var displayTitle>\r\n</tmpl_if>\r\n\r\n<tmpl_if recover.message>\r\n <tmpl_var recover.message>\r\n</tmpl_if>\r\n\r\n<tmpl_var recover.form.header>\r\n<table >\r\n<tmpl_var recover.form.hidden>\r\n<tr>\r\n <td class=\"formDescription\" valign=\"top\"><tmpl_var recover.form.email.label></td>\r\n <td class=\"tableData\"><tmpl_var recover.form.email></td>\r\n</tr>\r\n<tr>\r\n <td class=\"formDescription\" valign=\"top\"></td>\r\n <td class=\"tableData\"><tmpl_var recover.form.submit></td>\r\n</tr>\r\n</table>\r\n<tmpl_var recover.form.footer>\r\n\r\n\r\n<div class=\"accountOptions\">\r\n <ul>\r\n <tmpl_if recover.options.anonymousRegistration>\r\n <li><tmpl_var recover.options.anonymousRegistration>\r\n </tmpl_if>\r\n <li><tmpl_var recover.options.accountExists>\r\n </ul>\r\n</div>','Auth/WebGUI/Recovery');
|
|
delete from template where namespace='Auth/WebGUI/Expired' and templateId=1;
|
|
INSERT INTO template (templateId,name,template,namespace) VALUES (1,'Default WebGUI Password Reset Template','<tmpl_if displayTitle>\r\n <tmpl_var displayTitle>\r\n</tmpl_if>\r\n\r\n<tmpl_if expired.message>\r\n <tmpl_var expired.message>\r\n</tmpl_if>\r\n\r\n<tmpl_var expired.form.header>\r\n<table >\r\n<tmpl_var expired.form.hidden>\r\n<tr>\r\n <td class=\"formDescription\" valign=\"top\">\r\n <tmpl_var expired.form.oldPassword.label>\r\n </td>\r\n <td class=\"tableData\">\r\n <tmpl_var expired.form.oldPassword>\r\n </td>\r\n</tr>\r\n<tr>\r\n <td class=\"formDescription\" valign=\"top\">\r\n <tmpl_var expired.form.password.label>\r\n </td>\r\n <td class=\"tableData\">\r\n <tmpl_var expired.form.password>\r\n </td>\r\n</tr>\r\n<tr>\r\n <td class=\"formDescription\" valign=\"top\">\r\n <tmpl_var expired.form.passwordConfirm.label>\r\n </td>\r\n <td class=\"tableData\">\r\n <tmpl_var expired.form.passwordConfirm>\r\n </td>\r\n</tr>\r\n<tr>\r\n <td class=\"formDescription\" valign=\"top\"></td>\r\n <td class=\"tableData\">\r\n <tmpl_var expired.form.submit>\r\n </td>\r\n</tr>\r\n</table>\r\n<tmpl_var expired.form.footer>','Auth/WebGUI/Expired');
|
|
delete from template where namespace='Auth/LDAP/Login' and templateId=1;
|
|
INSERT INTO template (templateId,name,template,namespace) VALUES (1,'Default LDAP Login Template','<tmpl_if displayTitle>\r\n <tmpl_var displayTitle>\r\n</tmpl_if>\r\n\r\n<tmpl_if login.message>\r\n <tmpl_var login.message>\r\n</tmpl_if>\r\n\r\n<tmpl_var login.form.header>\r\n<table >\r\n<tmpl_var login.form.hidden>\r\n<tr>\r\n <td class=\"formDescription\" valign=\"top\"><tmpl_var login.form.username.label></td>\r\n <td class=\"tableData\"><tmpl_var login.form.username></td>\r\n</tr>\r\n<tr>\r\n <td class=\"formDescription\" valign=\"top\"><tmpl_var login.form.password.label></td>\r\n <td class=\"tableData\"><tmpl_var login.form.password></td>\r\n</tr>\r\n<tr>\r\n <td class=\"formDescription\" valign=\"top\"></td>\r\n <td class=\"tableData\"><tmpl_var login.form.submit></td>\r\n</tr>\r\n</table>\r\n<tmpl_var login.form.footer>\r\n\r\n<div class=\"accountOptions\">\r\n <ul>\r\n <tmpl_if login.options.passwordRecovery>\r\n <li><tmpl_var login.options.passwordRecovery>\r\n </tmpl_if>\r\n <tmpl_if login.options.anonymousRegistration>\r\n <li><tmpl_var login.options.anonymousRegistration>\r\n </tmpl_if>\r\n </ul>\r\n</div>','Auth/LDAP/Login');
|
|
delete from template where namespace='Auth/LDAP/Account' and templateId=1;
|
|
INSERT INTO template (templateId,name,template,namespace) VALUES (1,'Default LDAP Account Display Template','<tmpl_if displayTitle>\r\n <tmpl_var displayTitle>\r\n</tmpl_if>\r\n\r\n<tmpl_var account.message>\r\n<tmpl_if account.form.karma>\r\n<br><br>\r\n<table>\r\n<tr>\r\n <td class=\"formDescription\">\r\n <tmpl_var account.form.karma.label>\r\n </td>\r\n <td class=\"tableData\">\r\n <tmpl_var account.form.karma>\r\n </td>\r\n</tr>\r\n</table>\r\n</tmpl_if>\r\n\r\n<div class=\"accountOptions\">\r\n <ul>\r\n <tmpl_loop account.options>\r\n <li><tmpl_var options.display>\r\n </tmpl_loop>\r\n </ul>\r\n</div>','Auth/LDAP/Account');
|
|
delete from template where namespace='Auth/LDAP/Create' and templateId=1;
|
|
INSERT INTO template (templateId,name,template,namespace) VALUES (1,'Default LDAP Anonymous Registration Template','<tmpl_if displayTitle>\r\n <tmpl_var displayTitle>\r\n</tmpl_if>\r\n\r\n<tmpl_if create.message>\r\n <tmpl_var create.message>\r\n</tmpl_if>\r\n\r\n<tmpl_var create.form.header>\r\n<table >\r\n<tmpl_var create.form.hidden>\r\n<tr>\r\n <td class=\"formDescription\" valign=\"top\"><tmpl_var create.form.ldapId.label></td>\r\n <td class=\"tableData\"><tmpl_var create.form.ldapId></td>\r\n</tr>\r\n<tr>\r\n <td class=\"formDescription\" valign=\"top\"><tmpl_var create.form.password.label></td>\r\n <td class=\"tableData\"><tmpl_var create.form.password></td>\r\n</tr>\r\n<tmpl_loop create.form.profile>\r\n<tr>\r\n <td class=\"formDescription\" valign=\"top\"><tmpl_var profile.formElement.label></td>\r\n <td class=\"tableData\"><tmpl_var profile.formElement></td>\r\n</tr>\r\n</tmpl_loop>\r\n<tr>\r\n <td class=\"formDescription\" valign=\"top\"></td>\r\n <td class=\"tableData\"><tmpl_var create.form.submit></td>\r\n</tr>\r\n</table>\r\n<tmpl_var create.form.footer>\r\n\r\n\r\n<div class=\"accountOptions\">\r\n <ul>\r\n <li><tmpl_var create.options.accountExists>\r\n <tmpl_if create.options.passwordRecovery>\r\n <li><tmpl_var create.options.passwordRecovery>\r\n </tmpl_if>\r\n </ul>\r\n</div>','Auth/LDAP/Create');
|
|
delete from template where namespace='Auth/SMB/Login' and templateId=1;
|
|
INSERT INTO template (templateId,name,template,namespace) VALUES (1,'Default SMB Login Template','<tmpl_if displayTitle>\r\n <tmpl_var displayTitle>\r\n</tmpl_if>\r\n\r\n<tmpl_if login.message>\r\n <tmpl_var login.message>\r\n</tmpl_if>\r\n\r\n<tmpl_var login.form.header>\r\n<table >\r\n<tmpl_var login.form.hidden>\r\n<tr>\r\n <td class=\"formDescription\" valign=\"top\"><tmpl_var login.form.username.label></td>\r\n <td class=\"tableData\"><tmpl_var login.form.username></td>\r\n</tr>\r\n<tr>\r\n <td class=\"formDescription\" valign=\"top\"><tmpl_var login.form.password.label></td>\r\n <td class=\"tableData\"><tmpl_var login.form.password></td>\r\n</tr>\r\n<tr>\r\n <td class=\"formDescription\" valign=\"top\"></td>\r\n <td class=\"tableData\"><tmpl_var login.form.submit></td>\r\n</tr>\r\n</table>\r\n<tmpl_var login.form.footer>\r\n\r\n<div class=\"accountOptions\">\r\n <ul>\r\n <tmpl_if login.options.passwordRecovery>\r\n <li><tmpl_var login.options.passwordRecovery>\r\n </tmpl_if>\r\n <tmpl_if login.options.anonymousRegistration>\r\n <li><tmpl_var login.options.anonymousRegistration>\r\n </tmpl_if>\r\n </ul>\r\n</div>','Auth/SMB/Login');
|
|
delete from template where namespace='Auth/SMB/Account' and templateId=1;
|
|
INSERT INTO template (templateId,name,template,namespace) VALUES (1,'Default SMB Account Display Template','<tmpl_if displayTitle>\r\n <tmpl_var displayTitle>\r\n</tmpl_if>\r\n\r\n<tmpl_var account.message>\r\n<tmpl_if account.form.karma>\r\n<br><br>\r\n<table>\r\n<tr>\r\n <td class=\"formDescription\">\r\n <tmpl_var account.form.karma.label>\r\n </td>\r\n <td class=\"tableData\">\r\n <tmpl_var account.form.karma>\r\n </td>\r\n</tr>\r\n</table>\r\n</tmpl_if>\r\n<div class=\"accountOptions\">\r\n <ul>\r\n <tmpl_loop account.options>\r\n <li><tmpl_var options.display>\r\n </tmpl_loop>\r\n </ul>\r\n</div>','Auth/SMB/Account');
|
|
delete from template where namespace='Auth/SMB/Create' and templateId=1;
|
|
INSERT INTO template (templateId,name,template,namespace) VALUES (1,'Default SMB Anonymous Registration Template','<tmpl_if displayTitle>\r\n <tmpl_var displayTitle>\r\n</tmpl_if>\r\n\r\n<tmpl_if create.message>\r\n <tmpl_var create.message>\r\n</tmpl_if>\r\n\r\n<tmpl_var create.form.header>\r\n<table >\r\n<tmpl_var create.form.hidden>\r\n<tr>\r\n <td class=\"formDescription\" valign=\"top\"><tmpl_var create.form.loginId.label></td>\r\n <td class=\"tableData\"><tmpl_var create.form.loginId></td>\r\n</tr>\r\n<tr>\r\n <td class=\"formDescription\" valign=\"top\"><tmpl_var create.form.password.label></td>\r\n <td class=\"tableData\"><tmpl_var create.form.password></td>\r\n</tr>\r\n<tmpl_loop create.form.profile>\r\n<tr>\r\n <td class=\"formDescription\" valign=\"top\"><tmpl_var profile.formElement.label></td>\r\n <td class=\"tableData\"><tmpl_var profile.formElement></td>\r\n</tr>\r\n</tmpl_loop>\r\n<tr>\r\n <td class=\"formDescription\" valign=\"top\"></td>\r\n <td class=\"tableData\"><tmpl_var create.form.submit></td>\r\n</tr>\r\n</table>\r\n<tmpl_var create.form.footer>\r\n\r\n\r\n<div class=\"accountOptions\">\r\n <ul>\r\n <li><tmpl_var create.options.accountExists>\r\n <tmpl_if create.options.passwordRecovery>\r\n <li><tmpl_var create.options.passwordRecovery>\r\n </tmpl_if>\r\n </ul>\r\n</div>','Auth/SMB/Create');
|
|
delete from template where namespace='Operation/MessageLog/View' and templateId=1;
|
|
INSERT INTO template (templateId,name,template,namespace) VALUES (1,'Default Messsage Log Display Template','<h1><tmpl_var displayTitle></h1>\r\n\r\n<table width=\"100%\" cellspacing=1 cellpadding=2 border=0>\r\n<tr>\r\n <td class=\"tableHeader\">\r\n <tmpl_var message.subject.label>\r\n </td>\r\n <td class=\"tableHeader\">\r\n <tmpl_var message.status.label>\r\n </td>\r\n <td class=\"tableHeader\">\r\n <tmpl_var message.dateOfEntry.label>\r\n </td>\r\n</tr>\r\n<tmpl_if message.noresults>\r\n <tr>\r\n <td class=\"tableData\">\r\n <tmpl_var message.noresults>\r\n </td>\r\n <td class=\"tableData\">\r\n \r\n </td>\r\n <td class=\"tableData\">\r\n \r\n </td>\r\n </tr>\r\n<tmpl_else>\r\n <tmpl_loop message.loop>\r\n <tr>\r\n <td class=\"tableData\">\r\n <tmpl_var message.subject>\r\n </td>\r\n <td class=\"tableData\">\r\n <tmpl_var message.status>\r\n </td>\r\n <td class=\"tableData\">\r\n <tmpl_var message.dateOfEntry>\r\n </td>\r\n </tr>\r\n </tmpl_loop>\r\n</tmpl_if>\r\n</table>\r\n<tmpl_if message.multiplePages>\r\n <div class=\"pagination\">\r\n <tmpl_var message.previousPage> · <tmpl_var message.pageList> · <tmpl_var message.nextPage>\r\n </div>\r\n</tmpl_if>\r\n<div class=\"accountOptions\">\r\n <ul>\r\n <tmpl_loop message.accountOptions>\r\n <li><tmpl_var options.display>\r\n </tmpl_loop>\r\n </ul>\r\n</div>','Operation/MessageLog/View');
|
|
delete from template where namespace='Operation/MessageLog/Message' and templateId=1;
|
|
INSERT INTO template (templateId,name,template,namespace) VALUES (1,'Default MessageLog Message Template','<tmpl_var displayTitle>\r\n<b><tmpl_var message.subject></b><br>\r\n<tmpl_var message.dateOfEntry><br>\r\n<tmpl_var message.status><br><br>\r\n<tmpl_var message.text><p>\r\n\r\n<div class=\"accountOptions\">\r\n <ul>\r\n <tmpl_if message.takeAction>\r\n <li><tmpl_var message.takeAction>\r\n </tmpl_if>\r\n <tmpl_loop message.accountOptions>\r\n <li><tmpl_var options.display>\r\n </tmpl_loop>\r\n </ul>\r\n</div>\r\n\r\n\r\n','Operation/MessageLog/Message');
|
|
delete from template where namespace='Operation/Profile/Edit' and templateId=1;
|
|
INSERT INTO template (templateId,name,template,namespace) VALUES (1,'Default Edit Profile Template','<tmpl_var displayTitle>\r\n\r\n<tmpl_if profile.message>\r\n <tmpl_var profile.message>\r\n</tmpl_if>\r\n\r\n<tmpl_var profile.form.header>\r\n<table >\r\n<tmpl_var profile.form.hidden>\r\n\r\n<tmpl_loop profile.form.elements>\r\n <tr>\r\n <td class=\"tableHeader\" valign=\"top\" colspan=\"2\">\r\n <tmpl_var profile.form.category>\r\n </td>\r\n </tr>\r\n \r\n <tmpl_loop profile.form.category.loop>\r\n <tr>\r\n <td class=\"formDescription\" valign=\"top\">\r\n <tmpl_var profile.form.element.label>\r\n </td>\r\n <td class=\"tableData\">\r\n <tmpl_var profile.form.element>\r\n <tmpl_if profile.form.element.subtext>\r\n <span class=\"formSubtext\">\r\n <tmpl_var profile.form.element.subtext>\r\n </span>\r\n </tmpl_if>\r\n </td>\r\n </tr>\r\n </tmpl_loop>\r\n</tmpl_loop>\r\n<tmpl_loop create.form.profile>\r\n<tr>\r\n <td class=\"formDescription\" valign=\"top\"><tmpl_var profile.formElement.label></td>\r\n <td class=\"tableData\"><tmpl_var profile.formElement></td>\r\n</tr>\r\n</tmpl_loop>\r\n<tr>\r\n <td class=\"formDescription\" valign=\"top\"></td>\r\n <td class=\"tableData\">\r\n <tmpl_var profile.form.submit>\r\n </td>\r\n</tr>\r\n</table>\r\n<tmpl_var create.form.footer>\r\n\r\n<div class=\"accountOptions\">\r\n <ul>\r\n <tmpl_loop profile.accountOptions>\r\n <li><tmpl_var options.display>\r\n </tmpl_loop>\r\n </ul>\r\n</div>','Operation/Profile/Edit');
|
|
delete from template where namespace='Operation/Profile/View' and templateId=1;
|
|
INSERT INTO template (templateId,name,template,namespace) VALUES (1,'Default Profile Display Template','<tmpl_var displayTitle>\r\n\r\n<table>\r\n <tmpl_loop profile.elements>\r\n <tr>\r\n <tmpl_if profile.category>\r\n <td colspan=\"2\" class=\"tableHeader\">\r\n <tmpl_var profile.category>\r\n </td>\r\n <tmpl_else>\r\n <td class=\"tableHeader\">\r\n <tmpl_var profile.label>\r\n </td>\r\n <td class=\"tableData\">\r\n <tmpl_var profile.value>\r\n </td>\r\n </tmpl_if> \r\n </tr>\r\n </tmpl_loop>\r\n</table>\r\n<div class=\"accountOptions\">\r\n <ul>\r\n <tmpl_loop profile.accountOptions>\r\n <li><tmpl_var options.display>\r\n </tmpl_loop>\r\n </ul>\r\n</div>','Operation/Profile/View');
|
|
#End Authentication Changes
|
|
alter table page add column printableStyleId int not null default 3;
|
|
delete from international where languageId=1 and namespace='WebGUI' and internationalId=1079;
|
|
insert into international (internationalId,languageId,namespace,message,lastUpdated,context) values (1079,1,'WebGUI','Printable Style', 1073152790,'A label describing a style that looks good when printing the page.');
|
|
delete from international where languageId=1 and namespace='WebGUI' and internationalId=1081;
|
|
insert into international (internationalId,languageId,namespace,message,lastUpdated,context) values (1081,1,'WebGUI','Admin Style', 1073161679,'A label indicating that the user should choose a style for admin pages.');
|
|
delete from international where languageId=1 and namespace='WebGUI' and internationalId=1080;
|
|
insert into international (internationalId,languageId,namespace,message,lastUpdated,context) values (1080,1,'WebGUI','Use admin style?', 1073161583,'A label asking the user if they want to use a seperate admin style from the main page style.');
|
|
insert into settings values ("useAdminStyle",1);
|
|
insert into settings values ("adminStyleId",1000);
|
|
INSERT INTO template VALUES (3,'Midas','<script language=\"JavaScript\">\r\nfunction fixChars(element) {\r\n element.value = element.value.replace(/~V/mg,\"-\");\r\n}\r\n</script>\r\n\r\n<tmpl_if midas.supported>\r\n <script language=\"JavaScript\">\r\n var formObj; \r\n var extrasDir=\"<tmpl_var session.config.extrasURL\";\r\n function openEditWindow(obj) {\r\n formObj = obj;\r\n window.open(\"<tmpl_var session.config.extrasURL>/midas/editor.html\",\"editWindow\",\"width=600,height=400,resizable=1\"); }\r\n </script>\r\n <tmpl_var button>\r\n</tmpl_if>\r\n\r\n<tmpl_var textarea>\r\n','richEditor');
|
|
INSERT INTO template VALUES (4,'Classic','<script language=\"JavaScript\">\r\nfunction fixChars(element) {\r\n element.value = element.value.replace(/~V/mg,\"-\");\r\n}\r\n</script>\r\n\r\n<tmpl_if classic.supported>\r\n <script language=\"JavaScript\">\r\n var formObj; var extrasDir=\"<tmpl_var session.config.extrasURL>\";\r\n function openEditWindow(obj) {\r\n formObj = obj;\r\n window.open(\"<tmpl_var session.config.extrasURL>/ie5edit.html\",\"editWindow\",\"width=490,height=400,resizable=1\");\r\n }\r\n function setContent(content) { \r\n formObj.value = content; \r\n } \r\n </script>\r\n <tmpl_var button>\r\n</tmpl_if>\r\n\r\n<tmpl_var textarea>\r\n','richEditor');
|
|
INSERT INTO template VALUES (2,'EditOnPro2','<script language=\"JavaScript\">\r\nfunction fixChars(element) {\r\n element.value = element.value.replace(/~V/mg,\"-\");\r\n}\r\n</script>\r\n\r\n<script language=\"JavaScript\">\r\nvar formObj;\r\nfunction openEditWindow(obj) {\r\n formObj = obj;\r\n window.open(\"<tmpl_var session.config.extrasURL>/eopro.html\",\"editWindow\",\"width=720,height=450,resizable=1\");\r\n} \r\n</script>','richEditor');
|
|
INSERT INTO template VALUES (1,'HTMLArea','<script language=\"JavaScript\">\r\nfunction fixChars(element) {\r\n element.value = element.value.replace(/~V/mg,\"-\");\r\n}\r\n</script>\r\n\r\n<tmpl_if htmlArea.supported>\r\n <tmpl_if popup>\r\n <script language=\"JavaScript\">\r\n var formObj;\r\n var extrasDir=\"<tmpl_var session.config.extrasURL>\";\r\n function openEditWindow(obj) {\r\n formObj = obj;\r\n window.open(\"<tmpl_var session.config.extrasURL>/htmlArea/editor.html\",\"editWindow\",\"width=490,height=400,resizable=1\");\r\n }\r\n function setContent(content) {\r\n formObj.value = content;\r\n }\r\n </script>\r\n <tmpl_else>\r\n <script language=\"JavaScript\" src=\"<tmpl_var session.config.extrasURL>/htmlArea/editor.js\"></script>\r\n <script>\r\n _editor_url = \"<tmpl_var session.config.extrasURL>/htmlArea/\";\r\n </script> \r\n </tmpl_if>\r\n</tmpl_if>\r\n\r\n<tmpl_var textarea>\r\n\r\n<tmpl_if htmlArea.supported>\r\n <script language=\"Javascript1.2\">\r\n editor_generate(\"<tmpl_var form.name>\");\r\n </script>\r\n</tmpl_if>\r\n','richEditor');
|
|
INSERT INTO template VALUES (5,'lastResort','<script language=\"JavaScript\">\r\nfunction fixChars(element) {\r\n element.value = element.value.replace(/~V/mg,\"-\");\r\n}\r\n</script>\r\n\r\n<script language=\"JavaScript\">\r\n var formObj;\r\n var extrasDir=\"<tmpl_var session.config.extrasURL>\";\r\n function openEditWindow(obj) {\r\n formObj = obj;\r\n window.open(\"<tmpl_var session.config.extrasURL>/lastResortEdit.html\",\"editWindow\",\"width=500,height=410\");\r\n }\r\n function setContent(content) {\r\n formObj.value = content;\r\n } \r\n</script>\r\n\r\n<tmpl_var button>\r\n\r\n<tmpl_var textarea>','richEditor');
|
|
UPDATE userProfileField set dataValues = '{\r\n1=>WebGUI::International::get(495), #htmlArea\r\n#2=>WebGUI::International::get(494), #editOnPro2\r\n3=>WebGUI::International::get(887), #midas\r\n4=>WebGUI::International::get(879), #classic\r\n5=>WebGUI::International::get(880),\r\nnone=>WebGUI::International::get(881)\r\n}', dataDefault = '[1]' where fieldName = 'richEditor';
|
|
UPDATE userProfileData set fieldData = '1' where fieldName = 'richEditor' and fieldData = 'htmlArea';
|
|
UPDATE userProfileData set fieldData = '2' where fieldName = 'richEditor' and fieldData = 'editOnPro2';
|
|
UPDATE userProfileData set fieldData = '3' where fieldName = 'richEditor' and fieldData = 'midas';
|
|
UPDATE userProfileData set fieldData = '4' where fieldName = 'richEditor' and fieldData = 'classic';
|
|
UPDATE userProfileData set fieldData = '5' where fieldName = 'richEditor' and fieldData = 'lastResort';
|
|
delete from international where namespace='Survey' and internationalId=68;
|
|
delete from international where namespace='SQLReport' and internationalId=3;
|
|
delete from international where namespace='SQLReport' and internationalId=13;
|
|
delete from international where languageId=1 and namespace='Survey' and internationalId=87;
|
|
insert into international (internationalId,languageId,namespace,message,lastUpdated,context) values (87,1,'Survey','Click here to start a new response.', 1075639972,'A label indicating that the user could start a new survey/quiz response by clicking.');
|
|
delete from international where languageId=1 and namespace='Survey' and internationalId=86;
|
|
insert into international (internationalId,languageId,namespace,message,lastUpdated,context) values (86,1,'Survey','Progress', 1075639914,'A label indicating how far the user has progressed through the survey\r\n');
|
|
delete from international where languageId=1 and namespace='Survey' and internationalId=85;
|
|
insert into international (internationalId,languageId,namespace,message,lastUpdated,context) values (85,1,'Survey','Questions Per Response', 1075639549,'Ask the user how many questions should be displayed to the user per time taking the survey.');
|
|
delete from international where languageId=1 and namespace='Survey' and internationalId=84;
|
|
insert into international (internationalId,languageId,namespace,message,lastUpdated,context) values (84,1,'Survey','Max Responses Per User', 1075639389,'Ask the user how many responses the user should be able to submit to the survey.');
|
|
delete from international where languageId=1 and namespace='Survey' and internationalId=83;
|
|
insert into international (internationalId,languageId,namespace,message,lastUpdated,context) values (83,1,'Survey','Questions Per Page', 1075639327,'Ask the user how many questions should be displayed per page on the survey.');
|
|
INSERT INTO template VALUES (1,'Default Overview Report','<h1><tmpl_var title></h1>\n\n<tmpl_if user.canViewReports>\n <a href=\"<tmpl_var survey.url>\"><tmpl_var survey.label></a> \n •\n <a href=\"<tmpl_var report.gradebook.url>\"><tmpl_var report.gradebook.label></a> \n •\n <a href=\"<tmpl_var delete.all.responses.url>\"><tmpl_var delete.all.responses.label></a> \n <br />\n <a href=\"<tmpl_var export.answers.url>\"><tmpl_var export.answers.label></a> \n •\n <a href=\"<tmpl_var export.questions.url>\"><tmpl_var export.questions.label></a> \n •\n <a href=\"<tmpl_var export.responses.url>\"><tmpl_var export.responses.label></a> \n •\n <a href=\"<tmpl_var export.composite.url>\"><tmpl_var export.composite.label></a> \n</tmpl_if>\n\n<br /> <br />\n\n<script>\nfunction toggleDiv(divId) {\n if (document.getElementById(divId).style.visibility == \"none\") {\n document.getElementById(divId).style.display = \"block\";\n } else {\n document.getElementById(divId).style.display = \"none\"; \n }\n}\n</script>\n\n<tmpl_loop question_loop>\n <b><tmpl_var question></b>\n <tmpl_if question.isRadioList>\n <table class=\"tableData\">\n <tr class=\"tableHeader\"><td width=\"60%\"><tmpl_var answer.label></td>\n <td width=\"20%\"><tmpl_var response.count.label></td>\n <td width=\"20%\"><tmpl_var response.percent.label></td></tr>\n <tmpl_loop answer_loop>\n <tmpl_if answer.isCorrect>\n <tr class=\"highlight\">\n <tmpl_else>\n <tr>\n </tmpl_if>\n <td><tmpl_var answer></td>\n <td><tmpl_var answer.response.count></td>\n <td><tmpl_var answer.response.percent></td>\n <tmpl_if allowComment>\n <td><a href=\"#\" onClick=\"toggle(\'comment<tmpl_var answer.id>\');\"><tmpl_var show.comments.label></a></td>\n </tmpl_if>\n </tr>\n <tmpl_if question.allowComment>\n <tr id=\"comment<tmpl_var answer.id>\">\n <td colspan=\"3\">\n <tmpl_loop comment_loop>\n <p>\n <tmpl_var answer.comment>\n </p>\n </tmpl_loop>\n </td>\n </tr>\n </tmpl_if>\n </tmpl_loop>\n </table>\n <tmpl_else>\n <br />\n <a href=\"#\" onClick=\"toggle(\'response<tmpl_var question.id>\');\"><tmpl_var show.answers.label></a>\n <br />\n <div id=\"response<tmpl_var question.id>\">\n <tmpl_loop answer_loop>\n <p>\n <tmpl_var answer.response>\n </p>\n <tmpl_if question.allowComment>\n <blockquote>\n <tmpl_var answer.comment>\n </blockquote>\n </tmpl_if>\n </tmpl_loop>\n </div>\n </tmpl_if>\n <br /><br /><br />\n\n</tmpl_loop>\n\n\n<tmpl_if pagination.pageCount.isMultiple>\n <div class=\"pagination\">\n <tmpl_var pagination.previousPage> · <tmpl_var pagination.pageList.upTo20> · <tmpl_var pagination.nextPage>\n </div>\n</tmpl_if>\n\n','Survey/Overview');
|
|
INSERT INTO template VALUES (1,'Default Gradebook Report','<h1><tmpl_var title></h1>\n\n<tmpl_if user.canViewReports>\n <a href=\"<tmpl_var survey.url>\"><tmpl_var survey.label></a> \n •\n <a href=\"<tmpl_var report.overview.url>\"><tmpl_var report.overview.label></a> \n •\n <a href=\"<tmpl_var delete.all.responses.url>\"><tmpl_var delete.all.responses.label></a> \n <br />\n <a href=\"<tmpl_var export.answers.url>\"><tmpl_var export.answers.label></a> \n •\n <a href=\"<tmpl_var export.questions.url>\"><tmpl_var export.questions.label></a> \n •\n <a href=\"<tmpl_var export.responses.url>\"><tmpl_var export.responses.label></a> \n •\n <a href=\"<tmpl_var export.composite.url>\"><tmpl_var export.composite.label></a> \n</tmpl_if>\n\n<br /> <br />\n\n<table class=\"tableData\">\n<tr class=\"tableHeader\"><td width=\"60%\"><tmpl_var response.user.label></td>\n <td width=\"20%\"><tmpl_var response.count.label></td>\n <td width=\"20%\"><tmpl_var response.percent.label></td></tr>\n<tmpl_loop response_loop>\n<tr>\n <td><a href=\"<tmpl_var response.url>\"><tmpl_var response.user.name></a></td>\n <td><tmpl_var response.count.correct>/<tmpl_var question.count></td>\n <td><tmpl_var response.percent>%</td>\n</tr>\n</tmpl_loop>\n</table>\n\n\n<tmpl_if pagination.pageCount.isMultiple>\n <div class=\"pagination\">\n <tmpl_var pagination.previousPage> · <tmpl_var pagination.pageList.upTo20> · <tmpl_var pagination.nextPage>\n </div>\n</tmpl_if>\n','Survey/Gradebook');
|
|
INSERT INTO template VALUES (1,'Default Survey','<tmpl_if displayTitle>\n <h1><tmpl_var title></h1>\n</tmpl_if>\n\n\n<tmpl_if description>\n <tmpl_var description><p />\n</tmpl_if>\n\n\n<tmpl_if user.canTakeSurvey>\n <tmpl_if response.isComplete>\n <tmpl_if mode.isSurvey>\n <tmpl_var thanks.survey.label>\n <tmpl_else>\n <tmpl_var thanks.quiz.label>\n <div align=\"center\">\n <b><tmpl_var questions.correct.count.label>:</b> <tmpl_var questions.correct.count> / <tmpl_var questions.total>\n <br />\n <b><tmpl_var questions.correct.percent.label>:</b><tmpl_var questions.correct.percent>% \n </div>\n </tmpl_if>\n <tmpl_if user.canRespondAgain>\n <br /> <br /> <a href=\"<tmpl_var start.newResponse.url>\"><tmpl_var start.newResponse.label></a>\n </tmpl_if>\n <tmpl_else>\n <tmpl_if response.id>\n <tmpl_var form.header>\n <table width=\"100%\" cellpadding=\"3\" cellspacing=\"0\" border=\"0\" class=\"content\">\n <tr>\n <td valign=\"top\">\n <tmpl_loop question_loop>\n <p><tmpl_var question.question></p>\n <tmpl_var question.answer.label><br />\n <tmpl_var question.answer.field><br />\n <br />\n <tmpl_if question.allowComment>\n <tmpl_var question.comment.label><br />\n <tmpl_var question.comment.field><br />\n </tmpl_if>\n </tmpl_loop>\n </td>\n <td valign=\"top\" nowrap=\"1\">\n <b><tmpl_var questions.sofar.label>:</b> <tmpl_var questions.sofar.count> / <tmpl_var questions.total> <br />\n <tmpl_unless mode.isSurvey>\n <b><tmpl_var questions.correct.count.label>:</b> <tmpl_var questions.correct.count> / <tmpl_var questions.sofar.count><br />\n <b><tmpl_var questions.correct.percent.label>:</b><tmpl_var questions.correct.percent>% / 100%<br />\n </tmpl_unless>\n </td>\n </tr>\n </table>\n <div align=\"center\"><tmpl_var form.submit></div>\n <tmpl_var form.footer>\n <tmpl_else>\n <a href=\"<tmpl_var start.newResponse.url>\"><tmpl_var start.newResponse.label></a>\n </tmpl_if>\n </tmpl_if>\n<tmpl_else>\n <tmpl_if mode.isSurvey>\n <tmpl_var survey.noprivs.label>\n <tmpl_else>\n <tmpl_var quiz.noprivs.label>\n </tmpl_if>\n</tmpl_if>\n<br />\n<br />\n<tmpl_if user.canViewReports>\n <a href=\"<tmpl_var report.gradebook.url>\"><tmpl_var report.gradebook.label></a> \n •\n <a href=\"<tmpl_var report.overview.url>\"><tmpl_var report.overview.label></a> \n •\n <a href=\"<tmpl_var delete.all.responses.url>\"><tmpl_var delete.all.responses.label></a> \n <br />\n <a href=\"<tmpl_var export.answers.url>\"><tmpl_var export.answers.label></a> \n •\n <a href=\"<tmpl_var export.questions.url>\"><tmpl_var export.questions.label></a> \n •\n <a href=\"<tmpl_var export.responses.url>\"><tmpl_var export.responses.label></a> \n •\n <a href=\"<tmpl_var export.composite.url>\"><tmpl_var export.composite.label></a> \n</tmpl_if>\n\n\n<tmpl_if session.var.adminOn>\n <p>\n <a href=\"<tmpl_var question.add.url>\"><tmpl_var question.add.label></a>\n </p>\n <tmpl_loop question.edit_loop>\n <tmpl_var question.edit.controls>\n <tmpl_var question.edit.question>\n <br />\n </tmpl_loop>\n</tmpl_if>\n','Survey');
|
|
INSERT INTO template VALUES (1,'Default Response','<h1><tmpl_var title></h1>\n\n<tmpl_if user.canViewReports>\n <a href=\"<tmpl_var survey.url>\"><tmpl_var survey.label></a> \n •\n <a href=\"<tmpl_var report.overview.url>\"><tmpl_var report.overview.label></a> \n •\n <a href=\"<tmpl_var report.gradebook.url>\"><tmpl_var report.gradebook.label></a> \n</tmpl_if>\n<a href=\"<tmpl_var delete.url>\"><tmpl_var delete.label></a><p/>\n<b><tmpl_var start.date.label>:</b> <tmpl_var start.date.human> <tmpl_var start.time.human><br />\n<b><tmpl_var end.date.label>:</b> <tmpl_var end.date.human> <tmpl_var end.time.human><br />\n<b><tmpl_var duration.label>:</b> <tmpl_var duration.minutes> <tmpl_var duration.minutes.label> <tmpl_var duration.seconds> <tmpl_var duration.seconds.label>\n\n<p/>\n<tmpl_loop question_loop>\n\n <b><tmpl_var question></b><br />\n <table class=\"tableData\" width=\"100%\">\n<tmpl_if question.isRadioList>\n \n <tr><td valign=\"top\" class=\"tableHeader\" width=\"25%\">\n <tmpl_var answer.label></td><td width=\"75%\">\n <tmpl_var question.answer> \n</td></tr>\n </tmpl_if>\n <tr><td width=\"25%\" valign=\"top\" class=\"tableHeader\"><tmpl_var response.label></td>\n \n<td width=\"75%\"><tmpl_var question.response></td></tr>\n <tmpl_if question.comment>\n <tr><td valign=\"top\" class=\"tableHeader\">\n <tmpl_var comment.label> </td>\n <td><tmpl_var question.comment></td></tr>\n </tmpl_if>\n\n </table><p/>\n</tmpl_loop>','Survey/Response');
|
|
CREATE TABLE DataForm_tab (
|
|
wobjectId int(11) NOT NULL default '0',
|
|
label varchar(255) NOT NULL default '',
|
|
subtext text,
|
|
sequenceNumber int(11) NOT NULL default '0',
|
|
DataForm_tabId int(11) NOT NULL default '0'
|
|
) TYPE=MyISAM;
|
|
ALTER TABLE DataForm_field ADD(DataForm_tabId int(11) NOT NULL default '0');
|
|
DELETE FROM template WHERE namespace = 'DataForm' and templateId = 1;
|
|
INSERT INTO incrementer VALUES ('DataForm_tabId',1000);
|
|
INSERT INTO international VALUES (106,'DataForm',1,'Tab Template',NULL,NULL);
|
|
INSERT INTO international VALUES (105,'DataForm',1,'Add a Tab',NULL,NULL);
|
|
INSERT INTO international VALUES (104,'DataForm',1,'Tab',NULL,NULL);
|
|
INSERT INTO international VALUES (103,'DataForm',1,'Add new Tab',NULL,NULL);
|
|
INSERT INTO international VALUES (102,'DataForm',1,'Subtext',NULL,NULL);
|
|
INSERT INTO international VALUES (101,'DataForm',1,'Label',NULL,NULL);
|
|
INSERT INTO international VALUES (100,'DataForm',1,'Are you certain that you want to delete this tab ?',NULL,NULL);
|
|
INSERT INTO template VALUES (1,'Mail Form','<tmpl_if displayTitle>\r\n <h1><tmpl_var title></h1>\r\n</tmpl_if>\r\n\r\n<tmpl_if error_loop>\r\n<ul>\r\n<tmpl_loop error_loop>\r\n <li><b><tmpl_var error.message></b>\r\n</tmpl_loop>\r\n</ul>\r\n</tmpl_if>\r\n\r\n<tmpl_if description>\r\n <tmpl_var description><p />\r\n</tmpl_if>\r\n\r\n<tmpl_if canEdit>\r\n <a href=\"<tmpl_var entryList.url>\"><tmpl_var entryList.label></a>\r\n · <a href=\"<tmpl_var export.tab.url>\"><tmpl_var export.tab.label></a>\r\n <tmpl_if entryId>\r\n · <a href=\"<tmpl_var delete.url>\"><tmpl_var delete.label></a>\r\n </tmpl_if>\r\n <tmpl_if session.var.adminOn>\r\n · <a href=\"<tmpl_var addField.url>\"><tmpl_var addField.label></a>\r\n · <a href=\"<tmpl_var addTab.url>\"><tmpl_var addTab.label></a>\r\n </tmpl_if>\r\n <p /> \r\n</tmpl_if>\r\n\r\n<tmpl_var form.start>\r\n<table>\r\n<tmpl_loop field_loop>\r\n <tmpl_unless field.isHidden>\r\n <tr><td class=\"formDescription\" valign=\"top\">\r\n <tmpl_if session.var.adminOn><tmpl_if canEdit><tmpl_var field.controls></tmpl_if></tmpl_if>\r\n <tmpl_var field.label>\r\n </td><td class=\"tableData\" valign=\"top\">\r\n <tmpl_if field.isDisplayed>\r\n <tmpl_var field.value>\r\n <tmpl_else>\r\n <tmpl_var field.form>\r\n </tmpl_if>\r\n <tmpl_if field.required>*</tmpl_if>\r\n <span class=\"formSubtext\"><br /><tmpl_var field.subtext></span>\r\n </td></tr>\r\n </tmpl_unless>\r\n</tmpl_loop>\r\n<tr><td></td><td><tmpl_var form.send></td></tr>\r\n</table>\r\n\r\n<tmpl_var form.end>\r\n','DataForm');
|
|
INSERT INTO template VALUES (4,'Tab Form','<tmpl_if displayTitle>\r\n <h1><tmpl_var title></h1>\r\n</tmpl_if>\r\n\r\n<tmpl_if error_loop>\r\n <ul>\r\n <tmpl_loop error_loop>\r\n <li><b><tmpl_var error.message></b>\r\n </tmpl_loop>\r\n </ul>\r\n</tmpl_if>\r\n\r\n<tmpl_if description>\r\n <tmpl_var description><p />\r\n</tmpl_if>\r\n\r\n<tmpl_if canEdit>\r\n <a href=\"<tmpl_var entryList.url>\"><tmpl_var entryList.label></a>\r\n · <a href=\"<tmpl_var export.tab.url>\"><tmpl_var export.tab.label></a>\r\n <tmpl_if entryId>\r\n · <a href=\"<tmpl_var delete.url>\"><tmpl_var delete.label></a>\r\n </tmpl_if>\r\n <tmpl_if session.var.adminOn>\r\n · <a href=\"<tmpl_var addField.url>\"><tmpl_var addField.label></a>\r\n · <a href=\"<tmpl_var addTab.url>\"><tmpl_var addTab.label></a>\r\n </tmpl_if>\r\n<p /> \r\n</tmpl_if>\r\n<tmpl_var form.start>\r\n<link href=\"/extras/tabs/tabs.css\" rel=\"stylesheet\" rev=\"stylesheet\" type=\"text/css\">\r\n<div class=\"tabs\">\r\n <tmpl_loop tab_loop>\r\n <span onclick=\"toggleTab(<tmpl_var tab.sequence>)\" id=\"tab<tmpl_var tab.sequence>\" class=\"tab\"><tmpl_var tab.label>\r\n <tmpl_if session.var.adminOn>\r\n <tmpl_if canEdit>\r\n <tmpl_var tab.controls>\r\n </tmpl_if>\r\n </tmpl_if>\r\n </span>\r\n </tmpl_loop>\r\n</div>\r\n<tmpl_loop tab_loop>\r\n <tmpl_var tab.start>\r\n <table>\r\n <tmpl_loop tab.field_loop>\r\n <tmpl_unless tab.field.isHidden>\r\n <tr>\r\n <td class=\"formDescription\" valign=\"top\">\r\n <tmpl_if session.var.adminOn>\r\n <tmpl_if canEdit>\r\n <tmpl_var tab.field.controls>\r\n </tmpl_if>\r\n </tmpl_if>\r\n <tmpl_var tab.field.label>\r\n </td>\r\n <td class=\"tableData\" valign=\"top\">\r\n <tmpl_if tab.field.isDisplayed>\r\n <tmpl_var tab.field.value>\r\n <tmpl_else>\r\n <tmpl_var tab.field.form>\r\n </tmpl_if>\r\n <tmpl_if tab.field.isRequired>*</tmpl_if>\r\n <span class=\"formSubtext\">\r\n <br />\r\n <tmpl_var tab.field.subtext>\r\n </span>\r\n </td>\r\n </tr>\r\n </tmpl_unless>\r\n </tmpl_loop>\r\n <tr>\r\n <td colspan=\"2\">\r\n <span class=\"tabSubtext\"><tmpl_var tab.subtext></span>\r\n </td>\r\n </tr>\r\n </table>\r\n <br>\r\n <div><input type=\"submit\" value=\"save\"></div>\r\n <tmpl_var tab.end>\r\n</tmpl_loop>\r\n<tmpl_var tab.init>\r\n<tmpl_var form.end>\r\n','DataForm');
|
|
alter table groups add column isEditable int not null default 1;
|
|
alter table groups add column showInForms int not null default 1;
|
|
update groups set isEditable=0 where groupId in (1,2,7);
|
|
delete from groupings where groupId in (1,7,2);
|
|
insert into groupings (groupId,userId) values (1,1);
|
|
insert into groupings (groupId,userId) select 7, userId from users;
|
|
insert into groupings (groupId,userId) select 2, userId from users where userId<>1;
|
|
insert into groups (groupId,groupName,description,showInForms) values (12,'Turn Admin On','These users can enable admin mode.',0);
|
|
insert into groupGroupings (groupId, inGroup) values (4,12);
|
|
insert into groupGroupings (groupId, inGroup) values (6,12);
|
|
insert into groupGroupings (groupId, inGroup) values (8,12);
|
|
insert into groupGroupings (groupId, inGroup) values (9,12);
|
|
insert into groupGroupings (groupId, inGroup) values (10,12);
|
|
insert into groupGroupings (groupId, inGroup) values (11,12);
|
|
delete from groupGroupings where groupId = 3;
|
|
insert into groupGroupings (groupId, inGroup) select 3, groupId from groups where groupId not in (1,3);
|
|
CREATE TABLE WSClient (
|
|
wobjectId int(11) NOT NULL default '0',
|
|
call text NOT NULL,
|
|
uri varchar(255) NOT NULL default '',
|
|
proxy varchar(255) NOT NULL default '',
|
|
preprocessMacros int(11) NOT NULL default '0',
|
|
paginateAfter int(11) NOT NULL default '50',
|
|
paginateVar varchar(35) default NULL,
|
|
debugMode int(11) NOT NULL default '0',
|
|
params text,
|
|
execute_by_default tinyint(4) NOT NULL default '1',
|
|
templateId int(11) NOT NULL default '1',
|
|
decodeUtf8 tinyint(3) unsigned NOT NULL default '0',
|
|
httpHeader varchar(50),
|
|
PRIMARY KEY (wobjectId)
|
|
) TYPE=MyISAM;
|
|
INSERT INTO help VALUES (1,'WSClient',61,71,'2,WSClient;21,WebGUI;');
|
|
INSERT INTO help VALUES (2,'WSClient',72,73,'1,WSClient;51,WebGUI;');
|
|
INSERT INTO international VALUES (1,'WSClient',1,'Web Services Client',1033575504,NULL);
|
|
INSERT INTO international VALUES (2,'WSClient',1,'SOAP URI or WSDL',1033575504,NULL);
|
|
INSERT INTO international VALUES (3,'WSClient',1,'SOAP Proxy',1033575504,NULL);
|
|
INSERT INTO international VALUES (4,'WSClient',1,'SOAP Method/Call',1033575504,NULL);
|
|
INSERT INTO international VALUES (5,'WSClient',1,'SOAP Call Parameters',1033575504,NULL);
|
|
INSERT INTO international VALUES (8,'WSClient',1,'Preprocess macros on query?',1033575504,NULL);
|
|
INSERT INTO international VALUES (9,'WSClient',1,'Debug?',1033575504,NULL);
|
|
INSERT INTO international VALUES (11,'WSClient',1,'Execute by default?',1033575504,NULL);
|
|
INSERT INTO international VALUES (12,'WSClient',1,'Msg if no results',1033575504,NULL);
|
|
INSERT INTO international VALUES (13,'WSClient',1,'Pagination after',1072810296,NULL);
|
|
INSERT INTO international VALUES (14,'WSClient',1,'Pagination variable',1072810296,NULL);
|
|
insert into international values (15,'WSClient',1,'Decode utf8 data?',1033575504,NULL);
|
|
insert into international values (16,'WSClient',1,'HTTP Header Override', 1033575504,NULL);
|
|
INSERT INTO international VALUES (20,'WSClient',1,'Edit Web Services Client',1033575504,NULL);
|
|
INSERT INTO international VALUES (21,'WSClient',1,'There were no results for this query.',1033575504,NULL);
|
|
INSERT INTO international VALUES (22,'WSClient',1,'Parse error on SOAP parameters.',1055348597,NULL);
|
|
INSERT INTO international VALUES (23,'WSClient',1,'The URI/WSDL specified is of an improper format.',1055348955,NULL);
|
|
INSERT INTO international VALUES (24,'WSClient',1,'SOAP return is type: ',1055349028,NULL);
|
|
INSERT INTO international VALUES (25,'WSClient',1,'There was a problem with the SOAP call: ',1055349116,NULL);
|
|
INSERT INTO international VALUES (26,'WSClient',1,'Could not connect to SOAP server.',1055349311,NULL);
|
|
INSERT INTO international VALUES (30,'WSClient',1,'<b>Debug:</b> Error: The URI/WSDL specified is of an improper format.',1033575504,NULL);
|
|
INSERT INTO international VALUES (31,'WSClient',1,'<b>Debug:</b> Error: There was a problem with the SOAP call.',1033575504,NULL);
|
|
INSERT INTO international VALUES (32,'WSClient',1,'<b>Debug:</b> Error: Could not connect to the SOAP server.',1033575504,NULL);
|
|
INSERT INTO international VALUES (35,'WSClient',1,'<b>Debug:</b> No template specified, using default.',1033575504,NULL);
|
|
INSERT INTO international VALUES (61,'WSClient',1,'Web Services Client, Add/Edit',1033575504,NULL);
|
|
INSERT INTO international VALUES (71,'WSClient',1,'A Web Services Client allows a user to query data from any SOAP server to which they have access. This wobject is in development status and should not be made accessible to un-trusted site administratores.<p></p>\n\n<b>SOAP URI/WSDL</b><br>\nFrom the SOAP::Lite manpage, "URIs are just identifiers. They may look like URLs, but they are not guaranteed to point to anywhere and shouldn\'t be used as such pointers. URIs assume to be unique within the space of all XML documents, so consider them as unique identifiers and nothing else." If you specify a URI, you probably also need a proxy below. Alternatively, you can specify a WSDL file in place of a URI. This file refers to a real location at which a SOAP service description can be downloaded and used. For our purposes, the file must end in ".wsdl" to be properly recognized. If you use a WSDL file, you probably don\'t need to specify a proxy.<p></p>\n\n<b>SOAP Proxy</b><br>\nThe SOAP proxy is the full name of the server and/or script that is listening for SOAP calls. For example:\n<code>http://mydomain.com/cgi-bin/soaplistener.pl</code><p></p>\n\n<b>SOAP Method/Call</b><br>\nThe SOAP method is the name of the function to be invoked by the SOAP server. Include any extra parameters in the SOAP Call Parameters field below.<p></p>\n\n<b>SOAP Call Parameters</b><br>\nIf your SOAP call requires any additional parameters, include them here as a valid perl hash, array or scalar. For example: <code>\'userid\' => \'12\', companyid => \'^FormParam("companyid"); Whether you need to use scalar, hash or array is entirely dependent on what your SOAP service expects as input. Likewise, what you get back is entirely dependent on what the service deems to return.\'</code>.<p></p>\n\n<b>Execute by default?</b><br>\nLeave this set to yes unless your page is calling itself with additional parameters. You will probably know if/when you need to turn off default execution. To force execution when it has been disabled by default, pass a form variable "targetWobjects" specifying the name of the SOAP call to force execution.<p></p>\n\n<b>Template</b><br>\nChoose a layout for this SOAP client.<p></p>\n\n<b>Preprocess macros on query?</b><br>\nIf you\'re using WebGUI macros in your query you\'ll want to check this box.<p></p>\n\n<b>Pagination After</b><br>\nHow many rows should be displayed before splitting the results into separate pages? In other words, how many rows should be displayed per page?<p></p>\n\n<b>Pagination Variable</b><br>\nBecause a SOAP call can return complex data structures, you\'ll need to specify which named variable is to be paginated. If none is specified, no pagination will occur.<p></p>\n\n<b>Debug?</b><br>\nIf you want to display debugging and error messages on the page, check this box.<p></p>\n\n<b>Decode utf8?</b><br />\nThis option will only display if you have Data::Structure::Util installed. SOAP calls return utf8 strings even if they may not have utf8 characters within them. This converts utf8 characters to that there aren\'t collisions with any character sets specified in the page header. Deocing is turned off by default, but try turning it on if you see goofy gibberish, especially with the display of copyright symbols and the like.',1033739828,NULL);
|
|
INSERT INTO international VALUES (72,'WSClient',1,'Web Services Client Template',1072812143,NULL);
|
|
INSERT INTO international VALUES (73,'WSClient',1,'This is the list of
|
|
template variables available for Web Services Client
|
|
templates.<p></p><b>results</b><br />This loop contains all the results from
|
|
the SOAP call. Within the loop, you may access specific data elements by the
|
|
names set for them by the SOAP server (i.e. perhaps "localTime" for a time query). In addition, there are a number of special template variables:\n\n<blockquote><b>numResults</b><br />Number of rows found by the client, if an array was returned.<p></p>\n\n<b>firstPage</b><br />Link to first page in a paginated set.<p></p>\n\n<b>lastPage</b><br />Link to last page in a paginated set.<p></p>\n\n<b>nextPage</b><br />Link to next page in a paginated set.<p></p>\n\n<b>pageList</b><br />List of all pages in a paginated set.<p></p>\n\n<b>previousPage</b><br />Link to previous page in a paginated set.<p></p>\n\n<b>multiplePages</b><br />Boolean indicating multiple pages in a paginated set.<p></p>\n\n<b>numberOfPages</b><br />Number of pages in a paginated set.<p></p>\n\n<b>pageNumber</b><br />Current page number in a paginated set.</blockquote>',1072812143,NULL);
|
|
INSERT INTO template VALUES (1,'Xmethods: getTemp','<h1><tmpl_var title></h1>\n\n<tmpl_if description>\n <tmpl_var description><br /><br />\n</tmpl_if>\n\n\r\n<tmpl_if results>\r\n <tmpl_loop results>\r\n The current temp is: <tmpl_var result>\r\n </tmpl_loop>\r\n<tmpl_else>\r\n Failed to retrieve temp.\r\n</tmpl_if>','WSClient');
|
|
INSERT INTO template VALUES (2,'Google: doGoogleSearch','<style>\n.googleDetail {\n font-size: 9px;\n}\n</style>\n\n<h1><tmpl_var title></h1>\n\n<tmpl_if description>\n <tmpl_var description><br /><br />\n</tmpl_if>\n\n<form method=\"post\">\n <input type=\"hidden\" name=\"func\" value=\"view\">\n <input type=\"hidden\" name=\"wid\" value=\"<tmpl_var wobjectId>\">\n <input type=\"hidden\" name=\"targetWobjects\" value=\"doGoogleSearch\">\n <input type=\"text\" name=\"q\"><input type=\"submit\" value=\"Search\">\n</form>\n\n<tmpl_if results>\n <tmpl_loop results>\n <tmpl_if resultElements>\n <p> You searched for <b><tmpl_var searchQuery></b>. We found around <tmpl_var estimatedTotalResultsCount> matching records.</p>\n </tmpl_if>\n\n <tmpl_loop resultElements>\n <a href=\"<tmpl_var URL>\">\n <tmpl_if title>\n <tmpl_var title>\n <tmpl_else>\n <tmpl_var url>\n </tmpl_if>\n </a><br />\n <tmpl_if snippet>\n <tmpl_var snippet><br />\n </tmpl_if>\n <div class=\"googleDetail\">\n <tmpl_if summary>\n <b>Description:</b> <tmpl_var summary><br />\n </tmpl_if>\n <a href=\"<tmpl_var URL>\"><tmpl_var URL></a>\n <tmpl_if cachedSize>\n - <tmpl_var cachedSize>\n </tmpl_if>\n </div><br />\n </tmpl_loop>\n </tmpl_loop>\n<tmpl_else>\n Could not retrieve results from Google.\n</tmpl_if>','WSClient');
|
|
|
|
insert into settings (name,value) values ('webguiChangePassword',1);
|
|
insert into settings (name,value) values ('webguiChangeUsername',1);
|
|
|
|
delete from international where languageId=1 and namespace='Auth/WebGUI' and internationalId=22;
|
|
insert into international (internationalId,languageId,namespace,message,lastUpdated,context) values (22,1,'Auth/WebGUI','There are no fields to update.', 1076361800,'');
|
|
delete from international where languageId=1 and namespace='Auth/WebGUI' and internationalId=21;
|
|
insert into international (internationalId,languageId,namespace,message,lastUpdated,context) values (21,1,'Auth/WebGUI','Allow User to Change Username?', 1076358688,'');
|
|
delete from international where languageId=1 and namespace='Auth/WebGUI' and internationalId=20;
|
|
insert into international (internationalId,languageId,namespace,message,lastUpdated,context) values (20,1,'Auth/WebGUI','Allow User to Change Password?', 1076358606,'');
|
|
delete from international where languageId=1 and namespace='Auth/WebGUI' and internationalId=19;
|
|
insert into international (internationalId,languageId,namespace,message,lastUpdated,context) values (19,1,'Auth/WebGUI','Allow Users to Change Username?', 1076358029,'');
|
|
delete from international where languageId=1 and namespace='Auth/WebGUI' and internationalId=18;
|
|
insert into international (internationalId,languageId,namespace,message,lastUpdated,context) values (18,1,'Auth/WebGUI','Allow Users to Change Passwords?', 1076357595,'');
|
|
delete from international where languageId=1 and namespace='WebGUI' and internationalId=610;
|
|
insert into international (internationalId,languageId,namespace,message,lastUpdated,context) values (610,1,'WebGUI','See <b>Manage Users</b> for additional details.\r\n<p>\r\n\r\n<b>Username</b><br>\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. (<i>Note:</i> 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<p>\r\n\r\n\r\n<b>Password</b><br>\r\nA password is used to ensure that the user is who s/he says s/he is.\r\n<p>\r\n\r\n<b>Password Timeout</b><br>\r\nLength of time before this user\'s password expires, forcing it to be changed\r\n<p>\r\n\r\n<b>Allow User to Change Username?</b><br>\r\nShould this user be allowed to change his username?\r\n<p>\r\n\r\n<b>Allow User to Change Password?</b><br>\r\nShould this user be allowed to change his password?\r\n<p>\r\n\r\n<b>Authentication Method</b><br>\r\nSee <i>Edit Settings</i> for details.\r\n<p>\r\n\r\n\r\n<b>LDAP URL</b><br>\r\nSee <i>Edit Settings</i> for details.\r\n<p>\r\n\r\n\r\n<b>Connect DN</b><br>\r\nThe Connect DN is the <b>cn</b> (or common name) of a given user in your LDAP database. It should be specified as <b>cn=John Doe</b>. This is, in effect, the username that will be used to authenticate this user against your LDAP server.\r\n<p>\r\n\r\n\r\n', 1076700945,NULL);
|
|
delete from international where languageId=1 and namespace='WebGUI' and internationalId=655;
|
|
insert into international (internationalId,languageId,namespace,message,lastUpdated,context) values (655,1,'WebGUI','User, Add/Edit', 1076700945,NULL);
|
|
delete from international where languageId=1 and namespace='WebGUI' and internationalId=607;
|
|
insert into international (internationalId,languageId,namespace,message,lastUpdated,context) values (607,1,'WebGUI','<b>Anonymous Registration</b><br>\r\nDo you wish visitors to your site to be able to register themselves?\r\n<br><br>\r\n\r\n<b>Run On Registration</b><br>\r\nIf there is a command line specified here, it will be executed each time a user registers anonymously.\r\n<p>\r\n\r\n<b>Enable Karma?</b><br>\r\nShould karma be enabled?\r\n<p>\r\n\r\n<b>Karma Per Login</b><br>\r\nThe amount of karma a user should be given when they log in. This only takes affect if karma is enabled.\r\n<p>\r\n\r\n<b>Session Timeout</b><br>\r\nThe amount of time that a user session remains active (before needing to log in again). This timeout is reset each time a user views 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<p>\r\n\r\n<b>Allow users to deactivate their account?</b><br>\r\nDo you wish to provide your users with a means to deactivate their account without your intervention?\r\n<p>\r\n\r\n<b>Authentication Method (default)</b><br>\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<br><br>\r\n\r\n<i>NOTE:</i> Authentication settings can be customized on a per user basis.\r\n\r\n\r\n\r\n<p>\r\n<b>NOTE:</b> Depending upon what authentication modules you have installed in your system you\'ll see any number of options after this point. The following are the options for the two defaultly installed authentication methods.\r\n<p>\r\n\r\n<b>Encrypt Login?</b><br>\r\nShould the system use the https protocol for the login form? Note that setting this option to true will only encrypt the authentication itself, not anything else before or after the authentication.\r\n<p>\r\n\r\n<h2>WebGUI Authentication Options</h2>\r\n\r\n<b>Minimum Password Length</b><br>\r\nSet the minimum length that passwords can be. If set to 0, there is no minimum length.\r\n<br><br>\r\n\r\n<b>Password Timeout</b><br>\r\nSet how long before a user\'s password expires and has to change it.\r\n<br><br>\r\n\r\n<b>Expire passwords on user creation?</b><br>\r\nShould a user\'s password be expired when he is created by an administrator forcing a change?\r\n<br><br>\r\n\r\n<b>Allow Users to Change Username?</b><br>\r\nShould users be allowed to change their usernames?\r\n<br><br>\r\n\r\n<b>Allow Users to Change Password?</b><br>\r\nShould users be allowed to change their passwords?\r\n<br><br>\r\n\r\n<b>Send welcome message?</b><br>\r\nDo you wish WebGUI to automatically send users a welcome message when they register for your site? \r\n<p>\r\n<b>NOTE:</b> In addition to the message you specify below, the user\'s account information will be included in the message.\r\n<p>\r\n\r\n<b>Welcome Message</b> <br>\r\nType the message that you\'d like to be sent to users upon registration.\r\n<p>\r\n\r\n<b>Recover Password Message</b><br>\r\nType a message that will be sent to your users if they try to recover their WebGUI password.\r\n<p>\r\n\r\n\r\n\r\n<h2>LDAP Authentication Options</h2>\r\n\r\n<b>LDAP URL (default)</b><br>\r\nThe default url to your LDAP server. The LDAP URL takes the form of <b>ldap://[server]:[port]/[base DN]</b>. Example: ldap://ldap.mycompany.com:389/o=MyCompany.\r\n<br><br>\r\n\r\n\r\n\r\n\r\n<b>LDAP Identity</b><br>\r\nThe LDAP Identity is the unique identifier in the LDAP server that the user will be identified against. Often this field is <b>shortname</b>, which takes the form of first initial + last name. Example: jdoe. Therefore if you specify the LDAP identity to be <i>shortname</i> then Jon Doe would enter <i>jdoe</i> during the registration process.\r\n<br><br>\r\n\r\n<b>LDAP Identity Name</b><br>\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 <i>Web Username</i></b><i>. So you could enter that label here for consitency.\r\n<br><br>\r\n\r\n<b>LDAP Password Name</b><br>\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<p>\r\n\r\n', 1076700672,NULL);
|
|
delete from international where languageId=1 and namespace='WebGUI' and internationalId=652;
|
|
insert into international (internationalId,languageId,namespace,message,lastUpdated,context) values (652,1,'WebGUI','User Settings, Edit', 1076700672,NULL);
|
|
delete from international where namespace='WebGUI' and internationalId=3;
|
|
delete from international where namespace='WebGUI' and internationalId=375;
|
|
delete from international where namespace='WebGUI' and internationalId=377;
|
|
INSERT INTO template VALUES (1,'Default Admin Bar','<script language=\"JavaScript\" type=\"text/javascript\"> <!--\r\n function goContent(){\r\n location = document.content.contentSelect.options[document.content.contentSelect.selectedIndex].value\r\n }\r\n function goAdmin(){\r\n location = document.admin.adminSelect.options[document.admin.adminSelect.selectedIndex].value\r\n }\r\n //--> </script>\r\n \r\n<div class=\"adminBar\">\r\n<table class=\"adminBar\" cellpadding=\"3\" cellspacing=\"0\" border=\"0\">\r\n <tr>\r\n <form name=\"content\"> <td>\r\n<select name=\"contentSelect\" onChange=\"goContent()\">\r\n<option value=\"\"><tmpl_var addcontent.label></option>\r\n<option value=\"<tmpl_var addpage.url>\"><tmpl_var addpage.label></option>\r\n<optgroup label=\"<tmpl_var clipboard.label>\"> \r\n<tmpl_loop clipboard_loop>\r\n<option value=\"<tmpl_var clipboard.url>\"><tmpl_var clipboard.label></option>\r\n</tmpl_loop>\r\n</optgroup>\r\n<optgroup label=\"<tmpl_var contentTypes.label>\"> \r\n<tmpl_loop contentTypes_loop>\r\n<option value=\"<tmpl_var contentType.url>\"><tmpl_var contentType.label></option>\r\n</tmpl_loop>\r\n</optgroup>\r\n<optgroup label=\"<tmpl_var packages.label>\"> \r\n<tmpl_loop package_loop>\r\n<option value=\"<tmpl_var package.url>\"><tmpl_var package.label></option>\r\n</tmpl_loop>\r\n</optgroup>\r\n</select>\r\n </td> </form>\r\n\r\n <form name=\"admin\"> <td align=\"center\">\r\n <select name=\"adminSelect\" onChange=\"goAdmin()\">\r\n <option value=\"\"><tmpl_var admin.label></option>\r\n <tmpl_loop admin_loop>\r\n <option value=\"<tmpl_var admin.url>\"><tmpl_var admin.label></option>\r\n </tmpl_loop>\r\n </select>\r\n </td> </form>\r\n </tr>\r\n</table>\r\n</div>\r\n','Macro/AdminBar');
|
|
INSERT INTO template VALUES (2,'DHTML Admin Bar','<script language=\"JavaScript1.2\" src=\"^Extras;/coolmenus/coolmenus4.js\">\r\n/*****************************************************************************\r\nCopyright (c) 2001 Thomas Brattli (webmaster@dhtmlcentral.com)\r\n \r\nDHTML coolMenus - Get it at coolmenus.dhtmlcentral.com\r\nVersion 4.0_beta\r\nThis script can be used freely as long as all copyright messages are\r\nintact.\r\n \r\nExtra info - Coolmenus reference/help - Extra links to help files ****\r\nCSS help: http://192.168.1.31/projects/coolmenus/reference.asp?m=37\r\nGeneral: http://coolmenus.dhtmlcentral.com/reference.asp?m=35\r\nMenu properties: http://coolmenus.dhtmlcentral.com/properties.asp?m=47\r\nLevel properties: http://coolmenus.dhtmlcentral.com/properties.asp?m=48\r\nBackground bar properties: http://coolmenus.dhtmlcentral.com/properties.asp?m=49\r\nItem properties: http://coolmenus.dhtmlcentral.com/properties.asp?m=50\r\n******************************************************************************/\r\n</script>\r\n<style type=\"text/css\">\r\n \r\n.adminBarTop,.adminBarTopOver,.adminBarSub,.adminBarSubOver{position:absolute; overflow:hidden; cursor:pointer; cursor:hand}\r\n.adminBarTop,.adminBarTopOver{padding:4px; font-size:12px; font-weight:bold}\r\n.adminBarTop{color:white; border: 1px solid #aaaaaa; }\r\n.adminBarTopOver,.adminBarSubOver{color:#EC4300;}\r\n.adminBarSub,.adminBarSubOver{padding:2px; font-size:11px; font-weight:bold}\r\n.adminBarSub{color: white; background-color: #666666; layer-background-color: #666666;}\r\n.adminBarSubOver,.adminBarSubOver,.adminBarBorder,.adminBarBkg{layer-background-color: black; background-color: black;}\r\n.adminBarBorder{position:absolute; visibility:hidden; z-index:300}\r\n.adminBarBkg{position:absolute; width:10; height:10; visibility:hidden; }\r\n</style>\r\n\r\n<script language=\"JavaScript1.2\">\r\nadminBar=new makeCM(\"adminBar\"); \r\n\r\n//menu properties\r\nadminBar.resizeCheck=1; \r\nadminBar.rows=1; \r\nadminBar.onlineRoot=\"\"; \r\nadminBar.pxBetween =0;\r\nadminBar.fillImg=\"\"; \r\nadminBar.fromTop=0; \r\nadminBar.fromLeft=30; \r\nadminBar.wait=600; \r\nadminBar.zIndex=10000;\r\nadminBar.menuPlacement=\"left\";\r\n\r\n//background bar properties\r\nadminBar.useBar=1; \r\nadminBar.barWidth=\"\"; \r\nadminBar.barHeight=\"menu\"; \r\nadminBar.barX=0;\r\nadminBar.barY=\"menu\"; \r\nadminBar.barClass=\"adminBarBkg\";\r\nadminBar.barBorderX=0; \r\nadminBar.barBorderY=0;\r\n\r\nadminBar.level[0]=new cm_makeLevel(160,20,\"adminBarTop\",\"adminBarTopOver\",1,1,\"adminBarBorder\",0,\"bottom\",0,0,0,0,0);\r\nadminBar.level[1]=new cm_makeLevel(160,18,\"adminBarSub\",\"adminBarSubOver\",1,1,\"adminBarBorder\",0,\"right\",0,5,\"menu_arrow.gif\",10,10);\r\n\r\n\r\nadminBar.makeMenu(\'addcontent\',\'\',\'<tmpl_var addcontent.label>\',\'\');\r\n\r\n\r\nadminBar.makeMenu(\'clipboard\',\'addcontent\',\'<tmpl_var clipboard.label> »\',\'\');\r\n<tmpl_loop clipboard_loop> \r\n adminBar.makeMenu(\'clipboard<tmpl_var clipboard.count>\',\'clipboard\',\'<tmpl_var clipboard.label>\',\'<tmpl_var clipboard.url>\');\r\n</tmpl_loop>\r\n\r\n\r\nadminBar.makeMenu(\'contentTypes\',\'addcontent\',\'<tmpl_var contentTypes.label> »\',\'\');\r\n<tmpl_loop contentTypes_loop> \r\n adminBar.makeMenu(\'contentTypes<tmpl_var contentType.count>\',\'contentTypes\',\'<tmpl_var contentType.label>\',\'<tmpl_var contentType.url>\');\r\n</tmpl_loop>\r\n\r\n<tmpl_if packages.canAdd>\r\nadminBar.makeMenu(\'packages\',\'addcontent\',\'<tmpl_var packages.label> »\',\'\');\r\n<tmpl_loop package_loop> \r\n adminBar.makeMenu(\'package<tmpl_var package.count>\',\'packages\',\'<tmpl_var package.label>\',\'<tmpl_var package.url>\');\r\n</tmpl_loop>\r\n</tmpl_if>\r\n\r\nadminBar.makeMenu(\'page\',\'addcontent\',\'<tmpl_var addpage.label>\',\'<tmpl_var addpage.url>\');\r\n\r\nadminBar.makeMenu(\'admin\',\'\',\'<tmpl_var admin.label>\',\'\');\r\n<tmpl_loop admin_loop> \r\n adminBar.makeMenu(\'admin<tmpl_var admin.count>\',\'admin\',\'<tmpl_var admin.label>\',\'<tmpl_var admin.url>\');\r\n</tmpl_loop>\r\n \r\nadminBar.construct()\r\n</script>\r\n','Macro/AdminBar');
|
|
delete from international where languageId=1 and namespace='WebGUI' and internationalId=1083;
|
|
insert into international (internationalId,languageId,namespace,message,lastUpdated,context) values (1083,1,'WebGUI','New Content', 1076866510,'A label for adding new wobjects that users can understand.');
|
|
delete from international where languageId=1 and namespace='WebGUI' and internationalId=1082;
|
|
insert into international (internationalId,languageId,namespace,message,lastUpdated,context) values (1082,1,'WebGUI','Clipboard', 1076866475,'A label for the clipboard.');
|
|
|
|
|
|
INSERT INTO template VALUES (2,'crumbTrail','<tmpl_if session.var.adminOn>\r\n<tmpl_var config.button>\r\n</tmpl_if>\r\n<span class=\"crumbTrail\">\r\n<tmpl_loop page_loop>\r\n<a class=\"crumbTrail\" \r\n <tmpl_if page.newWindow>target=\"_blank\"</tmpl_if>\r\n href=\"<tmpl_var page.url>\"><tmpl_var page.menuTitle></a>\r\n <tmpl_unless \"__last__\"> > </tmpl_unless>\r\n</tmpl_loop>\r\n</span>','Navigation');
|
|
INSERT INTO template VALUES (1,'verticalMenu','<tmpl_if session.var.adminOn>\r\n<tmpl_var config.button><br>\r\n</tmpl_if>\r\n<span class=\"verticalMenu\">\r\n<tmpl_loop page_loop>\r\n<tmpl_var page.indent><a class=\"verticalMenu\" \r\n <tmpl_if page.newWindow>target=\"_blank\"</tmpl_if> href=\"<tmpl_var page.url>\">\r\n <tmpl_if page.isCurrent>\r\n <span class=\"selectedMenuItem\"><tmpl_var page.menuTitle></span>\r\n <tmpl_else><tmpl_var page.menuTitle></tmpl_if></a><br>\r\n</tmpl_loop>\r\n</span>','Navigation');
|
|
INSERT INTO template VALUES (3,'horizontalMenu','<tmpl_if session.var.adminOn>\r\n<tmpl_var config.button>\r\n</tmpl_if>\r\n<span class=\"horizontalMenu\">\r\n<tmpl_loop page_loop>\r\n<a class=\"horizontalMenu\" \r\n <tmpl_if page.newWindow>target=\"_blank\"</tmpl_if>\r\n href=\"<tmpl_var page.url>\"><tmpl_var page.menuTitle></a>\r\n <tmpl_unless \"__last__\"> · </tmpl_unless>\r\n</tmpl_loop>\r\n</span>','Navigation');
|
|
INSERT INTO template VALUES (4,'DropMenu','<script language=\"JavaScript\" type=\"text/javascript\">\r\nfunction go(formObj){\r\n if (formObj.chooser.options[formObj.chooser.selectedIndex].value != \"none\") {\r\n location = formObj.chooser.options[formObj.chooser.selectedIndex].value\r\n }\r\n}\r\n</script>\r\n<form>\r\n<tmpl_if session.var.adminOn>\r\n<tmpl_var config.button>\r\n</tmpl_if>\r\n<select name=\"chooser\" size=1 onChange=\"go(this.form)\">\r\n<option value=none>Where do you want to go?</option>\r\n<tmpl_loop page_loop>\r\n<option value=\"<tmpl_var page.url>\"><tmpl_loop page.indent_loop> </tmpl_loop>- <tmpl_var page.menuTitle></option>\r\n</tmpl_loop>\r\n</select>\r\n</form>','Navigation');
|
|
INSERT INTO template VALUES (5,'Tabs','<tmpl_if session.var.adminOn>\r\n<tmpl_var config.button>\r\n</tmpl_if>\r\n<tmpl_loop page_loop>\r\n <tmpl_if page.isCurrent>\r\n <span class=\"rootTabOn\">\r\n <tmpl_else>\r\n <span class=\"rootTabOff\">\r\n </tmpl_if>\r\n <a <tmpl_if page.newWindow>target=\"_blank\"</tmpl_if> href=\"<tmpl_var page.url>\"><tmpl_var page.menuTitle></a>\r\n </span>\r\n</tmpl_loop>','Navigation');
|
|
|
|
INSERT INTO incrementer VALUES ('navigationId',1000);
|
|
|
|
CREATE TABLE Navigation (
|
|
navigationId int(11) NOT NULL default '0',
|
|
identifier varchar(30) NOT NULL default 'undefined',
|
|
depth int(11) NOT NULL default '99',
|
|
method varchar(35) NOT NULL default 'descendants',
|
|
startAt varchar(35) NOT NULL default 'current',
|
|
stopAtLevel int(11) NOT NULL default '-1',
|
|
templateId int(11) NOT NULL default '1',
|
|
showSystemPages int(11) NOT NULL default '0',
|
|
showHiddenPages int(11) NOT NULL default '0',
|
|
showUnprivilegedPages int(11) NOT NULL default '0',
|
|
reverse int(11) NOT NULL default '0',
|
|
PRIMARY KEY (navigationId,identifier)
|
|
) TYPE=MyISAM;
|
|
|
|
INSERT INTO Navigation VALUES (1,'crumbTrail',99,'self_and_ancestors','current',-1,2,0,0,0,1);
|
|
INSERT INTO Navigation VALUES (2,'FlexMenu',99,'pedigree','current',2,1,0,0,0,0);
|
|
INSERT INTO Navigation VALUES (3,'currentMenuVertical',1,'descendants','current',-1,1,0,0,0,0);
|
|
INSERT INTO Navigation VALUES (4,'currentMenuHorizontal',1,'descendants','current',-1,3,0,0,0,0);
|
|
INSERT INTO Navigation VALUES (5,'PreviousDropMenu',99,'self_and_sisters','current',-1,4,0,0,0,0);
|
|
INSERT INTO Navigation VALUES (6,'previousMenuVertical',1,'descendants','mother',-1,1,0,0,0,0);
|
|
INSERT INTO Navigation VALUES (7,'previousMenuHorizontal',1,'descendants','mother',-1,3,0,0,0,0);
|
|
INSERT INTO Navigation VALUES (8,'rootmenu',1,'daughters','root',-1,3,0,0,0,0);
|
|
INSERT INTO Navigation VALUES (9,'SpecificDropMenu',3,'descendants','home',-1,4,0,0,0,0);
|
|
INSERT INTO Navigation VALUES (10,'SpecificSubMenuVertical',3,'descendants','home',-1,1,0,0,0,0);
|
|
INSERT INTO Navigation VALUES (11,'SpecificSubMenuHorizontal',1,'descendants','home',-1,3,0,0,0,0);
|
|
INSERT INTO Navigation VALUES (12,'TopLevelMenuVertical',0,'self_and_sisters','top',-1,1,0,0,0,0);
|
|
INSERT INTO Navigation VALUES (13,'TopLevelMenuHorizontal',0,'self_and_sisters','top',-1,3,0,0,0,0);
|
|
INSERT INTO Navigation VALUES (14,'RootTab',99,'daughters','root',-1,5,0,0,0,0);
|
|
INSERT INTO Navigation VALUES (15,'TopDropMenu',0,'self_and_sisters','top',-1,4,0,0,0,0);
|
|
INSERT INTO international VALUES (2,'Navigation',1,'root level (/home)',1077078325,'Option of \"Start traversing at\"');
|
|
INSERT INTO international VALUES (19,'Navigation',1,'Copy this Navigation.',1077080062,'');
|
|
INSERT INTO international VALUES (13,'Navigation',1,'childless descendants',1077079109,'Option on question \"return a loop with\".');
|
|
INSERT INTO international VALUES (17,'Navigation',1,'pedigree',1077079481,'Option on question \"return a loop with\".');
|
|
INSERT INTO international VALUES (16,'Navigation',1,'self and ancestors',1077079343,'Option on question \"return a loop with\".');
|
|
INSERT INTO international VALUES (11,'Navigation',1,'descendants',1077078969,'Option on question \"return a loop with\"');
|
|
INSERT INTO international VALUES (18,'Navigation',1,'Edit this Navigation.',1077079911,'');
|
|
INSERT INTO international VALUES (3,'Navigation',1,'top level (/home/page)',1077078394,'Option of \"Start traversing at\"');
|
|
INSERT INTO international VALUES (1,'Navigation',1,'nameless root',1077078206,'Option of \"Start traversing at\"');
|
|
INSERT INTO international VALUES (12,'Navigation',1,'self and descendants',1077079020,'Option on question \"return a loop with\"');
|
|
INSERT INTO international VALUES (14,'Navigation',1,'generation',1077079203,'Option on question \"return a loop with\".');
|
|
INSERT INTO international VALUES (15,'Navigation',1,'ancestors',1077079273,'Option on question \"return a loop with\".');
|
|
INSERT INTO international VALUES (35,'Navigation',1,'<font color=\"red\">Please specify an identifier. ie: ^Navigation(myMenu);</font>',1077081415,'');
|
|
INSERT INTO international VALUES (8,'Navigation',1,'daughters',1077078773,'Option on question \"return a loop with\"');
|
|
INSERT INTO international VALUES (4,'Navigation',1,'my grandmother\'s level (../../page)',1077078456,'Option of \"Start traversing at\"');
|
|
INSERT INTO international VALUES (6,'Navigation',1,'my level (.)',1077078579,'Option of \"Start traversing at\"');
|
|
INSERT INTO international VALUES (7,'Navigation',1,'my daughter\'s level (./page)',1077078687,'Option of \"Start traversing at\"');
|
|
INSERT INTO international VALUES (10,'Navigation',1,'self and sisters',1077078879,'Option on question \"return a loop with\"');
|
|
INSERT INTO international VALUES (5,'Navigation',1,'my mother\'s level (../page)',1077078526,'Option of \"Start traversing at\"');
|
|
INSERT INTO international VALUES (34,'Navigation',1,'Manage Navigation',1077081304,'');
|
|
INSERT INTO international VALUES (27,'Navigation',1,'Max depth',1077080669,'');
|
|
INSERT INTO international VALUES (28,'Navigation',1,'Return a loop with',1077080706,'');
|
|
INSERT INTO international VALUES (25,'Navigation',1,'Start traversing at',1077080583,'');
|
|
INSERT INTO international VALUES (26,'Navigation',1,'Stop traversing when reaching level',1077080617,'');
|
|
INSERT INTO international VALUES (21,'Navigation',1,'List all Navigation.',1077080151,'');
|
|
INSERT INTO international VALUES (22,'Navigation',1,'Edit Navigation',1077080241,'');
|
|
INSERT INTO international VALUES (32,'Navigation',1,'Show unprivileged pages',1077080845,'');
|
|
INSERT INTO international VALUES (9,'Navigation',1,'sisters',1077078821,'Option on question \"return a loop with\"');
|
|
INSERT INTO international VALUES (29,'Navigation',1,'Revert output',1077080738,'');
|
|
INSERT INTO international VALUES (30,'Navigation',1,'Show system pages',1077080766,'');
|
|
INSERT INTO international VALUES (23,'Navigation',1,'Navigation properties',1077080317,'');
|
|
INSERT INTO international VALUES (24,'Navigation',1,'Identifier',1077080504,'');
|
|
INSERT INTO international VALUES (33,'Navigation',1,'Error: This identifier is already in use. Please use an unique value.',1077081255,'');
|
|
INSERT INTO international VALUES (20,'Navigation',1,'Delete this Navigation.',1077080098,'');
|
|
INSERT INTO international VALUES (31,'Navigation',1,'Show hidden pages',1077080799,'');
|
|
INSERT INTO template VALUES (6,'dtree','<link rel=\"StyleSheet\" href=\"<tmpl_var session.config.extrasURL>/Navigation/dtree/dtree.css\" type=\"text/css\" />\r\n<script type=\"text/javascript\" src=\"<tmpl_var session.config.extrasURL>/Navigation/dtree/dtree.js\"></script>\r\n\r\n<tmpl_if session.var.adminOn>\r\n<tmpl_var config.button>\r\n</tmpl_if>\r\n\r\n<script>\r\n// Path to dtree directory\r\n_dtree_url = \"<tmpl_var session.config.extrasURL>/Navigation/dtree/\";\r\n</script>\r\n\r\n<div class=\"dtree\">\r\n<script type=\"text/javascript\">\r\n<!--\r\n d = new dTree(\'d\');\r\n <tmpl_loop page_loop>\r\n d.add(\r\n <tmpl_var page.pageId>,\r\n <tmpl_if __first__>-99<tmpl_else><tmpl_var page.parentId></tmpl_if>,\r\n \'<tmpl_var page.menuTitle>\',\r\n \'<tmpl_var page.url>\',\r\n \'<tmpl_var page.synopsis>\'\r\n <tmpl_if page.newWindow>,\'_blank\'</tmpl_if>\r\n );\r\n </tmpl_loop>\r\n document.write(d);\r\n//-->\r\n</script>\r\n\r\n</div>','Navigation');
|
|
INSERT INTO Navigation VALUES (16,'dtree',99,'self_and_descendants','WebGUIroot',-1,6,0,0,0,0);
|
|
|
|
delete from template where namespace='EventsCalendar' and templateId<1000;
|
|
|
|
INSERT INTO template VALUES (2,'Events List','<tmpl_if displayTitle>\r\n <h1><tmpl_var title></h1>\r\n</tmpl_if>\r\n\r\n<tmpl_if description>\r\n <tmpl_var description><p />\r\n</tmpl_if>\r\n\r\n<tmpl_if session.var.adminOn>\r\n <a href=\"<tmpl_var addevent.url>\"><tmpl_var addevent.label></a>\r\n <p />\r\n</tmpl_if>\r\n\r\n\n<tmpl_loop month_loop>\n <tmpl_loop day_loop>\n <tmpl_loop event_loop>\n <tmpl_if isFirstDayOfEvent>\n <tmpl_unless dateIsSameAsPrevious>\n <b>\n <tmpl_var start.month> <tmpl_var start.day><tmpl_unless startEndYearMatch>,\n <tmpl_ start.year> - \n <tmpl_var end.month> <tmpl_var end.day></tmpl_unless><tmpl_unless startEndMonthMatch> - <tmpl_var end.month> <tmpl_var end.day><tmpl_else><tmpl_unless startEndDayMatch> - <tmpl_var end.day></tmpl_unless></tmpl_unless>, <tmpl_var end.year>\n </b>\n </tmpl_unless>\n <blockquote>\n <tmpl_if session.var.adminOn>\n <a href=\"<tmpl_var url>\">\n </tmpl_if>\n <i><tmpl_var name></i>\n <tmpl_if session.var.adminOn>\n </a>\n </tmpl_if>\n <tmpl_if description>\n - <tmpl_var description>\n </tmpl_if description>\n </blockquote>\n </tmpl_if>\n </tmpl_loop>\n </tmpl_loop>\n</tmpl_loop>\n\n\n\n<tmpl_if pagination.pageCount.isMultiple>\n <div class=\"pagination\">\n <tmpl_var pagination.previousPage> · <tmpl_var pagination.pageList.upTo20> · <tmpl_var pagination.nextPage>\n </div>\n</tmpl_if>\n','EventsCalendar');
|
|
INSERT INTO template VALUES (3,'Calendar Month (Small)','<tmpl_if displayTitle>\r\n <h1><tmpl_var title></h1>\r\n</tmpl_if>\r\n\r\n<tmpl_if description>\r\n <tmpl_var description><p />\r\n</tmpl_if>\r\n\r\n<tmpl_if session.var.adminOn>\r\n <a href=\"<tmpl_var addevent.url>\"><tmpl_var addevent.label></a>\r\n <p />\r\n</tmpl_if>\r\n\r\n\n\n\n<tmpl_loop month_loop>\n <table border=\"1\" width=\"100%\">\n <tr><td colspan=7 class=\"tableHeader\"><h2 align=\"center\"><tmpl_var month> <tmpl_var year></h2></td></tr>\n <tr>\n <tmpl_if session.user.firstDayOfWeek>\n <th class=\"tableData\"><tmpl_var monday.label.short></th>\n <th class=\"tableData\"><tmpl_var tuesday.label.short></th>\n <th class=\"tableData\"><tmpl_var wednesday.label.short></th>\n <th class=\"tableData\"><tmpl_var thursday.label.short></th>\n <th class=\"tableData\"><tmpl_var friday.label.short></th>\n <th class=\"tableData\"><tmpl_var saturday.label.short></th>\n <th class=\"tableData\"><tmpl_var sunday.label.short></th>\n <tmpl_else>\n <th class=\"tableData\"><tmpl_var sunday.label.short></th>\n <th class=\"tableData\"><tmpl_var monday.label.short></th>\n <th class=\"tableData\"><tmpl_var tuesday.label.short></th>\n <th class=\"tableData\"><tmpl_var wednesday.label.short></th>\n <th class=\"tableData\"><tmpl_var thursday.label.short></th>\n <th class=\"tableData\"><tmpl_var friday.label.short></th>\n <th class=\"tableData\"><tmpl_var saturday.label.short></th>\n </tmpl_if>\n </tr><tr>\n <tmpl_loop prepad_loop>\n <td> </td>\n </tmpl_loop>\n <tmpl_loop day_loop>\n <tmpl_if isStartOfWeek>\n <tr>\n </tmpl_if>\n <td class=\"table<tmpl_if isToday>Header<tmpl_else>Data</tmpl_if>\" width=\"28\" valign=\"top\" align=\"left\"><p><b>\n <tmpl_if url>\n <a href=\"<tmpl_var url>\"><tmpl_var day></a>\n <tmpl_else>\n <tmpl_var day>\n </tmpl_if>\n </b></p></td> \n <tmpl_if isEndOfWeek>\n </tr>\n </tmpl_if>\n </tmpl_loop>\n <tmpl_loop postpad_loop>\n <td> </td>\n </tmpl_loop>\n </tr>\n </table>\n</tmpl_loop>\n\n\n<tmpl_if pagination.pageCount.isMultiple>\n <div class=\"pagination\">\n <tmpl_var pagination.previousPage> · <tmpl_var pagination.pageList.upTo20> · <tmpl_var pagination.nextPage>\n </div>\n</tmpl_if>\n','EventsCalendar');
|
|
INSERT INTO template VALUES (1,'Calendar Month (Big)','<tmpl_if displayTitle>\r\n <h1><tmpl_var title></h1>\r\n</tmpl_if>\r\n\r\n<tmpl_if description>\r\n <tmpl_var description><p />\r\n</tmpl_if>\r\n\r\n<tmpl_if session.var.adminOn>\r\n <a href=\"<tmpl_var addevent.url>\"><tmpl_var addevent.label></a>\r\n <p />\r\n</tmpl_if>\r\n\r\n<tmpl_loop month_loop>\n <table border=\"1\" width=\"100%\">\n <tr><td colspan=7 class=\"tableHeader\"><h2 align=\"center\"><tmpl_var month> <tmpl_var year></h2></td></tr>\n <tr>\n <tmpl_if session.user.firstDayOfWeek>\n <th class=\"tableData\"><tmpl_var monday.label></th>\n <th class=\"tableData\"><tmpl_var tuesday.label></th>\n <th class=\"tableData\"><tmpl_var wednesday.label></th>\n <th class=\"tableData\"><tmpl_var thursday.label></th>\n <th class=\"tableData\"><tmpl_var friday.label></th>\n <th class=\"tableData\"><tmpl_var saturday.label></th>\n <th class=\"tableData\"><tmpl_var sunday.label></th>\n <tmpl_else>\n <th class=\"tableData\"><tmpl_var sunday.label></th>\n <th class=\"tableData\"><tmpl_var monday.label></th>\n <th class=\"tableData\"><tmpl_var tuesday.label></th>\n <th class=\"tableData\"><tmpl_var wednesday.label></th>\n <th class=\"tableData\"><tmpl_var thursday.label></th>\n <th class=\"tableData\"><tmpl_var friday.label></th>\n <th class=\"tableData\"><tmpl_var saturday.label></th>\n </tmpl_if>\n </tr><tr>\n <tmpl_loop prepad_loop>\n <td> </td>\n </tmpl_loop>\n <tmpl_loop day_loop>\n <tmpl_if isStartOfWeek>\n <tr>\n </tmpl_if>\n <td class=\"table<tmpl_if isToday>Header<tmpl_else>Data</tmpl_if>\" width=\"14%\" valign=\"top\" align=\"left\"><p><b><tmpl_var day></b></p>\n <tmpl_loop event_loop>\n <tmpl_if name>\n ·<a href=\"<tmpl_var url>\"><tmpl_var name></a><br />\n </tmpl_if>\n </tmpl_loop>\n </td>\n <tmpl_if isEndOfWeek>\n </tr>\n </tmpl_if>\n </tmpl_loop>\n <tmpl_loop postpad_loop>\n <td> </td>\n </tmpl_loop>\n </tr>\n </table>\n</tmpl_loop>\n\n\n<tmpl_if pagination.pageCount.isMultiple>\n <div class=\"pagination\">\n <tmpl_var pagination.previousPage> · <tmpl_var pagination.pageList.upTo20> · <tmpl_var pagination.nextPage>\n </div>\n</tmpl_if>\n','EventsCalendar');
|
|
|
|
INSERT INTO Navigation VALUES (17,'coolmenu',99,'descendants','WebGUIroot',-1,7,0,0,0,0);
|
|
delete from international where internationalId=741 and namespace='WebGUI';
|
|
delete from international where internationalId=742 and namespace='WebGUI';
|
|
delete from international where languageId=1 and namespace='WebGUI' and internationalId=1084;
|
|
insert into international (internationalId,languageId,namespace,message,lastUpdated,context) values (1084,1,'WebGUI','Default', 1077472740,'A label indicating that the user should use the default setting.');
|
|
update language set toolbar='metal' where toolbar='default';
|
|
INSERT INTO userProfileField VALUES ('toolbar','WebGUI::International::get(746)',0,0,'selectList','WebGUI::Icon::getToolbarOptions()','[\'useLanguageDefault\']',13,4,0,0);
|
|
INSERT INTO template VALUES (7,'Cool Menus','<tmpl_if session.var.adminOn>\r\n<tmpl_var config.button>\r\n</tmpl_if>\r\n\r\n<style>\r\n/* CoolMenus 4 - default styles - do not edit */\r\n.cCMAbs{position:absolute; visibility:hidden; left:0; top:0}\r\n/* CoolMenus 4 - default styles - end */\r\n\r\n/*Styles for level 0*/\r\n.cLevel0,.cLevel0over{position:absolute; padding:2px; font-family:tahoma,arial,helvetica; font-size:12px; font-weight:bold;\r\n\r\n}\r\n.cLevel0{background-color:navy; layer-background-color:navy; color:white;\r\ntext-align: center;\r\n}\r\n.cLevel0over{background-color:navy; layer-background-color:navy; color:white; cursor:pointer; cursor:hand; \r\ntext-align: center; \r\n}\r\n\r\n.cLevel0border{position:absolute; visibility:hidden; background-color:#569635; layer-background-color:#006699; \r\n \r\n}\r\n\r\n\r\n/*Styles for level 1*/\r\n.cLevel1, .cLevel1over{position:absolute; padding:2px; font-family:tahoma, arial,helvetica; font-size:11px; font-weight:bold}\r\n.cLevel1{background-color:Navy; layer-background-color:Navy; color:white;}\r\n.cLevel1over{background-color:#336699; layer-background-color:#336699; color:Yellow; cursor:pointer; cursor:hand; }\r\n.cLevel1border{position:absolute; visibility:hidden; background-color:#006699; layer-background-color:#006699}\r\n\r\n/*Styles for level 2*/\r\n.cLevel2, .cLevel2over{position:absolute; padding:2px; font-family:tahoma,arial,helvetica; font-size:10px; font-weight:bold}\r\n.cLevel2{background-color:Navy; layer-background-color:Navy; color:white;}\r\n.cLevel2over{background-color:#0099cc; layer-background-color:#0099cc; color:Yellow; cursor:pointer; cursor:hand; }\r\n.cLevel2border{position:absolute; visibility:hidden; background-color:#006699; layer-background-color:#006699}\r\n\r\n</style>\r\n\r\n \r\n\r\n<script language=\"JavaScript1.2\" src=\"<tmpl_var session.config.extrasURL>/coolmenus/coolmenus4.js\">\r\n/*****************************************************************************\r\nCopyright (c) 2001 Thomas Brattli (webmaster@dhtmlcentral.com)\r\n\r\nDHTML coolMenus - Get it at coolmenus.dhtmlcentral.com\r\nVersion 4.0_beta\r\nThis script can be used freely as long as all copyright messages are\r\nintact.\r\n\r\nExtra info - Coolmenus reference/help - Extra links to help files **** \r\nCSS help: http://coolmenus.dhtmlcentral.com/projects/coolmenus/reference.asp?m=37\r\nGeneral: http://coolmenus.dhtmlcentral.com/reference.asp?m=35\r\nMenu properties: http://coolmenus.dhtmlcentral.com/properties.asp?m=47\r\nLevel properties: http://coolmenus.dhtmlcentral.com/properties.asp?m=48\r\n\r\nBackground bar properties: http://coolmenus.dhtmlcentral.com/properties.asp?m=49\r\nItem properties: http://coolmenus.dhtmlcentral.com/properties.asp?m=50\r\n******************************************************************************/\r\n</script>\r\n\r\n\r\n<script language=\"JavaScript\">\r\n\r\n/*** \r\nThis is the menu creation code - place it right after you body tag\r\nFeel free to add this to a stand-alone js file and link it to your page.\r\n**/\r\n\r\n//Menu object creation\r\ncoolmenu=new makeCM(\"coolmenu\") //Making the menu object. Argument: menuname\r\n\r\ncoolmenu.frames = 0\r\n\r\n//Menu properties \r\ncoolmenu.pxBetween=2\r\ncoolmenu.fromLeft=200 \r\ncoolmenu.fromTop=100 \r\ncoolmenu.rows=1\r\ncoolmenu.menuPlacement=\"center\" //The whole menu alignment, left, center, or right\r\n \r\ncoolmenu.resizeCheck=1 \r\ncoolmenu.wait=1000 \r\ncoolmenu.fillImg=\"cm_fill.gif\"\r\ncoolmenu.zIndex=100\r\n\r\n//Background bar properties\r\ncoolmenu.useBar=0\r\ncoolmenu.barWidth=\"100%\"\r\ncoolmenu.barHeight=\"menu\" \r\ncoolmenu.barClass=\"cBar\"\r\ncoolmenu.barX=0 \r\ncoolmenu.barY=0\r\ncoolmenu.barBorderX=0\r\ncoolmenu.barBorderY=0\r\ncoolmenu.barBorderClass=\"\"\r\n\r\n//Level properties - ALL properties have to be spesified in level 0\r\ncoolmenu.level[0]=new cm_makeLevel() //Add this for each new level\r\ncoolmenu.level[0].width=110\r\ncoolmenu.level[0].height=21 \r\ncoolmenu.level[0].regClass=\"cLevel0\"\r\ncoolmenu.level[0].overClass=\"cLevel0over\"\r\ncoolmenu.level[0].borderX=1\r\ncoolmenu.level[0].borderY=1\r\ncoolmenu.level[0].borderClass=\"cLevel0border\"\r\ncoolmenu.level[0].offsetX=0\r\ncoolmenu.level[0].offsetY=0\r\ncoolmenu.level[0].rows=0\r\ncoolmenu.level[0].arrow=0\r\ncoolmenu.level[0].arrowWidth=0\r\ncoolmenu.level[0].arrowHeight=0\r\ncoolmenu.level[0].align=\"bottom\"\r\n\r\n//EXAMPLE SUB LEVEL[1] PROPERTIES - You have to specify the properties you want different from LEVEL[0] - If you want all items to look the same just remove this\r\ncoolmenu.level[1]=new cm_makeLevel() //Add this for each new level (adding one to the number)\r\ncoolmenu.level[1].width=coolmenu.level[0].width+20\r\ncoolmenu.level[1].height=25\r\ncoolmenu.level[1].regClass=\"cLevel1\"\r\ncoolmenu.level[1].overClass=\"cLevel1over\"\r\ncoolmenu.level[1].borderX=1\r\ncoolmenu.level[1].borderY=1\r\ncoolmenu.level[1].align=\"right\" \r\ncoolmenu.level[1].offsetX=0\r\ncoolmenu.level[1].offsetY=0\r\ncoolmenu.level[1].borderClass=\"cLevel1border\"\r\n\r\n\r\n//EXAMPLE SUB LEVEL[2] PROPERTIES - You have to spesify the properties you want different from LEVEL[1] OR LEVEL[0] - If you want all items to look the same just remove this\r\ncoolmenu.level[2]=new cm_makeLevel() //Add this for each new level (adding one to the number)\r\ncoolmenu.level[2].width=coolmenu.level[0].width+20\r\ncoolmenu.level[2].height=25\r\ncoolmenu.level[2].offsetX=0\r\ncoolmenu.level[2].offsetY=0\r\ncoolmenu.level[2].regClass=\"cLevel2\"\r\ncoolmenu.level[2].overClass=\"cLevel2over\"\r\ncoolmenu.level[2].borderClass=\"cLevel2border\"\r\n\r\n//EXAMPLE SUB LEVEL[2] PROPERTIES - You have to spesify the properties you want different from LEVEL[1] OR LEVEL[0] - If you want all items to look the same just remove this\r\ncoolmenu.level[3]=new cm_makeLevel() //Add this for each new level (adding one to the number)\r\ncoolmenu.level[3].width=coolmenu.level[0].width+20\r\ncoolmenu.level[3].height=25\r\ncoolmenu.level[3].offsetX=0\r\ncoolmenu.level[3].offsetY=0\r\ncoolmenu.level[3].regClass=\"cLevel2\"\r\ncoolmenu.level[3].overClass=\"cLevel2over\"\r\ncoolmenu.level[3].borderClass=\"cLevel2border\"\r\n\r\n\r\n\r\n<tmpl_loop page_loop>\r\ncoolmenu.makeMenu(\'coolmenu_<tmpl_var page.urlizedTitle>\',\'coolmenu_<tmpl_var page.mother.urlizedTitle>\',\'<tmpl_var page.menuTitle>\',\'<tmpl_var page.url>\'<tmpl_if page.newWindow>,\'_blank\'</tmpl_if>);\r\n</tmpl_loop>\r\n\r\n\r\ncoolmenu.construct();\r\n\r\n</script>','Navigation');
|
|
|
|
CREATE TABLE IndexedSearch_docInfo (
|
|
docId int(11) NOT NULL default '0',
|
|
indexName varchar(35) not NULL default 'Search_index',
|
|
pageId int(11) NOT NULL default '0',
|
|
wobjectId int(11) NOT NULL default '0',
|
|
page_groupIdView int(11) default NULL,
|
|
wobject_groupIdView int(11) default NULL,
|
|
wobject_special_groupIdView int(11) default NULL,
|
|
languageId int(11) NOT NULL default '0',
|
|
namespace varchar(35) default NULL,
|
|
location varchar(255) default NULL,
|
|
headerShortcut text default NULL,
|
|
bodyShortcut text default NULL,
|
|
contentType text NOT NULL,
|
|
ownerId int(11) default '1',
|
|
PRIMARY KEY (docId, indexName)
|
|
) TYPE=MyISAM;
|
|
|
|
CREATE TABLE IndexedSearch (
|
|
wobjectId int(11) NOT NULL default '0',
|
|
indexName varchar(35) default 'Search_index',
|
|
users text,
|
|
searchRoot text,
|
|
pageList text,
|
|
namespaces text,
|
|
paginateAfter int(11) default NULL,
|
|
languages text,
|
|
contentTypes text,
|
|
previewLength int(11),
|
|
highlight int(11),
|
|
highlight_1 varchar(35),
|
|
highlight_2 varchar(35),
|
|
highlight_3 varchar(35),
|
|
highlight_4 varchar(35),
|
|
highlight_5 varchar(35),
|
|
PRIMARY KEY (wobjectId)
|
|
) TYPE=MyISAM;
|
|
|
|
|
|
INSERT INTO help VALUES (1,'IndexedSearch',26,27,'21,WebGUI;2,IndexedSearch');
|
|
INSERT INTO help VALUES (2,'IndexedSearch',29,28,'21,WebGUI;1,IndexedSearch;');
|
|
|
|
INSERT INTO international VALUES (27,'IndexedSearch',1,'\r\n<P>The Search adds advanced search capabilities to your WebGUI site. </P>\r\n<P><STRONG>Index to use<BR></STRONG>The Search uses an index to retrieve it\'s \r\nresults from. Indexes are created with the scheduler. You can create more then one index. Choose here which index to use.</P>\r\n<P><STRONG>Search through<BR></STRONG>By default all pages are searched. You can \r\nlimit the search to certain page roots. Multiple choices are allowed.</P>\r\n<P><STRONG>Only results created by<BR></STRONG>You can limit the results to \r\nitems created by certain users. By default items from any user are returned.</P>\r\n<P><STRONG>Only results in namespace<BR></STRONG>By default all namespaces are \r\nsearched. You can limit the search to certain namespaces. An example of usage is \r\nto search only in products.</P>\r\n<P><STRONG>Only results in language<BR></STRONG>If you have a multi-lingual \r\nsite, you can use this option to limit the search results to a certain \r\nlanguage.</P>\r\n<P><STRONG>Only results of type<BR></STRONG>You can limit the search to certain \r\ntypes of content.</P>\r\n<BLOCKQUOTE dir=ltr style=\"MARGIN-RIGHT: 0px\">\r\n<P align=left><EM>Discussion:</EM> Messages on the forums, discussions on \r\narticles or USS.<BR><EM>Help:</EM> Content in the online WebGUI help \r\nsystem<BR><EM>Page:</EM><STRONG> </STRONG>Page title and \r\nsynopsis<BR><EM>Profile:</EM> User Profiles<BR><EM>Wobject: </EM>Wobject Title \r\nand Description<BR><EM>Wobject details: </EM>All other wobject data. For example \r\nFAQ question, Calendar item, etc.</P></BLOCKQUOTE>\r\n<P dir=ltr align=left><STRONG>Template<BR></STRONG>Select a template to layout \r\nyour Search. The different templates have different functionality.</P>\r\n<P dir=ltr align=left><STRONG>Paginate after<BR></STRONG>The number of results \r\nyou\'d like to display on a page.</P>\r\n<P dir=ltr align=left><STRONG>Context preview length<BR></STRONG>The maximum \r\nnumber of characters in each of the context sections. Default is 130 characters. \r\nA negative length gives the complete body, while a preview length of null gives \r\nno preview.</P>\r\n<P dir=ltr align=left><STRONG>Highlight results ?<BR></STRONG>If you want to \r\nhighlight the search results in the preview you\'ll want to check this box.</P>\r\n<P dir=ltr align=left><STRONG>Highlight color n<BR></STRONG>The colors that are \r\nused to highlight the corresponding words in the query. </P>',1070195783,'');
|
|
INSERT INTO international VALUES (4,'IndexedSearch',2,'Diese Seite',1066925977,NULL);
|
|
INSERT INTO international VALUES (25,'IndexedSearch',2,'Beliebiger Benutzer',1066944998,NULL);
|
|
INSERT INTO international VALUES (24,'IndexedSearch',2,'Beliebige Sprache',1066944983,NULL);
|
|
INSERT INTO international VALUES (26,'IndexedSearch',1,'Search, Add/Edit',1067346336,'');
|
|
INSERT INTO international VALUES (23,'IndexedSearch',2,'Jeder Inhaltstyp',1066926216,NULL);
|
|
INSERT INTO international VALUES (12,'IndexedSearch',2,'Vorschauläe des Suchergebnisses',1066926202,NULL);
|
|
INSERT INTO international VALUES (8,'IndexedSearch',2,'Nur Ergebnisse aus den Bereichen',1066926233,NULL);
|
|
INSERT INTO international VALUES (18,'IndexedSearch',2,'Beliebige Bereiche',1066926181,NULL);
|
|
INSERT INTO international VALUES (19,'IndexedSearch',2,'Wobject',1066926116,NULL);
|
|
INSERT INTO international VALUES (20,'IndexedSearch',2,'Wobject Details',1066926104,NULL);
|
|
INSERT INTO international VALUES (21,'IndexedSearch',2,'Standardinhalte',1066950450,NULL);
|
|
INSERT INTO international VALUES (22,'IndexedSearch',2,'Profil',1066926050,NULL);
|
|
INSERT INTO international VALUES (3,'IndexedSearch',2,'Fütere Informationen schauen Sie sich bitte die Dokumentation an.',1066926030,NULL);
|
|
INSERT INTO international VALUES (5,'IndexedSearch',2,'verwendeter Index',1066925936,NULL);
|
|
INSERT INTO international VALUES (6,'IndexedSearch',2,'Durchsuchen von',1066925874,NULL);
|
|
INSERT INTO international VALUES (9,'IndexedSearch',2,'Nur Ergebnisse in der Sprache',1066925743,NULL);
|
|
INSERT INTO international VALUES (7,'IndexedSearch',2,'Nur Ergebnisse erstellt von',1066925809,NULL);
|
|
INSERT INTO international VALUES (15,'IndexedSearch',2,'Alle Seiten',1066925603,NULL);
|
|
INSERT INTO international VALUES (16,'IndexedSearch',2,'Suche starten!',1066925622,NULL);
|
|
INSERT INTO international VALUES (17,'IndexedSearch',2,'Suchen',1066925643,NULL);
|
|
INSERT INTO international VALUES (2,'IndexedSearch',2,'Es wurde kein Index erstellt! Starten Sie zuerst das Script \"buildindex.pl\".',1066925703,NULL);
|
|
INSERT INTO international VALUES (14,'IndexedSearch',2,'Hervorhebungsfarbe',1066925591,NULL);
|
|
INSERT INTO international VALUES (13,'IndexedSearch',2,'Ergebnisse farbig hervorheben?',1066925550,NULL);
|
|
INSERT INTO international VALUES (11,'IndexedSearch',2,'Seitenumbruch nach',1066925284,NULL);
|
|
INSERT INTO international VALUES (10,'IndexedSearch',2,'Nur Ergebnisse vom Typ',1066925261,NULL);
|
|
INSERT INTO international VALUES (1,'IndexedSearch',2,'Die Tabelle Search_docInfo kann nicht geöet werden.',1066925177,NULL);
|
|
INSERT INTO international VALUES (25,'IndexedSearch',1,'Any user',1066766053,'');
|
|
INSERT INTO international VALUES (24,'IndexedSearch',1,'Any language',1066766053,'');
|
|
INSERT INTO international VALUES (23,'IndexedSearch',1,'Any Content Type',1066766053,'Any type of content');
|
|
INSERT INTO international VALUES (21,'IndexedSearch',1,'Content',1066765681,'Collective term for Wobjects, Pages and Wobject details.');
|
|
INSERT INTO international VALUES (22,'IndexedSearch',1,'Profile',1066765844,'');
|
|
INSERT INTO international VALUES (19,'IndexedSearch',1,'Wobject',1066765495,'');
|
|
INSERT INTO international VALUES (20,'IndexedSearch',1,'Wobject details',1066765556,'');
|
|
INSERT INTO international VALUES (18,'IndexedSearch',1,'Any namespace',1066593420,'first option for \"Search in namespace:\"');
|
|
INSERT INTO international VALUES (17,'IndexedSearch',1,'Search',1066593262,'Title of this wobject');
|
|
INSERT INTO international VALUES (16,'IndexedSearch',1,'Search',1066565087,'Label of the search submit button.');
|
|
INSERT INTO international VALUES (15,'IndexedSearch',1,'All pages',1066253116,'');
|
|
INSERT INTO international VALUES (14,'IndexedSearch',1,'Highlight color',1066252536,'');
|
|
INSERT INTO international VALUES (13,'IndexedSearch',1,'Highlight results ?',1066252498,'');
|
|
INSERT INTO international VALUES (12,'IndexedSearch',1,'Context preview length',1066252463,'');
|
|
INSERT INTO international VALUES (11,'IndexedSearch',1,'Paginate after',1066252409,'');
|
|
INSERT INTO international VALUES (10,'IndexedSearch',1,'Only results of type',1066252387,'');
|
|
INSERT INTO international VALUES (9,'IndexedSearch',1,'Only results in language',1066252363,'');
|
|
INSERT INTO international VALUES (8,'IndexedSearch',1,'Only results in namespace',1066252344,'');
|
|
INSERT INTO international VALUES (7,'IndexedSearch',1,'Only results created by',1066252303,'');
|
|
INSERT INTO international VALUES (2,'IndexedSearch',1,'No index created. The scheduler must run and create the index first.',1066252099,'');
|
|
INSERT INTO international VALUES (3,'IndexedSearch',1,'Please refer to the documentation for more info.',1066252166,'');
|
|
INSERT INTO international VALUES (4,'IndexedSearch',1,'This page',1066252218,'');
|
|
INSERT INTO international VALUES (5,'IndexedSearch',1,'Index to use',1066252241,'');
|
|
INSERT INTO international VALUES (6,'IndexedSearch',1,'Search through',1066252264,'');
|
|
INSERT INTO international VALUES (1,'IndexedSearch',1,'Table Search_docInfo can\'t be opened.',1066252055,'');
|
|
INSERT INTO international VALUES (1,'IndexedSearch',3,'De database tabel Search_docInfo kan niet geopend worden.',1068829661,NULL);
|
|
INSERT INTO international VALUES (10,'IndexedSearch',3,'Alleen resultaten van het type',1068829693,NULL);
|
|
INSERT INTO international VALUES (11,'IndexedSearch',3,'Breek pagina af na',1068829785,NULL);
|
|
INSERT INTO international VALUES (12,'IndexedSearch',3,'Context preview lengte',1068829830,NULL);
|
|
INSERT INTO international VALUES (13,'IndexedSearch',3,'Markeer resultaten ?',1068829883,NULL);
|
|
INSERT INTO international VALUES (14,'IndexedSearch',3,'Markeer kleur',1068829896,NULL);
|
|
INSERT INTO international VALUES (15,'IndexedSearch',3,'Alle pagina\'s',1068829908,NULL);
|
|
INSERT INTO international VALUES (16,'IndexedSearch',3,'Zoek',1068829919,NULL);
|
|
INSERT INTO international VALUES (17,'IndexedSearch',3,'Zoeken',1068829940,NULL);
|
|
INSERT INTO international VALUES (18,'IndexedSearch',3,'Ieder bereik',1068829993,NULL);
|
|
INSERT INTO international VALUES (19,'IndexedSearch',3,'Wobject',1068830017,NULL);
|
|
INSERT INTO international VALUES (20,'IndexedSearch',3,'Wobject details',1068830113,NULL);
|
|
INSERT INTO international VALUES (21,'IndexedSearch',3,'Standaard inhoud',1068830147,NULL);
|
|
INSERT INTO international VALUES (22,'IndexedSearch',3,'Profielen',1068830162,NULL);
|
|
INSERT INTO international VALUES (23,'IndexedSearch',3,'Ieder content type',1068830186,NULL);
|
|
INSERT INTO international VALUES (24,'IndexedSearch',3,'Iedere taal',1068830198,NULL);
|
|
INSERT INTO international VALUES (25,'IndexedSearch',3,'Iedere user',1068830230,NULL);
|
|
INSERT INTO international VALUES (26,'IndexedSearch',3,'Zoek, Toevoegen/Bewerken',1068830292,NULL);
|
|
INSERT INTO international VALUES (3,'IndexedSearch',3,'Zie de documentatie voor meer informatie.',1068830315,NULL);
|
|
INSERT INTO international VALUES (4,'IndexedSearch',3,'Deze pagina',1068830328,NULL);
|
|
INSERT INTO international VALUES (5,'IndexedSearch',3,'Te gebruiken index',1068830341,NULL);
|
|
INSERT INTO international VALUES (6,'IndexedSearch',3,'Doorzoek',1068830353,NULL);
|
|
INSERT INTO international VALUES (7,'IndexedSearch',3,'Alleen resultaten van',1068830378,NULL);
|
|
INSERT INTO international VALUES (8,'IndexedSearch',3,'Alleen resultaten in bereik',1068830393,NULL);
|
|
INSERT INTO international VALUES (9,'IndexedSearch',3,'Alleen resultaten in taal',1068830408,NULL);
|
|
INSERT INTO international VALUES (28,'IndexedSearch',1,'\r\n<P>This is the list of template variables available for \r\nsearch templates:</P>\r\n<P><STRONG>query<BR></STRONG>Contains the value of the <EM>query</EM> form \r\nvariable. <BR>The <EM>allWords</EM>, <EM>atLeastOne</EM>, <EM>exactPhrase</EM> \r\nand <EM>without</EM> values are appended to this variable.</P>\r\n<P><STRONG>queryHighlighted<BR></STRONG>Same as <STRONG>query</STRONG> but \r\nhighlighted.</P>\r\n<P><STRONG>allWords<BR></STRONG>Contains the value of the <EM>allWords</EM> form \r\nvariable.</P>\r\n<P><STRONG>atLeastOne<BR></STRONG>Contains the value of the <EM>atLeastOne</EM> \r\nform variable.</P>\r\n<P><STRONG>exactPhrase<BR></STRONG>Contains the value of the \r\n<EM>exactPhrase</EM> form variable.</P>\r\n<P><STRONG>without<BR></STRONG>Contains the value of the <EM>without </EM>form \r\nvariable.</P>\r\n<P><STRONG>duration<BR></STRONG>The duration of the search process in seconds. \r\n</P>\r\n<P><STRONG>numberOfResults<BR></STRONG>The number of results. </P>\r\n<P><STRONG>startNr<BR></STRONG>The number of the first search result on the \r\npage.</P>\r\n<P><STRONG>endNr<BR></STRONG>The number of the last search result on the \r\npage.</P>\r\n<P><STRONG>submit<BR></STRONG>A form button with the word \"Search\" printed on \r\nit. </P>\r\n<P><STRONG>wid</STRONG><BR>The wobject Id of this wobject.</P>\r\n<P><STRONG>resultsLoop</STRONG><BR>A loop containing the search results. Inside \r\nthe loop the following template variables are available:</P>\r\n<BLOCKQUOTE dir=ltr style=\"MARGIN-RIGHT: 0px\">\r\n<P><STRONG>username<BR></STRONG>The username of the person that created this \r\nsearch result.</P>\r\n<P><STRONG>ownerId<BR></STRONG>The Id of the person that created this search \r\nresult.</P>\r\n<P><STRONG>userProfile<BR></STRONG>An url to the profile of the creator of this \r\nsearch result.</P>\r\n<P><STRONG>header<BR></STRONG>The title of the search result. (This can be the \r\nsubject of a message, the question of a FAQ, the title of an Article, etc)</P>\r\n<P><STRONG>body<BR></STRONG>A preview of the content of the search result.</P>\r\n<P><STRONG>namespace<BR></STRONG>The namespace in which this search result \r\nresides.</P>\r\n<P><STRONG>location<BR></STRONG>The URL of this search result.</P>\r\n<P><STRONG>crumbtrail<BR></STRONG>A crumbtrail to this search result.</P>\r\n<P><STRONG>contentType<BR></STRONG>The type of this search \r\nresult.</P></BLOCKQUOTE>\r\n<P dir=ltr>The loops <STRONG>contentTypes</STRONG>, \r\n<STRONG>contentTypesSimple</STRONG>, <STRONG>languages</STRONG>, \r\n<STRONG>namespaces</STRONG> and <STRONG>users </STRONG>all look the same. \r\nThey can be used to create a select list, radio list or check list so users can \r\nrefine their search.</P>\r\n<P dir=ltr>This tempate variables are available inside the loops:</P>\r\n<BLOCKQUOTE dir=ltr style=\"MARGIN-RIGHT: 0px\">\r\n<P dir=ltr><STRONG>name<BR></STRONG>The (possibly internationalized) name of the \r\noption.<BR><BR><STRONG>value<BR></STRONG>The value of the \r\noption.<BR><BR><STRONG>selected<BR></STRONG>A conditional indicating whether \r\nthis option is selected or not.</P></BLOCKQUOTE>\r\n<P><B>firstPage</B><BR>A link to the first page in the paginator. \r\n<P><B>lastPage</B><BR>A link to the last page in the paginator. \r\n<P><B>nextPage</B><BR>A link to the next page forward in the paginator. \r\n<P><B>previousPage</B><BR>A link to the next page backward in the paginator. \r\n<P><B>pageList</B><BR>A list of links to all the pages in the paginator. \r\n<P><B>multiplePages</B><BR>A conditional indicating whether there is more than \r\none page in the paginator. \r\n<P><B>isFirstPage</B><BR>A conditional indicating whether the visitor is viewing \r\nthe first page. \r\n<P><B>isLastPage</B><BR>A conditional indicating whether the visitor is viewing \r\nthe last page.</P>',1070202325,'');
|
|
INSERT INTO international VALUES (29,'IndexedSearch',1,'Search template',1070202588,'');
|
|
|
|
|
|
INSERT INTO template VALUES (2,'Advanced Search','<tmpl_if displayTitle>\r\n <h1><tmpl_var title></h1>\r\n</tmpl_if>\r\n\r\n<tmpl_if description>\r\n <tmpl_var description><p />\r\n</tmpl_if>\r\n\r\n<table class=\"tableMenu\" width=\"100%\">\r\n <tbody>\r\n <tr>\r\n <form method=\"post\" encType=\"multipart/form-data\">\r\n<input type=\"hidden\" name=\"func\" value=\"view\">\r\n<input type=\"hidden\" name=\"wid\" value=\"<tmpl_var wid>\">\r\n<td vAlign=\"top\" align=\"middle\">\r\n <table>\r\n <tbody>\r\n <tr>\r\n<td class=\"tableData\"><b>Search for:</b></td>\r\n<td class=\"tableData\"><input maxLength=\"255\" size=\"25\" value=\'<tmpl_var query>\' name=\"query\"></td>\r\n<td class=\"tableData\">in</td>\r\n<td class=\"tableData\">\r\n <select size=\"1\" name=\"namespaces\">\r\n <tmpl_loop namespaces>\r\n <option value=\"<tmpl_var value>\" <tmpl_if selected>selected</tmpl_if>><tmpl_var name></option>\r\n </tmpl_loop>\r\n </select>\r\n \r\n </td>\r\n </tr>\r\n <tr>\r\n <td class=\"tableData\" valign=top><b>Content in language:</b></td>\r\n <td class=\"tableData\" valign=top>\r\n <tmpl_loop languages>\r\n <input type=\"checkbox\" name=\"languages\" value=\"<tmpl_var value>\" \r\n <tmpl_if selected>checked=\"1\"</tmpl_if> ><tmpl_var name><br>\r\n </tmpl_loop>\r\n </td>\r\n <td class=\"tableData\" valign=top><b>Created by:</b></td>\r\n <td class=\"tableData\" valign=top>\r\n <select size=\"1\" name=\"users\">\r\n <tmpl_loop users>\r\n <option value=\"<tmpl_var value>\" <tmpl_if selected>selected</tmpl_if>><tmpl_var name></option>\r\n </tmpl_loop>\r\n </select>\r\n </td>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td class=\"tableData\"><b>Type of content:</b></td>\r\n <td class=\"tableData\">\r\n <select size=\"1\" name=\"contentTypes\">\r\n <tmpl_loop contentTypes>\r\n <option value=\"<tmpl_var value>\" <tmpl_if selected>selected</tmpl_if>><tmpl_var name></option>\r\n </tmpl_loop>\r\n </select>\r\n </td>\r\n<td class=\"tableData\"><b>Number of Results:</b></td>\r\n<td class=\"tableData\">\r\n <select size=\"1\" name=\"paginateAfter\">\r\n <option <tmpl_var select_10> >10</option>\r\n <option <tmpl_var select_25> >25</option>\r\n <option <tmpl_var select_50> >50</option>\r\n <option <tmpl_var select_100 >>100</option>\r\n </select>\r\n</td>\r\n </tr>\r\n <tr>\r\n <td class=\"tableData\"></td>\r\n <td class=\"tableData\"></td>\r\n<td class=\"tableData\"></td>\r\n<td class=\"tableData\"><input onclick=\"this.value=\'Please wait...\'\" type=\"submit\" value=\"search\"></td>\r\n </tr>\r\n\r\n </tbody>\r\n </table>\r\n</td>\r\n<td></td>\r\n </form>\r\n </tr>\r\n </tbody>\r\n</table>\r\n\r\n<p/>\r\n<tmpl_if numberOfResults>\r\n <p>Results <tmpl_var startNr> - <tmpl_var endNr> of about <tmpl_var numberOfResults> \r\n containing <b>\"<tmpl_var queryHighlighted>\"</b>. Search took <b><tmpl_var duration></b> seconds.</p>\r\n</tmpl_if>\r\n<ol style=\"Margin-Top: 0px; Margin-Bottom: 0px;\" start=\"<tmpl_var startNr>\">\r\n\r\n<tmpl_loop resultsLoop>\r\n <li>\r\n <a href=\"<tmpl_var location>\">\r\n <tmpl_if header><tmpl_var header><tmpl_else>No Title</tmpl_if></a>\r\n <tmpl_if username>\r\n by <a href=\"<tmpl_var userProfile>\"><tmpl_var username></a>\r\n </tmpl_if>\r\n <div>\r\n <tmpl_if \"body\">\r\n <span class=\"preview\"><tmpl_var \"body\"></span><br/>\r\n </tmpl_if>\r\n <span style=\"color:#666666;\"><tmpl_var location></span>\r\n <br/>\r\n <br/>\r\n </div>\r\n </li>\r\n</tmpl_loop>\r\n\r\n</ol>\r\n\n\n\n<tmpl_if pagination.pageCount.isMultiple>\n <div class=\"pagination\">\n <tmpl_var pagination.previousPage> · <tmpl_var pagination.pageList.upTo20> · <tmpl_var pagination.nextPage>\n </div>\n</tmpl_if>\n','IndexedSearch');
|
|
INSERT INTO template VALUES (3,'Search in Help','<tmpl_if displayTitle>\r\n <h1><tmpl_var title></h1>\r\n</tmpl_if>\r\n\r\n<tmpl_if description>\r\n <tmpl_var description><p />\r\n</tmpl_if>\r\n\r\n<table class=\"tableMenu\" width=\"100%\">\r\n <tbody>\r\n <tr>\r\n <td align=\"center\" width=\"15%\">\r\n <h1><tmpl_var int.search></h1>\r\n </td>\r\n <td vAlign=\"top\" align=\"middle\">\r\n <table>\r\n <form method=\"post\">\r\n <input type=\"hidden\" name=\"contentTypes\" value=\"help\">\r\n <input type=\"hidden\" name=\"func\" value=\"view\">\r\n <input type=\"hidden\" name=\"wid\" value=\"<tmpl_var wid>\">\r\n <tbody>\r\n <tr>\r\n <td align=center class=\"tableData\">\r\n <input maxLength=\"255\" size=\"30\" value=\'<tmpl_var query>\' name=\"query\">\r\n </td>\r\n <td class=\"tableData\"><tmpl_var submit></td>\r\n </tr>\r\n <tr>\r\n <td align=center class=\"tableData\" valign=\"top\"><b>In namespace: </b>\r\n <select size=\"1\" name=\"namespaces\">\r\n <tmpl_loop namespaces>\r\n <option value=\"<tmpl_var value>\" <tmpl_if selected>selected</tmpl_if>><tmpl_var name></option>\r\n </tmpl_loop>\r\n </select>\r\n </td>\r\n </tbody>\r\n </table>\r\n </td>\r\n </form>\r\n </tr>\r\n </tbody>\r\n</table>\r\n\r\n<p/>\r\n<tmpl_if numberOfResults>\r\n <p>Results <tmpl_var startNr> - <tmpl_var endNr> of about <tmpl_var numberOfResults> \r\n containing <b>\"<tmpl_var queryHighlighted>\"</b>. Search took <b><tmpl_var duration></b> seconds.</p>\r\n</tmpl_if>\r\n<ol style=\"Margin-Top: 0px; Margin-Bottom: 0px;\" start=\"<tmpl_var startNr>\">\r\n\r\n<tmpl_loop resultsLoop>\r\n <li>\r\n <a href=\"<tmpl_var location>\">\r\n <tmpl_if header><tmpl_var header><tmpl_else>No Title</tmpl_if></a>\r\n <div>\r\n <tmpl_if \"body\">\r\n <span class=\"preview\"><tmpl_var \"body\"></span><br/>\r\n </tmpl_if>\r\n <span style=\"color:#666666;\">Namespace: <tmpl_var namespace></span>\r\n <br/>\r\n <br/>\r\n </div>\r\n </li>\r\n</tmpl_loop>\r\n\r\n</ol>\r\n\n\n\n<tmpl_if pagination.pageCount.isMultiple>\n <div class=\"pagination\">\n <tmpl_var pagination.previousPage> · <tmpl_var pagination.pageList.upTo20> · <tmpl_var pagination.nextPage>\n </div>\n</tmpl_if>\n','IndexedSearch');
|
|
INSERT INTO template VALUES (1,'Default Search','<tmpl_if displayTitle>\r\n <h1><tmpl_var title></h1>\r\n</tmpl_if>\r\n\r\n<tmpl_if description>\r\n <tmpl_var description><p />\r\n</tmpl_if>\r\n\r\n<table class=\"tableMenu\" width=\"100%\">\r\n <tbody>\r\n <tr>\r\n <td align=\"center\" width=\"15%\">\r\n <h1><tmpl_var int.search></h1>\r\n </td>\r\n <td vAlign=\"top\" align=\"middle\">\r\n <table>\r\n <form method=\"post\">\r\n <input type=\"hidden\" name=\"func\" value=\"view\">\r\n <input type=\"hidden\" name=\"wid\" value=\"<tmpl_var wid>\">\r\n <tbody>\r\n <tr>\r\n <td colspan=\"2\" class=\"tableData\">\r\n <input maxLength=\"255\" size=\"30\" value=\'<tmpl_var query>\' name=\"query\">\r\n </td>\r\n <td class=\"tableData\"><tmpl_var submit></td>\r\n </tr>\r\n <tr>\r\n <td class=\"tableData\" valign=\"top\">\r\n <tmpl_loop languages>\r\n <input type=\"radio\" name=\"languages\" value=\"<tmpl_var value>\" \r\n <tmpl_if __FIRST__>\r\n <tmpl_if query>\r\n <tmpl_if selected>\r\n checked=\"1\"\r\n </tmpl_if>\r\n <tmpl_else>\r\n checked=\"1\"\r\n </tmpl_if>\r\n <tmpl_else>\r\n <tmpl_if selected>checked=\"1\"</tmpl_if>\r\n </tmpl_if>\r\n ><tmpl_var name>\r\n <br>\r\n </tmpl_loop>\r\n </td>\r\n <td class=\"tableData\" valign=\"top\">\r\n <tmpl_loop contentTypesSimple>\r\n <tmpl_unless __FIRST__>\r\n <input type=\"checkbox\" name=\"contentTypes\" value=\"<tmpl_var value>\"\r\n <tmpl_if type_content>\r\n <tmpl_if query>\r\n <tmpl_if selected>\r\n checked=\"1\"\r\n </tmpl_if>\r\n <tmpl_else>\r\n checked=\"1\"\r\n </tmpl_if>\r\n <tmpl_else>\r\n <tmpl_if selected>checked=\"1\"</tmpl_if>\r\n </tmpl_if>\r\n ><tmpl_var name>\r\n <br>\r\n </tmpl_unless>\r\n </tmpl_loop>\r\n </td>\r\n <td></td>\r\n </tbody>\r\n </form>\r\n </table>\r\n </td> \r\n </tr>\r\n </tbody>\r\n</table>\r\n\r\n<p/>\r\n<tmpl_if numberOfResults>\r\n <p>Results <tmpl_var startNr> - <tmpl_var endNr> of about <tmpl_var numberOfResults> \r\n containing <b>\"<tmpl_var queryHighlighted>\"</b>. Search took <b><tmpl_var duration></b> seconds.</p>\r\n <ol style=\"Margin-Top: 0px; Margin-Bottom: 0px;\" start=\"<tmpl_var startNr>\">\r\n <tmpl_loop resultsLoop>\r\n <li>\r\n <a href=\"<tmpl_var location>\">\r\n <tmpl_if header><tmpl_var header><tmpl_else>No Title</tmpl_if></a>\r\n <div>\r\n <tmpl_if \"body\">\r\n <span class=\"preview\"><tmpl_var \"body\"></span><br/>\r\n </tmpl_if>\r\n <span style=\"color:#666666;\">Location: <tmpl_var crumbTrail></span>\r\n <br/>\r\n <br/>\r\n </div>\r\n </li>\r\n </tmpl_loop>\r\n </ol>\r\n</tmpl_if> \n\n\n<tmpl_if pagination.pageCount.isMultiple>\n <div class=\"pagination\">\n <tmpl_var pagination.previousPage> · <tmpl_var pagination.pageList.upTo20> · <tmpl_var pagination.nextPage>\n </div>\n</tmpl_if>\n','IndexedSearch');
|
|
|