Commit Graph

68 Commits

Author SHA1 Message Date
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
Martin Langhoff
13534ef716 cvsimport fixups 2007-08-29 13:10:11 +12: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
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
ad7767be7a Breadcrumbs: mod/data changes
- Modified to use build_navigation() for breadcrumb generation.
- Removed print_header method is now provided by base class.


Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-16 21:05:21 +00:00
toyomoyo
7900ecb02c MDL-5958, code for advanced search for db module from Elijah (HSU) 2007-02-26 06:56:05 +00:00
vyshane
38f169e25a Fix for MDL-6966. 2007-01-23 05:42:15 +00:00
toyomoyo
e9f044341f MDL-7861, xhtml related issues, added class for some fieldsets to not display border 2007-01-05 02:00:20 +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
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
704a26cbdd Fixed XHTML and Javascript insertion of tags into the templates 2006-12-22 04:55:41 +00:00
skodak
40b6dd0116 MDL-5964 need html editor for comments in database mod + added format sql table field
MDL-7813 accessiblity fixes in comments
2006-12-13 23:09:34 +00:00
skodak
bb828644ba xhtml and accessibility cleanup in data mod MDL-7813
* buttons reorganized - now displayed only with templates where usable
2006-12-13 21:02:01 +00:00
skodak
aab98aaff1 data mod whitespace cleanup - there are already many accessibility related changes and fixes that are not backportable anyway and merging from previous versions is not expected 2006-12-13 20:26:11 +00:00
skodak
e357c206db xhtml and accessibility cleanup in data mod MDL-7813
* image galery preset accessiblity fixes MDL-7822
* xhtml fixes
* fields now use s() and p() where needed
* added labels to all fields - imporved accessiblity for adding of new entries
* some other general bugfixing and cleanup

it is still not finished though, expect some more commits tomorrow
2006-12-12 23:34:55 +00:00
skodak
1a57f3aa8d MDL-7909 add optional id parameter to choose_from_menu() and print_textarea() - needed data mod changes 2006-12-12 22:08:50 +00:00
skodak
a5adbd0c39 MDL-7905 Add new available tag for element id for in database mod 2006-12-12 18:20:51 +00:00
skodak
be6d38eac4 MDL-7879 Removed available tags from CSS and Javascript template definition 2006-12-11 08:54:04 +00:00
skodak
986b73b818 MDL-5585 Clicking on available tag does not enter it into html editor when defining database templates 2006-12-10 23:18:43 +00:00
skodak
6871e4e431 MDL-6234 - reworked available tags when editing database templates; fixed closing optgroup tag 2006-12-10 23:09:52 +00:00
skodak
061e2ce31e MDL-6234 - reworked available tags when editing database templates 2006-12-10 22:38:42 +00:00
skodak
f56f05dab1 MDL-5671 html editor can now be switched off on the fly while editing database templates; removed editor button from js and css template 2006-12-10 22:15:15 +00:00
skodak
af7dc2f8db MDL-7826 added labels to text areas in data mod template definitions 2006-12-10 22:11:41 +00:00
skodak
cca1547e7c MDL-7716 In visible groups mode, It is possible to put a database entries in other group that it his 2006-12-10 20:16:03 +00:00
skodak
0c097262c7 MDL-5671 html editor can now be switched off on the fly while editing database templates 2006-12-10 19:08:46 +00:00
skodak
c088d6039d MDL-7821 wrong use of cm in data mod and added proper require_login() 2006-12-06 20:17:58 +00:00
toyomoyo
45ff09e49c merged fix for MDL-7031, removing control tags from add template 2006-11-03 03:27:10 +00:00
moodler
8303eb8447 Fixes related to presets and MDL-6755.
The original code was shocking once I started reviewing it, and even
after heavy editing I'm still not happy with it, but at least it works
more like it was supposed to.

Needs more cleaning up to make it clearer and probably safer.

Also, presets can now contain langage packs and they'll be used.
The image gallery is an example.
2006-10-02 17:24:54 +00:00
tomflannaghan
f0a93e5d30 jstemplate 2006-08-17 09:26:31 +00:00
moodler
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
moodler
dabfd0ed85 Removed tabs 2006-08-09 13:45:49 +00:00
moodler
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
skodak
d12cb320b3 Bug #5659 - Problem with build-in buttons when creating templates; merged from MOODLE_16_STABLE 2006-06-06 20:55:25 +00:00
toyomoyo
ea6a834533 added rsstitle, merged 2006-05-24 07:03:14 +00:00
vyshane
feb00a54d0 Setting $data->listtemplateheader and $data->listtemplatefooter to '' if we
are resetting the listtemplate.
2006-04-19 04:21:23 +00:00
vyshane
8d4a31bd3c Removed javascript for resetting templates. We reload the page to reset
templates.
2006-04-19 02:54:07 +00:00
vyshane
d553ae9f74 "Reset template" button now only resets the template textarea with the default
template. User needs to hit "Save template" to save the changes.
2006-04-18 06:11:38 +00:00
moodler
a9ac269967 FIxed some warnings bug 5091 2006-04-05 07:27:58 +00:00
moodler
64452eb438 Various fixes that have accumulated 2006-04-05 01:38:06 +00:00
moodler
3d1c33ef01 Some better security when database is hidden 2006-03-30 04:37:16 +00:00
moodler
68635e6f6d Support for a new CSS template, allowing you to use CSS in the other templates 2006-03-29 18:29:16 +00:00
vyshane
1ef46cbeaa Fixed javascript for cases where htmleditor is not available. 2006-03-27 03:02:26 +00:00
moodler
10aba62740 Tidy messages and display 2006-03-26 06:00:28 +00:00
moodler
473dd2888b Various little fixes. 2006-03-26 05:03:10 +00:00
moodler
d74a6d5e67 Removced the "generate all" button and just made it a default action for
new databases
2006-03-25 14:58:14 +00:00
moodler
204ff4a127 Always allow regeneration of templates 2006-03-24 14:49:21 +00:00
moodler
5bac6d10e3 Renamed fields.php to field.php 2006-03-24 02:44:05 +00:00
moodler
d118d06afc Various tidy-ups 2006-03-23 10:01:21 +00:00