// Inline definitions of stuff from HTMLPages // These save users having to update HTMLPages every time something changes // Doing it as functions instead of static text allows edit and continue debugging #define BTNCOLOUR "red" char * WebMailMsgtxt() { char Msg[] = "" " " " " " " "" "\r\n" "\r\n" "WebMail " "\r\n" "" "

%s Webmail Interface - User %s - Message %d

" "" "" "" "%s" "" "" "" "
ReplyKill MessageNextPreviousBack to List
" "
" "
" "<%s id=\"txt\" style=\"overflow:auto;\" align=left>%s" "
"; return _strdup(Msg); } char * FwdPagetxt() { char Msg[] = "" "" "" "Edit Forwarding" "\r\n" "" "

BPQ32 BBS %s

" "" " " " " " " " " " " " " " " " " " " " " " " " " " " "
StatusConfigurationUsersMessagesForwardingWelcome Msgs & PromptsHousekeepingWP UpdateNode Menu
" "
" "
" "
" "
" "
" "Max size to Send
" "
" "Max Size to Receive
" "
" "Max age for Bulls
" "
" "Warn if no route
" " for P or T
" "
" "Use Local Time 
" "
" "Send P Msgs to more than one BBS 
" "
" "Aliases
" "
" "

" "
" "
" "
" "
" "
" "
" ""; return _strdup(Msg); } char * FwdDetailtxt() { char Msg[] = "\r\n" "

Forwarding Config for %s - %d Messages Queued

\r\n" "  TO            AT         \r\n" " TIMES         Connect Script
\r\n" " \r\n" " \r\n" " \r\n" "
\r\n" "Hierarchical Routes (Flood Bulls) HR (Personals and Directed Bulls)\r\n" " \r\n" "\r\n" "

\r\n" "BBS HA
\r\n" "Enable Forwarding  Interval (Secs)
\r\n" "Request Reverse    Interval (Secs)
\r\n" "Send new messages without waiting for poll timer
\r\n" "FBB Blocked Max Block \r\n" "Send Personal Mail Only
\r\n" "Allow Binary Use B1 Protocol   Use B2 Protocol
\r\n" "Send ctrl/Z instead of /ex in text mode forwarding
\r\n" "Incoming Connect Timeout (Secs)
\r\n" "
\r\n" "\r\n" " \r\n" "\r\n" "\r\n" "
\r\n"; return _strdup(Msg); } char * webscriptjs() { char Msg[] = "\r\n" "var Main\r\n" "var fromleft;\r\n" "\r\n" "function initialize(mainoffset)\r\n" "{\r\n" " var w=window,d=document,e=d.documentElement,g=d.getElementsByTagName('body')[0];\r\n" " x=w.innerWidth; //||e.clientWidth||g.clientWidth;\r\n" " y=w.innerHeight; //||e.clientHeight||g.clientHeight; \r\n" " Main = document.getElementById(\"main\");\r\n" " w = x; \r\n" " if (w > 920) {w = 920;}\r\n" " fromleft = (x / 2) - (x - 150)/2;\r\n" " if (fromleft < 0) {fromleft = 0;}\r\n" " Main.style.left = fromleft + \"px\";\r\n" " Main.style.width = x - 150 + \"px\";\r\n" " Main.style.height = y - mainoffset + \"px\";\r\n" "}\r\n" "function newmsg(Key)\r\n" "{\r\n" "var param = \"toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,titlebar=yes,toobar=yes\";\r\n" "window.open(\"/WebMail/NewMsg?\" + Key,\"_self\",param);\r\n" "}\r\n" "function Reply(Num, Key)\r\n" "{\r\n" "var param = \"toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,titlebar=yes,toobar=yes\";\r\n" "window.open(\"/WebMail/Reply/\" + Num + \"?\" + Key,\"_self\",param);\r\n" "}\r\n"; return _strdup(Msg); } char * WebMailPagetxt() { char Msg[] = "\r\n" " \r\n" " \r\n" " \r\n" " \r\n" "\r\n" "\r\n" "WebMail \r\n" "\r\n" "\r\n" "\r\n" "

%s Webmail Interface - User %s - Message List

\r\n" "\r\n" "\r\n" "\r\n" "\r\n" "\r\n" "\r\n" "\r\n" "\r\n" "\r\n" "\r\n" "
BullsPersonalNTSAll TypesMineAuto RefreshSend MessageLogoutNode Menu
\r\n" "
\r\n" "
\r\n" "
%s
\r\n" "
\r\n" "\r\n" "\r\n"; return _strdup(Msg); } char * MainConfigtxt() { char Msg[] = "\r\n" "\r\n" "Main Configuration\r\n" "\r\n" "" "\r\n" "\r\n" "

BPQ32 BBS %s

\r\n" "\r\n" "\r\n" "\r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" "
StatusConfigurationUsersMessagesForwardingWelcome Msgs & PromptsHousekeepingWP UpdateNode Menu
\r\n" "
\r\n" "
Main Configuration
\r\n" "\r\n" "
\r\n" "
\r\n" "

 BBS Params

\r\n" " BBS Call   SYSOP\r\n" "Call
\r\n" " H Route   \r\n" " Redirect msgs to BBS Call to SYSOP Call
\r\n" "
\r\n" " BBS APPL No   Streams\r\n" "
\r\n" "
\r\n" " Send System Msgs to\r\n" "SYSOP Call
\r\n" " Refuse Bulls
\r\n" " Enable FBB UI System
\r\n" "    Send Mail For Beacons every  Minutes
\r\n" " Don't Hold Messages From New Users
\r\n" " Set Don't add WINLINK.ORG flag on new users
\r\n" " Don't Request Name
\r\n" " Don't Request Home BBS
\r\n" " Dont Check From Call
\r\n" " Allow users to kill T messages
\r\n" " Forward Messages to BBS Call
\r\n" " Don't allow unknown users

\r\n" " POP3 Port   \r\n" "SMTP Port NTPPort   Enable Remote Access
\r\n" " AMPR Address Send AMPR Mail to AMPR host\r\n" "\r\n" "

 ISP Params

\r\n" " Enable ISP\r\n" "Interface
\r\n" " My Domain               
\r\n" " SMTP Server        Port     SMTP Domain  
\r\n" " POP3 Server        Port    
\r\n" " ISP Account Name   \r\n" "Password
\r\n" " POP3 Poll Interval  \r\n" " SMTP Server Requires Authentication\r\n" "

 WP Params

\r\n" " Send WPUpdates    \r\n" " Reject WP Bulls     \r\n" " Type BType P

\r\n" " WP Destinations
 
\r\n" "

 Message Filters

\r\n" " Reject From  Reject\r\n" "To    Reject At   Reject BID  Hold " "From    Hold\r\n" "To     Hold At    Hold BID
 \r\n" " \r\n" " \r\n" " \r\n" " \r\n" "\r\n" " \r\n" "\r\n" "\r\n" "\r\n" "
\r\n" "
\r\n" "
\r\n"; return _strdup(Msg); } char * MsgPagetxt() { char Msg[] = "\r\n" " \r\n" " \r\n" " \r\n" " \r\n" "\r\n" "\r\n" "Edit Messages \r\n" "\r\n" "\r\n" "\r\n" "

BPQ32 BBS %s

\r\n" "\r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" "
StatusConfigurationUsersMessagesForwardingWelcome Msgs & PromptsHousekeepingWP UpdateNode Menu
\r\n" "\r\n" "
\r\n" "
\r\n" "
\r\n" "
\r\n" "
Filter
\r\n" "From
\r\n" "To   \r\n" "Via 
\r\n" "BID  \r\n" "
\r\n" "
\r\n" "
\r\n" "\r\n" "\r\n"; return _strdup(Msg); } char * UserDetailtxt() { char Msg[] = "\r\n" "
\r\n" "

Update User %s

\r\n" "
\r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " " " " " \r\n" "\r\n" " " "
BBSPermit Email
PMSRMS Express User
SYSOPPoll RMS
Expert   For SSID's \r\n" "\r\n" "\r\n" "\r\n" "
ExcludedHold Messages
Include SYSOP msgs in LM Don't add @winlink.org
\r\n" "
Allow Sending BullsNTS MPS
Redirect to RMS
Send APRS Mail For to SSID" "
" "
\r\n" "
\r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" "
Connects In
\r\n" "
%d
\r\n" "
Msgs in
\r\n" "
%d
\r\n" "
Rejects In
\r\n" "
%d
\r\n" "
Connects Out
\r\n" "
%d
\r\n" "
Msgs Out
\r\n" "
%d
\r\n" "
Rejects Out
\r\n" "
%d
\r\n" "
Bytes In
\r\n" "
%d
\r\n" "
Last Connect%s
Bytes Out
\r\n" "
%d
\r\n" "

\r\n" "
Last Listed
\r\n" "

\r\n" "
\r\n" "
\r\n" "
\r\n" "Name    
\r\n" "Password  \r\n" "CMS Pass  \r\n" "
\r\n" "QTH      ZIP
\r\n" "Home BBS
\r\n" "
\r\n" "
\r\n" " \r\n" " \r\n" " \r\n" "
\r\n" "
\r\n" "
\r\n" "\r\n"; return _strdup(Msg); } char * UserPagetxt() { char Msg[] = "\r\n" " \r\n" " \r\n" "" " \r\n" " \r\n" "\r\n" "\r\n" "Edit Users \r\n" "\r\n" "\r\n" "\r\n" "

BPQ32 BBS %s

\r\n" "\r\n" "\r\n" "\r\n" "\r\n" "\r\n" "\r\n" "\r\n" "\r\n" "\r\n" "
StatusConfigurationUsersMessagesForwardingWelcome Msgs & PromptsHousekeepingWP UpdateNode Menu
\r\n" "
\r\n" "
\r\n" "
\r\n" "
\r\n" "
\r\n" "\r\n" "\r\n"; return _strdup(Msg); } char * Housekeepingtxt() { char Msg[] = "\r\n" "\r\n" "\r\n" " \r\n" "\r\n" "Housekeeping\r\n" "" "\r\n" "\r\n" "\r\n" "

BPQ32 BBS %s

\r\n" "\r\n" "\r\n" "\r\n" "\r\n" "\r\n" "\r\n" "\r\n" "\r\n" "\r\n" "
StatusConfigurationUsersMessagesForwardingWelcome Msgs & PromptsHousekeepingWP UpdateNode Menu
\r\n" "
\r\n" "
Housekeeping
\r\n" "\r\n" "
\r\n" "
\r\n" "
Parameters

\r\n" "
\r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" "
Maintenance Time (UTC)
Maintenance Interval (Hrs)
Max Message Number
BID Lifetime (Days)
Log File Lifetime (days)
Delete Inactive Users (days)
\r\n" "
\r\n" "Delete Messages and logs
\r\n" "to recycle bin
\r\n" "
\r\n" "Send Non-delivery Notifications
\r\n" "for P and T messages
\r\n" "
\r\n" "Supress Mailing of
\r\n" "Housekeeping Result

\r\n" "Generate Traffic Report

\r\n" "
\r\n" "
\r\n" "
Lifetimes (Days)
\r\n" "
\r\n" "\r\n" "
Personals\r\n" "
\r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" "
Read
Unread
Forwarded
Unforwarded
\r\n" "
\r\n" "
Bulletins\r\n" "
\r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" "
Forwarded
Unforwarded
\r\n" "
\r\n" " \r\n" "
NTS\r\n" "
\r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" "
Delivered
Forwarded
Unforwarded
\r\n" "
\r\n" "\r\n" " \r\n" " \r\n" " \r\n" "
The following boxes allow you to specify different\r\n" "values for different Bulletin origins and destinations. Normally these apply to Sent Messages. To apply to unsent, check box below.

\r\n" "Specify Call, Lifetime....eg ALL, 10

\r\n" "     \r\n" "From       \r\n" "   \r\n" "To             \r\n" "At
\r\n" "
\r\n" "
\r\n" " Apply Overrides to unsent Bulls
\r\n" "
\r\n" "
\r\n" "
\r\n" "\r\n" "
\r\n" "
\r\n" "
\r\n"; return _strdup(Msg); } char * WPtxt() { char Msg[] = "\r\n" "\r\n" "\r\n" "\r\n" "\r\n" "\r\n" "Edit WP\r\n" "\r\n" "\r\n" "\r\n" "

BPQ32 BBS %s

\r\n" "\r\n" "\r\n" "\r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" "
StatusConfigurationUsersMessagesForwardingWelcome Msgs & PromptsHousekeepingWP UpdateNode Menu
\r\n" "
\r\n" "
White Pages
\r\n" "
\r\n" "
\r\n" "
\r\n" "
\r\n" "\r\n"; return _strdup(Msg); } char * ChatConfigtxt() { char Msg[] = "\r\n" "\r\n" "" "\r\n" "Chat Configuration\r\n" "\r\n" "\r\n" "ChatP\r\n" "\r\n" "\r\n" "

BPQ32 Chat Node %s

\r\n" "\r\n" "\r\n" "\r\n" "\r\n" "\r\n" "\r\n" "
StatusConfigurationNode Menu
\r\n" "
\r\n" "
Chat Configuration
\r\n" "
\r\n" "
\r\n" "

 Chat Server Params

\r\n" "Chat APPL No  \r\n" "
\r\n" "Streams    \r\n" "  
\r\n" " 
\r\n" " The Nodes to link to box defines which other Chat Nodes should be connected to, or from which " "connections may be accepted. The format is ALIAS:CALL, eg BPQCHT:G8BPQ-4. Note these must be directly " "connectable - ie in your NODES table.
\r\n" "
\r\n" " 
\r\n" "
\r\n" " Map Position
\r\n" "
\r\n" " Popup Type    Hover \r\n" "Click
\r\n" "
\r\n" "Map Popup Text
\r\n" " \r\n" "

Welcome Message
\r\n" "
\r\n" "
\r\n" "\r\n" "
\r\n" " \r\n" " \r\n" " \r\n" "
\r\n" "
\r\n" "
\r\n"; return _strdup(Msg); } char * ChatStatustxt() { char Msg[] = "\r\n" "\r\n" "" "\r\n" "\r\n" "%s's Chat Server\r\n" " \r\n" "\r\n" "\r\n" "

BPQ32 Chat Server %s

\r\n" "\r\n" "\r\n" "\r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" "
StatusConfigurationNode Menu
\r\n" "\r\n" "
\r\n" "\r\n" "
\r\n" "
\r\n" "
\r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" "%s\r\n" " \r\n" "
UserCallsignStreamTopicQueue
\r\n" " \r\n" " \r\n" "
\r\n" "
\r\n" "
\r\n" "
\r\n" "\r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" "%s\r\n" " \r\n" "
CallsignNodeNameTopicIdleQTH
\r\n" "
\r\n" "
\r\n" "\r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" " \r\n" "%s\r\n" " \r\n" "
CallsignStateNodesUsers
\r\n" "
\r\n" "
\r\n"; return _strdup(Msg); }