moodle.git
13 years agoMDL-16348 Reorganise admin tree:
tjhunt [Mon, 8 Sep 2008 11:32:31 +0000 (11:32 +0000)]
MDL-16348 Reorganise admin tree:
* New Capability report put under Users -> Permissions
* Miscellaneous category renamed to Development
* Unit tests and Functional DB test moved to be under Development.
* The hard-coded hack that was used to change the permission that controls the Backups and stats reports replaced with settings.php files.
* There were two hidden Miscellaneous things in the old category, so I moved them. Multilan upgrade now under Lanuages, and Online assignment cleanup now under Plugins -> Activity modules. Both still hidden.

There was already a way for admin report plugins to control where they appeared in the tree, but it was not documented, so see http://docs.moodle.org/en/Development:Admin_reports

13 years agoMDL-7308 "Check all the DB columns used to store grades, and make sure they all use...
jamiesensei [Mon, 8 Sep 2008 10:35:14 +0000 (10:35 +0000)]
MDL-7308 "Check all the DB columns used to store grades, and make sure they all use a consistent type." Since quiz->sumgrades is now string "0.00000" (quiz->sumgrades) no longer evaluates as false. Changing to (quiz->sumgrades != 0)

13 years agoMDL-15402: fix a bug when try to display list of instances for not added plugin
jerome [Mon, 8 Sep 2008 09:41:38 +0000 (09:41 +0000)]
MDL-15402: fix a bug when try to display list of instances for not added plugin

13 years agoMDL-13766, users can delele their own cache files in fp.
dongsheng [Mon, 8 Sep 2008 08:48:07 +0000 (08:48 +0000)]
MDL-13766, users can delele their own cache files in fp.

13 years ago"MDL-13766, fix repository id in thumbnail view"
dongsheng [Mon, 8 Sep 2008 07:51:07 +0000 (07:51 +0000)]
"MDL-13766, fix repository id in thumbnail view"

13 years ago"MDL-13766, fix treeview html id"
dongsheng [Mon, 8 Sep 2008 07:24:27 +0000 (07:24 +0000)]
"MDL-13766, fix treeview html id"

13 years agoTab -> spaces
tjhunt [Mon, 8 Sep 2008 07:11:13 +0000 (07:11 +0000)]
Tab -> spaces

13 years agoMDL-16343 Report showing, for a given capability, how it is set in the definition...
tjhunt [Mon, 8 Sep 2008 07:01:41 +0000 (07:01 +0000)]
MDL-16343 Report showing, for a given capability, how it is set in the definition of each role, and everywhere that it is overridden.

13 years agoMDL-16343 New PARAM_ type, PARAM_CAPABILITY.
tjhunt [Mon, 8 Sep 2008 07:00:49 +0000 (07:00 +0000)]
MDL-16343 New PARAM_ type, PARAM_CAPABILITY.

13 years agoComment update.
tjhunt [Mon, 8 Sep 2008 06:59:11 +0000 (06:59 +0000)]
Comment update.

13 years agoMDL-13766
dongsheng [Mon, 8 Sep 2008 06:20:24 +0000 (06:20 +0000)]
MDL-13766
1. fix boxnet search feature
2. fix bugs in global search

13 years agoMDL-15405: draftfile url rewriting function now working as it should for a nice bunch...
scyrma [Mon, 8 Sep 2008 06:09:11 +0000 (06:09 +0000)]
MDL-15405: draftfile url rewriting function now working as it should for a nice bunch of test cases.

13 years agoAdded maxattachments field for setting max number of attachments
moodler [Mon, 8 Sep 2008 05:58:19 +0000 (05:58 +0000)]
Added maxattachments field for setting max number of attachments

13 years agoMDL-14722 Added new maxattachments setting at admin and forum level to
moodler [Mon, 8 Sep 2008 05:46:42 +0000 (05:46 +0000)]
MDL-14722  Added new maxattachments setting at admin and forum level to
set the maximum number of attachments for forum posts.   Default: 1.

Works, but still needs a bit of polishing to deal with re-editing posts (to stop people going above maxattachments)

Also fixed documentation for attachments.

13 years agoMDL-15348 Add changes for filepicker to support the display of existing files
moodler [Mon, 8 Sep 2008 05:41:45 +0000 (05:41 +0000)]
MDL-15348 Add changes for filepicker to support the display of existing files

13 years agoMDL-13766, global search enabled.
dongsheng [Mon, 8 Sep 2008 05:38:13 +0000 (05:38 +0000)]
MDL-13766, global search enabled.

13 years agoMDL-13766: make the filepicker work over https when necessary.
scyrma [Mon, 8 Sep 2008 03:07:07 +0000 (03:07 +0000)]
MDL-13766: make the filepicker work over https when necessary.

13 years agoMDL-9683 Fixed a typo in an error string name invalidseeky -> invalidsesskey
moodler [Mon, 8 Sep 2008 02:35:22 +0000 (02:35 +0000)]
MDL-9683 Fixed a typo in an error string name   invalidseeky -> invalidsesskey

13 years agoFix up question import. Thanks to Christopher Molnar: http://moodle.org/mod/forum...
tjhunt [Mon, 8 Sep 2008 02:33:24 +0000 (02:33 +0000)]
Fix up question import. Thanks to Christopher Molnar: moodle.org/mod/forum/discuss.php?d=105164

13 years agoMDL-15402: fixes for tabs.php - now display tab repository only for the current user...
jerome [Mon, 8 Sep 2008 02:10:30 +0000 (02:10 +0000)]
MDL-15402: fixes for tabs.php - now display tab repository only for the current user, + add some context security

13 years agoUpdated the HEAD build version to 20080908
moodlerobot [Mon, 8 Sep 2008 01:45:01 +0000 (01:45 +0000)]
Updated the HEAD build version to 20080908

13 years agoMDL-16299 - Javascript error during scorm player load. SCOID should not be populated...
piers [Mon, 8 Sep 2008 00:31:15 +0000 (00:31 +0000)]
MDL-16299 - Javascript error during scorm player load.  SCOID should not be populated - TOC figures this out.

13 years agoMDL-16072 fixed area browsing
skodak [Sun, 7 Sep 2008 23:22:23 +0000 (23:22 +0000)]
MDL-16072 fixed area browsing

13 years agoMDL-14589 fixed undefined itemid
skodak [Sun, 7 Sep 2008 23:21:31 +0000 (23:21 +0000)]
MDL-14589 fixed undefined itemid

13 years agoMDL-16075 adding missing lang strings
skodak [Sun, 7 Sep 2008 23:20:51 +0000 (23:20 +0000)]
MDL-16075 adding missing lang strings

13 years agoMDL-16072 adding missing lang strings
skodak [Sun, 7 Sep 2008 22:37:32 +0000 (22:37 +0000)]
MDL-16072 adding missing lang strings

13 years agoMDL-15906 filepicker support in all file functions in formslib
skodak [Sun, 7 Sep 2008 22:35:37 +0000 (22:35 +0000)]
MDL-15906 filepicker support in all file functions in formslib

13 years agoMDL-14589 adding missing lang strings
skodak [Sun, 7 Sep 2008 22:35:03 +0000 (22:35 +0000)]
MDL-14589 adding missing lang strings

13 years agoMDL-14589 sample function for draft area files migration and relinking
skodak [Sun, 7 Sep 2008 22:34:18 +0000 (22:34 +0000)]
MDL-14589 sample function for draft area files migration and relinking

13 years agoMDL-14589 /. files are not created anymore when browsing empty areas, yay!
skodak [Sun, 7 Sep 2008 22:23:10 +0000 (22:23 +0000)]
MDL-14589 /. files are not created anymore when browsing empty areas, yay!

13 years agoMDL-15906 filepicker support in all file functions in formslib
skodak [Sun, 7 Sep 2008 13:30:46 +0000 (13:30 +0000)]
MDL-15906 filepicker support in all file functions in formslib

13 years agoMDL-14589 /. files are not created anymore when browsing empty areas, yay!
skodak [Sun, 7 Sep 2008 10:06:26 +0000 (10:06 +0000)]
MDL-14589 /. files are not created anymore when browsing empty areas, yay!

13 years agoMDL-14589 list of user areas is read only
skodak [Sun, 7 Sep 2008 09:57:35 +0000 (09:57 +0000)]
MDL-14589 list of user areas is read only

13 years agoMDL-14488 - start sql query with unique field - credit David MonllaĆ³
peterbulmer [Sun, 7 Sep 2008 06:00:22 +0000 (06:00 +0000)]
MDL-14488 - start sql query with unique field - credit David MonllaĆ³

13 years agoMDL-16301 - use better variable
peterbulmer [Sun, 7 Sep 2008 04:59:37 +0000 (04:59 +0000)]
MDL-16301 - use better variable

13 years agoMDL-16301 - bugfix for earlier commit
peterbulmer [Sun, 7 Sep 2008 04:55:44 +0000 (04:55 +0000)]
MDL-16301 - bugfix for earlier commit

13 years agoMDL-16286 remove additional reference to (now undefined) $sql
peterbulmer [Sun, 7 Sep 2008 03:26:10 +0000 (03:26 +0000)]
MDL-16286 remove additional reference to (now undefined) $sql

Author: Peter Bulmer <peter.bulmer@catalyst.net.nz>

13 years agoMDL-16335 additional comment
peterbulmer [Sun, 7 Sep 2008 03:25:27 +0000 (03:25 +0000)]
MDL-16335 additional comment

Author: Peter Bulmer <peter.bulmer@catalyst.net.nz>

13 years agoMDL-16285 Simplify separate treatment of executing peer.
peterbulmer [Sun, 7 Sep 2008 03:24:56 +0000 (03:24 +0000)]
MDL-16285 Simplify separate treatment of executing peer.
Change 'if' to comply with moodle coding standards
Improvements to comment

Author: Peter Bulmer <peter.bulmer@catalyst.net.nz>

13 years agoMDL-16286 - replace get_records_sql with more generic get_records
peterbulmer [Sun, 7 Sep 2008 03:22:34 +0000 (03:22 +0000)]
MDL-16286 - replace get_records_sql with more generic get_records

Author: Peter Bulmer <peter.bulmer@catalyst.net.nz>

13 years agoMDL-16335 - alter grouping, rename var and add comment to improve readability
peterbulmer [Sun, 7 Sep 2008 03:21:57 +0000 (03:21 +0000)]
MDL-16335 - alter grouping, rename var and add comment to improve readability

Author: Peter Bulmer <peter.bulmer@catalyst.net.nz>

13 years agoMDL-16335 remove unnecessary clone
peterbulmer [Sun, 7 Sep 2008 03:20:32 +0000 (03:20 +0000)]
MDL-16335 remove unnecessary clone

Author: Peter Bulmer <peter.bulmer@catalyst.net.nz>

13 years agoMDL-16301 - address issue
peterbulmer [Sun, 7 Sep 2008 03:19:35 +0000 (03:19 +0000)]
MDL-16301 - address issue

Author: Peter Bulmer <peter.bulmer@catalyst.net.nz>

13 years agoMDL-16286 separate strip wrappers() to decrypt() and check_sig()
peterbulmer [Sun, 7 Sep 2008 03:18:53 +0000 (03:18 +0000)]
MDL-16286 separate strip wrappers() to decrypt() and check_sig()
additionally unfold logic inverstion around encrypted if block
To view this diff more effectively, consider setting 'ignore whitespace'

Author: Peter Bulmer <peter.bulmer@catalyst.net.nz>

13 years agoMDL-16286 MDL-16285 Bring 'signed by old key' logic together
peterbulmer [Sun, 7 Sep 2008 03:16:18 +0000 (03:16 +0000)]
MDL-16286 MDL-16285 Bring 'signed by old key' logic together
and add appropriate comments

Author: Peter Bulmer <peter.bulmer@catalyst.net.nz>

13 years agoMDL-16285 unfold logic inversion
peterbulmer [Sun, 7 Sep 2008 03:15:35 +0000 (03:15 +0000)]
MDL-16285 unfold logic inversion
Ignoring whitespace this patch is 4 lines of -, and 3 lines of +, if you want to understand what the diff is, I highly recommend looking at it without whitespace changes visible.

Author: Peter Bulmer <peter.bulmer@catalyst.net.nz>

13 years agoUpdated the HEAD build version to 20080907
moodlerobot [Sun, 7 Sep 2008 01:41:29 +0000 (01:41 +0000)]
Updated the HEAD build version to 20080907

13 years agoMDL-16368 commenting out unfinished code for now
skodak [Sat, 6 Sep 2008 22:04:42 +0000 (22:04 +0000)]
MDL-16368 commenting out unfinished code for now

13 years agoMDL-15919 do not modify $file_record parameters when creating new files
skodak [Sat, 6 Sep 2008 21:33:07 +0000 (21:33 +0000)]
MDL-15919 do not modify $file_record parameters when creating new files

13 years agoMDL-15919 oops, reverting previous commit - not finished yet
skodak [Sat, 6 Sep 2008 21:16:59 +0000 (21:16 +0000)]
MDL-15919 oops, reverting previous commit - not finished yet

13 years agoMDL-15919 fixed scriptname param
skodak [Sat, 6 Sep 2008 21:15:52 +0000 (21:15 +0000)]
MDL-15919 fixed scriptname param

13 years agoMDL-16374 support for file browsing in modules
skodak [Sat, 6 Sep 2008 18:18:36 +0000 (18:18 +0000)]
MDL-16374 support for file browsing in modules

13 years agoMDL-16374 support for file browsing in modules
skodak [Sat, 6 Sep 2008 18:07:17 +0000 (18:07 +0000)]
MDL-16374 support for file browsing in modules

13 years agoMDL-16374 support for file browsing in modules
skodak [Sat, 6 Sep 2008 17:00:43 +0000 (17:00 +0000)]
MDL-16374 support for file browsing in modules

13 years agoMDL-16374 support for file browsing in modules
skodak [Sat, 6 Sep 2008 17:00:43 +0000 (17:00 +0000)]
MDL-16374 support for file browsing in modules

13 years agoMDL-15666 Unit tests can all be run from lib/simpletest/testportfoliolib.php. See...
nicolasconnault [Sat, 6 Sep 2008 14:36:45 +0000 (14:36 +0000)]
MDL-15666 Unit tests can all be run from lib/simpletest/testportfoliolib.php. See requires at the end of the file.

13 years agoMDL-15666 Unit tests for Forum portfolio callers now passing. But I'm getting intermi...
nicolasconnault [Sat, 6 Sep 2008 14:29:58 +0000 (14:29 +0000)]
MDL-15666 Unit tests for Forum portfolio callers now passing. But I'm getting intermittent errors from the generator, a problem with contexts during forum generation. Please ignore for now.

13 years agoMDL-15666 Generator fixed. Ready for forum portfolio caller testing
nicolasconnault [Sat, 6 Sep 2008 13:34:37 +0000 (13:34 +0000)]
MDL-15666 Generator fixed. Ready for forum portfolio caller testing

13 years agoMDL-16369 Added error info in accesslib
nicolasconnault [Sat, 6 Sep 2008 13:19:26 +0000 (13:19 +0000)]
MDL-16369 Added error info in accesslib

13 years agoMDL-16369 Added error info in accesslib
nicolasconnault [Sat, 6 Sep 2008 13:17:15 +0000 (13:17 +0000)]
MDL-16369 Added error info in accesslib

13 years agoMDL-15666 Fixed error that caused blank page in unit test. Including generator librar...
nicolasconnault [Sat, 6 Sep 2008 11:24:57 +0000 (11:24 +0000)]
MDL-15666 Fixed error that caused blank page in unit test. Including generator library. Partly fixed generator.

13 years agoMDL-14081 fixed error in eventslib unit tests
nicolasconnault [Sat, 6 Sep 2008 11:22:30 +0000 (11:22 +0000)]
MDL-14081 fixed error in eventslib unit tests

13 years agoMDL-14589 added new method for creating stored file from url (please note it is limit...
skodak [Sat, 6 Sep 2008 10:09:33 +0000 (10:09 +0000)]
MDL-14589 added new method for creating stored file from url (please note it is limited by available memory)

13 years agoUpdated the HEAD build version to 20080906
moodlerobot [Sat, 6 Sep 2008 01:38:26 +0000 (01:38 +0000)]
Updated the HEAD build version to 20080906

13 years agoMDL-16360 - better forum implementation
mjollnir_ [Fri, 5 Sep 2008 17:23:22 +0000 (17:23 +0000)]
MDL-16360 - better forum implementation

13 years agoMDL-16360 - added support for mime-style subformat detection for portfolio supported...
mjollnir_ [Fri, 5 Sep 2008 17:07:22 +0000 (17:07 +0000)]
MDL-16360 - added support for mime-style subformat detection for portfolio supported formats
works well with flickr plugin (tested by uploading an image as a forum attachment and being offered flickr plugin but not for normal attachments)

13 years agoMDL-16359 - adding support for mimeinfo_from_icon to return all matches
mjollnir_ [Fri, 5 Sep 2008 16:43:44 +0000 (16:43 +0000)]
MDL-16359 - adding support for mimeinfo_from_icon to return all matches

(needed for portfolio format support)

13 years agoEssential patch for MDL-11992 course tagging. This prevents a bug that removes offica...
jbeedell [Fri, 5 Sep 2008 14:49:06 +0000 (14:49 +0000)]
Essential patch for MDL-11992 course tagging. This prevents a bug that removes offical tags for a course when a user adds a personal tag to that course.

13 years agoMDL-16050 wrong help file name, thanks to Marty Gilbert and Daniel Miksik for reporti...
wildgirl [Fri, 5 Sep 2008 13:53:49 +0000 (13:53 +0000)]
MDL-16050 wrong help file name, thanks to Marty Gilbert and Daniel Miksik for reporting this issue

13 years agoMDL-15758 - remove dependence on 'userid' callback parameter in assignment portfolio...
mjollnir_ [Fri, 5 Sep 2008 12:44:46 +0000 (12:44 +0000)]
MDL-15758 - remove dependence on 'userid' callback parameter in assignment portfolio caller as it's handled by the parent class

13 years agoMDL-15777 - better handling of integration with file api in portfolio mahara plugin
mjollnir_ [Fri, 5 Sep 2008 12:42:27 +0000 (12:42 +0000)]
MDL-15777 - better handling of integration with file api in portfolio mahara plugin

13 years agoMDL-14591 - improved phpdocs in portfolio_exporter class, fixed 2 bugs
mjollnir_ [Fri, 5 Sep 2008 12:40:46 +0000 (12:40 +0000)]
MDL-14591 - improved phpdocs in portfolio_exporter class, fixed 2 bugs

13 years agoMDL-16353 - help for boxnet portfolio plugin admin config
mjollnir_ [Fri, 5 Sep 2008 12:39:17 +0000 (12:39 +0000)]
MDL-16353 - help for boxnet portfolio plugin admin config

13 years agoMDL-16351 - make mnet_server_fault detect when it's being passed a full string rather...
mjollnir_ [Fri, 5 Sep 2008 12:24:11 +0000 (12:24 +0000)]
MDL-16351 - make mnet_server_fault detect when it's being passed a full string rather than an 'mnet' string key

13 years agoMDL-15405: add more (still partial) support for inline files in user profiles.
scyrma [Fri, 5 Sep 2008 11:02:48 +0000 (11:02 +0000)]
MDL-15405: add more (still partial) support for inline files in user profiles.

13 years agoMDL-14589: itemid should be 0 in user_* fileareas, but not in user_draft.
scyrma [Fri, 5 Sep 2008 10:47:34 +0000 (10:47 +0000)]
MDL-14589: itemid should be 0 in user_* fileareas, but not in user_draft.

13 years ago"MDL-13766, fire onchange event in tinymce to preview picture"
dongsheng [Fri, 5 Sep 2008 10:14:26 +0000 (10:14 +0000)]
"MDL-13766, fire onchange event in tinymce to preview picture"

13 years agoMDL-14589: adding a few more checks to file served from user_profile. More needed.
scyrma [Fri, 5 Sep 2008 09:48:51 +0000 (09:48 +0000)]
MDL-14589: adding a few more checks to file served from user_profile. More needed.

13 years agoMDL-14589: strrpos is needed to check the last occurence
scyrma [Fri, 5 Sep 2008 09:23:36 +0000 (09:23 +0000)]
MDL-14589: strrpos is needed to check the last occurence
MDL-15405: return the existing file in case one is found

13 years agoMDL-15402: quick temp fix for tabs.ph
jerome [Fri, 5 Sep 2008 09:12:00 +0000 (09:12 +0000)]
MDL-15402: quick temp fix for tabs.ph

13 years agoMDL-15402: modify repository_get_instances() in order to be easier to use
jerome [Fri, 5 Sep 2008 08:51:25 +0000 (08:51 +0000)]
MDL-15402: modify repository_get_instances() in order to be easier to use

13 years ago"MDL-13766, fix a bug introduced by last commit"
dongsheng [Fri, 5 Sep 2008 08:11:17 +0000 (08:11 +0000)]
"MDL-13766, fix a bug introduced by last commit"

13 years agoFix deprecated print_simple_box calls.
tjhunt [Fri, 5 Sep 2008 07:44:07 +0000 (07:44 +0000)]
Fix deprecated print_simple_box calls.

13 years agoMDL-13766: adjust comments & code to match, and make saved time consistent.
scyrma [Fri, 5 Sep 2008 07:39:17 +0000 (07:39 +0000)]
MDL-13766: adjust comments & code to match, and make saved time consistent.

13 years agoFix deprecated print_simple_box calls.
tjhunt [Fri, 5 Sep 2008 07:26:01 +0000 (07:26 +0000)]
Fix deprecated print_simple_box calls.

13 years agoMDL-15404: fix few bugs in repository administration, add a beta version of the cours...
jerome [Fri, 5 Sep 2008 06:30:18 +0000 (06:30 +0000)]
MDL-15404: fix few bugs in repository administration, add a beta version of the course repository list

13 years agoMDL-12336 Inconsistent naming of the Front page area of the question bank, and the...
tjhunt [Fri, 5 Sep 2008 04:06:17 +0000 (04:06 +0000)]
MDL-12336 Inconsistent naming of the Front page area of the question bank, and the front page context more generally.

13 years agoMDL-12814 typo in CSS class name.
tjhunt [Fri, 5 Sep 2008 03:38:42 +0000 (03:38 +0000)]
MDL-12814 typo in CSS class name.

13 years agoMDL-14589: comment correction.
scyrma [Fri, 5 Sep 2008 02:57:19 +0000 (02:57 +0000)]
MDL-14589: comment correction.

13 years ago"MDL-13766, use a random path for uploaded file"
dongsheng [Fri, 5 Sep 2008 02:51:23 +0000 (02:51 +0000)]
"MDL-13766, use a random path for uploaded file"

13 years agoMDL-13766: missing argument in function.
scyrma [Fri, 5 Sep 2008 02:41:31 +0000 (02:41 +0000)]
MDL-13766: missing argument in function.

13 years ago"MDL-13766, adjust file picker UI"
dongsheng [Fri, 5 Sep 2008 02:05:43 +0000 (02:05 +0000)]
"MDL-13766, adjust file picker UI"

13 years agoUpdated the HEAD build version to 20080905
moodlerobot [Fri, 5 Sep 2008 01:47:25 +0000 (01:47 +0000)]
Updated the HEAD build version to 20080905

13 years agoMDL-15666 minor fixes to assignment portfolio callers, additional param for generator...
nicolasconnault [Thu, 4 Sep 2008 13:25:16 +0000 (13:25 +0000)]
MDL-15666 minor fixes to assignment portfolio callers, additional param for generator (assignment type), and unit tests for sha1

13 years agoMDL-15666 sha1 tests for glossary callers. Entry caller test currently fails.
nicolasconnault [Thu, 4 Sep 2008 11:44:48 +0000 (11:44 +0000)]
MDL-15666 sha1 tests for glossary callers. Entry caller test currently fails.

13 years agoMDL-16341 Added language pack
nicolasconnault [Thu, 4 Sep 2008 11:10:40 +0000 (11:10 +0000)]
MDL-16341 Added language pack

13 years agoMDL-16322 - switch calls to print_error to throw exceptions in portfolio callers
mjollnir_ [Thu, 4 Sep 2008 10:38:44 +0000 (10:38 +0000)]
MDL-16322 - switch calls to print_error to throw exceptions in portfolio callers

13 years agoMDL-14591 - fixed some comments and changed some print_errors to exceptions in portfo...
mjollnir_ [Thu, 4 Sep 2008 10:32:17 +0000 (10:32 +0000)]
MDL-14591 - fixed some comments and changed some print_errors to exceptions in portfolio/add

13 years agoMDL-3633 Further refinement.
tjhunt [Thu, 4 Sep 2008 09:27:19 +0000 (09:27 +0000)]
MDL-3633 Further refinement.

13 years agoMDL-3633 Don't show the attempt number column on the quiz view page if the quiz only...
tjhunt [Thu, 4 Sep 2008 09:22:37 +0000 (09:22 +0000)]
MDL-3633 Don't show the attempt number column on the quiz view page if the quiz only allows one attempt.