Commit Graph

1188 Commits

Author SHA1 Message Date
james
ffa116bb5d Add backup/restore functionality - need to add icon still
Fix bug where title was leaving room for an icon even if there was no icon
2008-09-24 21:56:11 +00:00
james
bfb471011a - Fix a bug where the special awards annealer would overwrite the last jteam
- Add an alternative (but commented out) array population for the annealer
- Leave in some of the debug statements, they don't hurt anything.
2008-09-17 18:04:50 +00:00
james
87841466e6 Hmm, re-add the "Internal Document Management" that somehow got left out from the conversion to icons! 2008-09-17 14:30:18 +00:00
james
642dac036f Add participants last year and participants all years to communications system 2008-09-17 14:23:30 +00:00
james
4d0ff8f327 properly fix the team naming/sorting issue 2008-09-16 19:38:27 +00:00
james
bed8cc9d9e If a jdiv has no projects, then it definitely doesnt need any judging teams to judge those 0 projects 2008-09-16 18:44:25 +00:00
james
de185f07f4 sort the divs and cats so the team names are consistent 2008-09-16 18:37:23 +00:00
dave
54aa1b7658 - One more quick fix, make it "special award only", instead of "awards",
because a judge that wishes to judge a specific special award is only allowed
  to choose one.
2008-09-15 15:46:22 +00:00
dave
15f9d0cb89 - Remove my testing database name from the CREATEs 2008-09-15 03:59:53 +00:00
dave
f8f9964fba - Non-invasive commit, ground work for moving judges to the user backend. 2008-09-15 03:51:52 +00:00
james
d017f6ff3c use the function to check complete status, and only after it has saved whatever was posted so the display is correct. 2008-09-05 19:06:39 +00:00
james
d61fa75b0d Switch the namecheck to check both/any/all students in the project, not just the one logged in. 2008-09-05 18:50:36 +00:00
james
2f56404903 Bump version number to 2.2.1 for development 2008-09-05 18:09:12 +00:00
james
48f4c4715d Switch version to 2.2.0 2008-09-02 18:44:19 +00:00
james
2c106b3bd7 Add a few missing <br />'s to the winners page 2008-09-02 17:53:29 +00:00
james
7dcb9ef8b0 Fix the config variables rollover so it uses the previous year's data instead of the defaults!
Also add some intval()'s for rollover year sanity checking
2008-09-02 17:34:32 +00:00
james
5fd8680f4e Oops, fix pagetexts auto-insert of default values 2008-09-02 17:12:13 +00:00
james
09be3848ff Look in the right location for the fair logo image file from the content management page display 2008-08-28 22:14:17 +00:00
james
b2fb7855f0 Make format_date, format_time and format_datetime accept either a unix timestamp, or a text string
switch important_dates to use format_datetime
2008-08-28 22:11:10 +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
9995867f1d Add countries table and populate
Add countries_code field to provinces table and fix canadian provinces
Populate US States into provinces table
Add config option to Localization tab to enter a 2 letter country code (how to lookuup from countries table?!)
Update emit_province_selector to use country config entry
2008-08-28 21:41:31 +00:00
james
f89fdffb12 Rollover the pagetext last-update date/time
Auto-create a pagetext entry in each language if they dont exist
2008-08-27 20:01:07 +00:00
james
5341801ce7 Properly rollover:
1) Page Texts - with descriptions and languages
2) Age Categories - short form
3) Divisions - short form, cwsf division id
2008-08-27 19:33:56 +00:00
james
d09a5ee76f Add icons to the profile and password pages 2008-08-27 17:52:46 +00:00
james
4473f6be5c Switch committee_main to user icons 2008-08-27 17:40:32 +00:00
james
64d56ef197 Add change password and edit profile icons 2008-08-27 17:38:27 +00:00
james
c87ea3b37e Add administration and configuration icons 2008-08-26 21:42:17 +00:00
james
d5ff3be6b9 Use page text description instead of the database page text name on the page text editor list. (BUG 198) 2008-08-26 21:06:05 +00:00
james
dad671f212 Text change - Bug 0177 2008-08-26 20:50:25 +00:00
james
02e88f4f29 Re-order the admin page to make more sense. 2008-08-26 20:45:29 +00:00
james
2adbf3bb06 Put some icons on some of the front-end pages too 2008-08-22 21:03:25 +00:00
james
ca5515a335 Put admin icons in the title of each page 2008-08-22 20:50:38 +00:00
james
32dfcda427 Fix website content management icon name 2008-08-22 20:48:50 +00:00
james
0629f5acf7 Fix website_content_management icon name 2008-08-22 20:47:00 +00:00
james
eb2128da25 Update send_header() for a third parameter of the icon to use 2008-08-22 20:35:08 +00:00
james
e2b8bf21a5 Put the icon on each page 2008-08-22 20:34:38 +00:00
james
4f6749d5da Remove an extraneous <br /> 2008-08-22 20:18:17 +00:00
james
c29e490639 Add the rest of the config icons! :) 2008-08-22 20:10:39 +00:00
james
2d20b0887b Add about 1/2 the icons for the config page 2008-08-22 19:12:53 +00:00
james
cbf1c371ff Move cms from config to admin
Add icon and link it into the admin index
2008-08-22 17:21:35 +00:00
james
15cb1f9782 If there's no entry for the current fairyear, insert the default entry
Delete all instances of index from the pagetexts, not just the current year
2008-08-22 17:11:20 +00:00
james
44d88e646e Commit mostly working CMS 2008-08-21 20:30:20 +00:00
james
8b5fc1c905 Shrink the summarytable headers a bit in size
Add the content management front-end file
Add the content management back-end file - its not quite done yet
2008-08-20 20:25:42 +00:00
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