[menubar menu=(_topmenu$) class=font_125]

[ttl]System Configuration[/ttl]

[form target=*setup][section whole][show infobox$ class="infobox show_till_change"][folder _setupfldr$ class=web size=1000px/38][tab]Site Info[/tab]

Site Name: | [input sitename$ required size=60 tip="Name to appear across the top of the screen. It will be included in all site generated emails."]
Site Image: | [input siteimage$ size=60 tip="Image to be displayed centered in the upper left of the standard site template. If desired, you can change this by clicking or dropping a new file in the region below the input." datalist=(sub(XEQ("*dirtree",x$,lwd+dlm+"images",x$),lwd+dlm+"images\","/images/"))]
| [upload imagefile$ size=60/2.5 event=upload]Click to upload site image file or drag-drop file here[/upload]
Site Homepage: | [input sitehomepage$ type=url size=60 tip="URL of the site you want the users to be directed to when they click the Image in the top left corner of the page. This URL will be brought up in a separate tab."]
Contact Email: | [input siteemail$ type=email size=60 tip="If provided, an email address that can be used to contact the site administrator. If present, a link to generate the email will be provided on the left side bar."]
Privacy Page: | [input siteprivacy$ type=url size=60 tip="If provided, a page that describes the site privacy rules. If not present, the system will check for the page _privacy in the application or use webster/page/privacy.html."]
Accept Cookies: | [checkbox cookiequery text="" tip="System will confirm that user will accept persistent cookies before creating any."] (Confirm with user)
Temporary File Directory: | [input tempDirectory$ size=30 tip="Location for the system to store any temporary files it may need."]
Force JS/CSS Reload: | [checkbox forceload text="" tip="This option can be set during development to effectively disable the browser caching of JavaScript or CSS files used by the site. This helps assure and changes on the server are applied immediately."]

[tab]Customizations[/tab]

Webster CSS & JS library |
Create/update Local Library: | [button event=makelib tip="Webster+ uses a number of JavaScript and stylesheet files. These are maintained in a library directory, which should be downloaded to your docroot/lib sub-directory. Click the Download lib button to create the library or to refresh the data."][symbol download] Download lib[/button] [button event=get_editors tip="Click this button to download the ED+ program editor and HTML editor to your docroot /lib sub-directory. This allows authorized users to edit programs and HTML files through the Webster+ Inspector."][symbol download] Download Editors[/button]
External Library URL Prefix: | [input library$ type=url size=60 tip="This should contain the prefix for any referenced CSS or JavaScript files used by the application. If not specified, the system will assume the default of the site name /lib."]
[show downloadmsg$ class=infobox]
Contents to include on each page
Custom CSS: | [input customCSS$ size=60/6 tip="This can contain any CSS code you want included in your application pages. At run time, the entered CSS code will be appended to the style element of the head section."]
CSS File URL: | [input ExtraCSSfile$ type=url size=60 tip="This is an optional field that contains the URL of a CSS file you want included on every Webster+ page. Only the URL is included, not the contents of the URL, so that the page can generally load faster. The URL must include http: or https: at the beginning of the link. Example: http://localhost:8088/custom.css"]
HTML: | [input ExtraHTML$ size=60/6 tip="This can contain any additional HTML code you want added to the end of all HTML pages. This code will always be inserted right before the body tag during run time. Most Web pages contain a footer section. This is a great way to have HTML code show on every Web page instead of having to code it at the bottom of every HTML file."]
JavaScript File URL: | [input ExtraJSfile$ type=url size=60 tip="This is an optional field that contains the URL of a JavaScript file you want included in your pages. The URL must include http: or https: at the beginning of the link. This code will always be inserted right before the body tag during run time. Example:http://localhost:8088/custom.js"]

[tab]Template[/tab]

Default Template File: | [input Template$ tip="This field contains the name of the template file used to create the Webster+ pages. It can be blank, in which case no template will be applied, or it can contain the name of a page to use. If the first character is an asterisk (*), then the system will first check for a file of the same name in your application search rules, replacing the * with a semi-colon. If that is not found, the system will drop the asterisk and look for the file in *webster/pages. Default value is *template.html."]
Header Height: | [input HeaderHeight format="###0" tip="This field defines the height of the header found in the template file. Default is 50 pixels.If this is set to 0, the header will not appear on the page."] (pixels)
Left Edge Width: | [input HeaderWidth format="###0" tip="This field defines the width of the left edge found in the template file. Default is180 pixels. If this is set to 0, the left edge will not appear on the page."] (pixels)
Default Start page: | [input StartPage$ tip="This field defines the system default starting page to be used when a browser connects. Default value is *default, which will come from the *webster/pages/default.html file or _default.html in the application pages directory."]
[subttl]Template Colors[/subttl]
| Background | Text |
Top Left Corner: | [input clrCorner$ type=color] |  |
Left Edge: | [input clrLeftBack$ type=color] | [input clrLeftText$ type=color] |
Top Edge: | [input clrTopBack$ type=color] | [input clrTopText$ type=color] |
Page Contents: | [input clrPageBack$ type=color] | [input clrPageText$ type=color] |
Locked Input: | [input clrLockedBack$ type=color] |  |
Query Even Line: | [input clrAlternateBack$ type=color] |  | [button event=reset_color text="Reset to Default colors" ]

[tab]Security[/tab]

Security Enabled: | [checkbox HasSecurity text="" tip="Selecting the check box will enable security."][if %webster'Security][link event=resync class=float_right target=same][symbol refresh] Upgrade Tables[/link][/if]
Use Nomads Security file: | [checkbox UseNomadsSecurity text="" tip="Set this option to allow Webster+ to share the user registration files with NOMADS/iNomads. Once it is enabled, user information will be maintained in Webster+ on the same file as NOMADS uses. If NOMADS security is not set up, the NOMADS user registration files will be created with the ADMIN user."]
Self-registration Group: | [input SelfRegister$ len=20 size=20 tip="Name of the user group that will be assigned to any user that self-registers. If left blank, self-registration is not possible."] (No self-registration if empty)
Password Regular Expression: | [input PswdRegExp$ size=60 tip="Regular expression to be used to validate that the password entered matches the Site security requirements. Default is 8 characters with at least one uppercase letter, one lowercase letter, and a digit."]
Password Tip: | [input PswdTip$ size=60/4 tip="Tip that will be assigned to the system password fields."]
Web Password Duration: | [input PswdDuration format="####" len=4 tip="This is the number of days that the system will allow the user's password to be preserved on a workstation before forcing the user to reset the password. Default is 30 days."] days (0=Don't allow saving)
Desktop Password Duration: | [input DesktopPswdHrs format="####" len=4 tip="This is the number of hours that the password will remain active when running a Webster+ application using the *Webster/Desktop utility. Default is 4 hours."] hrs (0=Don't auto save)
Two-step Verification: | [list TwoStepVerify$ tip="This controls whether the system will force two-step verification."][data valsep="="] Don't use=N Use on new device=Y Always use=A [/data][/list]
Workstation Duration: | [input WsDuration format="####" len=4 tip="When using two-step verification, this is the number of days before a workstation will have to be re-validated."] days between two-step re-verification
Group if not signed on: | [input NotOnGroup$ len=20 size=20 tip="If present, this is the Security group that will be assigned for public access. Group specified can be used to define what that user can access beyond the logon prompt."]
[subttl]Administrative User[/subttl]
Userid: | [input AdminUser$ len=24 format="pattern:^\[a-zA-Z\]\[a-zA-Z0-9\-_\.\]{4,23}$" tip="Userid to be used for the system administrator. Default is Admin. It must be between 5 and 24 characters; start with a letter and contain letters, numbers, dot, dash, or underscore."]
Password: | [input _AdminPswd$ type=password format=("pattern:"+%webster'PswdRegExp$) size=60 len=50 tip=(%webster'PswdTip$)]
Email: | [input AdminEmail$ type=email size=60 tip="Administrator's email address."]

[if %webster'hasSecurity]

[tab]Access Control[/tab]

Inspector Edit Access: | [list EditAccess$ query=*webster/scrnlib.en;groups drop tip="This controls which specific group of users is allowed to create/delete files and directories, as well as make changes using the Edit button when viewing a file's contents through the Webster+ Inspector. Default is the System Administrators group. User groups are defined in Group Maintenance."][/list]

[/if]

[tab]Email[/tab]

Email Address: | [input emailfrom$ size=60 type=email autocomplete=no tip="Email address used for all emails sent by the system, such as password reset requests and two-step verifications."]
| (Outbound emails use this acct)
SMTP Server: | [input emailsmtp$ size=60 tip="Name of the SMTP server used to send emails."]
SMTP Port: | [input emailport format=### tip="Port number that the email server monitors. Some commonly used ports are 25, 465 or 587."]
| Set server for: [link event=gmail text=Gmail], [link event=outlook text=outlook.com], [link event=office365 text=office365.com], or [link event=yahoo text=Yahoo!!]
SMTP Account: | [input emailacct$ tip="Account name to use when connecting to the email server, if required."]
Account Password: | [input emailpswd$ type=password autocomplete=new-password tip="Account password for the SMTP account."]
[subttl]Test Email Setup[/subttl]
Send test email to: | [input _testemail$ type=email size=60 tip="Account password for the SMTP account."] [button event=testemail][symbol envelope] Test[/button]
| [show emailmsg$ class="infobox show_till_change flex" tip="SMS provider to be used to send any SMS by the system, such as requests for two-step verifications."]

[tab]SMS[/tab]

SMS Provider: | [list smsservice$ tip="SMS provider to be used to send any SMS by the system, such as requests for two-step verifications."][data] clickatell eztexting vonage twilio seven smsbroadcast[/data][/list]
SMS Account: | [input smsacct$ tip="Account name to use when connecting with the SMS provider."]
SMS Passcode: | [input smspasscode$ type=password tip="Account password/passcode."]
[subttl]Test SMS Setup[/subttl]
Send test SMS message to: | [input _testsms$ size=20 tip="Setup a test SMS message by entering a cell phone number and then click the Test button."] [button event=testsms][symbol mobile] Test[/button]
| [show smsmsg$ class="infobox show_till_change flex"]

[tab]Misc.[/tab]

Chart legend location: | [list ChartLegendLocation$ tip="Select legend location, options: Top, Right, Bottom, or Left"][data] Top Right Bottom Left None[/data][/list]
Grid lines on Queries and Smart lists: | [list GridLines$ tip="Select the type of grid lines to display: None, Vertical, Horizontal, or Both"][data valsep="="] None=n Vertical=v Horizontal=h Both=*[/data][/list]
Use alternating colors in queries: | [checkbox QueryAlternating text="" tip="Set this option if you want queries to use alternating colors by default. If enabled, every second line will have background shading applied"]
Wiki Subsystem Enabled: | [checkbox WikiEnabled text="" tip="Set this option if you want the system to check for Wiki documentation on the pages in the system. Adds a Wiki link to all Webster+ pages"]
Wiki link text: | [input WikiLinkText$ size=20 tip="Set this value to the HTML text you want displayed in the top right corner of the page when Wiki documentation is available or can be edited/added to the system. Default is Info. The text will appear blue if the Wiki is present or red if not present but could be added."]
Dynamic Wiki Creation: | [checkbox WikiOnTheFly text="" tip="Set this option if you want the system to dynamically create basic Wiki documentation on the fly for the pages displayed."]
Google Maps APIKEY: | [input GoogleMapKey$ size=50 tip="API key for Google Maps. If you are going to use the Webster+ Google Maps interface, you can supply your Google Maps API key to the system so that it does not have be supplied in the forms 'map' short code."]
Enable MSGBOX directive: | [checkbox EnableMSGBOX text="" tip="This option is for debugging. When enabled, will allow the application to issue MSGBOX directives for display on the server console. By default, this option is Off and should only be enabled during local development on the Webster+ server."]
File Maint to use Message box: | [checkbox FM_MsgBox text="" tip="File maintenance to use message boxes instead of option boxes. When checked (default), all messages will display in message boxes. If unchecked, all messages will use option boxes."]
iNomads URL/port: | [input inomadsURL$ size=50 text="" tip="URL for iNomads (e.g. https://www.example.com/inomads) or if using the same domain as Webster+, just a different Port #."]
Save error dumps: | [checkbox saveErrorDumps text="" tip="Set this option if you want error dumps to be saved in the data/dump directory. This information will be viewable via the Statistics page." event=update_dump_email]
Error dump email notification: | [input DumpNotificationEmail$ id=dump_email disabled size=60 text="" tip="This will only become available when the 'Save error dumps' check box is selected. Email address to send a notification to when an error dump occurs. Email server information must be set up on the Email tab."]
New user email notification: | [input NewUserNotificationEmail$ size=60 text="" tip="Email address to send a notification to when a new user creates an account. Email server information must be set up on the Email tab."]

[/folder][hide loaded][hide _fm_changes value=0][button validate event=save][symbol save] Save[/button]
[show statusmsg$ class="infobox show_till_change"]
[/section][/form]