29 Commits

Author SHA1 Message Date
james
2d17c8c21a Add new participnt registration type: openorinvite - allows you to use the system as if it was OPEN or INVITE however limits cannot be imposed in the inviter since when its reached in the inviter it could easily be bypassed by registering through the 'open' way. 2007-01-02 23:38:53 +00:00
james
050f2093fb Replace "Sex" with "Gender", and allow the db field to be null, instead of defaulting to "male"
BUG#105
2006-09-04 16:28:28 +00:00
james
d9dc85c1d7 properly detect when a school is selected under certain circumstances 2006-02-24 18:28:21 +00:00
james
2a5da6597d Add a workaround to always show the school selector and save its value if there is no school selected yet, even if the type is invite or schoolpassword 2006-02-24 18:15:18 +00:00
james
45b4f7b220 Fix a bug where the school id was not being set when participant registration type was set to invite or singlepassword 2006-02-23 20:40:48 +00:00
james
eae0ebde0c Make the Medical alert field only be shown if the system is set to collect personal information about the students. 2006-02-10 16:32:04 +00:00
james
1771c83da4 Add a configuration option to specify whether to collect 'personal' information about the students, such as address, phone number, date of birth, etc. 2006-02-05 21:39:32 +00:00
james
dbaf4d9b4e Make the students Date of Birth selector choose a year range based on the min/max grade of students. Assume:
minimum 3 years old in grade 0 (kindergarden)
maximum 18 years old in grade 12
2006-01-28 17:49:33 +00:00
james
a7bcc3c5b3 Only allow the participants to change their school if the registration type is 'open' or 'singlepassword'. if it is 'schoolpassword' or 'invite' we already know what school they are from. 2006-01-20 19:48:37 +00:00
james
69b4b943ac Make the T-Shirt size question to students able to be disabled via a configuration variable for fairs that dont give out tshirts 2006-01-18 05:33:13 +00:00
james
b370dac7d5 Add all the "required fields" feedback for participant registration 2006-01-12 16:27:47 +00:00
james
570d7714dc Dont allow submitting the forms after the registration is closed 2005-05-12 17:32:50 +00:00
james
324433ef23 Add GPL headers to ALL PHP files 2005-01-24 18:00:03 +00:00
james
afdc22a2b2 Don't allow any changes to any forms once the forms have been received by the fair
Also, update the CSS to make teh h1-h4's smaller and reduce the margin-bottom size for them
2005-01-13 18:50:07 +00:00
james
726f466ac1 add a province selector
switch student registration to use province selector
2005-01-05 16:23:11 +00:00
james
2b65a62239 Implementation for emergency contacts
remove emergency contact for a student if the student is removed (keep db clean)
2005-01-05 15:34:25 +00:00
james
03dd7ffd16 remove debugging
add function for emergencycontact status
add emergency contact to main checklist
2005-01-05 15:05:32 +00:00
james
14597ed325 Add sex dropdown list 2005-01-05 14:39:58 +00:00
james
675e9e41f2 add the following to student info:
- teacher name
	- teacher email
	- medical alert information
	- special food requirements (if configured)

changed height of textbox to better fit text on signature page
2005-01-05 14:32:24 +00:00
james
880d5b0a82 - display status on project and student pages to show if the section is complete or not
- add a new function happy() for displaying 'good' things... also the CSS to go with it.
   now we have:		error() - displaying bad things (in red)
   			notice() - displaying neutral things (in grey/blue)
			happy() - displaying good things (in green)
2004-12-08 20:34:02 +00:00
james
44473f264b Add school and t-shirt size selection to each student
Update required fields for students to include: dateofbirth, schools_id, tshirt
2004-12-08 20:18:36 +00:00
james
828c01a31b XHTML 1.0 Transitional compliance 2004-12-07 15:31:49 +00:00
james
00b5ee9642 allow removing any student as long as numfound > minstudents, since removing needs to be one at a time this will work out okay.
also, add a note about changing email address needs re-login
auto-logout on email address change
2004-12-07 05:33:26 +00:00
james
0b46ebb808 update todo
allow removing of students IF studentnumber > minstudentsperproject
add a class 'caution' to ues on links, such as 'remove student'
add confirmClick javascript function
2004-12-06 21:37:49 +00:00
james
29a5c412a4 Finish update and insert code for new students
Still need a way to remove students
Add TODO
2004-12-03 15:38:37 +00:00
james
e091cb2e51 Add emit month/day/year functions to common
Make students page show the number of forms for the number of students
2004-12-03 04:28:18 +00:00
james
68ff4380e1 introduce new config parameters: minstudentsperproject and maxstudentsperproject
make students page use these values
2004-12-03 00:11:09 +00:00
james
0111d59bdf Add counter
Fix CSS
fix XHTML
start of code for student info
2004-12-02 23:15:42 +00:00
james
31a815877d create an include file to contain the status check functions
create the student registration page
add complete/incomplete css elements
perform student complete/incomplete check in main
2004-12-02 19:40:43 +00:00