34 Commits

Author SHA1 Message Date
dave
78fa4ad6ac - Add support for short project titles in addition to the regular project
titles (defaults to off)
- Renumber the order of the config variables in Participant Registration, it's
  getting a bit crowded 
- Fill in some missing types for config variables
2008-01-23 05:54:03 +00:00
dave
e8face39d6 - Update the project numbering system by also adding a sort field (defaults to
the project number field if blank).
- Add a new number option 'X', which counts among ALL projects, not just the
  ones in the same division/cat.
- Add a padding argument to N or X  (N0...N9) defaults to 2 for N, and 3 for X.
- Adds 3 columns to the project table:
	- projectsort: for storing the expanded text
	- projectnumber_seq: for storing the N or X number for projects
	- projectsort_seq: for storing the N or X number for the sort order
- Add a new config option for sorting, and expand the text for the
  projectnumber.
- Change the default sorting for reports and project lists to use the
  projectsort category.
- Remove the gvrsf_tn option from the database, it's not needed now.
2007-12-29 08:46:40 +00:00
dave
8ef21626f2 - Add a participant name check page for students to double check their name.
- Fix a bug in tour printing after tours have been assigned (it would show both
  students in a pair project on the same tour, always.)
2007-12-22 23:28:14 +00:00
dave
0d0e6bbb0f - Clean up the participant tour selection. Don't allow participants to select
tours after the assignemnts are done 
- Always report the Tour status as complete if tour assignments have been done
  (rank 0 tours exist)
- Inform the participant of their tour assignment if assignments are done
2007-12-22 04:03:17 +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
57ff84c563 - Move registration fee computation into the include file
- Add the required registration fee to the received forms checkoff, so the
  amount of the cheque can ben checked too.
2007-03-12 02:05:40 +00:00
dave
f0bb80a866 - Fix the name of the generate project number function
- Hardcode add a special award to the top of the list "I do not wish to
  nominate for any special awards".  Allow the
  project_specialawards_link.award_awards_id field to become NULL, and set it
  to NULL if the student selects this award.
- Fix the display of the award status based on whether the student has or has
  not specified that they do not wish to nominate for special awards.
2007-03-05 04:27:44 +00:00
james
9e009bc5d6 - Remove a debug print statement from last commit :) 2007-03-04 20:30:31 +00:00
james
4789d78e2f - Move the project number generation into a header
- Add an option to the project editor to regenerate the project number
- Fix a bug in the project number generation.  Include YEAR in the project
  number check (and in the number generation) so we don't find a project from
  last year (that already has a number), and decide not to generate one for a
  project from this year.  The $checkNumQuery was returning 2 rows.. one from
  2006, one from 2007.  Two projects from different years had the same
  registrations.num (665983) in my test.. about 10% of the projects at the VDSF
  collided with numbers from previous years.
2007-03-04 20:28:51 +00:00
dave
b022cb5978 Fix complete/incomplete detection for tour choices
- Incomplete if any student in the project hasn't selected the min number of tours.
2007-01-10 05:16:58 +00:00
dave
900dab702d Add Tour selection.
- Admin can use the tour manager to add tours
- Admin can use the config variables to enable tours, and select the min/max number of tour choices.
- Students will see a "Tour Selection" section of registration, which is incomplete until the student has selected at least a minimum number of tours.... actually, this may be broken.. Need to look at it further..
2007-01-09 19:05:23 +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
36bee33066 Add a configuration option to specify the maximum number of words in the project summary (Default=100)
Add some fancy-smansy javascript/dhtml word-counter code to the project summary.
Make project status be incomplete if word count is too high
2006-01-24 15:44:08 +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
ba25b4ae86 Make sure safety questions are only displayed/checked for the current fairyear 2005-12-08 15:35:41 +00:00
james
570d7714dc Dont allow submitting the forms after the registration is closed 2005-05-12 17:32:50 +00:00
james
d9d82ce1f5 show the awsards on the registration summary main page 2005-05-11 21:39:39 +00:00
james
ed663e77eb Wow I dont even know what all is in this commit: few things i do know:
1) add (preliminary) special awards nominations for students
2) add css right-margin to summarytable class
3) add new table for projets-specialawards-link
4) move projects.inc.php from admin/ to / (so particpant registration can use it)
2005-05-11 04:13:27 +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
2caf3a6678 change all status checker functions to accept a registration id as an optional parameter
all a spot for 'instructions text' on the main participant registration page
2005-01-07 04:46:52 +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
1b393c1bb0 Commit all work from the weekend:
- judges registration
 - small changes to participant registraiton
2004-12-19 23:16:46 +00:00
james
e8167a2fd6 Whoops that should be $required=="yes" not just $required 2004-12-10 21:40:31 +00:00
james
8862433fc2 Properly perform the safety status, based on the safetyquestions and the required fields 2004-12-10 21:39:47 +00:00
james
f11226ebd4 Add safety page, doesnt save yet.
modify CSS for all TD's vertical-align: top
2004-12-10 20:38:16 +00:00
james
2744901aac Add a new section "Mentor Information" to collect info on who helped do what in the project. 2004-12-10 19:59:18 +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
75e0cd7731 - Update project information when save is pressed
- Add req_table and req_elecricity to required fields for 'complete' status
2004-12-07 16:21:07 +00:00
james
3a212ae5d5 - refactor duplicate code in main, create an ouputStatus function to do the work
- add participants project file
- add checks for project completeness
- add new status 'empty' for if the section has not been started yet
2004-12-07 14:20:42 +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
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