35 Commits

Author SHA1 Message Date
dave
7fc721b96f Add support for URLMAIN and URLLOGIN replacement in communications 2010-01-27 20:24:16 +00:00
james
c45edf34ec Add a format_date, format_time and format_datetime functions to pull from the localization settings and update a few places where the date/times are output to use them... need to change everywhere else in the codebase to use these functions too! 2008-08-28 22:02:06 +00:00
james
dad671f212 Text change - Bug 0177 2008-08-26 20:50:25 +00:00
dave
e0a0e3dbcf - Fix a typo in two places... I wonder how long these have been like this. :S 2008-02-15 05:27:06 +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
james
9496c0fcf6 Substitute EMAIL on new_participant email 2007-12-09 21:31:50 +00:00
james
4378f966ce Add an email address verification function so we dont need to keep duplicating the regex everywhere
Add a function to get the email recipients for a given registration id, for now, it just gets the students, but downt eh road it should check if teachers, parents, emergency contacts, mentors, etc should receive fair updates as well.
Implement the code/replacement tags for the two new emails, one for 'forms received, with payment' and the other for 'forms received, without payment'
2007-10-30 22:35:00 +00:00
james
b1bc95af95 Add the ability for a teacher thats logged into the school account and inviting students to easily "login" as any of those students to fill out the student's information. 2007-10-26 16:57:14 +00:00
james
31898032c5 Substitute [FAIRNAME] in the body of the messages. 2007-10-25 20:45:04 +00:00
james
e00e210690 escape some email usage incase of weird characters. 2007-10-25 15:12:20 +00:00
james
0de2bfeef0 Add a few more missing "exit" calls after a header("Location"); 2007-05-10 19:18:01 +00:00
jesse
25412b6054 added "ORDER BY school" to the drop down. This places the schools in Alpha order for us. 2007-02-24 19:31:55 +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
794cbe7c84 Show different messages if we're BEFORE the registration open VS after registration close.
Also do now display any sort of login (email) box if we're before registration open, but do
show it if we're after registration close so they can still login and view info or apply for
special awards
2006-09-17 14:32:42 +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
54769f999a Fix the version loading/detection in common inc, and properly put debug info in the footer in 'debug' versions (odd numbered versions)
Check for a valid email address before sending an email
Check for a valid email address when trying to create a new participant account
2006-02-14 21:50:41 +00:00
james
06dae78992 Fixed a bug that prevented students from logging back in to view their forms once the forms were marked as complete 2006-01-24 14:30:38 +00:00
james
4d54bdbb1c Update translation manager to work with unlimited number of languages as defined in the languages table
Update i18n function to accept a third parameter, which is an array that describes the arguments in the string to make translation much easier
Update some of the config/admin pages to make sure i18n is properly used, and that argument descriptions are set
2006-01-19 17:15:07 +00:00
james
668d410207 Update LPDF to handle tables without a header row
Update LPDF to add a "..." to a table field if all of the text didnt fit in the table field
2005-12-08 18:01:30 +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
6eb1a39d0b add the ability for schools to invite participants IF participant_registration_type=="invite"
also switch the new participant email to read from the emails table instead of hardcoded from the file
2005-11-25 19:37:10 +00:00
james
860175ae79 NEW FEATURE: Participant Registration Type
Open - Anyone can register.

	Single password - Same password for all schools, they tell the 
		students that will register what the password is.

	School password - One password per school, they tell the students
		that will register what the password is.  School is 
		pre-selected based on their school password.  This will allow
		eventually the ability to restrict participation numbers on
		a per school basis

	Invite - The teachers at the schools must 'invite' the students 
		to register by logging in as the school and creating
		accounts for each student.  The student then logs in and
		finishes entering all of their information.  This will allow
		eventually the ability to restrict participation numbers on
		a per school basis

Bump version number (0.9.3-svn)
2005-11-24 20:21:55 +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
d059f34835 Implement date checking for both participant and judge registration 2005-03-29 19:21:14 +00:00
james
d4b84cd798 fix "pleaes" typo 2005-03-03 15:33:43 +00:00
james
42c58426dd create email_send function to pull emails from databaes and send
add ability to delete judge account - soft-delete

make sure when logging in, only non-deleted accounts can be used.
2005-02-11 18:25:59 +00:00
james
324433ef23 Add GPL headers to ALL PHP files 2005-01-24 18:00:03 +00:00
james
58122f4344 tell them to use a valid email address 2005-01-21 18:42:31 +00:00
james
ece5a157ac Allow non-primary user to request registration number be emailed to them 2004-12-06 18:30:11 +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
785e62a765 retreival of lost/forgotten registration number 2004-12-02 17:53:31 +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
404157df30 participant registration authentication 2004-11-30 22:59:27 +00:00
james
efdf49d000 add registration pages 2004-11-30 18:55:39 +00:00