Commit Graph

100 Commits

Author SHA1 Message Date
james
a2018771e7 Implement jquery datepicker! woohoo 2009-09-10 04:24:47 +00:00
james
eb05b3eaa5 Add a nice notice about maybe making a backup before doing the rollover 2009-09-09 02:50:00 +00:00
james
00d43f0e9a Fix two bugs in the rollover 2009-09-09 01:57:22 +00:00
james
2f0deca246 Update rollover script to roll sponsors & awards properly
Switch all mysql_escape_string to mysql_real_escape_string
2009-09-09 01:44:55 +00:00
james
f963dbf276 Merge all changes from branch r1284:1498 into trunk 2009-09-09 00:26:12 +00:00
james
db76fa01f7 Use -resize instead of -sample - gives MUCH nicer image resizing 2009-04-14 17:11:48 +00:00
james
59d42980e1 Fix i18n on the date config errors 2008-10-30 17:08:21 +00:00
james
b3bfb560f9 Add a bunch of missing i18n()'s 2008-10-06 19:09:00 +00:00
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
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
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
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
e2b8bf21a5 Put the icon on each page 2008-08-22 20:34:38 +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
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