Commit graph

31411 commits

Author SHA1 Message Date
skodak
864dad5795 MDL-13401 fixed REQUEST_URI test; merged from MOODLE_19_STABLE 2008-04-25 12:24:16 +00:00
skodak
51f7c052c2 MDL-14473 added missing $files param; merged from MOODLE_19_STABLE 2008-04-25 12:20:46 +00:00
moodlerobot
f563ee3a76 Updated the HEAD build version to 20080425 2008-04-25 01:52:42 +00:00
moodlerobot
2fb16c58bc Automatic installer.php lang files by installer_builder (20080425) 2008-04-25 01:18:37 +00:00
stronk7
2f1cd7daec Fixed typo causing restore to existing courses not to work. MDL-14549 ; merged from 19_STABLE 2008-04-24 21:49:07 +00:00
stronk7
05ac14ca68 Prevent wrong data->notifications to be stored. Default to 0 if empty. MDL-14540 ; merged from 19_STABLE 2008-04-24 17:11:40 +00:00
stronk7
5a620a8c2a Fix tag links in tag clouds. MDL-14547 ; merged from 19_STABLE 2008-04-24 16:45:58 +00:00
jerome
5448c13d41 MDL-11382 Put back 'Activity Reports' and 'Edit Profil' links in the administration block 2008-04-24 08:58:48 +00:00
dongsheng
8e48039682 MDL-14460, fix get_context_instance, merged from MOODLE_19_STABLE 2008-04-24 08:39:47 +00:00
scyrma
c659559fd6 MDL-3381 - Prevent the un-necessary calls to ctype_alpha. 2008-04-24 06:40:26 +00:00
scyrma
e12e0ee717 MDL-3381 - Reverse broken commit 2008-04-24 03:24:42 +00:00
scyrma
bbbfc0579f MDL-3381 - Remove all remaining core calls to ctype_* functions in 1.9, and make ctype required for 2.0. (merge from 1.9) 2008-04-24 03:07:59 +00:00
dongsheng
5832a6f34b MDL-14129, fix print_error call 2008-04-24 02:48:36 +00:00
dongsheng
fae11dca56 MDL-14129, fix print_error call 2008-04-24 02:24:49 +00:00
moodlerobot
5a102f50fb Updated the HEAD build version to 20080424 2008-04-24 01:53:53 +00:00
sam_marshall
1e1c1e9720 MDL-14497 Fixed several minor bugs in navmenu() 2008-04-23 17:09:03 +00:00
tjhunt
3192d014f3 Eliminate direct references to $_REQUEST and $_POST in the quiz code.
Also, when you edit the quiz, and therefore any preview attempts are deleted automatically, make sure the attempts are deleted properly by calling quiz_delete_attempt on each one, rathern than leaving orphaned junk in the database.
2008-04-23 14:49:22 +00:00
tjhunt
bfecee473a Revert bogus error -> print_error changes that were stopping my patch from merging. 2008-04-23 14:45:45 +00:00
tjhunt
97344ae331 Improve PHPdocs on a function. 2008-04-23 14:31:21 +00:00
tjhunt
8e77884c4e MDL-13982 - Performance problem when deleting questions from large question banks. Thanks to Michael Spall for this fix. Merged from MOODLE_18_STABLE.
At the same time, remove direct references to $_REQUEST and $_POST in this code.
2008-04-23 13:45:38 +00:00
tjhunt
92a95034ff Revert bogus error -> print_error changes that were stopping my patch from merging. 2008-04-23 13:42:50 +00:00
tjhunt
d20e702956 Tidy up whitespace. 2008-04-23 10:54:51 +00:00
moodler
c70ad9f736 MDL-14493 First checkin of Feedback module into HEAD.
I made a number of small tidy-ups to the contrib version before adding this here:

  - fixed some language string names
  - renamed a capability from deletecompleteds to deletesubmissions (can we use "submissions" everywhere?)
  - got rid of language packs (moved english to correct location)
  - deleted 'pics' type (it needs to be rewritten to use user files in moodledata)
  - moved changelog into README.txt
  - moved captcha font out of subdir
  - bumped version to today

Thanks very much to Andreas Grabs for all your work on this module so far, and congratulations!   :-)
2008-04-23 09:33:54 +00:00
thepurpleblob
e47878d870 MDL-14461:
The user must be (effectively) be logged in to use this function.
Adding the logged in check means they will be asked if they are not (like
everywhere else).

Merged from STABLE19
2008-04-23 08:47:27 +00:00
dongsheng
09ee7b0d9e MDL-14460, fix get_context_instance, see tracker 2008-04-23 08:07:42 +00:00
dongsheng
fd968fb1b5 MDL-14129, add new lang string, see tracker 2008-04-23 08:00:32 +00:00
dongsheng
8b141784a8 MDL-14129, fix print_error() call, see tracker 2008-04-23 08:00:05 +00:00
dongsheng
e31a44ee20 fix print_error() call, see tracker 2008-04-23 07:29:51 +00:00
dongsheng
5656aea193 MDL-14129, fix print_error call 2008-04-23 07:25:01 +00:00
dongsheng
79459a7cf7 MDL-14129, emoticons.html should included in this issue, revert my change, sorry 2008-04-23 07:22:58 +00:00
dongsheng
7e2258d2c9 MDL-14129, fix print_error() call 2008-04-23 07:18:16 +00:00
jamiesensei
58ffdbb883 MDL-14471 - when attempt data is generated by a script then sometimes quiz_get_latest_attempt_by_user fetches the wrong attempt since timestart for the attempt is not a second apart from the last attempt - "patch to quiz/locallib.php function quiz_get_latest_attempt_by_user which makes the query simpler and also makes it more robust.
In the case that there are two attempts started in the same second, which can happen if you are generating random attempt data then the id field is used to tell which is the later attempt."
2008-04-23 06:45:11 +00:00
moodler
f49edc81d6 Merged MDL-14483 from 1.9: Use the recipient language to send email 2008-04-23 02:27:37 +00:00
dongsheng
c79106c4b5 MDL-14053, include custom profile fields when export user info, see tracker, merged from MOODLE_19_STABLE 2008-04-23 02:07:11 +00:00
moodlerobot
6f76816ab8 Updated the HEAD build version to 20080423 2008-04-23 01:53:50 +00:00
dongsheng
a4f9dc75da MDL-14129, fix misuse string 2008-04-23 01:53:30 +00:00
tjhunt
e31a98a6e1 MDL-14352 - General feedback for descriptions not showing up on the review page, as it should. 2008-04-22 16:17:01 +00:00
tjhunt
44847eb868 MDL-14363 - Fix a broken redirect from mod/quiz/ attempt.php to edit.php when the quiz has not questions.
Also, when the quiz has no questions, disable the Info, Reports and Preview tabs, which, in this case, just redirect back to the Edit tab anyway.

Finally, change a redirect in quiz view.php, which used a relative URL, to a full url starting $CFG->wwwroot.
2008-04-22 15:19:50 +00:00
tjhunt
8a99f5c3fc MDL-14477 - Improve display of tab bars
1. Make disable tabs look more disabled, in particular, make sure they don't do anything when you mouse over them, and make the text colour grey.

2. Put the active tab into bold, to make it look more active.
2008-04-22 15:15:58 +00:00
tjhunt
5389648d0b MDL-14467 - qtype_multichoice help file in the wrong place - merged from 1.8/1.9 stable.
In addition, move the other multichoice help file to the correct location, and update all references.
2008-04-22 14:40:09 +00:00
sam_marshall
03beb65b3a MDL-14476: Made 'fake blocks' in calendar and elsewhere more consistent with real blocks (so styling themes is easier) 2008-04-22 14:14:47 +00:00
tjhunt
a56d98597e MDL-14407 - supplimental - Deal with another way the category id can be in the URL after it is deleted. 2008-04-22 14:06:58 +00:00
skodak
b4c8d1ea9c MDL-14424 approve icon now bigger + css class added; merged from MOODLE_19_STABLE 2008-04-22 13:35:51 +00:00
skodak
cff611fc19 MDL-8188 fixed missing global $CFG; merged from MOODLE_19_STABLE 2008-04-22 13:04:35 +00:00
dongsheng
fa6086a84b MDL-14129, fix print_error 2008-04-22 08:52:25 +00:00
skodak
52f2776d3c MDL-14137 adding minor fix for quotes in fieldname; merged from MOODLE_19_STABLE 2008-04-22 07:31:28 +00:00
dongsheng
ef35441d27 MDL-14460, fix get_context_instance, merged from MOODLE_19_STABLE, see tracker. 2008-04-22 06:24:14 +00:00
moodler
dde73b9e69 Merged MDL-8566 from 1.9 2008-04-22 05:56:21 +00:00
dongsheng
a814fc6651 MDL-8566, replace permlink with permalink 2008-04-22 05:21:47 +00:00
moodlerobot
8d1462fbe1 Updated the HEAD build version to 20080422 2008-04-22 01:54:33 +00:00