Commit Graph

134 Commits

Author SHA1 Message Date
65bcf17b95 MDL-13450 and MDL-13303 - sorry for changing forum API so late, but it was needed; major perf improvement for forum; fixed printing of user pictures; merged from MOODLE_19_STABLE 2008-02-13 17:03:25 +00:00
6dac764d18 MDL-13050 Reverting, it's not working out as well as planned 2008-01-21 13:40:47 +00:00
406af084a3 MDL-13050 Modules were updated, and grades.php files were added to the lesson and hotpot modules 2008-01-18 14:44:45 +00:00
52ea8aa026 Merged from 1.9 and checked :: MDL-12221 :: I added changes to weblib and the forum and glossary view pages, the custom_corners and standard theme to get those pages working.
In the view pages I changed the container function call to a simple "echo 'div ...'" to avoid the custom_corners container overhead and page oddity.

In weblib I added "clearfix" handling to the function "print_box_start($classes ...". "clearfix" is handed over to the containing divs. This is a hack, but I didn't know how to handle it without rewriting too much areas.
2008-01-09 15:52:08 +00:00
120a18f051 Follow up fixes MDL-12029 "Glossary view needs heading markup..." 2007-11-07 17:45:57 +00:00
097d705e6d Fixes MDL-12029 "Glossary view needs heading markup + other accessibility fixes". 2007-11-05 15:22:22 +00:00
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
01e3838853 MDL-9473: Initialise navlinks array before use
Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-07-05 04:55:24 +00:00
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
dd232d0100 MDL-9549 some more grading and rating improvements, cleanup and fixes 2007-06-03 12:22:23 +00:00
d08e1a0b82 minor xhtml strict fix and coding style 2007-06-02 14:08:14 +00:00
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
eee75231c1 mod/glossary: HTML fixes
Fixed HTML errors causing parser errors in Firefox when in developer debug
mode.


Author: Matt Clarkson <mattc@catalyst.net.nz>
Committer: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-16 23:16:25 +00:00
f3c8392617 Breadcrumbs: mod/glossary changes
- Modified to use build_navigation() for breadcrumb generation.


Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-16 21:16:38 +00:00
5bd76d7fba merged fix for MDL-9097, xhtml fixes for glossary 2007-03-30 07:04:43 +00:00
ab397f2613 Fixing approval interface. Step4. MDL-8793
Merged from MOODLE_18_STABLE
2007-03-30 00:28:02 +00:00
136ce8dee2 Moving options from 2nd tab to main area. Step1. MDL-8793
Merged from MOODLE_18_STABLE
2007-03-29 22:19:29 +00:00
1d33f652dd One default was causing author view not being able to sortby firstname or lastname.
Merged from MOODLE_18_STABLE
2007-03-24 00:38:26 +00:00
82015ed26f urlencode() hook for correct parameter handling & XHTML.
Merged from MOODLE_18_STABLE
2007-03-20 00:11:55 +00:00
c988beb565 Changing one generic class-name to a glossary specific one.
Merged from MOODLE_18_STABLE
2007-03-19 23:52:16 +00:00
66111853bb Now glossary "add entry" is a button instead of a tab. Part of MDL-8746
Merged from MOODLE_18_STABLE
2007-03-19 18:22:59 +00:00
9ca8cc0847 Basic fixing of tabs for glossary 2007-02-01 06:54:15 +00:00
36a2b6bdc3 MDL-7861, xhtml strict related changes for glossary 2007-01-12 06:57:33 +00:00
c1afef8059 FIxed up the intro boxes XHTML Strict 2007-01-11 08:06:15 +00:00
0f13ec8f9b MDL-8105 some more icon class fixes including new .iconhelp for help and docs icon 2007-01-08 20:30:38 +00:00
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
32776fef0e minor xhtml fixes 2006-11-30 09:50:01 +00:00
7150b8ae20 MDL-7434 all images that convey information should have alt text to convey that information - part 3 2006-11-26 16:20:19 +00:00
8c64b8ade5 fix for MDL-7473, adding alt tag for printer friendly version 2006-11-13 02:07:10 +00:00
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
810944af7f we are going 100% unicode now - removed use of $CFG->unicodedb and current_charset(); MDL-7439 - part 2, only hotpot and wiki left 2006-11-11 17:23:20 +00:00
8451166cfb Fixing display of pivots when they are author names
Merged from MOODLE_17_STABLE
2006-10-30 19:32:44 +00:00
e24d96baf6 Fixing some queries with duplicate column names. MDL-7294
Merged from MOODLE_17_STABLE
2006-10-30 19:02:58 +00:00
1d4d001cfd merged fix for MDL-7267, fixing keywords pivot 2006-10-30 03:38:13 +00:00
b1e68bff0e removing some debugging statements 2006-10-05 03:26:22 +00:00
7949f21b5f Removed 'mod/glossary:view' capability 2006-09-22 02:52:48 +00:00
9c37662f22 replacing deprecated funciton calls with capability calls 2006-09-19 09:16:24 +00:00
d02eededf7 adding capabilities 2006-09-06 08:55:23 +00:00
81e956b964 added some capabilities 2006-08-30 08:43:17 +00:00
0468976c9a SWEEPING CLEANUP
The API was changed slightly so that has_capability now takes the
whole $context object (we almost always have it anyway)

The $kill thing was removed.   If you want to assert a capability
then use:

    require_capability('capname', $context);

with optional variables to modify the error message

Misc bugs here and there also removed and code tidied
2006-08-14 05:55:40 +00:00
dabfd0ed85 Removed tabs 2006-08-09 13:45:49 +00:00
f9d5371b28 new function get_coursemodule_from_id() is now used for obtaining of valid $cm from coursemodule id SC#283 2006-08-08 22:09:55 +00:00
bbbf2d4015 ROLES AND PERMISSIONS - FIRST CHECK-IN
=======================================

WARNING:  DEV IS CURRENTLY VERY UNSTABLE.

This is a mega-checkin of the new Roles system.   A lot of changes have
been made in core and modules.

Currently there are a lot of rough edges and known problems.  We are
working hard on these .. .the reason for getting this into HEAD at this
stage is enable us to move faster (our branch was diverging from HEAD
too much).

Please keep an eye on http://docs.moodle.org/en/Roles for current status
and information for developers on how to use the new Roles system.
2006-08-08 05:13:06 +00:00
30691fc3c3 Solve some upperpivot notices and wrong behaviours. More coming... 2006-04-09 10:59:39 +00:00
f7f735b877 Some defaults applied to paramenters was preventing defaults based
on formats to work properly.
2006-04-09 10:45:14 +00:00
2cf1011b25 Now searchbox table is closed by hand, because print_simple_box_xxx()
methods (div based) were breaking things a bit here. Bug 5087)
(http://moodle.org/bugs/bug.php?op=show&bugid=5087)
2006-04-09 09:11:18 +00:00
7123515431 Now glossary pivot should be working fine under every charset. 2006-01-07 12:11:52 +00:00
a983f05a39 Now the group by initial should work under multibyte strings.
Merged from MOODLE_16_UTF8. Abandoning the branch.
2006-01-05 16:35:13 +00:00
aa8139414e Replaced optional_var with optional_param 2005-12-07 06:21:58 +00:00
0fd4f40714 Now both empty search strings and 1 letter search strings works fine in
the glossary. Terms are hilighted properly (but 1 letter terms, because
it's a hilight limitation). Bug 4274.
(http://moodle.org/bugs/bug.php?op=show&bugid=4274)

Merged from MOODLE_15_STABLE
2005-11-06 20:06:05 +00:00