Commit Graph

161 Commits

Author SHA1 Message Date
vyshane 364f72aa05 Fix for MDL-7574. 2006-11-17 05:51:37 +00:00
vyshane 62e0242116 AJAX config for course format. 2006-10-24 08:15:09 +00:00
vyshane 0321eb66d0 AJAX config for course format 2006-10-24 08:14:09 +00:00
vyshane 604c996ca6 AJAX fixes. 2006-10-24 08:07:56 +00:00
vyshane 6f7fcae9f2 Removed YUI debug since this is handled in lib/ajaxlib.php 2006-10-18 07:09:54 +00:00
vyshane 44089f2cb4 Removed YUI debug since this is handled in lib/ajaxlib 2006-10-18 07:09:22 +00:00
vyshane 3ecc49d495 Turn off display of week dates if we are in editing mode and if ajax is turned on. We do this for now because the ajax code does not yet update the week dates when sections are moved around. Will have to fix later. 2006-10-10 02:38:33 +00:00
moodler 3febabd888 Use AJAX for weekly formats too. HOWEVER, there are some remaining
bugs with it so for now it only works in DEBUG_DEVELOPER mode
2006-09-23 14:38:01 +00:00
moodler 9bb7417805 Further centralising of course AJAX and cleanup of code formatting, names etc 2006-09-23 14:03:48 +00:00
moodler 75dc25855c Now using the generic course/rest.php instead of the local commands.php 2006-09-23 13:24:10 +00:00
moodler c1ddecab49 Rewrote much of this to add
- more validation of incoming data
   - error logging in the PHP log

I've tested every function and it works for me without errors.
2006-09-23 07:52:09 +00:00
cap2501 e78a3505c5 MDL-6544
resolved issue by passing strings into new main.portal.strings for delocalization.
2006-09-21 18:38:54 +00:00
moodler 0e1cc9070b Fixed a some debugging statements 2006-09-18 13:24:45 +00:00
cap2501 8a66975e84 cleaned up some formatting 2006-09-17 17:48:27 +00:00
toyomoyo 3924b9884b adding capabilities 2006-09-05 08:50:23 +00:00
cap2501 5be392bd10 Updated so nothing in the database is being manipulated directly except for the block position. look into moving this functionality into the blocks_execute_action. 2006-09-05 00:47:47 +00:00
cap2501 305f223035 Switched over to using moodle commands instead of direct DB manipulation for everything but blocks(still working on that one). 2006-08-30 21:38:23 +00:00
cap2501 ff96b9df7e Added the 'delete' methods back nessicary to change $field to optional. 2006-08-30 19:22:34 +00:00
moodler 3511c16cfd Minor change to prevent bugs while Ed works on not needing this parameter at all. 2006-08-29 04:04:12 +00:00
cap2501 d63545d8e8 Fixed errors in refactoring ( rev4, almost there) 2006-08-29 02:34:35 +00:00
cap2501 dad4a8e5d7 Fixed errors in refactoring ( rev3, almost there) 2006-08-29 02:02:45 +00:00
cap2501 5281e0ab2a Fixed errors in refactoring ( rev2) 2006-08-29 01:38:58 +00:00
cap2501 6fe72833d0 Fixed errors in refactoring 2006-08-29 01:35:45 +00:00
moodler 5bfecd388d Cleaned up the code to remove security issues and to show Ed Coyne
how to use the Moodle API and follow coding guidelines.

I think I broke something but I'm sure Ed can fix it from here!
2006-08-28 14:42:07 +00:00
moodler a0bfbeaae8 Integrated topicsajax into "topics" 2006-08-28 06:49:19 +00:00
cap2501 0dcb53d545 removed override for $USER->use_ajax 2006-08-28 04:30:46 +00:00
cap2501 2f661649b0 *** empty log message *** 2006-08-28 02:49:04 +00:00
cap2501 49884e9702 Removed evil tabs 2006-08-27 23:45:36 +00:00
cap2501 9a900dfc07 converted dos mode to unix mode 2006-08-27 23:28:39 +00:00
cap2501 097579f09c Fixed to eliminate use of 'GET' and 'POST' 2006-08-27 22:58:51 +00:00
cap2501 ee3c87bd84 Fixes needed to work from cvs 2006-08-27 22:09:56 +00:00
tjhunt 2fe0d172f8 Fix PHP syntax error. I wish more developers used Eclipse. 2006-08-24 11:22:24 +00:00
moodler 0a0bb38019 Ed Coyne's AJAX course format, with some cleanups done.
More cleanups to come from Ed.

This isn't actually working for me right now but he'll fix it now.

This is completely optional and won't affect any other code right now.
2006-08-24 03:20:37 +00:00
moodler 600212a9a1 FIxing Ed's mistaken checkin 2006-08-24 03:17:53 +00:00
cap2501 0894b9271e Semi-final version 2006-08-21 06:15:24 +00:00
cap2501 04b2d74f03 Main JS file for topic - ajax course format (still needs a little cleaning though) 2006-08-21 06:14:43 +00:00
cap2501 be2a520783 Restful interface for AJAX course format 2006-08-21 06:13:28 +00:00
skodak 1bc6fc82b6 section not always moved when requested - page reloading prevented by anchor; added random parameter to force reloading; merged from MOODLE_16_STABLE 2006-07-19 12:52:06 +00:00
moodler df2f835eeb Merged changes from stable 2006-06-11 06:48:56 +00:00
skodak f4f0bc84cb Bug #5716 - Impossible to turn off highlighted current topic; merged from MOODLE_16_STABLE 2006-06-03 23:49:15 +00:00
dwoolhead 58de1815f4 Bug 5536 Replaced references to hide by show. Merged from stable branch. 2006-05-18 16:15:04 +00:00
gustav_delius 7a38b61bfa Fixing empty lines 2006-04-29 20:01:27 +00:00
skodak b4a93f74bf fixed marker handling, no sesskey error anymore - bug #5340 2006-04-27 20:06:41 +00:00
nfreear 0c012545aa Fix for Bug #5281, "Validation: '&' in course (topics) format, 'Jump to' drop-down". 2006-04-21 13:08:03 +00:00
nfreear c87b4c8765 Clean up code (Bugs 5027, 5161), 'weekscss' course format. 2006-04-13 14:37:32 +00:00
nfreear 1528decaae Major fix for Bug 5027, "Three-col layout breaks when window is narrow" (also, Bug 5161). 'weekscss' course format. 2006-04-13 14:28:36 +00:00
nfreear d242c402d7 Initial fix, Bug 5161 "Course format weekscss looks unfinished". Includes making CSS-selectors #course-view .section .side more specific (td.side). 2006-04-12 11:14:03 +00:00
moodler 93528ae1f6 Restored topic numbers to topic format. Who deleted them?????! 2006-04-12 08:06:37 +00:00
skodak 0cdae0dcaa general cleanup of xxx_parameter() functions + fixed several register globals problems 2006-04-11 21:41:21 +00:00
moodler e56122e9fd FIxed "sesskey" error in bug 5139 2006-04-10 07:49:55 +00:00