Added timelimit option to Survey

This commit is contained in:
Kaleb Murphy 2008-11-23 23:54:35 +00:00
parent 7b771a53ad
commit 5782fe1e15
3 changed files with 18 additions and 2 deletions

View file

@ -39,6 +39,12 @@ sub definition {
hoverHelp => "A Survey System",
label => "Template ID"
},
timeLimit => { fieldType => 'integer',
defaultValue => 0,
tab => 'properties',
hoverHelp => $i18n->get('timelimit hoverHelp'),
label => $i18n->get('timelimit')
},
groupToEditSurvey => {
fieldType => 'group',
defaultValue => 4,

View file

@ -235,6 +235,15 @@ our $I18N = {
message => q|Checked|,
lastUpdated => 1224686319
},
'timelimit' => {
message => q|Time Limit:|,
lastUpdated => 1224686319
},
'timelimit hoverHelp' => {
message => q|How many minutes the user has to finish the server from the moment they start. 0 means unlimited time.|,
lastUpdated => 1224686319
},
};
1;