Commit graph

5120 commits

Author SHA1 Message Date
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
moodler
1ec13950d1 Checking in some unchecked-in code 2006-03-09 01:51:22 +00:00
gbateson
330388c3ac JCloze improvements: allow gap at start of cloze and allow "0" for a gap value 2006-03-08 17:54:11 +00:00
skodak
9f79b50f05 fixed missing global $CFG - anyway it worked even without it :-D 2006-03-08 11:20:38 +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
0c0849cf5f lots of incorrect required_param()'s - there MUST be only two parameters not three!! 2006-03-08 00:08:51 +00:00
skodak
bbba475967 fixed includes in included files - see bug #4891 2006-03-07 23:41:22 +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