Commit graph

4731 commits

Author SHA1 Message Date
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
gustav_delius
90c3f31066 Some improvements to delete_question() 2006-03-20 23:04:22 +00:00
gustav_delius
75cd257be8 Moved the quiz constants into lib.php to keep things simple. 2006-03-20 20:59:46 +00:00
gustav_delius
6b11a0e863 Renaming constants QUIZ_ADAPTIVE and QUIZ_IGNORE_DUPRESP to QUESTION_..... and moved them to lib/questionlib.php because they are used for question-level options. 2006-03-20 20:45:55 +00:00
gustav_delius
c0749a1605 Fixed backup and restore for match questions 2006-03-19 09:50:43 +00:00
mark-nielsen
8bd7bacd14 [Fixed] this page was shooting of warnings for unset variable score. Now checks to make sure score is set before using it. 2006-03-19 02:16:00 +00:00
mark-nielsen
aeade7e227 cleaned up the left menu feature output by removing an unused form and several unnecessary string concatenations 2006-03-19 02:08:37 +00:00
mark-nielsen
289218844a [Changed] The print_simple_box_start/stop changes conflicted greatly with the display of branch table buttons (the box printed above the buttons some how :( ) To fix this, the tables were taken out and divs were used instead to display and arrange the buttons. This turns out to be a good thing because now the user has more control over the buttons via style sheet. Also did some extra clean up in the section of code printing the branch table.
[Added] new styles to styles.php to help display the buttons correctly.
2006-03-19 01:53:50 +00:00
gbateson
d95bcfff8d increase gap size for long answers in JCloze 2006-03-18 23:47:56 +00:00
gustav_delius
ccccf04f70 Multianswer restore now works.
Timelimit is rounded to integer before saving in the database
Some more diagnostic error messages
Towards more plugable question types: $QUIZ_MENU is now populated by the question types themselves.
2006-03-18 14:14:55 +00:00
danstowell
95a86f752b Fixes to rsslib to ensure the output is valid RSS 2.0 2006-03-17 07:44:22 +00:00
vyshane
663b45a86d Fixed php notice 2006-03-17 04:51:14 +00:00
mark-nielsen
0646963948 [Changed] function execute_teacherwarning to function lesson_display_teacher_warning because it was violating the function naming policy 2006-03-17 03:37:31 +00:00
mark-nielsen
4b55d2aff2 [Added] added phpdoc comments to locallib.php 2006-03-17 03:31:19 +00:00
gustav_delius
c6abbe5e39 Some incomplete work on the restore code (committing only because I am moving to a different machine) 2006-03-16 21:17:31 +00:00
danstowell
bce7a133b9 Re bug 4640 - enabled filtering for attachment link HTML - enables MP3 uploads to use mediafilter, for example 2006-03-16 10:36:54 +00:00
michaelpenne
2ea3451018 SQL error occured when viewing this page and no questions have been added to the quiz. This has been fixed. 2006-03-16 03:26:49 +00:00
skodak
9bc78f8456 fixed typo PARAM_CLEAR 2006-03-15 18:08:24 +00:00
moodler
9cba7a8c80 Added some more efficiencies to the code, but something seems to be wrong
with this function as the SQL is not finding any new posts at all for me.

Needs checking!
2006-03-15 09:56:57 +00:00
moodler
e23800b7b5 Fixed classes for styles in forum overview in My Moodle 2006-03-15 09:50:42 +00:00
vyshane
d87f8b6f33 Made gen_textarea() use print_textarea() function from /lib/weblib.php 2006-03-15 07:42:01 +00:00
moodler
a2a3733666 iFIx up some styles for the MyMoodle overview 2006-03-15 04:01:10 +00:00
moodler
5d45c04fce More styles for My Moodle 2006-03-15 03:47:08 +00:00
moodler
a7a74d7706 Added some styles 2006-03-15 03:42:51 +00:00
moodler
76a60031d0 All the assignment classes no longer need to be loaded, and removed some notices 2006-03-15 03:36:33 +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
patrickslee
9ca0187e16 Chat module support for my moodle page 2006-03-14 22:28:28 +00:00
patrickslee
101e9cad48 Dim link if not visible in my course view for assignment module 2006-03-14 22:05:16 +00:00
patrickslee
84fa8f5fdd Assignment module support for my moodle page 2006-03-14 21:26:37 +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
skodak
4f01826a27 removed $SESSION->encoding now replaced by current_charset() and $CFG->unicodedb; 3rd party contribs must be fixed to be utf-8 and 1.6dev compatible anyway;
going to add a notice to wiki at http://docs.moodle.org/en/UTF-8_scripts
2006-03-13 22:26:06 +00:00
gustav_delius
7befd0188d If a student has not attempted a question then the grade column for that question will show -- instead of 0. 2006-03-13 18:36:36 +00:00
gustav_delius
3e2c988f0c Somehow missed this table reference during renaming. 2006-03-13 18:30:35 +00:00
moodler
fd6590a987 Fix for bug 4875 which was only happening on MySQL 5 2006-03-13 12:43:01 +00:00
mjollnir_
d355395199 Fixing my moodle bug in forum track posts display 2006-03-13 00:42:01 +00:00
gustav_delius
b9618e80bd Truncated long action name in log, see http://moodle.org/mod/forum/discuss.php?d=41446#190858 2006-03-13 00:21:35 +00:00
gustav_delius
12fcd27da6 Some work on question restore code, not complete 2006-03-13 00:18:38 +00:00
gustav_delius
32a189d636 More renamings to separate questions from quiz. Some other small fixes. 2006-03-12 21:17:42 +00:00
gustav_delius
b0fb1e836b Default values for quiz_delay1 and quiz_delay2 2006-03-12 19:23:55 +00:00
michaelpenne
c5b71097bc [BugFix] Bug #4852 - HTML editor problems 2006-03-11 00:23:21 +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
martinlanghoff
10741fb26e mod/resource: dos2unix on the Hive code
Some Windows newlines got in there somehow. Cleanup.
2006-03-10 01:05:52 +00:00
vyshane
05da418753 Added $CFG->pagepath so that the Moodle Doc URLs are generated properly for
this section.
2006-03-09 07:53:14 +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
michaelpenne
eee850986f [Added] Added function lesson_delete_course() to clean up the lesson_default table 2006-03-09 02:26:20 +00:00