Commit graph

130 commits

Author SHA1 Message Date
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
moodler
735a795229 A few small changes for Vy to continue working on (logs, mostly) 2006-02-27 04:13:03 +00:00
toyomoyo
7c0af760aa comments, not comment, typo 2006-02-27 02:16:19 +00:00
toyomoyo
5af0b52558 changed data_submitted for secureform; added sesskey 2006-02-21 02:02:24 +00:00
vyshane
af25f45e1a Cleaning up xhtml markup. Code now validates for xhtml 1.0 transitional. 2006-02-20 02:15:45 +00:00
toyomoyo
4d3d87f0a4 adding ratings and comments functionality 2006-02-14 03:17:21 +00:00
vyshane
bbe39b6ca9 Updated lang/en/data.php.
Removed hard coded message strings from scripts and moved them to the language file.
Fixed a display bug in multimenu field.
Removed rounded help buttons from fields, made the fields use html title to
display the descriptions instead.
2006-02-09 04:44:56 +00:00
toyomoyo
42e118badc templates and fields do not require group support 2006-02-06 05:31:49 +00:00
moodler
6e0119dd30 Various small XHTML fixes, language fixes 2006-02-06 05:24:02 +00:00
moodler
cf3e199bce changes in search, sort etc 2006-02-03 08:11:36 +00:00
moodler
3d4b223a85 NEW MODULE FROM MOODLE.COM - DATABASE !
Finally, we have an early version good enough for everyone to
start banging on to help us polish it up and find bugs.

Please take a look and file bugs in the bug tracker under "Database module".

We urgently need
    - new icons for existing field types
    - testing on PostgreSQL install


Coming soon (?):

    - Many more field types:  calculation, checkbox, relation, date, datetime,
                              time, email, group, list, user, number, richtext
      (Please let us know if you are interested in developing any of these)

    - A way to save and restore "presets", which are field/template sets

    - Backup/Restore support

    - Groups Support

    - RSS support

Many thanks to Yu for all the hard work under my whip.
2005-12-02 07:50:26 +00:00