17 Commits

Author SHA1 Message Date
moodler
26d93549f5 Fixed up some styles and pagepath for field-editing pages 2006-03-22 13:38:29 +00:00
moodler
1b0d9dca18 Fixing more typos 2006-03-22 08:56:47 +00:00
moodler
423bd918b5 Fixing silly stuff 2006-03-22 08:44:26 +00:00
moodler
0997e51afe Lots and lots and lots of cleanup for the data module code, mostly
to do with how the field classes worked.  Now it should be even easier
for developers.

No changes for users.  :-P

The changes are not well tested yet!
2006-03-22 08:07:26 +00:00
vyshane
663b45a86d Fixed php notice 2006-03-17 04:51:14 +00:00
vyshane
d87f8b6f33 Made gen_textarea() use print_textarea() function from /lib/weblib.php 2006-03-15 07:42:01 +00:00
vyshane
6b9dbb377f Textarea field now uses functions use_html_editor() and print_editor_config()
form /lib/weblib.php. It's been decided that the minimum requirements for the
database module will be 1.5.3+ stable. Will commit updates to the above two
functions to 1.5.3+ stable once they have been tested on stable.
2006-03-15 03:11:25 +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
af25f45e1a Cleaning up xhtml markup. Code now validates for xhtml 1.0 transitional. 2006-02-20 02:15:45 +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
vyshane
173b1b1261 Input field size cleanups. 2006-02-03 09:22:23 +00:00
vyshane
0bbc6f5700 Added autolinking. 2006-02-03 08:04:40 +00:00
vyshane
bad7f9e00a Removed debugging output from /mod/data/lib.php
New icons for field types
2006-02-02 10:12:30 +00:00
vyshane
c87fbb27e1 Removed autolink support from radio button field (not needed).
Fixed bug for empty muti menu and multi checkbox fields.
Added "Choose..." as first item in single selection menu. Added relevant
string in en language.
Updated /mod/data/lib.php, function store_data_content() so that we store
empty content for fields too.
2006-02-02 06:28:17 +00:00
vyshane
f1ad19bcae Fixed update display bug in the menu field.
Updated following fields so that they do not pack data into
data_content.content, but use data_content.content, data_content.content1,
etc:

- URL field
- File field
- Picture field

Note that above changes to the way data is stored means that the new
implementation is not compatible with previous version.

Updated textarea field. Added relevant help messages. Added richtext editor
support. Removed ability to restrict allowed formats for the textarea field.

Misc bug fixes and display tweaks.
2006-01-31 04:25:46 +00:00
vyshane
113782126c Modifications to use new columns in data_content table
Modifications to support different text formats
2006-01-25 09:21:17 +00:00
moodler
35bcb325f6 Added textarea field type.
Committed by Vy-Shane <vyshane@moodle.com>
2006-01-20 02:38:11 +00:00