Changeset 220
- Timestamp:
- 01/31/06 07:28:54
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
qPloneComments/trunk/skins/qplonecomments/prefs_comments_setup.cpy
r219 r220 21 21 for id,type in property_maps: 22 22 if type == 'boolean': 23 # For boolean type in REQUEST present ONLY CHECKED fields24 # PECULIARITY: when field uncheck - it disappear from the REQUEST25 23 if id in request_ids: 26 24 kw[id] = True 27 25 else: 28 26 kw[id] = False 29 30 # Switch anonymouse commenting31 27 if id == 'Enable_Anonymous_Commenting': 32 28 allow = False qPloneComments/trunk/skins/qplonecomments/validate_talkback.vpy
r219 r220 26 26 req = context.REQUEST 27 27 if not (req.form.has_key('Creator') and not req.form['Creator'] == ""): 28 state.setError('Creator', 'Please submit aName.', 'name_required')28 state.setError('Creator', 'Please enter your Name.', 'name_required') 29 29 30 30 if state.getErrors():
