68 Commits

Author SHA1 Message Date
skodak
6124048972 major whitespace cleanup - fixed tabs 2006-09-20 20:31:09 +00:00
toyomoyo
81e956b964 added some capabilities 2006-08-30 08:43:17 +00:00
danstowell
ac87088b50 Added download link for all entries as KML 2006-08-12 19:03:16 +00:00
danstowell
3af692dba0 Now latlong data types allow you to choose which labels appear in Google Earth 2006-08-12 17:36:22 +00:00
danstowell
8161ac9842 Adding new data field type, latlong, to HEAD 2006-08-11 13:17:29 +00:00
skodak
eb073d70ad Bug #5955 - link to help item for html editor looks funny; merged from MOODLE_16_STABLE 2006-06-29 07:00:27 +00:00
skodak
4df627dfbf Bug #5582 - sort by numerical field doesn't work properly with decimals; merged from MOODLE_16_STABLE 2006-05-25 15:57:20 +00:00
tjhunt
450a0a7db7 Merge from stable branch: Convert tabs to spaces in files where there were only a few rogue tabs. 2006-05-17 16:47:44 +00:00
skodak
54bb46f55b fixed undefined $course 2006-04-22 17:25:37 +00:00
moodler
ec536d7a48 Make sure the number is stored as a proper number 2006-04-20 04:07:50 +00:00
moodler
59f3b71781 New number field type 2006-04-20 04:02:30 +00:00
moodler
de251840b4 Added some feedback to the picture thumbnail regneneration bug 5011 2006-04-10 16:46:52 +00:00
moodler
0143db5788 More clean ups 2006-04-06 17:12:55 +00:00
moodler
b4f3e56cc1 Fixes from Dan Stowell to support thumbnail images, with some modifications
from me to remove unnecessary messages.    bug 5011
2006-04-06 16:20:50 +00:00
moodler
64452eb438 Various fixes that have accumulated 2006-04-05 01:38:06 +00:00
moodler
b9957ccb1d Changes to match file class changes 2006-03-30 04:26:50 +00:00
moodler
a2f96d3e55 Use better variable names in file class 2006-03-30 03:54:39 +00:00
moodler
505d3123d9 Misc fixes 2006-03-27 06:52:50 +00:00
moodler
1a161a7041 Removed silly date string 2006-03-27 05:14:51 +00:00
moodler
7054c0e4d6 New field plugin for dates 2006-03-27 04:37:05 +00:00
moodler
473dd2888b Various little fixes. 2006-03-26 05:03:10 +00:00
moodler
66cb6f29d7 Better-looking add fields 2006-03-25 08:46:35 +00:00
moodler
a7ee8d45cc Don't prefix add filed with label 2006-03-25 08:46:02 +00:00
vyshane
faf5ec4fa5 Bug fixes and changes to URL field. 2006-03-24 14:34:00 +00:00
vyshane
fd96d5e2ec Fixed bug data_print_template() from /mod/data/lib.php. Extra function
argument removed.
2006-03-23 08:34:22 +00:00
moodler
59d28e0550 removed $content->content = $this->format_data_field_multimenu_content($value); bad cut and paste 2006-03-23 05:41:48 +00:00
moodler
2ef2b3f19d Fixed Fatal error: Call to undefined function get_course() in /data/www/html/server/dev/mod/data/field/file/field.class.php on line 133 2006-03-23 02:50:21 +00:00
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
e1791b72e8 Added CSV import facility for the data module. Fixed notice for checkbox and
multimenu field types.
2006-03-21 04:36:36 +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
moodler
7261578f34 Fixing typos 2006-03-10 09:08:04 +00:00
skodak
107e7612b5 short php tags once more 2006-03-07 21:46:34 +00:00
vyshane
459e90230f Fixed bug: wrong parameter for input field (max size of uploaded file) 2006-03-07 08:53:40 +00:00
vyshane
4e53996865 Made script work with 1.5 2006-02-24 06:14:39 +00:00
toyomoyo
f055d14bed fix for string type sort error, bug 4823 2006-02-23 02:34:46 +00:00
vyshane
e5689267df Fixed bug in RSS xml file generation.
Fixed bug in file and picture links.
2006-02-20 03:02:32 +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
a684d28b29 Fixed notice in picture field edit view.
Made the field type icons clickable to edit the field.
2006-02-16 08:15:00 +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
f9eab7b0c9 Fixed bug in /mod/data/filter.php - content list for autolinking was not being
generated properly.

Updated /mod/data/fields.php - deletion of a field now also deletes
data_contents and any files associated as well.

Add/update/delete fields - template now gets updates in the following cases:
1) Deletion: remove template tags for the field from all templates
2) Edit: search and replace template tags for the field in all templates
3) Add: append template tag for field into the signe and rss templates, but
only if these templates are not empty. Otherwise we'd rather the user uses the
automatic template generation facility, which produces better display.
2006-02-06 09:13:37 +00:00
moodler
653bcc596c Added a link to the listtemplate images to the full record 2006-02-06 03:06:16 +00:00
moodler
cd2f695055 Added a parameter to display_browse_field() to pass the template name
to the fields, so they can return different output for different templates.

Picture now has two heights/widths for different templates
2006-02-06 02:49:46 +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