[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]
Site Image: [input  siteimage$ size=60 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]
Contact Email: [input siteemail$ type=email size=60]
Privacy Page: [input siteprivacy$ type=url size=60]
Accept Cookies: [checkbox cookiequery text=""] (Confirm with user)
Temporary File Directory: [input tempDirectory$ size=30]
Force JS/CSS Reload: [checkbox forceload text=""] 

[tab]Customizations[/tab]

Webster CSS & JS library  
Create/update Local Library: [button event=makelib][symbol download] Download lib[/button] [button event=get_editors][symbol download] Download Editors[/button] 
External Library URL Prefix: [input library$ typ=url size=60]
[show downloadmsg$ class=infobox]
Contents to include on each page
Custom CSS: [input customCSS$ size=60/6]
CSS File URL: [input ExtraCSSfile$ type=url size=60]
HTML: [input ExtraHTML$ size=60/6]
JavaScript File URL: [input ExtraJSfile$ type=url size=60]

[tab]Template[/tab]

Default Template File: [input Template$]
Header Height: [input HeaderHeight format="###0"] (pixels)
Left Edge Width: [input HeaderWidth format="###0"] (pixels)
Default Start page: [input StartPage$]
[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=""][if %webster'Security][link event=resync class=float_right target=same][symbol refresh] Upgrade Tables[/link][/if]
Use Nomads Security file: [checkbox UseNomadsSecurity text=""]
Self-registration Group: [input SelfRegister$ len=20 size=20] (No self-registration if empty)
Password Regular Expression: [input PswdRegExp$ size=60]
Password Tip: [input PswdTip$ size=60/4]
Web Password Duration: [input PswdDuration format="####" len=4] days (0=Don't allow saving)
Desktop Password Duration: [input DesktopPswdHrs format="####" len=4] hrs (0=Don't auto save)
Two-step Verification: [list TwoStepVerify$][data valsep="="]
Don't use=N
Use on new device=Y
Always use=A
[/data][/list]
Workstation Duration: [input WsDuration format="####" len=4] days between two-step re-verification
Group if not signed on: [input NotOnGroup$ len=20 size=20]
[subttl]Administrative User[/subttl]
Userid: [input AdminUser$ len=24 format="pattern:^\[a-zA-Z\]\[a-zA-Z0-9\-_\.\]{4,23}$" tip="Username 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]

[if %webster'hasSecurity]

[tab]Access Control[/tab]

Inspector Edit Access: [list EditAccess$ query=*webster/scrnlib.en;groups drop][/list]

[/if]

[tab]Email[/tab]

Email Address: [input emailfrom$ size=60 type=email autocomplete=no]
  (Outbound emails use this acct)
SMTP Server: [input emailsmtp$ size=60]
SMTP Port: [input emailport format=###]
  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$]
Account Password: [input emailpswd$ type=password autocomplete=new-password]
[subttl]Test Email Setup[/subttl]
Send test email to: [input _testemail$ type=email size=60] [button event=testemail][symbol  envelope] Test[/button]
  [show emailmsg$ class="infobox show_till_change flex"]

[tab]SMS[/tab]

SMS Provider: [list smsservice$][data]
clickatell
eztexting
vonyage
twillio
seven
smsbroadcast[/data][/list]
SMS Account: [input smsacct$]
SMS Passcode: [input smspasscode$ type=password]
[subttl]Test SMS Setup[/subttl]
Send test SMS message to: [input _testsms$ size=20] [button event=testsms][symbol mobile] Test[/button]
  [show smsmsg$ class="infobox show_till_change flex"]

[tab]Misc.[/tab]

Chart legend location: [list ChartLegendLocation$ notes="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$ notes="Select 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="If enabled, every second line will have background shading applied"]
Wiki Subsystem Enabled: [checkbox WikiEnabled text="" tip="Add Wiki link to Webster pages"]
Wiki link text: [input WikiLinkText$ size=20 tip="Text/HTML to all in Wiki link"]
Dynamic Wiki Creation: [checkbox WikiOnTheFly text="" tip="Generate Wiki Pages on the fly"]
Google Maps APIKEY: [input GoogleMapKey$ size=50 tip="Google API key for maps"]
Enable MSGBOX directive: [checkbox EnableMSGBOX text="" tip="Enable the use of MSGBOX directive for debugging"]
File Maint to use Message box: [checkbox FM_MsgBox text="" tip="File maintenance to use message boxes instead of option boxes"]
iNomads URL/port: [input inomadsURL$ size=50 text="" tip="URL for iNomads (e.g. https://www.example.com/inomads) or if same as Webster just Port #"]
Save error dumps: [checkbox saveErrorDumps text="" tip="Error dumps will be saved in the data/dump directory and be viewable via the statistics page" event=update_dump_email]
Error dump email notification: [input DumpNotificationEmail$ id=dump_email disabled size=60 text="" tip="Send a notification email an error dump happened."]
New user email notification: [input NewUserNotificationEmail$ size=60 text="" tip="Send a notification email when a new user creates an account."]

 

[/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]