Commit Graph

132 Commits

Author SHA1 Message Date
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
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
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
a7ca82ff23 Add a preview option to the signature page config. 2008-01-28 23:01:41 +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
james
7370a9387c Fix rollover comment :) 2008-01-23 19:00:26 +00:00
dave
3f3475d407 - fix the limit on the special awards self nomination query
- add a rollover for regfee items
2008-01-23 18:40:59 +00:00
dave
e74c4ce64d - Another GVRSF change. Optionally include registration fee information on the
signature page.
2007-12-23 01:33:09 +00:00
dave
c514d7910a - Alternate colours on the variable editor categories 2007-12-17 22:25:54 +00:00
james
63c5f3b2ff Rework the variables display a bit 2007-12-17 21:57:26 +00:00
justin
b366d7bf4e Change varaibles.php to use a vertical section menu; slightly rough initial version. 2007-12-17 19:31:09 +00:00
james
9fe86bf408 Rollover the project categories-divisions links 2007-12-07 22:12:16 +00:00
james
fab18eb0c7 Add enabled and website (for help) to external sources
Update source editor
Make downloader only check enabled source
Make downloader check for username/password before attempting
Add extra instructions
2007-11-29 18:38:06 +00:00
james
ef2cc85c8c Rollover the extern award/prize identifiers from year to year 2007-11-29 18:25:56 +00:00
dave
f6cc5d7326 - Cleanup how variables are handled/rolled/etc. Convert the require_vars
function in the config editor to one that checks where ALL variables marked
  with year=-1 exist for FAIRYEAR.  If it doesn't, it creates them.  This
  function gets called in three places:
 	- On installation
	- On rollover
	- Whenever the database is updated
 We should, now, be able to just insert new variables with year=-1, and they
 will be automatically updated for the current year with the default value.
 (no more going into the variable editor to make sure the copy is done).

- Fix the superuser account creation in the install script
2007-11-25 19:53:15 +00:00
james
33471e80ee Add award source configuration
Add stub for award downloader
2007-11-23 22:07:55 +00:00
james
2305a44d57 Rollover award description
Rollover award prizes trophies
2007-11-23 21:25:52 +00:00
dave
f864826ee4 - Add user.inc.php here too 2007-11-21 17:04:35 +00:00
dave
5d56e802a0 - Change auth_required to user_auth_required to check for committee access too
- Add a top navbar to every page
2007-11-19 00:33:38 +00:00
james
fb9a23a0e2 Check that the logo images were actually created before giving a message that they were. If they arent, give an error message and a possible reason 2007-11-15 16:58:31 +00:00
james
4cd4738a4f Detect versions that are NEWER than the most recent release as development versions 2007-10-25 15:54:32 +00:00
james
7320bdbde8 Use FCKEditor for pagetexts if its available 2007-10-23 21:24:01 +00:00
james
620353e8fa properly install config types and type values
properly rollover config types and type values
2007-09-26 20:21:13 +00:00
james
abbfe00e82 Fix a bug that prevented the award prizes from being rolled over properly 2007-09-20 16:53:06 +00:00
dave
42b60170a4 - Add a 4th text section to the signature page (of course, it's optional, and
off by default).  It's a postamble.. just a space for "Additional
  Information" after all the signatures.
2007-01-31 00:48:24 +00:00
dave
ca24d7afc3 - Use unlink on each logo file, instead of system and rm -rf with pattern
matching.
2007-01-21 18:41:47 +00:00
dave
5ca11ae362 - Properly copy the config type in the config editor when copying -1 config values into
the current year
- Add 2 new config options.  
	- 'participant_student_tshirt_cost' allows the cost of each fair tshirt
	  to be set (vancouver charges $10 for tshirts, because not all
	  students want them), this also adds a 'none' option to the tshirt
	  selection box, and a note indicating the tshirt cost if the costs is
	  nonzero.
	- 'regfee_show_info' adds a "Registration Fee Information" to the main
	  student registration page, showing a breakdown of the registration
	  fee computation (including tshirts, per_student and per_project
	  registration, and indicates the total.
- Convert the tshirt field to VARCHAR(32) instead of enum so the "none" option
  described above works, also, some fairs may want to add more optoins, like
  female/male sizes.. so turn this into a text field for those fairs.  The next
  step would be to make a config option for the tshirt options. :)
2007-01-21 01:40:46 +00:00
dave
dd247fa002 - Added a "Delete Logo" button if a logo exists. It just wipes out the .png and .gif logo files. 2007-01-16 19:45:12 +00:00
james
9fc98fc288 Add a TCPDF version of the signature page, TCPDF does not require any extra PDF libraries (eg pdflib) to be installed
Create PNG versions of the uploaded logo image file
Detect which version of the signature page to use
Bump version to development series 2.0.5
2006-12-18 20:55:30 +00:00
james
319c5d6720 Add option to turn off the Mentor section for participant registration
Add two new projectnumber options:  c=category shortform,  d=division shortform, eg  (JLS01 = Junior, Life Science, Project #01)
Add shortform field for age category
Fix bug in config editor where it was updating values for ALL years, instead of just the current year!
Bump version number to development version
2006-12-06 17:58:40 +00:00
james
19c5c43b87 Fix a bug that prevented judging questions from being added
Fixed a bug when rolling over fair years with configuration variables not coming over properly
2006-10-30 20:03:38 +00:00
james
2339154da6 Add a live version checker that checks if your version of SFIAB is up-to-date
Add a live language pack installer that installs language packs off the SFIAB server
2006-10-25 01:17:41 +00:00
james
31fc7a0866 Update the rollover script to rollover the new fields that were added recently 2006-10-25 01:16:48 +00:00
james
2019e24b89 Add the 'one click' CWSF registration code!
It current generates the XML but does not implement the sending to YSF (thats still to come!)
2006-10-19 21:39:30 +00:00
james
ac3e1d6b1d Implement Bug #0000011 - Show safety question order and warnings when non-numeric values entered 2006-10-15 19:50:09 +00:00
james
0ebd709a13 Add the option to collect teacher signatures on the signature page 2006-09-18 19:33:48 +00:00
dave
dc60c9f652 Update the date editor.
- Dates are always displayed in the same order, which is somewhat logical.
- It detects some errors.  It's not perfect, but it'll detect when a date is
  invalid, and when pairs of dates are bad (eg. the reg. system closes before
  it opens.).  All dates are still saved to the database but the user is
  alerted of any date errors.
2006-09-03 23:37:22 +00:00
james
14e93e0c12 Split the Configuration Variables page into separate 'Category' pages 2006-08-11 18:53:10 +00:00
james
1519b427d2 Properly rollover the schools, allow 'lastlogin' to be NULL 2006-07-26 14:51:30 +00:00
james
7d7dd74b18 Show sponsors from all years, make the rollover script simply unconfirm all of the sponsors so they can be reconfirmed for the new year. 2006-07-26 14:38:21 +00:00
dave
8665e4a487 Missing files 2006-07-12 14:28:52 +00:00
dave
228a1a0583 Implementation of configurable judges questions. 2006-07-11 20:22:42 +00:00
justin
4d6238c7c6 Removed the column containing the database variable names from the Important Dates table. Ref:Bug 47 2006-03-29 00:31:07 +00:00
james
2ad2b58233 Bug #0000056 - Change variable wording of filterdivisionbycategory 2006-03-09 13:15:34 +00:00
james
5518a2272f Add the signature page editor
And insert the defaults to the database
2006-02-24 17:42:11 +00:00
james
e486d621c8 Avoid a 'foreach' on an empty array and ensure subcategories only show for the appropriate years. 2006-02-06 17:22:25 +00:00
james
ab294df97b Make safety questions require a question to be filled in (or at least something in the question box) 2006-02-01 16:59:45 +00:00
james
b9bf8fba6c Fix a few multi-year related bugs with the category/division linkings 2006-02-01 16:39:48 +00:00
james
90191e4b99 Keep checkbox and categories on same line 2006-02-01 16:32:41 +00:00
james
a20dfdbd7a Merge Jamie's changes from Peterborough, allowing different divisions to be available to the different age categories. -- default is 'no' 2006-02-01 16:29:08 +00:00
james
a9ffdf7ee4 Oops fix the misspelled "Divison"s 2006-02-01 15:31:09 +00:00
james
522dfaf701 switch the sort order on the divisions config page from 'division' to 'id' 2006-02-01 06:51:48 +00:00
james
6832bdc572 Allow setting a mingrade of 0 (kindergarden) for the categories, also center the columns in the table to look nicer 2006-01-28 17:53:26 +00:00
james
958a25c4aa Fix the safety question yes/no stuff, also fix the editor, it appears to have been broken somehow! 2006-01-27 01:14:16 +00:00
james
4d54bdbb1c Update translation manager to work with unlimited number of languages as defined in the languages table
Update i18n function to accept a third parameter, which is an array that describes the arguments in the string to make translation much easier
Update some of the config/admin pages to make sure i18n is properly used, and that argument descriptions are set
2006-01-19 17:15:07 +00:00
james
2179f3f709 Add safety question configuration 2005-12-08 14:56:30 +00:00
james
3362e14b4e Also rollover the schools, when we do the fairyear rollover 2005-11-24 20:12:43 +00:00
james
288dd58c9c Make sure we always have all of our configuration variables defined. If a new one is added as a default with year -1, it needs to be automatically created for the current FAIRYEAR as well. 2005-11-24 20:12:06 +00:00
james
b24d579424 dont show the form again after running 2005-11-21 21:30:10 +00:00
james
b639308993 Add page text functionality, to define arbritary page text to be displayed on pages without having to edit the actual files.
Also shrunk the padding on summarytable, 4px seemed just way too big of a waste of space :)
2005-11-21 20:33:18 +00:00
james
343c70f633 Added the fair year rollover code to go from one year to the next 2005-11-21 19:36:48 +00:00
james
bfbc33898b Dont allow the user to change DBVERSION via the variables configuration 2005-06-07 21:12:01 +00:00
james
4034991742 Add the start of installation step 3
remove ability in config/variables to change the fair year -- this needs to be done via the rollover functionality
2005-06-06 17:07:35 +00:00
james
3a26881149 add important dates
remove weird leftover query in config/dates
2005-03-29 21:04:16 +00:00
james
923c62f307 remove the messages about admin/config being left open for all, as they no longer are. you must login as a committee member to see them 2005-02-17 15:00:29 +00:00
james
3deae5e029 Implement authorizaiton for admin/config sections
Use committee members for authorization
Add auth required checks in all admin/config sections
2005-02-16 22:50:43 +00:00
james
5aac09ae15 remove unneeded module= from links 2005-01-25 17:00:23 +00:00
james
324433ef23 Add GPL headers to ALL PHP files 2005-01-24 18:00:03 +00:00
james
f5225bdca8 Add notes about putting ID's in numerical order for division and category 2005-01-21 17:30:28 +00:00
james
c03aaf07a3 add logo to pdf's 2005-01-14 20:42:03 +00:00
james
8aad3ae25b Logo image uploader 2005-01-14 19:44:37 +00:00
james
43cf64ee89 Add dates configuration
fix variables to POST to the right page
add dates to config index
2005-01-14 15:44:36 +00:00
james
2c3f6e745f add a script to populate the db with some fake data
update divisions to accept 'shortform'
some updates to PDF
2005-01-13 23:59:22 +00:00
james
8e49f54230 switch ID and Parent Division fields 2004-12-20 18:54:41 +00:00
james
3315b8b73c Implement subdivisions editor 2004-12-20 18:31:42 +00:00
james
287a19999b Implement divisions editor, small changes to categories 2004-12-20 17:03:48 +00:00
james
38638140b9 separate cat/div into categories and divisions
fully implement the age categories configuration
add "back to configuration" links to each sub-config
2004-12-20 16:35:15 +00:00
james
f33be12001 Separate configuration into Variables and Category/Divison 2004-12-20 16:00:43 +00:00
james
740994032b Change font from Arial (embedded) to Times-Roman (builtin) - reduces filesize from 180k to 3k
Also change titles to Times-Bold
2004-12-15 05:36:27 +00:00
james
4dce799338 implement configuration of variables in the config table 2004-12-14 20:30:04 +00:00
james
86bad4961b - set proper SFIABDIRECTORY on all menu links (so they work from inside subdirs)
- add config directory, update config.inc.php
2004-11-30 19:06:35 +00:00