Commit Graph

1108 Commits

Author SHA1 Message Date
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
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