66 Commits

Author SHA1 Message Date
Gordon Bateson
9e43b1db73 further (and final) merge of changes from Moodle 1.9 2010-05-14 03:46:30 +00:00
Gordon Bateson
ca091dc198 merge changes from HotPot moodle 1.9 2010-05-14 03:14:22 +00:00
Petr Skoda
9006ded3a7 MDL-22050 dear 'thischarset', we did not need you since 1.7, time to say good bye, RIP 2010-04-10 18:20:54 +00:00
Gordon Bateson
47e9d91b1f fix student access to HotPots in tail of a HotPot quiz chain 2010-02-11 02:55:40 +00:00
Petr Skoda
593f9b8703 MDL-21400 finalising JS api - removing ->on_dom_ready (now bool param in js() and js_init_call()) and after_delay() (again int parameter) - the reason is it was adding unnecessary complexity and it is used in just a few places that will be eventually converted to the new js_init_call() anyway 2010-02-06 14:45:17 +00:00
Petr Skoda
9dec75dbcc MDL-21240 shortened urls now start with / everywhere 2010-01-18 20:57:32 +00:00
Petr Skoda
a685593466 MDL-21233 moodle_url improvemewnts, code simplification, more diagnostics; fixed several regressions 2010-01-16 15:39:56 +00:00
Petr Skoda
244a32c617 MDL-21119 lang menu and login info now handled by themes 2009-12-29 17:26:29 +00:00
Sam Hemelryk
86bf47458e mod-hotpot MDL-20258 Added skeleton functions to extend navigation and removed update this module buttons 2009-12-23 01:47:01 +00:00
Gordon Bateson
bf38af3f55 ensure user has_capability('mod/hotpot:attempt', $module) when viewing a HotPot or submitting results 2009-11-09 01:29:57 +00:00
Petr Skoda
86342d631f MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 15:03:10 +00:00
samhemelryk
3b532ae6f5 mod-hotpot MDL-19810 Added set_url calls, replaced deprecated functions 2009-09-24 07:47:50 +00:00
samhemelryk
cfe1d03998 mod-hotpot MDL-19810 Updated print_header and build_navigation to OUTPUT and PAGE equivalents 2009-09-07 03:55:32 +00:00
skodak
622365d2e1 MDL-20169 fixed coding style, parameter type required 2009-08-27 18:37:53 +00:00
nicolasconnault
7eeedf5937 MDL-19810 Upgraded calls to helpbutton, print_simple_box* and notify 2009-08-18 05:15:09 +00:00
nicolasconnault
f8302e2d69 MDL-19810 Converted all print_footer() calls 2009-08-06 14:20:19 +00:00
nicolasconnault
bd9df7be52 MDL-19810 Migrated calls to print_heading 2009-08-06 08:22:00 +00:00
skodak
979425b584 MDL-18293 removed obsoleted checking of return values from insert and update_record + unused strings cleanup 2009-06-13 18:04:21 +00:00
tjhunt
d529807a65 moodle_page: MDL-12212 kill $CFG->pagepath (use $PAGE->set_pagetype)
deprecate $PAGE->get_format_name (use $PAGE->pagetype)
deprecate page_id_and_class (use $PAGE->pagetype)
2009-05-06 08:38:55 +00:00
dongsheng
b8aa76c1a4 "MDL-19037, use getremoteaddr to get remote ip address" 2009-05-01 03:04:10 +00:00
dongsheng
85db96c5b4 "MDL-17570, cleanup align property in div, merged from 1.9" 2008-12-10 06:48:54 +00:00
skodak
621fea38b8 MDL-15110 towards hotpot dml conversion 2008-06-08 19:37:17 +00:00
dongsheng
50fb3673ba "MDL-14129, fix print_error" 2008-05-29 02:49:39 +00:00
skodak
f33e1ed4ae MDL-14679 ok, here is the big patch with new dmllib and ddlib API, some code is already converted, XML db editor works; see tracker for details of regressions and TODOs 2008-05-15 21:40:00 +00:00
dongsheng
5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
gbateson
2eb9cce68e MDL-13328 correct the counting of attempts when clickreporting has been enabled 2008-02-07 04:17:55 +00:00
gbateson
f6c4bee314 improvements to XHTML compatability (merged from 1.9) 2007-10-21 03:02:55 +00:00
tjhunt
38e179a4ed MDL-11741 - Convert core modules to take advantage of recent improvements to build_navigation.
This check-in removes about 400 lines of code. I hope I have not screwed anything up. I would be grateful if people could review this change, and keep an eye on the navigation bar in modules.

Any navigation bar bugs you find in the near future, feel free to file them in the tracker and assign them to me. Thanks.

If not to many problems are found, I think I would like to backport this to 1.9 stable, but I am not sure that is a good idea. Opinions to the General Developer Forum please. I am about to start a thread there.
2007-10-12 15:55:49 +00:00
gbateson
b3687f28f1 use target="$CFG->framename" instead of $CFG->frametarget when HotPot navigation is set to "Moodle navigation frame"so that Moodle does not get stuck in sub frame 2007-10-04 05:32:27 +00:00
nicolasconnault
0be6f67819 MDL-10870 All files updated to new build_navigation() method. Most are untested, because they are not easily accessible within a moodle site. 2007-08-17 19:09:11 +00:00
skodak
bb5b72244a MDL-10890 all require_login() in modules reviewed and fixed use of $cm 2007-08-17 12:49:28 +00:00
mattc-catalyst
01e3838853 MDL-9473: Initialise navlinks array before use
Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-07-05 04:55:24 +00:00
mattc-catalyst
3b27b0fe21 MDL-9615: Correct incorrect use of term breadcrumbs
- $crumbs -> $navlinks


Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-07-05 04:40:48 +00:00
gbateson
34caf003e0 when inserting 'Give Up' button, if site encoding is not iso-8859-1, then set page encoding to get_string('thischarset') 2007-05-11 05:28:28 +00:00
poltawski
e73457e4ba MDL-9742 Converting tabs to spaces 2007-05-08 15:44:37 +00:00
gbateson
111a18ebf3 remove duplicate id attribute from body tag; microincrement version to 2007040200 (release 2.4.2) 2007-05-04 02:53:52 +00:00
mattc-catalyst
70c6c0ad70 MDL-9474: Updated build_navigation() to use global $COURSE
- Removed $course parameter from build_navigation()
- Updated all calls to build_navigation()


Author: Matt Clarkson <mattc@catalyst.net.nz>
Committer: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-23 21:11:10 +00:00
mattc-catalyst
ec55218d98 Breadcrumbs: mod/hotpot changes
- Modified to use build_navigation() for breadcrumb generation.


Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-16 21:40:46 +00:00
moodler
6ba65fa08d Merged Nicolas' changes from MDL-8582 into HEAD. 2007-02-28 06:25:22 +00:00
gbateson
845f45ec19 correct the display of the "Update this Hot Potatoes Quiz" button in Danish (da_utf8) and German (de_utf8) - see mdl-8322 2007-01-28 00:25:57 +00:00
skodak
60af27037b MDL-7861 xhtml transient fixes for not closed input fields - I hope all of them except imported libs are now fixed 2007-01-08 19:34:16 +00:00
skodak
b7dc225654 MDL-8062 1.3 Remove name attribute from <form> and fix focus everywhere - more changes ahead 2007-01-04 21:32:36 +00:00
skodak
fa73873105 MDL-8050 1.2 Remove all target="_top" - refactoring of previous commit 2007-01-04 18:23:55 +00:00
moodler
f4ba7e1a54 Bend over for XHTML 1.0 Strict ... MDL-8049
Removed Javascript language attribute tags and added CDATA
2007-01-03 14:44:17 +00:00
moodler
5e87b920e3 Added CDATA to Javascript 2006-12-22 04:52:13 +00:00
skodak
b8db24a59c Fix frames accessibility on Hotpot MDL-7468 2006-11-28 10:43:27 +00:00
skodak
1936c10e54 fixed obsoleted use of course->category to find site course - now used SITEID instead MDL-1899 2006-11-12 08:55:13 +00:00
gbateson
fb414b62e5 added PARAM types for all calls to "optional_param()" and "required_param()" 2006-10-07 08:59:59 +00:00
toyomoyo
dc5586907d replacing deprecated calls and references to capability calls 2006-09-20 09:00:04 +00:00
toyomoyo
81e956b964 added some capabilities 2006-08-30 08:43:17 +00:00