Commit Graph

204 Commits

Author SHA1 Message Date
james
ec27794017 refactor all functions except header/footer functions from common.inc.php to common.inc.functions.php 2010-07-16 16:17:03 +00:00
james
e8c8bf33fe Fix some nav issues and start the task of detecting where in teh nav we are if we didnt navigate to the page through the links
Some general formatting cleanups on the common.inc too
2010-07-15 21:24:10 +00:00
dave
0c0f139027 Move the javascript include to common.inc 2010-07-15 09:18:08 +00:00
james
d5912ac1e8 Start un-breaking all the broken UI navigation 2010-07-13 21:23:39 +00:00
justin
45e1e79072 make showing the winners link optional 2010-07-13 20:18:50 +00:00
dave
98d264ef67 Rename $_SESSION['conferenceid'] to $_SESSION['conferences_id'] for
naming consistency.
2010-07-13 05:20:35 +00:00
dave
7fb84ea200 Apparently Safari takes the "email" seriously, and won't let anything go
that isn't really an email.. no so good for usernames.  We need a "I
don't have an email" button  or somethign .
2010-07-13 04:33:42 +00:00
dave
b6f43280d7 fix naming and types 2010-07-13 03:54:34 +00:00
dave
b1f2718a3c Users can login and logout and look at their home pages. 2010-07-13 03:30:11 +00:00
james
6021d9f486 Start implementing the secondary menu
Fix importantdates div to not load when the div isnt there
2010-07-12 20:29:20 +00:00
james
2c6a491710 Switch doctype to HTML5
Properly float the important dates div
Remove table from page heading icon/title/help icon and use divs/floats instead
Temporarily make the login form post to the login.php page so one can still login
2010-07-12 19:40:06 +00:00
justin
7b90784828 add support to link to fair website 2010-07-11 14:46:44 +00:00
james
5956a15754 Final UI changes for the day.... 2010-07-09 20:35:05 +00:00
james
39c8d90d1e More UI changes 2010-07-09 20:25:31 +00:00
james
5321de365f More UI recommendations 2010-07-09 19:24:04 +00:00
james
fe5b170371 Re-arrange some stuff as per new UI specs 2010-07-09 19:04:25 +00:00
james
16c5e8ecc9 Switch back to CSS layout 2010-06-28 18:00:47 +00:00
james
c086e7e0bb refactor config into config & super pages, 'config' page is now 'conference config' specifically for the conference, all non-conference related tasks are moved to the superuser page 2010-06-23 21:18:06 +00:00
james
4faa4b8dc4 Migrate all dates to use conferences ONLY, instead of dual conference/FAIRYEAR setup 2010-06-23 16:06:01 +00:00
james
e02e5ba687 Remove a bunch of conferenceid=0 checks -- we now always have a conference id 2010-06-17 21:14:00 +00:00
james
e98ec8751b add event types
schedule shows event types in different colours
add tabs to schedule editor windor for each event type
forward port ENUM changes to tableeditor
fix bug in emit_minute_selector
2010-06-14 19:25:49 +00:00
james
badea469f6 Switch hour and minute in the editor to dropdowns
Fix passing extra parameters to emit_hour_selector
Allow emit_minute_selector to work with different minute intervals
2010-06-11 20:04:51 +00:00
james
4edd9baad3 Working schedule event editor for adding, editing and removing events from the schedule. 2010-06-11 19:36:50 +00:00
james
ba20d1b974 Move session stuff up so it can be set before its used to determine the conference 2010-06-10 19:40:20 +00:00
james
122248a03c Move the conference block above the configuration/dates loading, so we can load the right dates for the conference (and probably soon, the right configuration variables too!) 2010-06-10 17:58:27 +00:00
james
86a43e909a Implement conference specific logos 2010-06-09 20:24:52 +00:00
james
4799b4ffd8 Add back the UTF8 database set names call, and switch all emails to use UTF8 encoding 2010-06-09 15:14:41 +00:00
jacob
6504d09886 Added updates for converting from Latin1 to utf8 character encoding 2010-06-04 20:23:59 +00:00
james
14308b5991 Start of adding 'conferences' and ability to switch between running conferences 2010-06-03 19:21:27 +00:00
dave
530788e1c5 Require that magic_quotes is OFF. 2010-04-18 22:40:07 +00:00
dave
29f799f0a2 Detect the award warning condition before printing the warning. About half of
the BC fairs repeatedly tried to downlaod awards to make the warning go away.
2010-04-02 05:19:33 +00:00
jacob
b632b6c932 Adding sortable columns to tables 2010-03-30 21:59:04 +00:00
james
ac10772214 Let everyone know that they need to re-download all of their awards before uploading will work 2010-03-30 17:45:37 +00:00
james
e18264232d CWSF divisions changed this year, hopefully we catch this before many fairs used it :( 2010-03-30 15:06:08 +00:00
james
cbab7c7fa8 also convert an ending </div> into a newline when converting html to text 2010-03-30 04:39:56 +00:00
james
3fce787126 Actually, wrap at 75 not 78, to leave room for a few quoted replies 2010-03-30 04:03:23 +00:00
james
3116d8f232 When converting HTML to TEXT, wrap at 78 chars, some mail servers wont accept emails with very long lines 2010-03-30 04:01:38 +00:00
dave
b49634f038 + and ^ are special cases, need to go at the beginning of a [] 2010-03-02 00:07:16 +00:00
dave
c09e70d3e6 + in the name, not the domain 2010-03-01 23:50:48 +00:00
dave
1e73f06d8b Allow + in email addresses 2010-03-01 22:17:38 +00:00
dave
a16e749d9f Remove debug line, fix tab indent 2010-02-23 19:58:07 +00:00
dave
c284fed0f5 Add a debug_() routine and use it in curl 2010-02-23 19:58:06 +00:00
james
f4d2d636d8 By default, turn ON all eligibility in divs/cats for downloaded awards.. so
fairs don't wonder why they can't assign any winners to these awards.  In other
words, make it "just work".  :p
2010-02-22 20:26:23 +00:00
dave
61aee7f487 Fix email checking (did we do this before and had to undo it for some
reason?) Anyway, fraser valley had a student try to enter
"blah@blah.com/" as their email, which the isEmailAddress happily
accepted, and then remote servers started sending back errors to the
Committee because the email address is actually invalid.
2010-02-20 00:45:59 +00:00
james
48361e5868 Use RFC822 file from RMail to parse out the proper return path and set it 2010-02-16 00:15:21 +00:00
james
ba8c8f91cb Set the return path and bounce-to for emails being sent out 2010-02-12 18:32:58 +00:00
james
3442c2347d Dont override the mail encoding as utf-8 - we now store it in the db as ISO, so just use that (the default) 2010-02-11 16:47:48 +00:00
james
29074faacd Move the content-type header out of send_header() so it sends it on ANY request that includes the common.inc (should be every request)
This fixes french characters in all the new ajax'd editors, becuase they obviously werent calling send_header() on the request so the
encoding was defaulting to UTF8 and causing improperly encoded characters
2010-02-03 16:20:23 +00:00
dave
7fc721b96f Add support for URLMAIN and URLLOGIN replacement in communications 2010-01-27 20:24:16 +00:00
james
3c364b84c6 oops forgot to commit the getUserForSponsor function! 2010-01-14 18:34:33 +00:00