preparing for 5.3.1 release
This commit is contained in:
parent
99c91e2401
commit
d9a777a2ee
1 changed files with 3 additions and 3 deletions
|
|
@ -5256,7 +5256,7 @@ INSERT INTO international VALUES (71,'SiteMap',1,'Site maps are used to provide
|
|||
INSERT INTO international VALUES (839,'WebGUI',1,'Programmer Macros',1047856488,NULL);
|
||||
INSERT INTO international VALUES (71,'SQLReport',1,'SQL Reports are perhaps the most powerful wobject in the WebGUI arsenal. They allow a user to query data from any database that they have access to. This is great for getting sales figures from your Accounting database or even summarizing all the message boards on your web site.\r\n<p>\r\n\r\n\r\n<b>Preprocess macros on query?</b><br>\r\nIf you\'re using WebGUI macros in your query you\'ll want to check this box.\r\n<p>\r\n\r\n\r\n<b>Debug?</b><br>\r\nIf you want to display debugging and error messages on the page, check this box.\r\n<p>\r\n\r\n\r\n<b>Query</b><br>\r\nThis is a standard SQL query. If you are unfamiliar with SQL, <a href=\"http://www.plainblack.com/\">Plain Black Software</a> provides training courses in SQL and database management. You can make your queries more dynamic by using the ^FormParam(); macro.\r\n<p>\r\n\r\n\r\n<b>Report Template</b><br>\r\nLayout a template of how this report should look. Usually you\'ll use HTML tables to generate a report. An example is included below. If you leave this field blank a template will be generated based on your result set.\r\n<p>\r\n\r\n\r\nThere are special macro characters used in generating SQL Reports. They are ^-;, ^0;, ^1;, ^2;, ^3;, etc. These macros will be processed regardless of whether you checked the process macros box above. The ^- macro represents split points in the document where the report will begin and end looping. The numeric macros represent the data fields that will be returned from your query. There is an additional macro, ^rownum; that counts the rows of the query starting at 1 for use where the lines of the output need to be numbered.\r\n<p>\r\n\r\n\r\n<b>DSN</b><br>\r\n<b>D</b>ata <b>S</b>ource <b>N</b>ame is the unique identifier that Perl uses to describe the location of your database. It takes the format of DBI:[driver]:[database name]:[host]. \r\n<p>\r\n\r\n\r\n<i>Example:</i> DBI:mysql:WebGUI:localhost\r\n<p>\r\n\r\n\r\n<b>Database User</b>\r\nThe username you use to connect to the DSN.\r\n<p>\r\n\r\n\r\n<b>Database Password</b>\r\nThe password you use to connect to the DSN.\r\n<p>\r\n\r\n\r\n<b>Paginate After</b>\r\nHow many rows should be displayed before splitting the results into separate pages? In other words, how many rows should be displayed per page?\r\n<p>\r\n\r\n\r\n<b>Convert carriage returns?</b>\r\nDo you wish to convert the carriage returns in the resultant data to HTML breaks (<br>).\r\n<p>\r\n\r\n',1031514049,NULL);
|
||||
INSERT INTO international VALUES (71,'DataForm',1,'This wobject creates a simple multipurpose data-entry form.\r\n<br><br>\r\n\r\n<b>Acknowledgement</b><br>\r\nThis message will be displayed to the user after they submit their data..\r\n<p>\r\n\r\n<b>Mail entries?</b></br>\r\nIf set to yes, some additional fields will be added to your form for dealing with email. These fields will then be used to email any date entered into the form to a person of your choice.\r\n<p>\r\n<b>NOTE:</b> The \"To\" field that is added as a result of setting this to yes can accept a standard email address, or a WebGUI username or a WebGUI group name.\r\n<p>\r\n\r\n<b>Template</b><br>\r\nChoose a template for your form.\r\n<p>\r\n\r\n<b>Email Template</b><br>\r\nChoose a template for the data that will be sent via email.\r\n<p>\r\n\r\n<b>Acknowlegement Template</b><br>\r\nChoose a template that will be used to display the acknowlegement.\r\n<p>\r\n\r\n<b>List Template</b><br>\r\nChoose a template that will be used to display the list of stored records in this Data Form.\r\n<p>',1053885941,NULL);
|
||||
INSERT INTO international VALUES (83,'DataForm',1,'The following template variables are available for Data Form templates.\r\n<p/>\r\n\r\n<b>export.tab.url</b><br>\r\nFollowing this URL will export the data stored to this data form as a tab delimited file.\r\n<p>\r\n\r\n<b>export.tab.label</b><br>\r\nThe default label for the export.tab.url variable.\r\n<p>\r\n\r\n<b>entryList.url</b><br>\r\nFollowing this URL will display a list of all the record entries in this data form.\r\n<p>\r\n\r\n<b>entryList.label</b><br>\r\nThe default label for the entryList.url variable.\r\n<p>\r\n\r\n<b>canEdit</b>\r\nA conditional indicating whether the current user has the privileges to edit an existing entry or export the form\'s data.\r\n<p>\r\n\r\n<b>back.url</b><br>\r\nA url that will take you back to the default page in the form.\r\n<p>\r\n\r\n<b>back.label</b><br>\r\nThe default label for the back.url variable.\r\n<p>\r\n\r\n<b>username</b>*<br>\r\nThe username of the user that submitted the data.\r\n<p>\r\n\r\n<b>userId</b>*<br>\r\nThe user id of the user that submitted the data.\r\n<p>\r\n\r\n<b>date</b>*<br>\r\nThe date that this data was submitted or last updated formatted as the user\'s preferred date/time format.\r\n<p>\r\n\r\n\r\n<b>epoch</b>*<br>\r\nThe date that this data was submitted or last updated formatted as an epoch date.\r\n<p>\r\n\r\n<b>ipAddress</b>*<br>\r\nThe IP address of the user that submitted the data.\r\n<p>\r\n\r\n<b>edit.url</b>*<br>\r\nThe URL to the page to edit this entry.\r\n<p>\r\n\r\n<b>error_loop</b>*<br>\r\nA loop containing error information, for instance if someone doesn\'t fill out a required field.\r\n<p>\r\n\r\n<blockquote>\r\n\r\n<b>error.message</b>*<br>\r\nAn error message indicating what the user might have done wrong.\r\n\r\n</blockquote>\r\n\r\n<b>addField.url</b><br>\r\nThe URL that content managers will visit to add a new field to the form.\r\n<p>\r\n\r\n<b>addField.label</b><br>\r\nThe default label for the addField.url variable.\r\n<p>\r\n\r\n<b>form.start</b><br>\r\nThe beginning of the form.\r\n<p>\r\n\r\n<b>field_loop</b><br>\r\nA loop containing all of the field information.\r\n<p>\r\n\r\n<blockquote>\r\n\r\n<b>field.form</b><br>\r\nThe form element for this field.\r\n<p>\r\n\r\n<b>field.name</b><br>\r\nThe name of this field.\r\n<p>\r\n\r\n<b>field.value</b><br>\r\nThe value of this field. If this is new data, then the default value will be used.\r\n<p>\r\n\r\n<b>field.label</b><br>\r\nThe text label for this field.\r\n<p>\r\n\r\n<b>field.isHidden</b><br>\r\nA conditional indicating whether this field is supposed to be hidden. \r\n<p>\r\n\r\n<b>field.isDisplayed</b><br>\r\nA conditional indicating whether this field is supposed to be displayed. \r\n<p>\r\n\r\n<b>field.isEditable</b><br>\r\nA conditional indicating whether this field is editable. \r\n<p>\r\n\r\n<b>field.isRequired</b><br>\r\nA conditional indicating whether this field is required. \r\n<p>\r\n\r\n<b>field.isMailField</b><br>\r\nA conditional indicating whether this field is present only to facilitate sending an email. \r\n<p>\r\n\r\n\r\n<b>field.subtext</b><br>\r\nA description of the field so that users know what to put in the field.\r\n<p>\r\n\r\n<b>field.controls</b><br>\r\nWebGUI\'s administrative controls for this field.\r\n<p>\r\n\r\n</blockquote>\r\n\r\n<b>form.send</b><br>\r\nA form button with the word \"send\" printed on it.\r\n<p>\r\n\r\n<b>form.save/b><br>\r\nA form button with the word \"save\" printed on it.\r\n<p>\r\n\r\n<b>form.end</b><br>\r\nThe end of the form.\r\n<p>\r\n\r\n*Only available if the user has already submitted the form.',1053885798,NULL);
|
||||
INSERT INTO international VALUES (83,'DataForm',1,'The following template variables are available for Data Form templates.\r\n<p/>\r\n\r\n<b>acknowledgement</b><br>\r\nThe acknowledgement specified in the wobject\'s properties. This message should be displayed after a user submits data.\r\n<p>\r\n<b>export.tab.url</b><br>\r\nFollowing this URL will export the data stored to this data form as a tab delimited file.\r\n<p>\r\n\r\n<b>export.tab.label</b><br>\r\nThe default label for the export.tab.url variable.\r\n<p>\r\n\r\n<b>entryList.url</b><br>\r\nFollowing this URL will display a list of all the record entries in this data form.\r\n<p>\r\n\r\n<b>entryList.label</b><br>\r\nThe default label for the entryList.url variable.\r\n<p>\r\n\r\n<b>canEdit</b>\r\nA conditional indicating whether the current user has the privileges to edit an existing entry or export the form\'s data.\r\n<p>\r\n\r\n<b>back.url</b><br>\r\nA url that will take you back to the default page in the form.\r\n<p>\r\n\r\n<b>back.label</b><br>\r\nThe default label for the back.url variable.\r\n<p>\r\n\r\n<b>username</b>*<br>\r\nThe username of the user that submitted the data.\r\n<p>\r\n\r\n<b>userId</b>*<br>\r\nThe user id of the user that submitted the data.\r\n<p>\r\n\r\n<b>date</b>*<br>\r\nThe date that this data was submitted or last updated formatted as the user\'s preferred date/time format.\r\n<p>\r\n\r\n\r\n<b>epoch</b>*<br>\r\nThe date that this data was submitted or last updated formatted as an epoch date.\r\n<p>\r\n\r\n<b>ipAddress</b>*<br>\r\nThe IP address of the user that submitted the data.\r\n<p>\r\n\r\n<b>edit.url</b>*<br>\r\nThe URL to the page to edit this entry.\r\n<p>\r\n\r\n<b>error_loop</b>*<br>\r\nA loop containing error information, for instance if someone doesn\'t fill out a required field.\r\n<p>\r\n\r\n<blockquote>\r\n\r\n<b>error.message</b>*<br>\r\nAn error message indicating what the user might have done wrong.\r\n\r\n</blockquote>\r\n\r\n<b>addField.url</b><br>\r\nThe URL that content managers will visit to add a new field to the form.\r\n<p>\r\n\r\n<b>addField.label</b><br>\r\nThe default label for the addField.url variable.\r\n<p>\r\n\r\n<b>form.start</b><br>\r\nThe beginning of the form.\r\n<p>\r\n\r\n<b>field_loop</b><br>\r\nA loop containing all of the field information.\r\n<p>\r\n\r\n<blockquote>\r\n\r\n<b>field.form</b><br>\r\nThe form element for this field.\r\n<p>\r\n\r\n<b>field.name</b><br>\r\nThe name of this field.\r\n<p>\r\n\r\n<b>field.value</b><br>\r\nThe value of this field. If this is new data, then the default value will be used.\r\n<p>\r\n\r\n<b>field.label</b><br>\r\nThe text label for this field.\r\n<p>\r\n\r\n<b>field.isHidden</b><br>\r\nA conditional indicating whether this field is supposed to be hidden. \r\n<p>\r\n\r\n<b>field.isDisplayed</b><br>\r\nA conditional indicating whether this field is supposed to be displayed. \r\n<p>\r\n\r\n<b>field.isEditable</b><br>\r\nA conditional indicating whether this field is editable. \r\n<p>\r\n\r\n<b>field.isRequired</b><br>\r\nA conditional indicating whether this field is required. \r\n<p>\r\n\r\n<b>field.isMailField</b><br>\r\nA conditional indicating whether this field is present only to facilitate sending an email. \r\n<p>\r\n\r\n\r\n<b>field.subtext</b><br>\r\nA description of the field so that users know what to put in the field.\r\n<p>\r\n\r\n<b>field.controls</b><br>\r\nWebGUI\'s administrative controls for this field.\r\n<p>\r\n\r\n</blockquote>\r\n\r\n<b>form.send</b><br>\r\nA form button with the word \"send\" printed on it.\r\n<p>\r\n\r\n<b>form.save/b><br>\r\nA form button with the word \"save\" printed on it.\r\n<p>\r\n\r\n<b>form.end</b><br>\r\nThe end of the form.\r\n<p>\r\n\r\n*Only available if the user has already submitted the form.',1053948922,NULL);
|
||||
INSERT INTO international VALUES (72,'DataForm',1,'You may add as many additional fields to your Data Form as you like.\r\n<br><br>\r\n\r\n<b>Label</b><br>\r\nThis is an informative text label to let the user know what this field represents.\r\n<p>\r\n\r\n<b>Field Name</b><br>\r\nThe name of this field. It must be unique among all of the other fields on your form.\r\n<p>\r\n\r\n<b>Subtext</b><br>\r\nAn extension of the label, this is a description of what should go in the field or optional instructions for the field.\r\n<p>\r\n\r\n<b>Status</b><br>\r\nHidden fields will not be visible to the user, but will be sent in the email.Displayed fields can be seen by the user but not modified. Modifiable fields can be filled in by the user. Required fields must be filled in by the user.\r\nIf you choose Hidden or Displayed, be sure to fill in a Default Value.\r\n<p>\r\n\r\n<b>Type</b><br>\r\nChoose the type of form element for this field. \r\n<p>\r\n\r\n<b>Width</b><br>\r\nSet the number of characters wide this field will be.\r\n<p>\r\n\r\n<b>Height</b><br>\r\nSet the number of characters tall this field will be. Only used on textarea and HTMLArea.\r\n<p>\r\n\r\n<b>Possible Values</b><br>\r\nThis field is used for the list types (like Checkbox List and Select List). Enter the values you wish to appear, one per line.\r\n<p>\r\n\r\n<b>Default Value (optional)</b><br>\r\nEnter the default value (if any) for the field. For Yes/No fields, enter \"yes\" to select \"Yes\" and \"no\" to select \"No\".\r\n<p>\r\n\r\n',1053855075,NULL);
|
||||
INSERT INTO international VALUES (80,'DataForm',1,'Email Template',1052044326,'A template that will construct the email to be sent.');
|
||||
INSERT INTO international VALUES (944,'WebGUI',1,'Zip Code',1051962797,'The American term for \"Postal Code\". When translating translate as \"Postal Code\".');
|
||||
|
|
@ -13860,7 +13860,7 @@ INSERT INTO template VALUES (1,'Default Syndicated Content','<tmpl_if displayTit
|
|||
INSERT INTO template VALUES (1,'Default Poll','<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<span class=\"pollQuestion\"><tmpl_var question></span><br />\r\n\r\n<tmpl_if canVote>\r\n\r\n <tmpl_var form.start>\r\n <tmpl_loop answer_loop>\r\n <tmpl_var answer.form> <tmpl_var answer.text><br />\r\n </tmpl_loop>\r\n <p />\r\n <tmpl_var form.submit>\r\n <tmpl_var form.end>\r\n\r\n<tmpl_else>\r\n\r\n <tmpl_loop answer_loop>\r\n <span class=\"pollAnswer\"><hr size=\"1\"><tmpl_var answer.text><br></span>\r\n <table cellpadding=0 cellspacing=0 border=0><tr>\r\n <td width=\"<tmpl_var answer.graphWidth>\" class=\"pollColor\"><img src=\"^Extras;spacer.gif\" height=\"1\" width=\"1\"></td>\r\n <td class=\"pollAnswer\"> <tmpl_var answer.percent>% (<tmpl_var answer.total>)</td>\r\n </tr></table>\r\n </tmpl_loop>\r\n <span class=\"pollAnswer\"><hr size=\"1\"><b><tmpl_var responses.label>:</b> <tmpl_var responses.total></span>\r\n\r\n</tmpl_if>\r\n\r\n','Poll');
|
||||
INSERT INTO template VALUES (1,'Mail Form','<tmpl_if displayTitle>\n <h1><tmpl_var title></h1>\n</tmpl_if>\n\n<tmpl_loop error_loop>\n <li><b><tmpl_var error.message></b>\n</tmpl_loop>\n\n\n<tmpl_if description>\n <tmpl_var description><p />\n</tmpl_if>\n\n<tmpl_if canEdit>\n <a href=\"<tmpl_var entryList.url>\"><tmpl_var entryList.label></a>\n · <a href=\"<tmpl_var export.tab.url>\"><tmpl_var export.tab.label></a>\n <tmpl_if session.var.adminOn>\n · <a href=\"<tmpl_var addField.url>\"><tmpl_var addField.label></a>\n </tmpl_if>\n <p /> \n</tmpl_if>\n\n<tmpl_var form.start>\n<table>\n<tmpl_loop field_loop>\n <tmpl_unless field.isHidden>\n <tr><td class=\"formDescription\" valign=\"top\">\n <tmpl_if session.var.adminOn><tmpl_if canEdit><tmpl_var field.controls></tmpl_if></tmpl_if>\n <tmpl_var field.label>\n </td><td class=\"tableData\" valign=\"top\">\n <tmpl_if field.isDisplayed>\n <tmpl_var field.value>\n <tmpl_else>\n <tmpl_var field.form>\n </tmpl_if>\n <tmpl_if field.required>*</tmpl_if>\n <span class=\"formSubtext\"><br /><tmpl_var field.subtext></span>\n </td></tr>\n </tmpl_unless>\n</tmpl_loop>\n<tr><td></td><td><tmpl_var form.send></td></tr>\n</table>\n\n<tmpl_var form.end>\n','DataForm');
|
||||
INSERT INTO template VALUES (2,'Default Email','<tmpl_var edit.url>\n\n<tmpl_loop field_loop><tmpl_unless field.isMailField><tmpl_var field.label>: <tmpl_var field.value>\n</tmpl_unless></tmpl_loop>','DataForm');
|
||||
INSERT INTO template VALUES (3,'Default Acknowlegement','<tmpl_var acknowlegement>\n<p />\n<table border=\"0\">\n<tmpl_loop field_loop>\n<tmpl_unless field.isMailField><tmpl_unless field.hidden>\n <tr><td class=\"tableHeader\"><tmpl_var field.label></td>\n <td class=\"tableData\"><tmpl_var field.value></td></tr>\n</tmpl_unless></tmpl_unless>\n</tmpl_loop>\n</table>\n<p />\n<a href=\"<tmpl_var back.url>\"><tmpl_var back.label></a>','DataForm');
|
||||
INSERT INTO template VALUES (3,'Default Acknowledgement','<tmpl_var acknowledgement>\r\n<p />\r\n<table border=\"0\">\r\n<tmpl_loop field_loop>\r\n<tmpl_unless field.isMailField><tmpl_unless field.hidden>\r\n <tr><td class=\"tableHeader\"><tmpl_var field.label></td>\r\n <td class=\"tableData\"><tmpl_var field.value></td></tr>\r\n</tmpl_unless></tmpl_unless>\r\n</tmpl_loop>\r\n</table>\r\n<p />\r\n<a href=\"<tmpl_var back.url>\"><tmpl_var back.label></a>','DataForm');
|
||||
INSERT INTO template VALUES (1,'Data List','<a href=\"<tmpl_var back.url>\"><tmpl_var back.label></a>\n<p />\n<table width=\"100%\">\n<tr>\n<td class=\"tableHeader\">Entry ID</td>\n<tmpl_loop field_loop>\n <tmpl_unless field.isMailField>\n <td class=\"tableHeader\"><tmpl_var field.label></td>\n </tmpl_unless field.isMailField>\n</tmpl_loop field_loop>\n<td class=\"tableHeader\">Submission Date</td>\n</tr>\n<tmpl_loop record_loop>\n<tr>\n <td class=\"tableData\"><a href=\"<tmpl_var record.edit.url>\"><tmpl_var record.entryId></a></td>\n <tmpl_loop record.data_loop>\n <tmpl_unless record.data.isMailField>\n <td class=\"tableData\"><tmpl_var record.data.value></td>\n </tmpl_unless record.data.isMailField>\n </tmpl_loop record.data_loop>\n <td class=\"tableData\"><tmpl_var record.submissionDate.human></td>\n</tr>\n</tmpl_loop record_loop>\n</table>','DataForm/List');
|
||||
|
||||
--
|
||||
|
|
@ -14107,7 +14107,7 @@ CREATE TABLE webguiVersion (
|
|||
--
|
||||
|
||||
|
||||
INSERT INTO webguiVersion VALUES ('5.3.0','initial install',unix_timestamp());
|
||||
INSERT INTO webguiVersion VALUES ('5.3.1','initial install',unix_timestamp());
|
||||
|
||||
--
|
||||
-- Table structure for table 'wobject'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue