42 Commits

Author SHA1 Message Date
james
651d6235a4 Add config options for Province/State and Postal Code/Zip Code 2008-07-16 17:23:53 +00:00
dave
735e5e0999 - Add a registration fee item editor
- Allow students to choose items from the optional registration items
2008-01-23 07:53:10 +00:00
dave
4c71598eab - Sort schools by city for the students. When your schools list is 2000+
schools, with 8 "MacKenzie King Elementary School"s it makes the correct
  school much easier to find.
2007-12-12 20:37:05 +00:00
james
7f189559a1 Properly detect date of birth 0000-00-00 as being incomplete
If we're collecting personal info, then gender is required
2007-12-08 17:52:14 +00:00
dave
1bdba54ed5 - Add a special awards feature (off by default) to the judge scheduler. It:
- Creates a judging team for each special award
	- Assigns judges to special awards based on the number of students self
	  nominated.
	- Obeys the judges special award preferences (if enabled), and also
	  judges that specify if they are a judge for a specific special award
	  (if enabled).

- Add 2 new config variables.
	- Enable the special award scheduler
	- Specify the max. number of projects each special award judge can
	  handle (default: 20)

- Delete an extra blank line in register_participants_students.php
2007-03-28 06:16:41 +00:00
james
99ad9ae8e3 Only show the max number of students per project, no matter what the address bar passes into $_GET 2007-03-26 16:29:20 +00:00
dave
6f4d3177bf - Indicate that T-Shirt sizes are adult size (just about every fair does this,
I believe, if a fair doesn't, we should make this a configurable option.);
2007-03-05 02:01:04 +00:00
dave
caeb7cbe78 - Add a config option (default 'no') to ask the students for a pronunciation
key for their name.  The idea is that it's for those often mis-pronounced
  names at the award ceremony.
2007-01-31 07:35:08 +00:00
dave
72f4d9031f - The Gender is actually optional, so it doesn't need a REQUIREDFIELD. 2007-01-31 04:36:51 +00:00
dave
3da0ba87e2 - Update the table editor, instead of doing all that funky stuff for listing
the table, we call a method in the table helper class.  That method returns 3
  things.. an array of SELECT columns, an array of FROM tables, and an array of
  WHERE clauses.  The table editor takes these, adds ORDER, LIMIT, etc, and
  runs the sql.
- Update the table editor to allow variables to be set.  THe helper class reads
  these variables to do pretty much anything it wants.. In this commit, it
  reads the judges_show_what variable, to determine how to format the SQL for
  selecting the table of judges (so the calling php can now know NOTHIGN about
  the database, it just sets a variable and expects the data to be formatted
  correctly.
- Update the judge manager, show all judges should now SHOW ALL JUDGES.
2007-01-28 07:53:14 +00:00
dave
418dc75cef - Comment the comment 2007-01-24 04:10:35 +00:00
dave
668565919f - Make the age pulldown selection based on ages, not grades 2007-01-24 03:56:46 +00:00
dave
5ca11ae362 - Properly copy the config type in the config editor when copying -1 config values into
the current year
- Add 2 new config options.  
	- 'participant_student_tshirt_cost' allows the cost of each fair tshirt
	  to be set (vancouver charges $10 for tshirts, because not all
	  students want them), this also adds a 'none' option to the tshirt
	  selection box, and a note indicating the tshirt cost if the costs is
	  nonzero.
	- 'regfee_show_info' adds a "Registration Fee Information" to the main
	  student registration page, showing a breakdown of the registration
	  fee computation (including tshirts, per_student and per_project
	  registration, and indicates the total.
- Convert the tshirt field to VARCHAR(32) instead of enum so the "none" option
  described above works, also, some fairs may want to add more optoins, like
  female/male sizes.. so turn this into a text field for those fairs.  The next
  step would be to make a config option for the tshirt options. :)
2007-01-21 01:40:46 +00:00
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