49 Commits

Author SHA1 Message Date
james
39dd0e6897 Some adjustments to student status, and make the old "main" page start to work again 2011-03-03 20:52:17 +00:00
jacob
b955b01965 Erg - indeed, a fix for something I overlooked 2011-03-02 23:00:14 +00:00
jacob
2eeff8d688 Moved participant registration completion checks into participant.inc.php, and added the participant_status_update function to call them all and find get the total status.
Updated judge.inc.php and volunteer.inc.php - they were previously putting the complete status for a role into the user object as a separate value (eg. $user['judge_status'] = 'complete';).  Updated that to put it in the user's role list directly (eg. $user['roles']['judge']['status'] = 'complete').
Updated register_participants_namecheck.php to use the user table and check the session against the normal user_auth_required.
2011-02-25 22:30:50 +00:00
james
8d7eb7ca72 add api/project/signatureform API 2011-02-21 22:07:06 +00:00
jacob
21261a99af Many updates of queries, switching from usage of FAIRYEAR to conference_id. 2010-11-01 15:24:59 +00:00
james
d61fa75b0d Switch the namecheck to check both/any/all students in the project, not just the one logged in. 2008-09-05 18:50:36 +00:00
james
1f6da29aac fix grammar 2008-07-17 18:39:01 +00:00
james
bc3727b5c1 Leave the main page only checking whichever student is logged in (FOR NOW)
But if they go into the page they will see the check for BOTH STUDENTS
2008-03-27 22:41:55 +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
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
cf8f539c48 - Missed a year check 2007-03-19 07:49:21 +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
dave
5b84c70f69 - Display a small warning that the signature page is only available after ALL
registration sections are complete.

- Display a warning in the special awards that selection is only available
  after the project and student information is complete.  Since some awards
  check this information, we can't let students in until it is completed.
2007-03-05 02:26:56 +00:00
james
db600b5eb4 Properly wrap signature lines when they reach a page break
Fix the signature page to only display once ALL the sections are complete
2007-03-04 16:26:04 +00:00
james
40e305b83a Properly handle the yes/no config variable for showing registration cost brekadown on the summary page 2007-02-20 18:37:38 +00:00
dave
b6b93e1060 - If the option to print the total registration fee is on, and there are
pay-for t-shirts, completely remove the tshirt line if no tshirt is selected.
  It should cause less confusion
- If the same conditions are true and a tshirt has been selected, inform the
  student how they can deselect it to not incur the cost of a tshirt with
  registration.
2007-01-31 07:30:43 +00:00
dave
0ba89a18a7 - Add a new config variable 'specialawardnomination_aftersignatures'.
Default='yes', meaning the behaviour is the same as the default.  'no' means
  that students can self-nominate for awards before the committee receives
  their signature form.
2007-01-21 05:45:36 +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
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
9fc98fc288 Add a TCPDF version of the signature page, TCPDF does not require any extra PDF libraries (eg pdflib) to be installed
Create PNG versions of the uploaded logo image file
Detect which version of the signature page to use
Bump version to development series 2.0.5
2006-12-18 20:55:30 +00:00
james
319c5d6720 Add option to turn off the Mentor section for participant registration
Add two new projectnumber options:  c=category shortform,  d=division shortform, eg  (JLS01 = Junior, Life Science, Project #01)
Add shortform field for age category
Fix bug in config editor where it was updating values for ALL years, instead of just the current year!
Bump version number to development version
2006-12-06 17:58:40 +00:00
james
7e79a9dd9e Add the project number in big, fat, bold letters to the top of the registration summary page if their forms have been received. 2006-09-17 16:26:12 +00:00
james
aab25dfa0b CSS/Style/Layout fixes specifically for internet exploder to work properly. 2006-02-02 02:32:24 +00:00
james
0076c5f360 Allow turning off the special awards self-nominations. 2006-01-16 18:38:32 +00:00
james
343c70f633 Added the fair year rollover code to go from one year to the next 2005-11-21 19:36:48 +00:00
james
c3896013c1 checks for dates on special award nominations
checks for maximum number of nominations
allow logins of users when registration is closed
2005-05-12 15:47:21 +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
162475b62c Port participant signature page to use lpdf.php
Add required functions to lpdf.php to support the signature page
2005-01-18 03:33:37 +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
0786cf99d2 CSS: add sizes and fonts for "input", "textarea" and "select"
Remove seconds from signature page footer
show status of 'Print' in summary table
2004-12-14 20:11:10 +00:00
james
30ff0c29ad - Only allow linking to the signature page if all other pages before are complete
- Add the code to generate the PDF signature page using PHP's builtin PDFlib functions
2004-12-14 14:56:34 +00:00
james
c5d1e10c18 We only need to limit the Project registration link because it relies on students
the rest dont have dependencies so display them all the time
2004-12-10 22:33:15 +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
8326b10958 Force registration to be completed in order. Student grade is required for detection of age category, so it makes sense to enforce the registration process to be done in the right order. 2004-12-07 16:42:53 +00:00
james
f1dadb4434 Only display the named greeting if we have their name 2004-12-07 16:33:14 +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
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
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
james
c17447ed70 registration summary table
summarytable css class
2004-12-02 19:03:53 +00:00
james
4fb6b70657 finish authenteication for registrations in 'open' state
autoredirect back to main page if they end up back at the beginning but are already logged in
2004-11-30 23:38:13 +00:00
james
5edecbdea5 add the participants main registration page, and do the authentication checks 2004-11-30 23:18:35 +00:00