Commit Graph

1385 Commits

Author SHA1 Message Date
dave
abd1fda6fe - Always scrub data before passing it to mysql 2009-09-17 05:53:47 +00:00
dave
0a9053181c - Fix a reference to the award external identifier
- Move the nubmer of available prizes to the top so it's harder to miss.
2009-09-14 05:34:31 +00:00
dave
347d2d5a86 - Use the prize name, rather than the external_identifier to identify the prize. It only has to be unique within each award, which it will be (all prizes should have a name). 2009-09-14 05:33:49 +00:00
dave
6a3eacaf9a - typo 2009-09-14 04:41:49 +00:00
dave
a3f8957d96 - add the html for the registration linkage button. does nothing else yet. 2009-09-13 22:23:19 +00:00
dave
38fdd32f3a - Update xmltransport, which isn't really XML anymore, to use the fairs_awards_link table. Also send the upload_winners status (do I need to update an API spec somewhere?) 2009-09-13 22:04:27 +00:00
dave
1e830e47bc - Add support for setting the external identifier 2009-09-13 21:58:50 +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
e9d3d4ce03 - Database update for feeder fair award info
- Load/Save feeder fair awards in the award editor
- Fix all the POSTs in the award editor.   .load automatically does a POST if
  the data is an array, so we need to call .serializeArray() when we want a
  post to happen.
2009-09-13 07:08:12 +00:00
dave
60146110b2 - Restore the admin table font size. 2009-09-11 17:52:30 +00:00
james
99ad03654a switch the table class for the school list 2009-09-11 16:18:47 +00:00
dave
5d5c91766a - Remove the order from the ajax save too 2009-09-11 06:36:16 +00:00
dave
1c70110680 Remove the order box from the award info, the main table supports drag and drop. 2009-09-11 06:35:49 +00:00
dave
986b762f4e - Move some GETs to POSTs
- Sort out the header sizes, I think.
2009-09-11 06:12:17 +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
dave
34c3cb64db - Use existing classes instead of inventing new ones 2009-09-11 06:11:08 +00:00
dave
0cd1876f0f - Update the main theme to be a little more sane with fonts (i hope)
- remove all references to htabs, we dont' need them anymore.
2009-09-11 06:03:00 +00:00
dave
1a2839b5b2 - Hack up the user editor window to use jquery ui tabs and ajax, sorta. More
like a Frankenjax.  Needs MAJOR help.
2009-09-11 06:01:01 +00:00
james
29f0d1ac07 Helps if you use the right filename, definitely almost 2am 2009-09-11 05:47:58 +00:00
james
3d4f12117b oops, properl close the script tag 2009-09-11 05:44:10 +00:00
james
dd51217bc0 Remove the old translationsdropdowns 2009-09-11 05:38:29 +00:00
james
bef9c279ec rework/rename the translationeditor 2009-09-11 05:33:41 +00:00
james
d17de3f6e6 Updated and working translations dropdown - simply add class="translatable" anywhere you want something translated 2009-09-11 05:16:37 +00:00
dave
54739b72b5 Make the row being dragged a different colour 2009-09-11 04:18:12 +00:00
dave
f260f5bf94 We don't need this file now 2009-09-10 22:52:48 +00:00
dave
8b9b029e31 - Use jqueryui's tab system instead of our own
- Update the tab style so it doesn't look stupid.
2009-09-10 22:52:04 +00:00
james
174d658f2d Start of a new trasnlation dropdown, commit so maybe dave can help :) 2009-09-10 21:31:51 +00:00
dave
074d39171f - Implement the generic prize template editor (not fully tested)
- Doesn't launch from awards.php yet for some reason.
2009-09-10 17:32:16 +00:00
dave
2270593d65 - Make eligibility saving work. 2009-09-10 08:56:58 +00:00
dave
74ec5fdcfb - don't need this file anymore, all the functionality (except validation) is
implemented in award_awards.php
2009-09-10 08:30:07 +00:00
dave
d50debde12 - Make the main award table sortable by dragging
- Implement new/delete award (still needs some eyecandy)
- Update the order tables to recalc the order without fetching it from the server 
- Only thing left to do is make sure saving eligiblity works.
:
2009-09-10 08:29:16 +00:00
dave
0f16a90efc - Don't need to do this, the tabs will do it themselves 2009-09-10 08:26:24 +00:00
james
860693eb14 add a tr:hover to the tableview class to make it easier to see what row you're hovering over 2009-09-10 04:46:50 +00:00
james
f7bddf5beb Get rid of all occurences of viewtable and replace with tableview 2009-09-10 04:40:18 +00:00
james
a2018771e7 Implement jquery datepicker! woohoo 2009-09-10 04:24:47 +00:00
dave
80c743eb1a remove a debug statement 2009-09-10 01:24:57 +00:00
dave
aa1d88f7d2 - Prize editor with movable tables. It's still a bit rough, more work needs to be done with turning on /offthings at the right time, but it's all there, and it all works. 2009-09-10 01:23:58 +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
94ecb59321 Calculate the difference from the probability weighted totals 2009-09-09 03:12:53 +00:00
james
1c99f624e5 Fix contact to actually work with the new user code 2009-09-09 03:05:45 +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
5ec6879149 A couple fundraising changes for readability 2009-09-09 02:39:22 +00:00
james
183531ada0 Fix 131 2009-09-09 02:38:57 +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
8ef4d37327 Lol oops i updated the version in the branch instead of head - now the version is bumped correctly 2009-09-09 01:19:36 +00:00
james
f963dbf276 Merge all changes from branch r1284:1498 into trunk 2009-09-09 00:26:12 +00:00
james
64d3d6022f Update winners list to properly show more than one school if needed 2009-04-14 18:36:34 +00:00
james
db76fa01f7 Use -resize instead of -sample - gives MUCH nicer image resizing 2009-04-14 17:11:48 +00:00