30838 Commits

Author SHA1 Message Date
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
stronk7
ce7373f85c Replace custom casting code by proper sql_cast_char2int() core function. MDL-12893 ; merged from 19_STABLE 2008-04-21 18:10:09 +00:00
skodak
3239b0104e MDL-14458 - optgroups Fields and Other in search menu; removed unused search code, html labels, added option to sort by time modified; merged from MOODLE_19_STABLE 2008-04-21 14:17:02 +00:00
skodak
ea6073bb48 MDL-13025 added data intro text formatting without cleaning - manage activity cap already marked with XSS risk; merged from MOODLE_19_STABLE 2008-04-21 13:26:08 +00:00
pichetp
2fd8093028 MDL-14435 Removing capitals 2008-04-21 02:48:06 +00:00
moodlerobot
db7cfe8086 Updated the HEAD build version to 20080421 2008-04-21 01:46:05 +00:00
stronk7
c4c1348c24 Replace low level $db->Concat() calls to Moodle sql_concat() cross-db alternative. MDL-13823 ; merged from 19_STABLE 2008-04-20 22:15:21 +00:00
stronk7
272ccb9702 Modify sql_concat() to support all elements being numeric. MDL-13823 ; merged from 19_STABLE 2008-04-20 21:19:38 +00:00
skodak
e4703b032f MDL-8474 stats upgrade now uses editing teachers only; merged from MOODLE_19_STABLE 2008-04-20 19:55:15 +00:00
skodak
3b4756653a MDL-14446 fixed inverted read flag in threaded view; merged from MOODLE_19_STABLE 2008-04-20 19:38:33 +00:00
skodak
eaa3081807 MDL-14336 defaultsort now stored as field name in preset.xml; merged from MOODLE_19_STABLE 2008-04-20 19:22:06 +00:00
skodak
8528bf260b MDL-12861 overriding of database settings now optional when using presets; merged from MOODLE_19_STABLE 2008-04-20 10:09:28 +00:00
skodak
2dc6be3f77 MDL-13188 asearchtemplate.htlm in presets implemented; merged from MOODLE_19_STABLE 2008-04-20 09:29:57 +00:00
stronk7
8b6ccde7b0 Restore of blogs in SITE page added. MDL-9089 ; merged from 19_STABLE 2008-04-20 02:03:00 +00:00
moodlerobot
1feddbc863 Updated the HEAD build version to 20080420 2008-04-20 01:43:56 +00:00
stronk7
99b39c96ef Added string to restore blogs. MDL-9089 ; merged from 19_STABLE 2008-04-20 01:18:44 +00:00
stronk7
d9063e928f Adding some missing course info when backuping blogs. MDL-9089 ; merged from 19_STABLE 2008-04-19 22:41:48 +00:00
skodak
a4e3818f2a MDL-14417 fixed sql for menu adv search - multimenu already fixed today; merged from MOODLE_19_STABLE 2008-04-19 21:22:03 +00:00
skodak
029cf8469b MDL-14018 fixed ##more## icon regression, thanks Robert Allerstorfer for all the testing!; merged from MOODLE_19_STABLE 2008-04-19 21:02:10 +00:00
skodak
bb5740f4c8 MDL-14424 - approval icon is bigger again, it is possible to sort by Approved status now; merged from MOODLE_19_STABLE 2008-04-19 20:48:48 +00:00
skodak
33b8ead904 MDL-14018 fixed ugly query - thanks Eloy; merged from MOODLE_19_STABLE 2008-04-19 18:03:32 +00:00
skodak
9a36be0212 MDL-14018 fixed regression, proper LIKE meta quoting, fix displaying when options changed; merged from MOODLE_19_STABLE 2008-04-19 16:47:35 +00:00
skodak
bc16bd57ac MDL-9907 xhtml strict; merged from MOODLE_19_STABLE 2008-04-19 16:44:08 +00:00
skodak
eeeb4f2ad9 MDL-12089 several search related problems fixed in data module; merged from MOODLE_19_STABLE 2008-04-19 15:33:06 +00:00