2490 Commits

Author SHA1 Message Date
mjollnir_
74ffb569c6 Added a useful function in moodlelib to resolve filename collisions when moving files around. Perhaps useful for backup or importing or files/index.php 2006-03-06 00:36:06 +00:00
julmis
988f9ddff0 Changing tiny to use gzip compressed version. 2006-03-05 10:36:24 +00:00
julmis
07f37ebca2 Removing advanced theme docs... 2006-03-05 10:28:01 +00:00
julmis
80153c354c Removing plugins... 2006-03-05 10:08:30 +00:00
julmis
def7254987 Removing examples. 2006-03-05 09:46:28 +00:00
julmis
140e306f4e Removing docs... 2006-03-05 08:58:55 +00:00
julmis
8d529638a6 Writing more readme... 2006-03-05 08:46:49 +00:00
julmis
9cc07c7393 Adding new editor readme. 2006-03-05 07:48:15 +00:00
skodak
a083b93cec First stange of parameter handling refactoring, no new features + minor bugfixes. More changes coming soon.
New code should be easier to understand, just simple switch-case. Expect some detailed documentation for module authors before UK MoodleMoot :-)
2006-03-04 18:05:41 +00:00
julmis
e1ecf0a019 Adding wrapper function loadeditor. 2006-03-04 16:53:02 +00:00
julmis
c06c849221 Modifying print_textarea for new editorObject compatible. 2006-03-04 16:04:48 +00:00
julmis
c10364100d Adding editorlib. 2006-03-04 16:01:41 +00:00
julmis
876110eb1d Adding TinyMCE editor 2006-03-04 15:57:34 +00:00
julmis
6c1e8ba8d2 Moving old editor to htmlarea folder. 2006-03-04 15:24:17 +00:00
julmis
c2db12af42 Adding tinymce needed defaults and new $CFG property 'editorsrc' 2006-03-04 14:52:50 +00:00
skodak
1b1d34225b incorrect usage of clean_filename() replaced with clean_param($text, PARAM_SAFEDIR) 2006-03-04 12:37:29 +00:00
skodak
46b8113012 optional unicode characters and better conversion to ascii in function clean_file(); fixed textlib setup code; unicode related cleanup in config-dist.php
I am going to review the usage of clean_filename() now
2006-03-04 11:35:08 +00:00
skodak
d8eb52a2d0 fixed bug #2596 - filterlib is now adding popup javascript into html files 2006-03-03 23:25:27 +00:00
skodak
01eb4f5f21 loginas.php parameter typo 2006-03-03 19:50:33 +00:00
nfreear
bef6cd5d81 Accessibility: weblib.php: function print_side_block, completed 'Skip block' link. 2006-03-03 11:48:02 +00:00
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