153 Commits

Author SHA1 Message Date
moodler
a44e70811a Update the passed-in data object when generating new templates 2006-03-25 14:57:36 +00:00
moodler
ec865e2d74 Fixes for fields display 2006-03-25 14:00:54 +00:00
moodler
36a9cc4caf Cleaned up approval script (more security ;-)) 2006-03-24 14:48:54 +00:00
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
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
3a5a7928ea Fixed extra function argument in call for display_add_field() from add.php. 2006-03-23 06:20:48 +00:00
vyshane
8921fdb762 Fixed typo in function define_field() 2006-03-23 03:48:58 +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
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
moodler
3515ae35e2 Just spacings 2006-03-10 09:08:59 +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
toyomoyo
3c1acb61bb printing user picture for comments 2006-03-01 06:51:06 +00:00
moodler
735a795229 A few small changes for Vy to continue working on (logs, mostly) 2006-02-27 04:13:03 +00:00
toyomoyo
2232755c93 added time created and modified for comments 2006-02-27 02:13:48 +00:00
toyomoyo
f841494c62 see changes for admin/utfdbmigrate.php 2006-02-24 08:20:13 +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
850d05ce38 . 2006-02-20 06:07:09 +00:00
toyomoyo
310639ff8c keep comments to the left for IE 2006-02-20 05:50:45 +00:00
toyomoyo
bbf0379ca1 fixed navigation after deleting or editting data comment 2006-02-20 05:37:15 +00:00
toyomoyo
8b034b6ddb string fix and empty lines 2006-02-20 03:15:38 +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
toyomoyo
e51d9eb4bf changed some strings 2006-02-15 06:38:32 +00:00
toyomoyo
4d3d87f0a4 adding ratings and comments functionality 2006-02-14 03:17:21 +00:00
vyshane
a593aeee92 Added RSS support for data module. 2006-02-13 07:57:54 +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
toyomoyo
d6af3cfab9 add_instance change too 2006-02-08 04:58:21 +00:00
toyomoyo
17e5f3fc9d adding 3 more fields to mod.html, and modified data_update_instance 2006-02-08 04:56:44 +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
toyomoyo
f4e101bd08 adding group support 2006-02-06 06:13:34 +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
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
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
ikawhero
1f697b99aa Remove para tags 2006-02-03 10:42:14 +00:00
vyshane
173b1b1261 Input field size cleanups. 2006-02-03 09:22:23 +00:00
moodler
cf3e199bce changes in search, sort etc 2006-02-03 08:11:36 +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
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
vyshane
c91c24d7e3 Modifications to bring in line with the changes to database structure.
Vy-Shane
2006-01-25 09:10:14 +00:00