Commit Graph

66 Commits

Author SHA1 Message Date
justin
31ae487b11 Added student logout link; resolves issue 8. 2006-07-14 00:07:46 +00:00
james
877c5bbef5 Restrict the session variable cookie to the SFIABDIRECTORY path, instead of just / 2006-03-30 22:18:04 +00:00
james
9f7aea3a57 Get rid of the counter alltogether, its really useless, and especially so when the same counter is
used for everyone
2006-03-29 00:55:10 +00:00
justin
cb280ebc1f Fix the footer in popup window to show the current sfiab version instead of debug info 2006-03-28 21:41:51 +00:00
james
06fe2b179d Add the logo to the header (small in the top-left) and to the index page (bigger, right aligned) 2006-03-08 21:55:57 +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
aab25dfa0b CSS/Style/Layout fixes specifically for internet exploder to work properly. 2006-02-02 02:32:24 +00:00
james
725a4c91d7 Hmm, fix a big that stopped email tag substitutions from working when the substitution was a pure number (eg, a registration number). Fixed it by enclosing the replacement in "" so its treated as a string. 2006-01-20 19:26:13 +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
652e8fe321 If the page text looks like it contains HTML code, just output it normally, but if it does not contain HTML code, then perform a nl2br() on the text before it outputs 2006-01-18 21:28:00 +00:00
james
b370dac7d5 Add all the "required fields" feedback for participant registration 2006-01-12 16:27:47 +00:00
james
33cb624154 properly handle running scripts from the /scripts directory 2006-01-03 02:03:30 +00:00
james
da91edc427 Add CHANGES file, fix some quotes in common inc 2005-12-14 21:05:27 +00:00
james
017e1c58c0 Make the footer only show debugging information if we're using a debug/testing version, aka version number is odd 2005-12-14 21:00:02 +00:00
james
e8353f011f Add the judge inviter to the judge administration section
Add the new judge invite email
2005-11-25 21:15:29 +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
76513f9ffb Fix version detection. 2005-11-21 21:11:34 +00:00
james
b639308993 Add page text functionality, to define arbritary page text to be displayed on pages without having to edit the actual files.
Also shrunk the padding on summarytable, 4px seemed just way too big of a waste of space :)
2005-11-21 20:33:18 +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
7fd17c8bbe properly compare dbcodeversion and dbdbversion (trim the newline from dbcodeversion) 2005-06-07 21:10:39 +00:00
james
79f3d7ead6 Fix common.inc.php to properly detect whether installation needs to go to step 2 or step 3 2005-06-07 21:07:52 +00:00
james
6a9b470698 Switch the database versioning code from a flat textfile (db/db.db.version.txt) to a record in the config table (var=DBVERSION, year=0)
This gives us a much more robust database versioning system
2005-06-07 21:03:55 +00:00
james
5ef9051c0a Nearly finished install3 - I think the installer is almost ready to be used.
also updated DB version 7 to include the language entries
also update common.inc.php to make sure install3 is installed (make sure there's entries in the config table!)
2005-06-07 01:23:15 +00:00
james
621f940b27 Whoops fix admin and config submenus that I broke on friday! 2005-05-29 22:48:21 +00:00
james
850be50973 Detect when the installation isnt complete 2005-05-27 21:26:51 +00:00
james
f0cbb618ec Move the db/code version check before the database connection in common.inc.php 2005-05-27 21:23:16 +00:00
james
3841d7c86c properly detect where the config.inc.php is even when we're in a known SFIAB subdirectory. 2005-05-26 19:20:24 +00:00
james
9604c35f4b Add the installer script - currently it only creates the data/config.inc.php database settings - it still needs to create the actual tables.
Add some extra sanity checking to the db updater

Add more sanity checking to the common.inc.php
2005-05-25 21:58:03 +00:00
james
db4a891b52 add sfiab version information, set it to 0.9 to start with 2005-05-25 19:08:50 +00:00
james
b30e70aaad Add the school access page for schools to login and update their own information 2005-05-13 18:23:31 +00:00
james
6d5f794e05 Add the winners viewer and make sure its robust so it doesnt allow people to see things they shouldnt! 2005-05-12 21:05:21 +00:00
james
a947ff8e85 Whew! Add a new interface to link judging teams with the awards that they are
judging for.  Can now auto-create judging teams based on awards list (one team per award).

db bumped to v6

moved judges_teams to judges_teams_members
judges_teams is now the new interface
2005-05-06 16:13:37 +00:00
james
917e374f0a Add judging timeslots
Add emit_date and emit_time functions
2005-04-15 20:33:13 +00:00
james
354ab22d92 add some space before the popup footer
change judge info popup size (make it bigger)
2005-03-30 18:21:48 +00:00
james
dc8fad6320 onload popups now get focus 2005-03-30 18:19:31 +00:00
james
05a9ae0bf6 add judges info popup box, also new common functions send_popup_header and send_popup_footer 2005-03-30 18:02:45 +00:00
james
3a26881149 add important dates
remove weird leftover query in config/dates
2005-03-29 21:04:16 +00:00
james
d059f34835 Implement date checking for both participant and judge registration 2005-03-29 19:21:14 +00:00
james
81e1559b8d add the database updater code, and always ensure that the code and db are running the same version 2005-03-10 17:28:15 +00:00
james
a2b274f4b9 add two new js functions:
- fieldChanged
	- confirmChanges

call fieldChanged when any field in any of the registraiton forms are chagned
call confirmChanges when the "back to summary" link is changed, to warn them if they have any unsaved changes

remove "(discard changes") from the "back to summary" links.
2005-02-21 23:07:10 +00:00
james
3deae5e029 Implement authorizaiton for admin/config sections
Use committee members for authorization
Add auth required checks in all admin/config sections
2005-02-16 22:50: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
5aac09ae15 remove unneeded module= from links 2005-01-25 17:00:23 +00:00
james
7368a22975 Add committee page and committees management
make committee management fully XHTML compliant
2005-01-25 16:44:25 +00:00
james
0bfb617804 add email output javascript functions 2005-01-25 15:58:36 +00:00
james
324433ef23 Add GPL headers to ALL PHP files 2005-01-24 18:00:03 +00:00
james
abf8f8d7a7 switch judge info to use province selector 2005-01-05 16:28:42 +00:00
james
726f466ac1 add a province selector
switch student registration to use province selector
2005-01-05 16:23:11 +00:00
james
d73ea11215 Add images directory and size 16 icons dir
Update $config array to store the icon extension to use, based on whether MSIE or not.
  (IE cant do transparent PNG's, all other browsers can, so for IE, use GIF, else use PNG)
2004-12-20 16:36:25 +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