'surequit':_("Are you sure you want to quit this submission?"),
'back':_("Back to main menu"),
'mainmenu':mainmenu,
'images':images,
'take_note':'(1) '+_("You should take note of this number at the beginning of the submission, it will allow you to continue interrupted submission in case of problems."),
'explain_summary':'(2) '+_("Mandatory fields appear in red in the SUMMARY window."),
}
returnout
deftmpl_submit_field(self,ln,field):
"""
Produces the HTML code for the specified field
Parameters:
- 'ln' *string* - The language to display the interface in
- 'field' *array* - the field to display in the page, with the following structure:
- 'javascript' *string* - if the field has some associated javascript code
- 'type' *string* - the type of field (T, F, I, H, D, S, R)
- 'name' *string* - the name of the field
- 'rows' *string* - the number of rows for textareas
- 'cols' *string* - the number of columns for textareas
- 'val' *string* - the default value of the field
- 'size' *string* - the size for text fields
- 'maxlength' *string* - the maximum length for text fields
- 'htmlcode' *string* - the complete HTML code for user-defined fields