vyshane
d4706960e4
Refactored function rss_get_link() so that it uses a new function
...
rss_get_url() which generates the URL to the RSS XML file. Because in some
cases we need the URL only, and not the whole <a href...><img ...></a> string.
Added function rss_get_url()
2006-03-03 08:03:45 +00:00
skodak
29939bea87
improved kses cleaning of html SC#204; merged from MOODLE_15_STABLE
2006-03-02 21:38:20 +00:00
thepurpleblob
2dd6d66b31
Rewrite of add_indented_names() function.
...
Bit longer, but *much* faster for large numbers of categories.
2006-03-02 14:13:42 +00:00
tjhunt
b97c41647c
Refactor the code for deleting a course from course/delete.php to a function in moodlelib.php.
2006-03-02 11:58:43 +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
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
gustav_delius
70c01adb91
Improvement to tabbed interface
2006-03-01 09:30:21 +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
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
gustav_delius
f5565b6969
Removing some more references to quiz from import/export code
2006-03-01 07:36:09 +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
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
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
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
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
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
91247b891f
Changed the managingEditor and webMaster XML tags to show the fullname of the admin instead of the email address. This prevents spam resulting from bots crawling the RSS feeds.
2006-02-27 05:11:02 +00:00
thepurpleblob
65c9673497
Latest version of Markdown Extra - Note that Extra has some new features
...
See: http://www.michelf.com/projects/php-markdown/extra/
2006-02-25 16:48:46 +00:00
thepurpleblob
feb60a0755
Added function (from locallib.php) to create default quiz filename
2006-02-24 18:49:50 +00:00
thepurpleblob
ff4b6492a0
Moved import/export functions.
2006-02-24 15:44:53 +00:00
gustav_delius
f02c6f017e
Renamed QUIZ_QTYPES to QTYPES
2006-02-24 13:48:43 +00:00
gustav_delius
4b32fd66ab
Moved function quiz_question_used from mod/quiz/locallib.php to question_used in lib/questionlib. Fixed some more links.
2006-02-24 12:53:47 +00:00
gustav_delius
e56a08dc15
Updated questionlib to work with the new location of the question scripts
2006-02-24 10:25:16 +00:00
gustav_delius
516cf3eb59
Moving quiz-independent question scripts to their new location. In a following commit these files will be updated to actually work in their new location.
2006-02-24 10:21:40 +00:00
toyomoyo
e98ae339ef
see changes to admin/utfdbmigrate.php
2006-02-24 07:33:31 +00:00
mjollnir_
0a0bcdd259
Merged from MOODLE_15_STABLE: Fixing a problem reported about self enrolment in child courses and not being able to access the parent without logging in and out again at http://moodle.org/mod/forum/post.php?reply=185699
2006-02-23 22:15:30 +00:00
ikawhero
9677eb79c5
Making custom scripts path generic so it is not forced to be in the
...
dataroot directory which is writable by the web server.
Path cleaned to avoid relative directory links.
2006-02-23 07:04:13 +00:00
thepurpleblob
b9709b76d9
Corrected oversight with uploaded file filters change
...
See http://moodle.org/mod/forum/discuss.php?d=40177
2006-02-21 12:54:24 +00:00
thepurpleblob
e11108a580
$CFG->filteruploadedfiles off by default.
...
See http://moodle.org/mod/forum/discuss.php?d=40177
2006-02-21 12:39:16 +00:00
thepurpleblob
2f9bd37cc3
Added proper check for $CFG->filteruploadedfiles, so that text/plain files
...
are not converted to text/html if this is 'off'
See discussion: http://moodle.org/mod/forum/discuss.php?d=40177
2006-02-21 10:43:23 +00:00
stronk7
8630fd4be7
Done, changing some files with DOS linefeeds to Unix linefeeds. Bug 4763.
...
(http://moodle.org/bugs/bug.php?op=show&bugid=4763 )
2006-02-19 10:31:21 +00:00
gustav_delius
1bc28beba0
Improved the comment for set_field()
2006-02-15 12:13:20 +00:00
mjollnir_
35cfff0e66
added to magpie the ability to do POSTs as well as GETs.. submitted this patch upstream but upstream doesn't seem to look at patches on sf.net
2006-02-14 20:33:40 +00:00
mjollnir_
f9648e77cf
Added cron support for blocks - it was already there in the tables, now we just need to use it
2006-02-14 03:24:08 +00:00
mjollnir_
3a11c548b2
Fixing a warning in debug mode
2006-02-14 02:01:31 +00:00
toyomoyo
89ac329bd0
taking out adodb_logsql table
2006-02-13 01:58:42 +00:00
toyomoyo
4dc78ff1c1
taking out pma tables as they are not mandatory
2006-02-13 01:57:04 +00:00
skodak
9b9ae915d7
scales.php fixed page parameters and removed isset_param(); scale parameter now named scaleid when listing only
2006-02-12 19:43:17 +00:00
stronk7
feba81cc49
Avoid one notice. Bug 4690. Credits go to fad. B-)
...
(http://moodle.org/bugs/bug.php?op=show&bugid=4690 )
2006-02-11 16:17:06 +00:00
vyshane
74142cc5a7
Reverted back rss_get_link() function. We've decided that the data module will
...
store it's XML RSS stuff in another path.
2006-02-10 03:16:59 +00:00
vyshane
d1dbc96fea
Modified function rss_get_link() so that we ignore $userid if it is empty when
...
we build the path to the XML file.
We need this for RSS feeds for the data module, where it does not make sense
to generate an XML file for each user when they will all be seeing the same
feed.
2006-02-10 03:03:29 +00:00
toyomoyo
55e87e5386
added code to remove possible warnings
2006-02-10 01:26:16 +00:00
toyomoyo
2cdd87a70f
fix for 4720, added code to make sure en_utf8 is searchable in dirroot as well
2006-02-10 01:21:52 +00:00
toyomoyo
7919264b84
bug fixing for 4720
2006-02-10 01:16:54 +00:00
gustav_delius
e7cb8f3e7a
Now one can set the title attribute for a tab separately from its text
2006-02-09 13:38:04 +00:00
gustav_delius
27998b9e2f
Added a NOT NULL to a text field just because others have it and now it agrees with my recent commit to STABLE.
2006-02-09 12:23:49 +00:00