tjhunt
fb0454d62c
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:24 +00:00
tjhunt
49676c0186
Improve PHPdocs on a function.
2008-04-23 14:30:47 +00:00
tjhunt
da7f4c196a
Tidy up whitespace.
2008-04-23 10:54:57 +00:00
tjhunt
54ee7246cc
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:45 +00:00
skodak
a2067bf38d
MDL-14424 approve icon now bigger + css class added
2008-04-22 13:34:40 +00:00
skodak
0d4542e24b
MDL-8188 fixed missing global $CFG
2008-04-22 13:03:37 +00:00
skodak
a5c9d2e444
MDL-14137 adding minor fix for quotes in fieldname
2008-04-22 07:30:52 +00:00
stronk7
94fc397cbb
Fixed typo, grrr.
2008-04-21 18:09:15 +00:00
stronk7
1b8a70860d
Replace custom casting code by proper sql_cast_char2int() core function. MDL-12893
2008-04-21 18:06:59 +00:00
skodak
4aeccc8bf8
MDL-14458 - optgroups Fields and Other in search menu; removed unused search code, html labels, added option to sort by time modified
2008-04-21 14:15:30 +00:00
skodak
12999c3311
MDL-13025 added data intro text formatting without cleaning - manage activity cap already marked with XSS risk
2008-04-21 13:25:04 +00:00
skodak
a0b8e7637d
MDL-14446 fixed inverted read flag in threaded view
2008-04-20 19:37:28 +00:00
skodak
a7285f63b4
MDL-14336 defaultsort now stored as field name in preset.xml
2008-04-20 19:21:13 +00:00
skodak
3d3f891d44
MDL-12861 overriding of database settings now optional when using presets
2008-04-20 10:08:04 +00:00
skodak
bccb50caab
MDL-13188 asearchtemplate.htlm in presets implemented
2008-04-20 09:28:53 +00:00
skodak
38ffb6c139
MDL-14417 fixed sql for menu adv search - multimenu already fixed today
2008-04-19 21:20:56 +00:00
skodak
91cf92265e
MDL-14018 fixed ##more## icon regression, thanks Robert Allerstorfer for all the testing!
2008-04-19 21:00:26 +00:00
skodak
8713ac5fd3
MDL-14424 - approval icon is bigger again, it is possible to sort by Approved status now
2008-04-19 20:46:56 +00:00
skodak
9e5ef14437
MDL-14018 fixed ugly query - thanks Eloy
2008-04-19 18:02:39 +00:00
skodak
cd42b2be8d
MDL-14018 fixed regression, proper LIKE meta quoting, fix displaying when options changed
2008-04-19 16:46:50 +00:00
skodak
631c9f5c49
MDL-9907 xhtml strict
2008-04-19 16:43:21 +00:00
skodak
6ba41390ef
MDL-12089 several search related problems fixed in data module
2008-04-19 15:31:16 +00:00
skodak
f021a9119f
MDL-13936 forum reply refactoring and bugfixing - the forum_user_can_post() did not have discussion parameter which was a problem because the login depends on discussion group - there was a hack in discussion.php and view.php working around this, but it was not present in cron; sorry for the change of API, but it was required
2008-04-19 10:47:42 +00:00
skodak
6fd207292f
MDL-13936 indicate that user needs group membership to add new discussion, but only if having the capability to add new discussion - previously the message was incorrectly shown even when not having the cap in separate mode, visible mode needs this message too after previous commit; new lang string added in case user selects all participants in group selector and does not have accessallgroups - the existing group membership string could not be reused
2008-04-18 19:28:49 +00:00
skodak
f7e75ede04
MDL-13936 users without accessallgroups can post start discussions only in own groups if groupmode enabled in forum (either separate or visible), this was the way it worked in Moodle <1.8
2008-04-18 18:51:01 +00:00
skodak
9b231c86ec
MDL-11511 adding accidentaly removed replacement during last revert
2008-04-18 07:43:18 +00:00
dongsheng
d72e36cce7
MDL-14137, use addslash in get_settings() and remove the second parameter of htmlspecialchars()
2008-04-18 02:11:42 +00:00
tjhunt
bd5ec8cef4
MDL-8682 - yet another followup. The javascript still was not quite right. you cannot rely on the case of element.nodeName.
2008-04-17 13:07:34 +00:00
dongsheng
1987fb0808
MDL-14320, remove useless icon in edit entry page
2008-04-17 09:41:56 +00:00
moodler
0a8b14d0d7
MDL-14399 Applied RTL patches from Hebrew team without modification. They look OK to me and won't affect LTR as far as I can tell.
2008-04-17 08:28:24 +00:00
dongsheng
fc0a3140db
MDL-11511, use a new version to avoid potential problems.
2008-04-17 08:09:35 +00:00
scyrma
f0a6326181
MDL-12860 - do input sanitization early, so as to not mess up display later
2008-04-17 08:01:40 +00:00
dongsheng
2004936d44
MDL-11511, revert changes, see tracker
2008-04-17 07:51:39 +00:00
dongsheng
4b6c7b206b
MDL-11511, revert the changes, see tracker
2008-04-17 07:34:57 +00:00
dongsheng
69ef0b666c
MDL-11511, make logic more clear
2008-04-17 05:57:37 +00:00
dongsheng
d77d361e3d
MDL-11511, two new caps are introduced, see tracker
2008-04-17 05:39:47 +00:00
dongsheng
c4abdd2816
MDL-14137, donot filter single and double quote anymore, see tracker
2008-04-17 02:58:03 +00:00
skodak
35ef2c8919
MDL-9907 searching ilike pg compatibility fix
2008-04-16 18:56:31 +00:00
skodak
afece01121
MDL-14018 fixed searching when date order selected
2008-04-16 15:08:33 +00:00
skodak
38d6fc273a
MDL-14018 fixed searching when date order selected
2008-04-16 15:07:12 +00:00
skodak
f271e4112e
MDL-14390 fixed saving of multiselect field type
2008-04-16 14:50:58 +00:00
tjhunt
b63b26f1aa
MDL-14391 - Timestart shown twice in quiz overview report, instead of timefinish
2008-04-16 14:39:39 +00:00
skodak
ae65fba742
MDL-14389 fixed adv search flag storage
2008-04-16 14:08:34 +00:00
skodak
33096a7bb9
MDL-9907 searching/sorting by author name fixed when paging, MDL-14389 more transition fixes
2008-04-16 13:52:32 +00:00
skodak
05cdffa828
MDL-9907 searching/sorting by author name fixed when paging, MDL-14389 more transition fixes
2008-04-16 13:52:32 +00:00
skodak
49a60852e8
MDL-14389 fixed transition from advanced to simple view if multiple fields used
2008-04-16 13:31:00 +00:00
skodak
309b6caaa5
MDL-14018 advanced search for multiselect menu improved
2008-04-16 13:19:46 +00:00
skodak
bf44458bd2
MDL-14388 shuffling the field/butting lists a bit
2008-04-16 12:29:21 +00:00
skodak
14e404f960
MDL-9758 backported timeadded and timemodified + improved lang strings
2008-04-16 12:03:28 +00:00
skodak
24ca59f03e
MDL-9907 searching/sorting by author name
2008-04-16 11:44:52 +00:00