Commit Graph

1608 Commits

Author SHA1 Message Date
vyshane faf5ec4fa5 Bug fixes and changes to URL field. 2006-03-24 14:34:00 +00:00
moodler 5bac6d10e3 Renamed fields.php to field.php 2006-03-24 02:44:05 +00:00
moodler a2cd47971d Renaming some stuff, it's the fashion this week 2006-03-24 02:35:36 +00:00
moodler 7cd3acc45e Just working out the preset file format 2006-03-24 02:21:48 +00:00
vyshane f41cadeba7 Fix for Bug #4969. Renamed variable $mode to $template. 2006-03-24 02:09:15 +00:00
moodler d118d06afc Various tidy-ups 2006-03-23 10:01:21 +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
vyshane a18f8e458f Renamed $rid to $recordid in function call $field->update_content($rid,
$value, $name); This fixes a bug that was causing the data_content to be
stored wrongly.
2006-03-23 07:20:16 +00:00
vyshane 3a5a7928ea Fixed extra function argument in call for display_add_field() from add.php. 2006-03-23 06:20:48 +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 2b1d7c8e82 Fixed some typos 2006-03-23 05:38:53 +00:00
vyshane 8921fdb762 Fixed typo in function define_field() 2006-03-23 03:48:58 +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 a835f1c343 Removed some debugging 2006-03-22 14:55:49 +00:00
moodler f0497d6ff0 Various cleanups 2006-03-22 14:31:32 +00:00
moodler 26d93549f5 Fixed up some styles and pagepath for field-editing pages 2006-03-22 13:38:29 +00:00
moodler b6ffdddaa5 Tweaky tweaky tweak 2006-03-22 09:53:13 +00:00
moodler bf4de5b583 Cleanups 2006-03-22 09:49:29 +00:00
moodler aa34425f43 Fixed up hardcoded tables with notice_yesno 2006-03-22 09:43:10 +00:00
moodler 9a169d1dc7 Cleaned up table of fields 2006-03-22 09:33:29 +00:00
moodler c9095ae670 The menu to add fields is now more accessible 2006-03-22 09:14:44 +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 ed69c72326 Fixes 2006-03-22 08:32:54 +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 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
moodler 3515ae35e2 Just spacings 2006-03-10 09:08:59 +00:00
moodler 7261578f34 Fixing typos 2006-03-10 09:08:04 +00:00
moodler d0c231688c Cleaning 2006-03-10 09:06:16 +00:00
patrickslee cb8229d0a8 UTF8 migration - now supporting PostgreSQL 2006-03-10 03:43:33 +00:00
vyshane 4c03f9209d Added functions data_get_view_actions() and data_get_post_actions() for
participation reports.
2006-03-09 06:26:42 +00:00
vyshane f1b6ce824d Made some of the tabs linked even if selected in the different views. 2006-03-08 04:54:57 +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
skodak 107e7612b5 short php tags once more 2006-03-07 21:46:34 +00:00
skodak 38b7336ed1 short php tags 2006-03-07 21:35:13 +00:00
skodak 2780eb570c missing db prefix 2006-03-07 20:32:49 +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 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 6977f32079 Updated logging support. Added version upgrade. 2006-03-07 08:11:19 +00:00
vyshane 0a09100ff7 Update logging support. Bumped module version up. 2006-03-07 08:10:40 +00:00
moodler 7cbc59192f VERY preliminary import script, needs a lot of work 2006-03-03 14:44:54 +00:00
vyshane 1cfc979a73 Added argument $meta to pagelib::print_header (data module) 2006-03-03 08:30:36 +00:00
vyshane c853304e52 Added support for printing <link rel="alternate" type="application/rss+xml"...
/> tag in header. Only happens if appropriate. E.g. RSS turned on etc.
2006-03-03 08:06:50 +00:00
vyshane a443e10f6f Made field names as links that go to the edit view for the respective fields. 2006-03-03 06:13:27 +00:00