BBS list contributed by Apam!

This commit is contained in:
Bryan Ashby 2016-07-09 23:08:33 -06:00
parent 426b466496
commit de1712e104
4 changed files with 144 additions and 0 deletions

View File

@ -739,6 +739,10 @@
value: { command: "CHAT"}
action: @menu:ercClient
}
{
value: { command: "BBS"}
action: @menu:bbsList
}
{
value: 1
action: @menu:mainMenu
@ -1140,6 +1144,109 @@
}
}
bbsList: {
desc: Viewing BBS List
module: bbs_list
options: {
cls: true
}
config: {
art: {
entries: BBSLIST
add: BBSADD
}
}
form: {
0: {
mci: {
VM1: { maxLength: 32 }
TL2: { maxLength: 32 }
TL3: { maxLength: 32 }
TL4: { maxLength: 32 }
TL5: { maxLength: 32 }
TL6: { maxLength: 32 }
TL7: { maxLength: 32 }
TL8: { maxLength: 32 }
TL9: { maxLength: 32 }
}
actionKeys: [
{
keys: [ "a" ]
action: @method:addBBS
}
{
// :TODO: add delete key
keys: [ "d" ]
action: @method:deleteBBS
}
{
keys: [ "q", "escape" ]
action: @method:quitBBSList
}
]
}
1: {
mci: {
ET1: {
argName: name
maxLength: 32
validate: @systemMethod:validateNonEmpty
}
ET2: {
argName: sysop
maxLength: 32
validate: @systemMethod:validateNonEmpty
}
ET3: {
argName: telnet
maxLength: 32
validate: @systemMethod:validateNonEmpty
}
ET4: {
argName: www
maxLength: 32
}
ET5: {
argName: location
maxLength: 32
}
ET6: {
argName: software
maxLength: 32
}
ET7: {
argName: notes
maxLength: 32
}
TM17: {
argName: submission
items: [ "save", "cancel" ]
submit: true
}
}
actionKeys: [
{
keys: [ "escape" ]
action: @method:cancelSubmit
}
]
submit: {
*: [
{
value: { "submission" : 0 }
action: @method:submitBBS
}
{
value: { "submission" : 1 }
action: @method:cancelSubmit
}
]
}
}
}
}
///////////////////////////////////////////////////////////////////////
// Doors Menu
///////////////////////////////////////////////////////////////////////

Binary file not shown.

Binary file not shown.

View File

@ -243,6 +243,43 @@
}
}
bbsList: {
0: {
mci: {
VM1: {
height: 11
width: 22
focusTextStyle: first upper
}
TL2: { width: 28 }
TL3: { width: 28 }
TL4: { width: 28 }
TL5: { width: 28 }
TL6: { width: 28 }
TL7: { width: 28 }
TL8: { width: 28 }
TL9: { width: 28 }
}
},
1: {
mci: {
ET1: { width: 32 }
ET2: { width: 32 }
ET3: { width: 32 }
ET4: { width: 32 }
ET5: { width: 32 }
ET6: { width: 32 }
ET7: { width: 32 }
ET8: { width: 32 }
TM17: {
focusTextStyle: first upper
}
}
}
}
messageAreaViewPost: {
0: {
mci: {