Commit graph

18935 commits

Author SHA1 Message Date
mjollnir_
ed2482dfae Fixing up some RENAME tables in postgres for quiz 2006-03-02 01:30:04 +00:00
moodler
16bac723c0 Removed the shibboleth code (there is a new way now)
http://moodle.org/mod/forum/discuss.php?d=39918#187611
2006-03-02 01:09:56 +00:00
mits
b67580acfa removed styles_fonts.css and styles_layout.css from $THEME->sheets. 2006-03-01 23:01:39 +00:00
mits
a076daf274 removed styles_fonts.css and styles_layout.css to use files of Standard theme. 2006-03-01 22:51:55 +00:00
gustav_delius
2662cf46fc Some improvements to how the tabs and links behave. 2006-03-01 21:16:28 +00:00
stronk7
00f6fb1b71 Adding the new h2.header 2006-03-01 18:29:39 +00:00
gustav_delius
37a12367c5 Templates and css hooks for more questiontypes. Essay and RQP will be done at a later date. 2006-03-01 16:15:30 +00:00
moodler
f413e3fbee Fixed some typos 2006-03-01 14:03:56 +00:00
tjhunt
1f8ede91cd Remove references to unused globals in remove_course_contents() and remove_course_userdata(), and fix comments. 2006-03-01 12:15:57 +00:00
tjhunt
34763a795a Change fulldelete(), so it does not give an error if the thing you try to delete does not exist. 2006-03-01 12:13:09 +00:00
nfreear
73bb9da7e5 Accessibility: added Alt text for envelope/message link (existing lang string); converted <div> to <ul>, inherit existing classes & styles. 2006-03-01 11:18:33 +00:00
nfreear
b34a009985 Accessibility: fixed $string['helpprefix'] for multi-languages; weblib.php, removed <img> width height - move to stylesheet, standard theme. 2006-03-01 11:01:16 +00:00
nfreear
1527acab30 Accessibility: fixed $string['helpprefix'] for multi-languages. 2006-03-01 10:53:05 +00:00
gustav_delius
dc2ff7c341 Fixed incorrect function name, spotted by Penny 2006-03-01 10:42:15 +00:00
gustav_delius
70c01adb91 Improvement to tabbed interface 2006-03-01 09:30:21 +00:00
moodler
6b25f553cc Fixed some typos 2006-03-01 09:12:13 +00:00
moodler
880a6f6b7a Added a new config variable that will mail db connection errors to someone (eg admin) 2006-03-01 09:06:57 +00:00
gustav_delius
567709c4e0 Tabs on question bank editing pages 2006-03-01 08:43:41 +00:00
vyshane
63339fc88c Added moodle docs link to footer of the themes. The link is generated by the
page_doc_link function.
2006-03-01 07:49:53 +00:00
vyshane
8fde6caa25 Added language string for the new config var "docroot". 2006-03-01 07:48:17 +00:00
vyshane
3963147913 Added function page_doc_link in weblib.php. This function is used to print a
link to the moodle docs for the current page.

Added the default value (http://docs.moodle.org) for docroot config variable
in defaults.php.
2006-03-01 07:47:14 +00:00
vyshane
14b7ebd3cb Added config variable for docroot: the moodle documentations root. This is
used to display a link for the docs that are relevant for the current page.
2006-03-01 07:45:29 +00:00
gustav_delius
f5565b6969 Removing some more references to quiz from import/export code 2006-03-01 07:36:09 +00:00
toyomoyo
28dad8b90a added proxy handling for lang import 2006-03-01 07:15:19 +00:00
gustav_delius
dc1f00de19 Some little fixes and more renaming to cleanly separate question code from quiz code
Renaming tables:
quiz_answers -> question_answers
quiz_categories -> question_categories

Renaming functions:
quiz_get_category_menu -> question_category_menu
quiz_get_category_coursename -> question_category_coursename
quiz_categorylist -> question_categorylist
2006-03-01 07:03:57 +00:00
toyomoyo
3c1acb61bb printing user picture for comments 2006-03-01 06:51:06 +00:00
vyshane
47f01c2f57 Icon for the page documentation links 2006-03-01 04:01:02 +00:00
mjollnir_
ecb5d875af Updated the comments around the horrible sql construction in the quiz reports for overview & response 2006-03-01 03:00:33 +00:00
mjollnir_
eeaf5ebce1 Ported the rework of the reports to the responses report. PLEASE try not to load all users into memory and then implode it into a string for the sql - just JOIN, it is what the database is good at :( 2006-03-01 02:46:15 +00:00
mjollnir_
3d45832721 Tidyup of whitespace and commented out stuff from last commit 2006-03-01 02:44:38 +00:00
moodler
4cd29f6c5a Take $CFG->pagepath into account for page_id_and_class so "weird" pages
can end up wth nice page classes and ids
2006-03-01 02:38:03 +00:00
moodler
1933c40771 Setting new variable $CFG->pagepath to give hints later on to the
function page_id_and_class and also page_doc_link so that they can set
things more correctly for each different module being used.
2006-03-01 02:34:34 +00:00
mjollnir_
03c8c27ee0 By popular request - quiz report now shows students with attempts only, students with no attempts only, students with attempts AND no attempts. This fixes bugs #4406 and #4353 2006-03-01 02:20:32 +00:00
mjollnir_
6ae92cf9b0 Fixing up a badly named quiz table in postgres. PLEASE remember that you cannot just do RENAME - it breaks the sequences 2006-03-01 02:17:47 +00:00
mjollnir_
cfe3f66f47 Added comments in the horribly complicated sql around the quiz report (fixes bug # 4406) 2006-03-01 00:49:49 +00:00
mjollnir_
7343f3c40a Fixing a warning in import course data - bug #4773 2006-03-01 00:33:50 +00:00
gustav_delius
c902637954 Committed fix for bug 4829 2006-02-28 20:43:06 +00:00
skodak
5c25b6af93 prevent unwanted password change here SC#225; merged from MOODLE_15_STABLE 2006-02-28 20:27:19 +00:00
nfreear
ece65914f9 Accessibility: lib/weblib.php: function helpbutton - added $string['helpprefix']. 2006-02-28 15:29:11 +00:00
nfreear
d455cd04e9 Accessibility: function _title_html, replaced <div> with H2, enclosed <div> to <span> - now validates! weblib.php: function side_block_start. 2006-02-28 13:13:52 +00:00
nfreear
02db7f7a02 Accessibility: function _title_html, replaced <div> with H2, enclosed <div> to <span> - now validates! 2006-02-28 13:12:13 +00:00
nfreear
b6f30b1818 Accessibility: functions changed, print_heading_block, print_side_block, print_side_block_start -- course .headingblock is now H2; .sideblock .header is now H2; .sideblock <table> is now <ul> (+ commented code for 'skip block link'). 2006-02-28 12:29:51 +00:00
nfreear
72d7872a23 Accessibility: course .headingblock is now H2; .sideblock .header is now H2; .sideblock <table> is now <ul> (+ commented code for 'skip block link'). 2006-02-28 12:02:32 +00:00
gustav_delius
062f1125cc *** empty log message *** 2006-02-28 09:36:31 +00:00
gustav_delius
4f48fb42af Towards removing reference to quiz module from the question code
Renaming tables:
quiz_questions -> question
quiz_states -> question_states

Renaming functions:
quiz_delete_question -> delete_question
quiz_get_question_options -> get_question_options
quiz_get_states -> get_question_states
quiz_restore_state -> restore_question_state
quiz_save_question_session -> save_question_session
quiz_state_is_graded -> question_state_is_graded
quiz_extract_responses -> question_extract_responses
quiz_regrade_question_in_attempt -> regrade_question_in_attempt
quiz_process_responses -> question_process_responses
quiz_isgradingevent -> question_isgradingevent($event)
quiz_search_for_duplicate_responses -> question_search_for_duplicate_responses
quiz_apply_penalty_and_timelimit -> question_apply_penalty_and_timelimit
quiz_print_question_icon -> print_question_icon
quiz_get_image -> get_question_image
quiz_make_name_prefix -> question_make_name_prefix
quiz_get_id_from_name_prefix -> question_get_id_from_name_prefix
quiz_new_attempt_uniqueid -> question_new_attempt_uniqueid
quiz_get_renderoptions -> question_get_renderoptions
quiz_print_quiz_question -> print_question
quiz_get_question_responses -> get_question_responses
quiz_get_question_actual_response -> get_question_actual_response
quiz_get_question_fraction_grade -> get_question_fraction_grade
quiz_get_default_category -> get_default_question_category


Renaming constants:
QUIZ_EVENT.... -> QUESTION_EVENT....
QUIZ_MAX_NUMBER_ANSWERS -> QUESTION_NUMANS
2006-02-28 09:26:00 +00:00
vyshane
77230a8b5a Fix for Bug #4850.
Wrapped offending block in an isset() check to get rid of php notices in debug mode.
2006-02-28 07:01:23 +00:00
vyshane
96ed436f37 Bug #4849 2006-02-28 04:41:44 +00:00
vyshane
4745a69050 Fixing Bug #4849 2006-02-28 04:33:39 +00:00
vyshane
0b3cfe8812 Fixed Bug #4552 2006-02-28 02:51:31 +00:00
toyomoyo
e95dddd7a9 added a line to prevent warning 2006-02-28 01:52:38 +00:00