8024 Commits

Author SHA1 Message Date
tjhunt
d1dd5d030f chat: Remove unnecessary call-time pass by reference. 2009-07-24 09:16:09 +00:00
tjhunt
4262a2f806 lesson: MDL-19890 Fix block-printing code in lesson (I hope)
This got broken by one of the commits for MDL-19077 & MDL-19010
2009-07-23 10:01:19 +00:00
tjhunt
d18675a8d7 quiz: MDL-19891 fix that quiz navigation block that was broken by the blocks changes.
Sadly it now requries JavaScript again, at least for best operation.
2009-07-23 09:20:33 +00:00
tjhunt
d4ad9adf22 quiz: fix URL escaping issues. 2009-07-22 09:49:48 +00:00
tjhunt
82fd2e8bfb quiz: Check this is the users own attempt before sending them to the attempt.php page. 2009-07-22 09:25:46 +00:00
tjhunt
1ddfb914fd quiz reports: Fix ordering of reports broken by MDL-16438. 2009-07-22 09:20:04 +00:00
tjhunt
a1a6cf1116 quiz: MDL-19813 missing global $OUTPUT. 2009-07-21 07:08:08 +00:00
tjhunt
084f4c15be MDL-19882 Add remaining missing require_login-s before require_capability. 2009-07-20 09:46:53 +00:00
skodak
0a8a7b6c24 MDL-14589 added missing require_login() 2009-07-19 08:56:45 +00:00
tjhunt
64d7949245 quiz: add tracker id to TODO. 2009-07-17 07:06:53 +00:00
tjhunt
8101e5fc31 quiz: remove incorrect TODO. 2009-07-17 07:02:13 +00:00
tjhunt
b933475898 quiz manual grading: Remove todo that was already done! 2009-07-17 07:00:16 +00:00
tjhunt
35a51f44e2 quiz editing: Remove unnecessary TODO. 2009-07-17 06:56:33 +00:00
tjhunt
6f030b0f84 quiz editing: MDL-17730 need better skip links on the quiz editing page. 2009-07-17 06:54:58 +00:00
tjhunt
704ac34407 outputlib tables: MDL-19755 fix all cases of deprecated $table->rowclass
Also fix wrong title on Manage filters admin page.
2009-07-15 05:37:31 +00:00
nicolasconnault
385219cba9 MDL-19808 Upgraded view.php to new pagelib and outputlib APIs 2009-07-15 02:54:40 +00:00
tjhunt
fbaaeaebac forum: $PAGE->set_url on forum view page. 2009-07-14 09:36:02 +00:00
skodak
4e94ce8ec5 MDL-16075 fixed incomplete conversion of glossary comments 2009-07-14 08:26:45 +00:00
tjhunt
652ee8aa56 feedback MDL-19773 - temporary work-around so cron can run.
This still needs to be fixed properly.
2009-07-13 05:44:35 +00:00
skodak
42f9706865 fixed obsolete readme info 2009-07-09 20:02:27 +00:00
tjhunt
d4a03c00ea themes & blocks - MDL-19077 & MDL-19010 blocks are now printed by the theme
The code to print blocks in now in theme layout.php files. (Or in
moodle_core_renderer::handle_legacy_theme)

Code for printing blocks everywhere else has been stripped out.
(Total diffstat 1225 insertions, 2019 deletions)

The way the HTML for a block instance is generated has been cleaned
up a lot. Now, the block_instance generates a block_contents
object which gives a structured representation of the block,
and then $OUTPUT->block builds all the HTML from that.

How theme config.php files specify the layout template and block
regions by page general type has been changed to be even more flexible.

Further refinement for how the theme and block code gets initialised.

Ability for scrits to add 'pretend blocks' to the page. That is,
things that look like blocks, but are not normal block_instances.
(Like the add a new block UI.)

Things that are still broken:
 * some pages in lesson, quiz and resource. I'm working on it.
 * lots of developer debug notices pointing out things that
   need to be updated.
2009-07-09 07:35:03 +00:00
samhemelryk
4d49202ffc javascript-UFO MDL-19738 Stopped ufo.js being included in outputlib and included it in each place it was actually being used.
It will no only be loaded when it is being used. If something new comes along they will need to remember to require it.
At the same time cleaned up a few deprecated calls
2009-07-08 04:12:11 +00:00
samhemelryk
e11a8328b3 javascript MDL-16673 Removed all removeable uses of CFG->javascript
In doing this I was able to eliminate the need for javascript.php files, now removed.
I will also be filing several subtasks to clean up the linked to JS files in OUTPUT as well
as all instance of the old style of focusing.
2009-07-07 09:09:16 +00:00
samhemelryk
19c9f09430 filelib MDL-19707 Converted existing ...str_replace('png','gif')... to use file_extension_icon and file_mimetype_icon 2009-07-07 06:16:01 +00:00
tjhunt
8f4e377dfe MDL-19690 - pixpath - cannot use $OUTPUT in CSS. Use $PAGE->theme instead. 2009-07-07 03:49:13 +00:00
Moodle HQ git importer
005a41a3ee Fixing drift between CVS and git 2009-07-06 00:38:18 +00:00
skodak
86900a93bb MDL-14589 improved _pluginfile function - added forcedownload param and fixed docs 2009-07-03 13:40:37 +00:00
skodak
98edf7b647 MDL-14589 improved _pluginfile function - added forcedownload param and fixed docs 2009-07-03 13:39:39 +00:00
tjhunt
d436d197d1 MDL-19690 - the last lot of $CFG->pixpath to $OUTPUT->old_icon_url
Including MDL-19693

RIP $CFG->pixpath
2009-07-03 07:55:30 +00:00
tjhunt
ddedf979b4 MDL-19690 - more $CFG->pixpath to $OUTPUT->old_icon_url 2009-07-03 06:19:25 +00:00
samhemelryk
7747c8dbd6 mod-feedback MDL-16706 Removed inline JS and added PAGE methods 2009-07-03 02:01:21 +00:00
samhemelryk
183abffc6b mod-scorm MDL-16706 Added missing global from commites yesterday 2009-07-03 01:36:18 +00:00
skodak
fa381ac70e MDL-19700 removing unused global 2009-07-02 15:27:46 +00:00
skodak
2ece30dd13 MDL-16438 fixed incomplete plugin centralisation, sorry; unfortunately install is kind of non-working now; this may break current dev installs :-( 2009-07-02 15:11:28 +00:00
skodak
41d2f7f781 MDL-16438 fixed incomplete plugin centralisation, sorry; unfortunately install is kind of non-working now; this may break current dev installs :-( 2009-07-02 15:02:51 +00:00
skodak
db4ecf4c7f MDL-16438 dixed resource borking install - no code execution in lib.php files! 2009-07-02 15:01:22 +00:00
tjhunt
5ef444007d MDL-19690 - Eliminate all remaining $CFG->modpixpath apart from mod/scorm 2009-07-02 12:25:19 +00:00
tjhunt
e63f88c9a6 MDL-19690 - lots more $CFG->pixpath to $OUTPUT->old_icon_url
and $CFG->modpixpath to $OUTPUT->mod_icon_url
2009-07-02 12:07:58 +00:00
tjhunt
c8873c496b MDL-19690 - eliminate the $OUTPUT->initialise_deprecated_cfg_pixpath horrible hack.
Replace $CFG->pixpath with $OUPTUT->old_icon_url(...) instead.
2009-07-02 11:23:47 +00:00
tjhunt
f2a1963c43 MDL-19690 - lots more $CFG->pixpath to $OUTPUT->old_icon_url 2009-07-02 11:09:15 +00:00
tjhunt
5d3b999468 MDL-19690 - more $CFG->pixpath to $OUTPUT->old_icon_url 2009-07-02 10:26:02 +00:00
tjhunt
4096752d1d MDL-19690 - first 53 $CFG->pixpath to $OUTPUT->old_icon_url 2009-07-02 10:06:39 +00:00
samhemelryk
618a452947 mod-quiz MDL-16706 Eliminated inline scripts to use PAGE methods 2009-07-02 06:46:47 +00:00
samhemelryk
0e2f318080 mod-scorm MDL-16706 Eliminated inline scripts to use PAGE methods 2009-07-02 06:40:54 +00:00
samhemelryk
8f36c245ed mod-assignment MDL-16706 Eliminated inline scripts to use PAGE methods 2009-07-02 06:37:30 +00:00
samhemelryk
ddbeb7a7ec chat ajax MDL-16706 Eliminated inline scripts to use PAGE methods 2009-07-02 06:00:59 +00:00
skodak
cdaacf753f MDL-19674 even uglier hack whcih works around the pixpath problem, the long term solution is to write a new setting 2009-07-01 08:10:06 +00:00
tjhunt
0456fc1ac4 MDL-19674 - err - slighly more sensible version of the previous commit. 2009-07-01 04:17:31 +00:00
tjhunt
14ab5ca92b Grrrr!!! MDL-19674 2009-07-01 04:13:47 +00:00
skodak
adf8f3f9ad MDL-19668 improvements of _with_advanced admin setting classes finished, quiz settings updated too 2009-06-30 16:55:56 +00:00