Commit Graph

1141 Commits

Author SHA1 Message Date
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
toyomoyo 3c1acb61bb printing user picture for comments 2006-03-01 06:51:06 +00:00
vyshane 0b3cfe8812 Fixed Bug #4552 2006-02-28 02:51:31 +00:00
toyomoyo e95dddd7a9 added a line to prevent warning 2006-02-28 01:52:38 +00:00
moodler 735a795229 A few small changes for Vy to continue working on (logs, mostly) 2006-02-27 04:13:03 +00:00
vyshane e045d2042c Removing the /mod/data/lang/ directory since the language strings will now be stored under /lang/ 2006-02-27 04:04:30 +00:00
toyomoyo 7c0af760aa comments, not comment, typo 2006-02-27 02:16:19 +00:00
toyomoyo 2232755c93 added time created and modified for comments 2006-02-27 02:13:48 +00:00
toyomoyo 8e24bfe7e8 adding date created and date modified for comments 2006-02-27 02:06:35 +00:00
toyomoyo f841494c62 see changes for admin/utfdbmigrate.php 2006-02-24 08:20:13 +00:00
vyshane 4e53996865 Made script work with 1.5 2006-02-24 06:14:39 +00:00
toyomoyo 59a488e1aa prints the whole comment when displaying confirmation 2006-02-24 04:30:29 +00:00
toyomoyo b754b2115c fixing bugs 2006-02-24 04:26:27 +00:00
toyomoyo f055d14bed fix for string type sort error, bug 4823 2006-02-23 02:34:46 +00:00
toyomoyo c19c05c400 security issues with dangerous template 2006-02-21 07:17:02 +00:00
toyomoyo 5af0b52558 changed data_submitted for secureform; added sesskey 2006-02-21 02:02:24 +00:00
toyomoyo 03b80ff60d real fix for secureforms 2006-02-20 09:34:13 +00:00
toyomoyo ea6f999dc3 fix for secure forms 2006-02-20 09:31:29 +00:00