Commit Graph

60 Commits

Author SHA1 Message Date
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
moodler bf4de5b583 Cleanups 2006-03-22 09:49:29 +00:00
vyshane c969c28772 Made textarea field use use_html_editor() and print_editor_config() from
/lib/weblib.php. Removed these functions from
/lib/mod/field/textarea/field.class.php. Will commit updates to these
functions to Moodle 1.5 Stable. Database module will only be compatible with
the latest Moodle 1.5 Stable and onwards.
2006-03-14 08:32:14 +00:00
vyshane 1b426aefb6 Fixed javascript bug. Clicking on a template tag now inserts the tag into the
textarea in both wysiwyg and non-wysiwyg modes.
2006-03-14 05:56:14 +00:00
vyshane d02d138070 Clicking on a template tag e.g. [[field_name]] now adds the template tag to
the HTMLArea editor in the template views. This is not currently working in
source code mode of the editor.

Added equivalent of use_html_editor() and print_editor_config() from
/lib/weblib.php to textarea field class. We use a copy in that class instead of
calling the functions in /lib/weblib.php because we want the data module to be
compatible with Moodle 1.5. This is not ideal, but it is a necessary evil.

Updated the textarea field class to use the correct path to
/lib/editor/htmlarea/htmlarea.php.
2006-03-14 05:32:41 +00:00
vyshane a392a8b22d Added course module in call to navmenu() so that we have the < (prev) and >
<next> buttons in all the views for the data module. To keep things
consistent.
2006-03-08 03:53:54 +00:00
vyshane fb38540df5 Renamed data "templates defaults" action to "templates def" because the db
column has a limit of 20 characters.
2006-03-07 08:47:26 +00:00
vyshane 0a09100ff7 Update logging support. Bumped module version up. 2006-03-07 08:10:40 +00:00
vyshane 0b3cfe8812 Fixed Bug #4552 2006-02-28 02:51:31 +00:00