Commit graph

3450 commits

Author SHA1 Message Date
tjhunt
c0b5b31a48 Addition to locallib.php to notify local code when a course is deleted. 2006-03-06 12:19:58 +00:00
julmis
1452f9e11b And more readme updates. 2006-03-06 09:44:57 +00:00
julmis
127907098c Removing old editor scripts. These are found at /lib/editor/htmlarea from now on. 2006-03-06 07:57:41 +00:00
julmis
515e6eccbe Adding support for new GetHtml plugin 2006-03-06 07:44:35 +00:00
julmis
4773034906 Adding new GetHtml plugin. 2006-03-06 07:15:13 +00:00
julmis
f2214522d8 Fixing comma problem. 2006-03-06 07:12:04 +00:00
julmis
5d816150cd Writing more readme... 2006-03-06 07:11:35 +00:00
skodak
96e98ea67f Fixed error in my previous commit, unknown parametery type 0. 2006-03-06 06:25:33 +00:00
ikawhero
70070c1f88 Changes to custom script code. Credit to Gordon Bateson. Bug 4827. 2006-03-06 01:45:11 +00:00
mjollnir_
2e05b22ab6 Fixing the parse error in moodlelib! Do I get a prize for being first after sf.net came back up? ;) 2006-03-06 00:39:51 +00:00
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