Merge branch 'master' of ssh://numinibsd/git/base/enigma-bbs

This commit is contained in:
Bryan Ashby
2015-12-24 11:59:37 -07:00
14 changed files with 330 additions and 50 deletions

View File

@@ -190,7 +190,7 @@
}
ET2: {
argName: realName
maxLength: 32
maxLength: @config:users.realNameMax
validate: @systemMethod:validateNonEmpty
}
MET3: {
@@ -206,21 +206,21 @@
}
ET5: {
argName: location
maxLength: 32
maxLength: @config:users.locationMax
validate: @systemMethod:validateNonEmpty
}
ET6: {
argName: affils
maxLength: 32
maxLength: @config:users.affilsMax
}
ET7: {
argName: email
maxLength: 255
maxLength: @config:users.emailMax
validate: @systemMethod:validateEmailAvail
}
ET8: {
argName: web
maxLength: 255
maxLength: @config:users.webMax
}
ET9: {
argName: password
@@ -287,7 +287,7 @@
}
ET2: {
argName: realName
maxLength: 32
maxLength: @config:users.realNameMax
validate: @systemMethod:validateNonEmpty
}
MET3: {
@@ -303,21 +303,21 @@
}
ET5: {
argName: location
maxLength: 32
maxLength: @config:users.locationMax
validate: @systemMethod:validateNonEmpty
}
ET6: {
argName: affils
maxLength: 32
maxLength: @config:users.affilsMax
}
ET7: {
argName: email
maxLength: 255
maxLength: @config:users.emailMax
validate: @systemMethod:validateEmailAvail
}
ET8: {
argName: web
maxLength: 255
maxLength: @config:users.webMax
}
ET9: {
argName: password
@@ -625,6 +625,7 @@
}
}
}
mainMenuUserConfig: {
module: @systemModule:user_config
art: CONFSCR
@@ -632,30 +633,83 @@
0: {
mci: {
ET1: {
argName: email
argName: realName
maxLength: @config:users.realNameMax
validate: @systemMethod:validateNonEmpty
focus: true
}
ET2: {
argName: location
ME2: {
argName: birthdate
maskPattern: "####/##/##"
}
ET3: {
argName: webAddress
ME3: {
argName: sex
maskPattern: A
textStyle: upper
validate: @systemMethod:validateNonEmpty
}
ET4: {
argName: location
maxLength: @config:users.locationMax
validate: @systemMethod:validateNonEmpty
}
ET5: {
argName: affils
maxLength: @config:users.affilsMax
}
ME5: {
maskPattern: "####/##/##"
argName: birthdate
ET6: {
argName: email
maxLength: @config:users.emailMax
validate: @method:validateEmailAvail
}
ME11: {
maskPattern: "##x##"
argName: termSize
ET7: {
argName: web
maxLength: @config:users.webMax
}
ME8: {
maskPattern: "##"
argName: termHeight
validate: @systemMethod:validateNonEmpty
}
SM9: {
argName: theme
}
ET10: {
argName: password
maxLength: @config:users.passwordMax
password: true
validate: @method:validatePassword
}
ET11: {
argName: passwordConfirm
maxLength: @config:users.passwordMax
password: true
validate: @method:validatePassConfirmMatch
}
TM25: {
argName: submission
items: [ "save", "cancel" ]
submit: true
}
}
submit: {
*: [
{
value: { submission: 0 }
action: @method:saveChanges
}
{
value: { submission: 1 }
action: @systemMethod:prevMenu
}
]
}
actionKeys: [
{
keys: [ "escape" ]
action: @method:exitKeyPressed
action: @systemMethod:prevMenu
}
]
}

View File

@@ -14,7 +14,7 @@ exports.getModule = NewUserAppModule;
exports.moduleInfo = {
name : 'NUA',
desc : 'New User Application',
}
};
var MciViewIds = {
userName : 1,

View File

@@ -273,6 +273,28 @@
ST8: { width: 17 }
}
}
mainMenuUserConfig: {
mci: {
ET1: { width: 27 }
ME2: { width: 27 }
ME3: { width: 27 }
ET4: { width: 27 }
ET5: { width: 27 }
ET6: { width: 27 }
ET7: { width: 27 }
ET8: { width: 27 }
ET9: { width: 27 }
ET10: { width: 18 }
ET11: { width: 18 }
TL20: { width: 71 }
TL21: { width: 43 }
TM25: {
focusTextStyle: first lower
}
}
}
}
}
}