269 Commits

Author SHA1 Message Date
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
toyomoyo
5d9a7c352e group 0 records are visible to all now 2006-02-06 06:30:18 +00:00
toyomoyo
27b00cd39b no page in groups, thanks 2006-02-06 06:19:00 +00:00
toyomoyo
f4e101bd08 adding group support 2006-02-06 06:13:34 +00:00
ikawhero
a0397e90da return to previous view after editing a record 2006-02-06 05:37:20 +00:00
ikawhero
d6f0e247b4 I'm really having issues getting this one line right! 2006-02-06 05:36:34 +00:00
ikawhero
12fe91c401 Oops, missing semicolon 2006-02-06 05:33:26 +00:00
ikawhero
5782be6b0a Recommiting lost changes. 2006-02-06 05:31:52 +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
ikawhero
6f4e039994 Tidying up. 2006-02-06 05:18:37 +00:00
moodler
bbccd611cb fixing for 4695 2006-02-06 05:02:38 +00:00
moodler
56135f6b4c Show the intro at the top of the page 2006-02-06 04:17:30 +00:00
moodler
201b8b3681 adding a check to make sure student can't participant in teacher participation level 2006-02-06 03:51:51 +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
moodler
83b4f772d9 fixing 4681 2006-02-06 02:41:59 +00:00
moodler
a6d122f7a7 fix for 4615 2006-02-06 02:31:32 +00:00
moodler
1291b2d54f Fixed some SQL errors on searching and sorting 2006-02-03 10:53:00 +00:00
ikawhero
1f697b99aa Remove para tags 2006-02-03 10:42:14 +00:00
ikawhero
d20578cc4d New help file. Needs cleaning up. 2006-02-03 10:12:18 +00:00
ikawhero
26aae788ba Initial help files for data module. Will need cleaning up. 2006-02-03 09:27:37 +00:00
vyshane
173b1b1261 Input field size cleanups. 2006-02-03 09:22:23 +00:00
ikawhero
d0dfb3ba87 More strings added 2006-02-03 09:00:49 +00:00
ikawhero
f3b5b8b668 Added new string 2006-02-03 08:58:08 +00:00
ikawhero
d7ca860b9d Added helpbutton for approvals. 2006-02-03 08:56:30 +00:00
moodler
20fda38ba9 adding functionality to allow teacher approval of record 2006-02-03 08:12:41 +00:00
moodler
cf3e199bce changes in search, sort etc 2006-02-03 08:11:36 +00:00
ikawhero
31c1f1c93e Added help buttons, removed ambiguous participants entry. 2006-02-03 08:10:06 +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
88f47f81bc Removed autolink form radio button field (not needed). 2006-02-01 06:59:57 +00:00
vyshane
2806b95ca2 Modification to make field use content1 column in data_content table 2006-02-01 05:13:01 +00:00
vyshane
22e192c9f0 Added language strings for multi-selection menu and checkbox fields. 2006-02-01 05:11:23 +00:00
vyshane
2c5c1418bb Added multi-selection menu field support. 2006-02-01 05:09:59 +00:00
vyshane
4728968fc7 Checkbox field support 2006-02-01 05:08:51 +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
5f5bcda8b4 Added richtext support for textarea, plus relevant help buttons. Made fields
use column content1, content 2, etc. instead of packing everything into
content.
2006-01-31 03:58:42 +00:00
moodler
136b6ab33f changed to use utfconvert function 2006-01-31 02:15:21 +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
vyshane
eefe4f9720 Modifications to use new columns in data_content table 2006-01-25 09:18:29 +00:00
vyshane
c91c24d7e3 Modifications to bring in line with the changes to database structure.
Vy-Shane
2006-01-25 09:10:14 +00:00
moodler
e70813cf37 Cleaned up text field params (textarea does this now) 2006-01-24 02:20:51 +00:00
moodler
54cf0d092f Fixed a parameter check 2006-01-24 02:07:13 +00:00
moodler
35bcb325f6 Added textarea field type.
Committed by Vy-Shane <vyshane@moodle.com>
2006-01-20 02:38:11 +00:00
toyomoyo
9a1a27b8fa removing \ 2006-01-20 02:26:37 +00:00
moodler
8e71ea9540 fixing conflicts 2006-01-20 01:53:50 +00:00
moodler
75785350dc fixing the conflicts, sorry >_< 2006-01-20 01:37:34 +00:00
moodler
d22f58a2d7 bug fix for 4615 2006-01-20 01:19:33 +00:00