Commit Graph

135 Commits

Author SHA1 Message Date
dave
d821a6402e - Reverse the calling order too 2009-09-25 22:43:50 +00:00
dave
aecbabbb4a - reverse the timeout and i18n_array args, i18n should go first as it will be
used much more often.
2009-09-25 22:43:12 +00:00
dave
b0e7715fb9 - Turn fair_save into an ajax query
- Add notification area and debug to the popup window, still an ugly hack.
- Add a checkbox to the feeder fair config to enable/disable the whole thing (will confuse people less, needs to be implemented)
- Also add a checkbox for signaling the feeder fair if there are additional materials for an assigned award.
2009-09-23 16:42:24 +00:00
dave
e07d24102c - Well, disabling the fields was a good idea, exept that serialize() skips over
the value but not the name, so it sets every disabled field to "" when
  passing the data to mysql.
2009-09-20 19:25:42 +00:00
dave
20fe1d8b13 - Switch to a global message status area 2009-09-18 03:29:13 +00:00
dave
792a581357 Put the debug DIV in a sensible location 2009-09-17 06:48:52 +00:00
dave
d2535f46bc - Add status area on each page for award div
- Redirect all ajax load output to a debug div (which can be turned on with
  debug=true).  The output has to go somewhere, and it can't go to the
  notification div, because it will overwrite what's already there.  The ajax
  methods emit javascript now to add notifications.
2009-09-13 19:25:03 +00:00
dave
1f830c7845 - Proof of concept floating status messages that go away after a timeout, in
the same approx. spot that SFIAB has always put status messages.
2009-09-13 08:33:54 +00:00
dave
8f29090c38 - Load .js for popups too, but pretty soon we won't need this popup function at all. 2009-09-11 06:11:43 +00:00
james
bef9c279ec rework/rename the translationeditor 2009-09-11 05:33:41 +00:00
dave
8b7a6e14b3 - Convert the popup to use the jquery ui popup
- Theme the whole thing
- Remvoe the translation dropdown support for now, it's causing a spurious reload replacing the endire page with a clickable "translations" link
- Add code for the prize editor, not done yet.
2009-09-09 17:06:11 +00:00
james
f963dbf276 Merge all changes from branch r1284:1498 into trunk 2009-09-09 00:26:12 +00:00
james
bf58a9d78b Make the Help button work on all of the sfiab.com sites because of the mod-rewrite REDIRECT_URL 2009-01-27 21:52:11 +00:00
james
fde29e7a91 Migrate 1320 from branch into HEAD 2008-11-02 02:35:46 +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
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
eb2128da25 Update send_header() for a third parameter of the icon to use 2008-08-22 20:35:08 +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
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
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
651d6235a4 Add config options for Province/State and Postal Code/Zip Code 2008-07-16 17:23:53 +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
dave
fc4de718f0 - Use a &raquo; character instead of >> for menu position. 2008-02-04 23:40:26 +00:00
james
1ae2b2e779 Better display of development versions, and make the DEBUG session output easily switch on-off-able by passing in ?debug=true or ?debug=false to any page. 2007-12-20 22:39:21 +00:00
dave
8c42e853af - Handle type/stock for custom reports properly
- Convert reports.php to use SESSION based status messages.  Just to try it
  out.
2007-12-20 18:44:28 +00:00
james
9a7383f552 How'd that / sign get in there, it should be a . to concatenate 2007-12-20 14:48:02 +00:00
james
00eed557cd Move the contact link out of the centered div, so it looks like the rest of the menu items 2007-12-13 19:54:19 +00:00
james
6c864d1b93 Bump version for development 2.1.7
Create page text entry for 'invite only' volunteer registration
Create a contact page to contact committee members, and link it into the committees page, and the bottom of the left side menu
2007-12-13 19:52:27 +00:00
dave
57f349b1b1 - Add a year field to the users db, we'll need it eventually
- Add a designate field to the schools, to indicate an independent, standard,
  private, etc. school.  It's not editable yet, but.. eventually.
- Fix generatePassword to use proper string indexing, and remove the
  possibility of indexing beyond the end of the string.
- Add "Invite" and "SinglePassword" modes for volunteer registration.
- Update the admin section, add a new volunteers page to contain links to all
  volunteer options
2007-12-13 18:09:22 +00:00
dave
9fffa6755d - Call them 'fair's not 'region's.. to assist linking fairs together.
- This patch references some config variables that don't exist yet, that's ok,
  we dont' want anyone turning these on yet.
2007-12-12 04:15:17 +00:00
james
d024d30793 Revert the isEmailAddress change so emails will actually send out again 2007-12-09 22:18:29 +00:00
dave
3479ab4e7f - Add missing i18n() to the top bar 2007-11-23 20:56:59 +00:00
dave
071ded90b0 - Remove "Home >>" from the top nav bar, and simplify the logic 2007-11-23 20:55:29 +00:00
dave
3ba0d061f7 - Remove auth_has_access($access) completely, use
committee_auth_has_access($access) now.
- Remove unused committee_login and committee_auth.php
- Simplify the left bar logic for the committee links
2007-11-21 07:41:09 +00:00
james
1937045874 Fix the "My Profile" link 2007-11-19 21:29:32 +00:00
dave
82b957eee4 - Fix a bug in multirole 2007-11-19 17:11:47 +00:00
dave
2715d67aef - Fix login check for an expired password
- Allow user_personal.php to handle committee members
- Add password field if the editer in user_personal has access_super
- Allow a committee member to edit anyone in user_personal.php
- Convert auth_required to user_auth_required, and check for both a user type
  and an access level (if committee)
- Convert the committee to the new user system (BIG change :)
- Remove the ^M from admin/committees.php
2007-11-17 21:59:59 +00:00
dave
fa9b298959 - Add the volunteer registration link to the left nav, and unconfuse the PHP for it. 2007-11-16 07:54:33 +00:00
dave
e43eb703a5 - And the code for the nav bar thingy 2007-11-16 06:47:53 +00:00
james
645f48beb5 Oops typofix 2007-11-15 21:18:06 +00:00
james
8ad304441f Add 'emailcontact' field to registrations table, that SCHOOLINVITE teachers can put their own email address into to receive emails that would normally go to the students. If the students email is valid the student will still get the emails as well. 2007-11-15 21:17:20 +00:00
james
3a75f58f41 Name the PHP Session cookie something unique for each SFIAB to reduce the possibility of SESSION variable collisions between multiple SFIAB's running under the same domain 2007-11-15 18:34:41 +00:00
james
1f31bc124c Remove the "Return to SFIAB Development Page" link, and make the version number at the bottom link back to it 2007-11-14 20:55:47 +00:00
dave
6112c7faaf - Add the multirole switcher link to the log bar.. The file doesn't exist yet,
but noone should be able to access that link anyway, until user_login.php
  committeed.
2007-11-13 21:00:58 +00:00
james
d20a9c1eef Fix dave's logout code to work regardless of what folder you're in, and i18n the logout links 2007-11-13 14:47:01 +00:00
dave
2a5cdcb57e - Put a login bar in the header that always has a logout link, eventually it'll
have more.
2007-11-12 20:43:47 +00:00
dave
fb65e87587 - Match the ENTIRE string in isEmailAddress, because otherwise things like :
"dave@slicer.ca';DROP TABLE students; --" will match.
2007-11-09 07:20:10 +00:00