Commit Graph

1054 Commits

Author SHA1 Message Date
james
e41072e076 Make the table the full page width, 75% of my judging team names were getting cut off.. perhaps the team names should use shortforms for the divisions instead of the full spellings... "Senior Earth & Environmental Sciences/Health Sciences/Biotechnology (en fr) 2" seems... excesssive 2008-03-25 17:20:31 +00:00
dave
52e7a6500a - Add a convenience stringwidth funciton 2008-03-24 18:45:51 +00:00
james
c0026c75e5 If there are no jdiv's left, hide the multi-select box and all the "Add >>" buttons so the page looks much nicer (and better to print!) 2008-03-20 20:59:56 +00:00
james
560d799b4b Allow filtering the awards management interface by award sponsor status: any, confirmed only, unconfirmed only 2008-03-20 20:37:33 +00:00
james
ec66217a2b Split label_box into two separate options: label_box and field_box. label_box draws a border around the entire label, field_box draws a boarder around each field of text on the label 2008-03-20 20:07:13 +00:00
james
45a1bdd1e4 Only set the school if the school is posted through, this way we dont whipe out a students school.
-This line, and those below, will be ignored--

M    student_editor.php
2008-03-20 16:28:50 +00:00
dave
bb4997548c - Add medic alert and food req. info
- Change the name of cshool teacher/email because these are really the values
  the student enters.
2008-03-20 02:57:18 +00:00
james
06cb13d7e4 Oops, the _seq's cant be null, they need to be set to 0 2008-03-20 01:57:24 +00:00
james
3fc27ceb04 Set everything to do with the project number, project sort, and sequence numbers to null, not just the project number, when
unregistering a project.
2008-03-20 01:52:47 +00:00
james
e320230a3e Add a way to unregister projects. Simply re-enter their registration number, and click the link. 2008-03-20 01:19:35 +00:00
james
431c8d9036 Properly fix the summary required field for wordmin=0 (summary simply becomes a non-required field)
Fixes the problem reported by waterloo, where the preg to count words was not counting words the same as the real word counter (602 vs 598 in the one i was looking at)
2008-03-16 19:32:30 +00:00
dave
6e8883b4a2 - Add pronunciation 2008-03-16 19:09:47 +00:00
dave
7651426f03 - Add a field for trophies
- Fix a bug with the ordering of the sql statement.  Something I noticed fixing
  this bug: Tour info and award info will generate an error if used together.
2008-03-12 01:18:29 +00:00
dave
4587fd3c86 - When checking the project status, count the words and test that against the
min/max number of words.  (fix 335).
2008-03-12 00:28:44 +00:00
james
a7da608982 Switch heading() to use addText() so it implements line-wrapping for super-long headings 2008-03-04 21:57:49 +00:00
james
a7dad33da3 Cleanify the subject, and strip slashes from the message body 2008-03-03 20:12:59 +00:00
dave
2d052c056f - Add an option to the award ceremony script to show the pronunciation key (if
the students entered it)
- Add an option to the award ceremony script to filter the awards by age
  category (the GVRSF needs one script for juniors, and another for
  intermediate/senior :)
2008-02-29 07:10:08 +00:00
james
3a1b4cca15 - Ignore jdiv 0 in the annealer and in the check. jdiv 0 is what all unassigned divs/cats get,
and if they're unassigned we don't want to schedule them.
- Fix a typo in the language selection
2008-02-28 20:23:27 +00:00
dave
6454f86aa9 - Add judge_scheduler_activity and judge_scheduler_percent to the config, if
they don't already exist.
2008-02-28 20:03:48 +00:00
dave
a8ed1d28e9 - Remove some old "Back to" links, the navbar does it now. 2008-02-28 19:34:39 +00:00
dave
07a7994d81 - When resetting the status of the scheduler, it is helpful to actually reset
the status of the scheduler.
2008-02-28 19:30:19 +00:00
james
bb3d4c0480 Need -r3 now to keep track of changes since r2 was packaged 2008-02-27 16:03:43 +00:00
james
17745cbb0a Always show the city in the school access login page, and sort it first by city then school name (previously it only showed the city for duplicate school names) 2008-02-27 15:59:03 +00:00
dave
f70314653b - Only lookup _GET['showstatus'] once, for a minute speed increase and easier
handling.
2008-02-26 08:32:00 +00:00
dave
b1ed8e4b4a - Optimize away some code where I was trying something different. :) 2008-02-26 08:28:20 +00:00
dave
10bf90f0db - Fix the total count on the cat/div summary. Several fairs have emailed me to
say the count is wrong.  It's not wrong, it's just not printing the number
  they expect.  This fixes that.

- Make it more obvious what status the stats are being displayed for.
2008-02-26 08:19:38 +00:00
dave
343d777aab - Restrict data in a committee report to actual committee members 2008-02-23 03:42:51 +00:00
dave
15a56ce13f - Add First Aid and CPR data collection to the user table.
- Modify the config so a committee can enable it for volutneers and committee
  members
2008-02-23 03:28:43 +00:00
dave
e26453f06e - Fix spelling of spelled. This is why I shouldn't be allowed to code at 3am. 2008-02-23 02:50:29 +00:00
james
145a5251c3 Only foreach the special awards if there are special awards to foreach over 2008-02-22 19:35:23 +00:00
dave
1d3ee3f83e - Judge autocomplete function, there's no menu link to it. This should work
for timmins and fraser valley
2008-02-22 06:19:22 +00:00
james
3b55ddd4a7 Use single quotes for consistency 2008-02-15 23:11:16 +00:00
james
a118acc21c Add the missing 'Gender' field to the user personal profile page, as well as save it :) 2008-02-15 23:08:33 +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
james
52fb9faed8 special awards communications should contact this year's contacts only.wq 2008-02-13 22:42:02 +00:00
dave
6a766ac59d - fix copy/paste error in the tour annealer 2008-02-12 01:11:21 +00:00
dave
c639892f3b - Properly disable divisional checks for special award only judges 2008-02-05 01:07:37 +00:00
dave
fc4de718f0 - Use a » character instead of >> for menu position. 2008-02-04 23:40:26 +00:00
dave
482f2e6d3a - Sort the tour num+name column by number 2008-01-30 07:56:47 +00:00
dave
8ffc278286 - Put the "..." in the proper cell 2008-01-30 07:54:13 +00:00
james
a7ca82ff23 Add a preview option to the signature page config. 2008-01-28 23:01:41 +00:00
dave
414a85ccb2 - Add number checking (and parsing) to the config editor
- Change the type of $config['regfee'] to 'number'
2008-01-28 21:48:44 +00:00
dave
8b38f44501 - Move the start/end table logic into functions
- If a multi-line table row spills off the bottom of the page, start a new page
				/
  and then print that row.
2008-01-26 20:41:33 +00:00
dave
8980275627 - Add mentor info to the student report generator 2008-01-26 19:46:16 +00:00
dave
4af449a2c4 - Implemnt scalable columns in the report generator.
- New report option to fit the width of the report to the page
- Columns in each reports_*.inc.php can be specified with
	'scalable' => true
  to indicate that they may be scaled if the report is too wide for the page
- Obviously, do no scaling if the option is off (off by default)
2008-01-26 19:14:24 +00:00
dave
fddce24de3 - Fix the paper type in system report 44
- Add 2 new paper types (Ledger 11x17 + landscape)
2008-01-25 05:31:27 +00:00
james
6a2683d92d Add ability to get registration list for previous years (only via appending &year=year to the URL) there is currently no user interface to access this feature. Also add the school board in brackets after the school name 2008-01-24 18:51:05 +00:00
dave
4b9d67fffe - Fix division saving for the case when a committee decides to drop a division
and the remaning ones need renumbering.  (It was not properly saving the new
  id)
2008-01-24 08:59:04 +00:00
dave
125437dd55 - More GVRSF stuff that I missed. Add two fields to the award_awards:
'self_nominate', and 'schedule_judges'.
- self_nominate defaults to 'yes' for all new and existing awards.  If turned
  off, the award will not appear in the student self-nomination pages.
- schedule_judges specifies whether an award should have judges or not, we have
  some special awards that students can nominate for but do not require judges
  to find the winner.  Similarly we have some awards students cannot nominate
  for but do require judges to determine a winner.  This allows both cases to
  be handled.
2008-01-24 07:46:12 +00:00
dave
446b54f693 - Properly construct the WHERE clause in the table editor 2008-01-23 20:20:54 +00:00