[zopeorg-checkins] CVS: Products/PythonJobs/skins/pyjobs - job_edit_form.pt:1.4 jobsfolder_add_form.pt:1.4
Martijn Pieters
mj at zope.com
Thu Jan 31 16:59:36 EST 2002
Update of /cvs-zopeorg/Products/PythonJobs/skins/pyjobs
In directory cvs.zope.org:/tmp/cvs-serv32718/skins/pyjobs
Modified Files:
job_edit_form.pt jobsfolder_add_form.pt
Log Message:
(Sorry, no message on previous checkin, message for both this and previous
checkin follows).
- Fix state of various form fields when returning form for preview or error
messages.
- Fix add listing URL.
=== Products/PythonJobs/skins/pyjobs/job_edit_form.pt 1.3 => 1.4 ===
publish_contact_email request/publish_contact_email | here/publish_contact_email;
salary request/salary | here/salary;
- expires python: here.expires().Date();
+ expires python: request.get('expires', here.expires().Date());
description request/description | here/Description;
cooked request/cooked | here/GetCookedDescription;
form_action string:job_edit;
=== Products/PythonJobs/skins/pyjobs/jobsfolder_add_form.pt 1.3 => 1.4 ===
publish_contact_email python: request.get('publish_contact_email', 1);
salary request/salary | nothing;
- expires python: ( here.ZopeTime() + 30 ).Date();
+ expires python: request.get('expires', ( here.ZopeTime() + 30 ).Date());
description request/description | nothing;
cooked request/cooked | nothing;
form_action string:job_add;
More information about the zopeorg-checkins
mailing list