17 Commits

Author SHA1 Message Date
Penny Leach
c3e1b5bd5a portfolio & data MDL-21032 add leap2a to database module
This commit changes drastically the previous portfolio api support in
mod/data to get rid of csv etc and add leap2a, refactor and tidy up a
lot.
2010-05-02 18:01:19 +00:00
David Mudrak
7719b4db37 MDL-21695 Database module now uses new help strings
AMOS BEGIN
 HLP data/exportzip.html,[exportaszip_help,mod_data]
 HLP data/fields.html,[newfield_help,mod_data]
 HLP data/fieldmappings.html,[fieldmappings_help,mod_data]
 HLP data/importcsv.html,[csvimport_help,mod_data]
 HLP data/importfromfile.html,[fromfile_help,mod_data]
 HLP data/maxentries.html,[maxentries_help,mod_data]
 HLP data/requireapproval.html,[requireapproval_help,mod_data]
 HLP data/requiredentries.html,[requiredentries_help,mod_data]
 HLP data/requiredentriestoview.html,[requiredentriestoview_help,mod_data]
 HLP data/savepreset.html,[saveaspreset_help,mod_data]
 HLP data/tags.html,[availabletags_help,mod_data]
 HLP data/usepreset.html,[usestandard_help,mod_data]
AMOS END
2010-04-30 14:56:41 +00:00
Martin Dougiamas
6595a5681e ratings MDL-21657 Improving capabilities for ratings.
Rather than performing complicated upgrade procedures from the old (broken) logic in three activity modules, we are adding new capabilities to those three modules to make them all consistent, and using them in a callback from the Ratings API.  This is the same as the Comments API.

The downside is that two sets of capabilities need to be enabled for ratings to work.  Hopefully this can be mitigated somewhat when build some sort of shortcuts on the module settings forms to set capabilities.  In the meantime, the effect is reduced somewhat by having all the rating capabilities enabled by default for student and teacher roles.  This means control is in the hands of whatever the modules have set, giving very close backward compatibility.

This is not the perfect solution, but neither were the other two.
2010-04-23 05:42:22 +00:00
Helen Foster
38d207acca MDL-21695 adding help strings 2010-04-21 18:12:44 +00:00
David Mudrak
30c8dd34f7 MDL-15252 Re-committing all English strings exported from AMOS
From now on, all English strings use the new syntax. They are not
eval()'ed any more and the only valid placeholders are {$a} and
{$a->foobar}. No extra quotes escaping, dollar sign escaping and putting
double percent signs.

The modified files were exported from AMOS database repository in the
new syntax and were re-ordered by stringid. Standard GNU/GPL and PHPdoc
blocks are added. Where there was no copyright note so far, I added the
default one with Martin Dougiamas as the copyright holder.

Live long and prosper.
2010-04-10 14:01:45 +00:00
Petr Skoda
3a915b0667 MDL-21693 Dropping _utf8 suffix from language codes and folder names; enabling new string managers - please note the transition is not yet fully complete because we need to wait for git to recognize the renames in cvs 2010-04-10 07:24:56 +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
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
moodler
6e0119dd30 Various small XHTML fixes, language fixes 2006-02-06 05:24:02 +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
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
22e192c9f0 Added language strings for multi-selection menu and checkbox fields. 2006-02-01 05:11:23 +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
moodler
7972cc46bd Updated language strings
Committed by Vy-Shane Sin Fat
2006-01-19 08:59:30 +00:00
moodler
3d4b223a85 NEW MODULE FROM MOODLE.COM - DATABASE !
Finally, we have an early version good enough for everyone to
start banging on to help us polish it up and find bugs.

Please take a look and file bugs in the bug tracker under "Database module".

We urgently need
    - new icons for existing field types
    - testing on PostgreSQL install


Coming soon (?):

    - Many more field types:  calculation, checkbox, relation, date, datetime,
                              time, email, group, list, user, number, richtext
      (Please let us know if you are interested in developing any of these)

    - A way to save and restore "presets", which are field/template sets

    - Backup/Restore support

    - Groups Support

    - RSS support

Many thanks to Yu for all the hard work under my whip.
2005-12-02 07:50:26 +00:00