james
7e84ab0222
Add cms table, and move the 'index' pagetext to cms
...
Add .htaccess rules for the cms
Add cms page display code and convert index.php to pull from the cms
If no page title is passed to send_header(), output the fair name in the <title> tag
2008-08-19 21:13:29 +00:00
james
597a21da3a
Switch important_dates to use dateformat and timeformat config vars
2008-08-18 21:41:24 +00:00
james
3d33d976c3
Create a Localization Category for config variables, and move the Province/State, Postal/Zip there
...
Add new config variables for dateformat and timeformat
2008-08-18 21:33:30 +00:00
james
fca09d86c0
Update the database to store the page texts in multiple languages
2008-08-18 21:09:12 +00:00
james
3992b68029
Update page text's to do multiple languages, instead of storign the text's in the separate language editor
...
Also - force it to use the newly auto-installed fckeditor, and reduce the height a bit becuase there's now
more than one per page.
2008-08-18 21:08:23 +00:00
james
4cf6c46a6f
Remove the fck samples
2008-08-18 18:07:23 +00:00
james
191154357c
Enable the php filebrowser, and pull the path from the database SFIABDIRECTORY so all SFIAB's can run the same codebase without needing to individually configure fckeditor for each one
2008-08-18 18:06:34 +00:00
james
4f5727a1de
Add FCKEditor, uncompressed, no changes
2008-08-18 16:20:55 +00:00
james
251138248d
Show disabled icons
2008-07-24 17:27:59 +00:00
james
267d228aaf
Add more icons
2008-07-24 17:15:42 +00:00
james
bfc32c305b
Oops fix typos
2008-07-24 16:35:37 +00:00
james
cd24825e71
Add some more icons
2008-07-24 16:32:43 +00:00
james
517455ee13
Migrate css to a theme and setup to allow multiple themes
...
Begin adding icons to the default theme and reorganizing the admin index
2008-07-24 16:20:16 +00:00
james
1f6da29aac
fix grammar
2008-07-17 18:39:01 +00:00
james
a42812ce27
switch communication from using an echo to the at command now +1 minute to exec immediately piping the output to /dev/null and redirecrting stderr as well
2008-07-17 18:33:11 +00:00
james
205d94bb12
Change version to 2.1.9 for development
2008-07-17 15:27:19 +00:00
james
40bc5f93ef
Oops and add the db update for the new config options
2008-07-16 17:24:19 +00:00
james
651d6235a4
Add config options for Province/State and Postal Code/Zip Code
2008-07-16 17:23:53 +00:00
dave
986ce4ef44
- user.inc.php needs to generate a password without including common.inc.php
...
(install3 doesn't like including that file). That's ok, because eventually
all passwd handling will be done through user.inc.php (and the generate could
even be inlined into set_password). But for now, just copy the existing
generatePassword, and call it something different so the function names don't
clash.
2008-07-09 18:24:49 +00:00
dave
a9318b6303
- Move all the password handling code into one function (not duplicated/spread
...
over 3 files)
- Fix a bug to always save the old password (unless it was a reset password)
- Fix a bug to save the old password even when the user sets a new one
2008-07-09 17:02:11 +00:00
james
5ed0135442
Better fix for the password expiration problem
2008-07-09 14:51:48 +00:00
james
0f2812cc90
Set the email address properly on install
2008-07-08 19:52:14 +00:00
james
e1055150c9
Dont make newly created users passwords expire as soon as they login
...
Allow firstname and lastname to be POSTed through on the install3 script so the name can be set instead of using 'Superuser Account'
2008-07-08 19:29:02 +00:00
james
66ec01cd60
htmlspecialchars the text for the text box so things like <a href>'s work.
2008-07-02 15:52:51 +00:00
james
a8fadb3046
Fix the scheduler status in IE7 - the http readystate needs to be manually reset.
2008-04-14 00:16:52 +00:00
james
73972d676f
Show judges language on the judge team members list - for quick verification of proper language team assignments.
...
Fix 1x4 and 1x1.33 Avery stock to print properly.
2008-04-03 20:34:42 +00:00
james
76966f0f62
Allow the admin to change the project sort as well as the project number. we dont care abotu checking for duplicates here with the project sort... its just a sort field....
2008-04-02 17:27:10 +00:00
dave
d2868f3f45
- Updates to the tour annealer:
...
- Add more verbose output for the terminal
- Split the student load / tour preference load to capture student who
didn't select any tours
- Allow students with no tour selection to be placed anywhere with no
penalty
- Add a missing break; in cost computation (doesn't change the result)
2008-04-02 06:25:50 +00:00
dave
6d3f518648
- Fix the multiple cookie bugs if SFIABDIRECTORY=='' and the user visits
...
'/admin' or some other subdir first. Setting the cookie directory to ''
seems to mean that PHP sets it to the current directory. We want it to be
set to '/'.
2008-03-30 18:42:15 +00:00
james
bbbd32a026
Dont include deleted judges in the number of available judges check
2008-03-30 16:06:08 +00:00
james
8b250c8997
Fix a bug where the scheduler was allowing deleted judges to be used
2008-03-29 20:59:14 +00:00
james
5458a5809e
Fix a bug where judging teams containing apostrophe's wasnt being created, but it was using an old ID from a previous insert, so judges were being linked to teams that didnt exist... then the records became orphaned and couldnt be deleted.
2008-03-29 20:48:39 +00:00
james
572242bc14
Only consider judges teams from the current fair year when calculating what judging team number to start numbering at
2008-03-29 19:02:43 +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
james
cebe0d2ea7
Properly do the namecheck for multiple student
2008-03-27 22:34:15 +00:00
james
300e76c3c0
Show both names on the same page
2008-03-27 22:26:06 +00:00
james
63034a1d33
Check the name check status on deciding if a form is complete or not.
2008-03-27 22:12:27 +00:00
james
d190d4f0b7
Display errors if at least one age category and one division arent selected
2008-03-27 08:06:14 +00:00
james
6a1f51d3dd
Re-work how it checks if someone is "unassigned" - the old way was causing problems with multi-year data, if a judge was assigned in a previous year it was getting picked up as assigned even though it wasnt assigned for the current year.
2008-03-27 07:46:52 +00:00
james
0dc2862fa0
VERY important update to reports_items that dave must have missed.. took me THREE HOURS to track down why alignment wasnt being saved from the report editor!
2008-03-27 06:22:11 +00:00
james
63a48c8fbf
Rework school access page.
...
1) add a crapload of missing i18n's
2) disable feedback form until an email address is entered
3) update the headers of the email sent so 'reply' works
2008-03-27 04:33:00 +00:00
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