Merge branch 'MDL-30243' of github.com:lazydaisy/moodle into MDL-30243
authorMary Evans <lazydaisy@visible-expression.co.uk>
Tue, 15 Nov 2011 22:21:05 +0000 (22:21 +0000)
committerMary Evans <lazydaisy@visible-expression.co.uk>
Tue, 15 Nov 2011 22:21:05 +0000 (22:21 +0000)
1099 files changed:
admin/enrol.php
admin/mnet/tabs.php
admin/qbehaviours.php
admin/qtypes.php
admin/renderer.php
admin/report/configlog/settings.php [deleted file]
admin/report/courseoverview/db/access.php [deleted file]
admin/report/courseoverview/index.php [deleted file]
admin/report/courseoverview/reportsgraph.php [deleted file]
admin/report/courseoverview/settings.php [deleted file]
admin/report/courseoverview/version.php [deleted file]
admin/report/log/settings.php [deleted file]
admin/report/questioninstances/db/access.php [deleted file]
admin/report/questioninstances/settings.php [deleted file]
admin/report/questioninstances/version.php [deleted file]
admin/report/security/db/access.php [deleted file]
admin/report/security/settings.php [deleted file]
admin/report/security/version.php [deleted file]
admin/report/stats/settings.php [deleted file]
admin/reports.php [new file with mode: 0644]
admin/roles/lib.php
admin/settings/plugins.php
admin/settings/users.php
admin/user.php
auth/mnet/auth.php
auth/upgrade.txt
backup/backup.class.php
backup/cc/cc112moodle.php [new file with mode: 0644]
backup/cc/cc2moodle.php
backup/cc/cc_includes.php [new file with mode: 0644]
backup/cc/cc_lib/cc_asssesment.php [new file with mode: 0644]
backup/cc/cc_lib/cc_basiclti.php [new file with mode: 0644]
backup/cc/cc_lib/cc_builder_creator.php [new file with mode: 0644]
backup/cc/cc_lib/cc_convert_moodle2.php [new file with mode: 0644]
backup/cc/cc_lib/cc_converter_basiclti.php [new file with mode: 0644]
backup/cc/cc_lib/cc_converter_forum.php [new file with mode: 0644]
backup/cc/cc_lib/cc_converter_lti.php [new file with mode: 0644]
backup/cc/cc_lib/cc_converter_page.php [new file with mode: 0644]
backup/cc/cc_lib/cc_converter_quiz.php [new file with mode: 0644]
backup/cc/cc_lib/cc_converter_resource.php [new file with mode: 0644]
backup/cc/cc_lib/cc_converter_url.php [new file with mode: 0644]
backup/cc/cc_lib/cc_converters.php [new file with mode: 0644]
backup/cc/cc_lib/cc_forum.php [new file with mode: 0644]
backup/cc/cc_lib/cc_general.php [new file with mode: 0644]
backup/cc/cc_lib/cc_interfaces.php [new file with mode: 0644]
backup/cc/cc_lib/cc_manifest.php [new file with mode: 0644]
backup/cc/cc_lib/cc_metadata.php [new file with mode: 0644]
backup/cc/cc_lib/cc_metadata_file.php [new file with mode: 0644]
backup/cc/cc_lib/cc_metadata_resource.php [new file with mode: 0644]
backup/cc/cc_lib/cc_organization.php [new file with mode: 0644]
backup/cc/cc_lib/cc_page.php [new file with mode: 0644]
backup/cc/cc_lib/cc_resources.php [new file with mode: 0644]
backup/cc/cc_lib/cc_utils.php [new file with mode: 0644]
backup/cc/cc_lib/cc_version1.php [new file with mode: 0644]
backup/cc/cc_lib/cc_version11.php [new file with mode: 0644]
backup/cc/cc_lib/cc_version_base.php [new file with mode: 0644]
backup/cc/cc_lib/cc_weblink.php [new file with mode: 0644]
backup/cc/cc_lib/gral_lib/ccdependencyparser.php [new file with mode: 0644]
backup/cc/cc_lib/gral_lib/cssparser.php [new file with mode: 0644]
backup/cc/cc_lib/gral_lib/functions.php [new file with mode: 0644]
backup/cc/cc_lib/gral_lib/parser.php [new file with mode: 0644]
backup/cc/cc_lib/gral_lib/pathutils.php [new file with mode: 0644]
backup/cc/cc_lib/xmlbase.php [new file with mode: 0644]
backup/cc/entities.class.php
backup/cc/entities11.class.php [new file with mode: 0644]
backup/cc/entity.forum.class.php
backup/cc/entity.label.class.php
backup/cc/entity.quiz.class.php
backup/cc/entity.resource.class.php
backup/cc/entity11.basiclti.class.php [new file with mode: 0644]
backup/cc/entity11.forum.class.php [new file with mode: 0644]
backup/cc/entity11.lti.class.php [new file with mode: 0644]
backup/cc/entity11.quiz.class.php [new file with mode: 0644]
backup/cc/entity11.resource.class.php [new file with mode: 0644]
backup/cc/includes/constants.php
backup/cc/schemas/domainProfile_4/ims_qtiasiv1p2.xsd
backup/cc/schemas/domainProfile_4/ims_qtiasiv1p2_def_copy.xsd
backup/cc/schemas/domainProfile_4/ims_qtiasiv1p2_localised.xsd
backup/cc/schemas/imscp_v1p2.xsd
backup/cc/schemas/imscp_v1p2_localised.xsd
backup/cc/schemas11/cc11libxml2validator.xsd [new file with mode: 0644]
backup/cc/schemas11/ccv1p1_imsccauth_v1p1.xsd [new file with mode: 0644]
backup/cc/schemas11/ccv1p1_imscp_v1p2_v1p0.xsd [new file with mode: 0644]
backup/cc/schemas11/ccv1p1_imsdt_v1p1.xsd [new file with mode: 0644]
backup/cc/schemas11/ccv1p1_imswl_v1p1.xsd [new file with mode: 0644]
backup/cc/schemas11/ccv1p1_lommanifest_v1p0.xsd [new file with mode: 0644]
backup/cc/schemas11/ccv1p1_lomresource_v1p0.xsd [new file with mode: 0644]
backup/cc/schemas11/ccv1p1_qtiasiv1p2p1_v1p0.xsd [new file with mode: 0644]
backup/cc/schemas11/imsbasiclti_v1p0p1.xsd [new file with mode: 0644]
backup/cc/schemas11/imslticc_v1p0p1.xsd [new file with mode: 0644]
backup/cc/schemas11/imslticm_v1p0.xsd [new file with mode: 0644]
backup/cc/schemas11/imslticp_v1p0.xsd [new file with mode: 0644]
backup/cc/schemas11/xml.xsd [new file with mode: 0644]
backup/cc/sheets/course_header.xml
backup/cc/sheets/course_modules_mod_basiclti.xml [new file with mode: 0644]
backup/cc/sheets/course_modules_mod_forum.xml
backup/cc/sheets/course_modules_mod_label.xml
backup/cc/sheets/course_modules_mod_lti.xml [new file with mode: 0644]
backup/cc/sheets/course_modules_mod_resource.xml
backup/cc/sheets/course_question_categories_question_category.xml
backup/cc/sheets/course_question_categories_question_category_question.xml
backup/cc/sheets/course_question_categories_question_category_question_answer.xml
backup/cc/sheets/info_details_mod_instance.xml
backup/cc/sheets/moodle_blti_export.xml [new file with mode: 0644]
backup/cc/validator.php [new file with mode: 0644]
backup/converter/imscc1/backuplib.php [new file with mode: 0644]
backup/converter/imscc1/lib.php [new file with mode: 0644]
backup/converter/imscc11/backuplib.php [new file with mode: 0644]
backup/converter/imscc11/lib.php [new file with mode: 0644]
backup/converter/moodle1/backuplib.php [new file with mode: 0644]
backup/converter/moodle1/handlerlib.php
backup/moodle2/backup_activity_task.class.php
backup/moodle2/backup_final_task.class.php
backup/moodle2/backup_gradingform_plugin.class.php [new file with mode: 0644]
backup/moodle2/backup_plan_builder.class.php
backup/moodle2/backup_report_plugin.class.php [new file with mode: 0644]
backup/moodle2/backup_root_task.class.php
backup/moodle2/backup_stepslib.php
backup/moodle2/restore_activity_task.class.php
backup/moodle2/restore_gradingform_plugin.class.php [new file with mode: 0644]
backup/moodle2/restore_plan_builder.class.php
backup/moodle2/restore_report_plugin.class.php [new file with mode: 0644]
backup/moodle2/restore_stepslib.php
backup/restore.php
backup/util/dbops/restore_dbops.class.php
backup/util/helper/convert_helper.class.php
backup/util/settings/setting_dependency.class.php
backup/util/ui/renderer.php
backup/util/ui/restore_ui.class.php
backup/util/ui/restore_ui_stage.class.php
backup/util/ui/yui/confirmcancel/confirmcancel.js
blocks/completionstatus/block_completionstatus.php
blocks/completionstatus/details.php
blocks/completionstatus/version.php
blocks/html/block_html.php
blocks/mnet_hosts/block_mnet_hosts.php
blocks/upgrade.txt
calendar/export.php
calendar/export_execute.php
calendar/lib.php
calendar/renderer.php
calendar/view.php
calendar/yui/eventmanager/eventmanager.js
course/lib.php
course/modedit.php
course/moodleform_mod.php
course/report/completion/db/access.php [deleted file]
course/report/completion/lang/en/coursereport_completion.php [deleted file]
course/report/completion/lib.php [deleted file]
course/report/completion/mod.php [deleted file]
course/report/completion/version.php [deleted file]
course/report/log/db/access.php [deleted file]
course/report/log/index.php [deleted file]
course/report/log/indexlive.php [deleted file]
course/report/log/live.php [deleted file]
course/report/log/mod.php [deleted file]
course/report/log/version.php [deleted file]
course/report/outline/db/access.php [deleted file]
course/report/outline/index.php [deleted file]
course/report/outline/lib.php [deleted file]
course/report/outline/mod.php [deleted file]
course/report/outline/version.php [deleted file]
course/report/participation/db/access.php [deleted file]
course/report/participation/index.php [deleted file]
course/report/participation/mod.php [deleted file]
course/report/participation/version.php [deleted file]
course/report/progress/db/access.php [deleted file]
course/report/progress/mod.php [deleted file]
course/report/progress/version.php [deleted file]
course/report/stats/index.php [deleted file]
course/report/stats/lib.php [deleted file]
course/report/stats/mod.php [deleted file]
course/report/stats/version.php [deleted file]
course/user.php
enrol/externallib.php
enrol/guest/addinstance.php
enrol/guest/lib.php
enrol/guest/locallib.php
enrol/guest/settings.php
enrol/guest/version.php
enrol/instances.php
enrol/locallib.php
enrol/manual/ajax.php
enrol/manual/edit.php
enrol/manual/yui/quickenrolment/quickenrolment.js
enrol/paypal/edit.php
enrol/renderer.php
enrol/self/edit.php
enrol/upgrade.txt
enrol/users.php
grade/grading/form/lib.php [new file with mode: 0644]
grade/grading/form/rubric/backup/moodle2/backup_gradingform_rubric_plugin.class.php [new file with mode: 0644]
grade/grading/form/rubric/backup/moodle2/restore_gradingform_rubric_plugin.class.php [new file with mode: 0644]
grade/grading/form/rubric/db/install.xml [new file with mode: 0644]
grade/grading/form/rubric/db/upgrade.php [new file with mode: 0644]
grade/grading/form/rubric/edit.php [new file with mode: 0644]
grade/grading/form/rubric/edit_form.php [new file with mode: 0644]
grade/grading/form/rubric/js/rubric.js [new file with mode: 0644]
grade/grading/form/rubric/js/rubriceditor.js [new file with mode: 0644]
grade/grading/form/rubric/lang/en/gradingform_rubric.php [new file with mode: 0644]
grade/grading/form/rubric/lib.php [new file with mode: 0644]
grade/grading/form/rubric/pix/icon.png [new file with mode: 0644]
grade/grading/form/rubric/renderer.php [new file with mode: 0644]
grade/grading/form/rubric/rubriceditor.php [new file with mode: 0644]
grade/grading/form/rubric/styles.css [new file with mode: 0644]
grade/grading/form/rubric/version.php [new file with mode: 0644]
grade/grading/lib.php [new file with mode: 0644]
grade/grading/manage.php [new file with mode: 0644]
grade/grading/pick.php [new file with mode: 0644]
grade/grading/pick_form.php [new file with mode: 0644]
grade/grading/renderer.php [new file with mode: 0644]
grade/grading/simpletest/testlib.php [new file with mode: 0644]
grade/grading/yui/manage/manage.js [new file with mode: 0644]
grade/lib.php
grade/report/grader/lib.php
grade/report/grader/preferences_form.php
grade/report/grader/settings.php
grade/report/grader/styles.css
grade/report/user/lib.php
group/members.php
install/lang/af/admin.php
install/lang/af/langconfig.php
install/lang/am/install.php
install/lang/am/langconfig.php
install/lang/am/moodle.php
install/lang/ar/admin.php
install/lang/ar/error.php
install/lang/ar/install.php
install/lang/ar/langconfig.php
install/lang/ar/moodle.php
install/lang/ast/admin.php
install/lang/ast/error.php
install/lang/ast/install.php
install/lang/ast/langconfig.php
install/lang/ast/moodle.php
install/lang/az/admin.php
install/lang/az/error.php
install/lang/az/install.php [new file with mode: 0644]
install/lang/az/langconfig.php
install/lang/be/langconfig.php
install/lang/be/moodle.php
install/lang/bg/admin.php
install/lang/bg/error.php
install/lang/bg/install.php
install/lang/bg/langconfig.php
install/lang/bg/moodle.php
install/lang/bn/admin.php
install/lang/bn/install.php
install/lang/bn/langconfig.php
install/lang/bn/moodle.php
install/lang/bs/install.php
install/lang/bs/langconfig.php
install/lang/ca/admin.php
install/lang/ca/error.php
install/lang/ca/install.php
install/lang/ca/langconfig.php
install/lang/ca/moodle.php
install/lang/cs/admin.php
install/lang/cs/error.php
install/lang/cs/install.php
install/lang/cs/langconfig.php
install/lang/cs/moodle.php
install/lang/cy/admin.php
install/lang/cy/error.php
install/lang/cy/install.php
install/lang/cy/langconfig.php
install/lang/cy/moodle.php
install/lang/da/admin.php
install/lang/da/error.php
install/lang/da/install.php
install/lang/da/langconfig.php
install/lang/da/moodle.php
install/lang/de/admin.php
install/lang/de/error.php
install/lang/de/install.php
install/lang/de/langconfig.php
install/lang/de/moodle.php
install/lang/de_du/error.php
install/lang/de_du/install.php
install/lang/de_du/langconfig.php
install/lang/de_kids/langconfig.php
install/lang/dv/admin.php
install/lang/dv/error.php
install/lang/dv/install.php
install/lang/dv/langconfig.php
install/lang/dv/moodle.php
install/lang/el/admin.php
install/lang/el/error.php
install/lang/el/install.php
install/lang/el/langconfig.php
install/lang/el/moodle.php
install/lang/en/admin.php
install/lang/en/error.php
install/lang/en/install.php
install/lang/en/langconfig.php
install/lang/en/moodle.php
install/lang/en_us/install.php
install/lang/en_us/langconfig.php
install/lang/es/admin.php
install/lang/es/error.php
install/lang/es/install.php
install/lang/es/langconfig.php
install/lang/es/moodle.php
install/lang/es_ar/langconfig.php
install/lang/es_es/langconfig.php
install/lang/es_mx/langconfig.php
install/lang/et/admin.php
install/lang/et/error.php
install/lang/et/install.php
install/lang/et/langconfig.php
install/lang/et/moodle.php
install/lang/eu/admin.php
install/lang/eu/error.php
install/lang/eu/install.php
install/lang/eu/langconfig.php
install/lang/eu/moodle.php
install/lang/fa/admin.php
install/lang/fa/install.php
install/lang/fa/langconfig.php
install/lang/fa/moodle.php
install/lang/fi/admin.php
install/lang/fi/error.php
install/lang/fi/install.php
install/lang/fi/langconfig.php
install/lang/fi/moodle.php
install/lang/fil/langconfig.php
install/lang/fil/moodle.php
install/lang/fj/langconfig.php
install/lang/fr/admin.php
install/lang/fr/error.php
install/lang/fr/install.php
install/lang/fr/langconfig.php
install/lang/fr/moodle.php
install/lang/fr_ca/install.php
install/lang/fr_ca/langconfig.php
install/lang/fr_ca/moodle.php
install/lang/ga/langconfig.php
install/lang/gd/langconfig.php
install/lang/gl/admin.php
install/lang/gl/error.php
install/lang/gl/install.php
install/lang/gl/langconfig.php
install/lang/gl/moodle.php
install/lang/gu/error.php
install/lang/gu/langconfig.php
install/lang/gu/moodle.php
install/lang/he/admin.php
install/lang/he/error.php
install/lang/he/install.php
install/lang/he/langconfig.php
install/lang/he/moodle.php
install/lang/hi/langconfig.php
install/lang/hi/moodle.php
install/lang/hr/admin.php
install/lang/hr/error.php
install/lang/hr/install.php
install/lang/hr/langconfig.php
install/lang/hr/moodle.php
install/lang/hu/admin.php
install/lang/hu/error.php
install/lang/hu/install.php
install/lang/hu/langconfig.php
install/lang/hu/moodle.php
install/lang/hy/admin.php
install/lang/hy/error.php
install/lang/hy/install.php
install/lang/hy/langconfig.php
install/lang/hy/moodle.php
install/lang/id/langconfig.php
install/lang/id/moodle.php
install/lang/is/admin.php
install/lang/is/error.php
install/lang/is/install.php
install/lang/is/langconfig.php
install/lang/is/moodle.php
install/lang/it/admin.php
install/lang/it/error.php
install/lang/it/install.php
install/lang/it/langconfig.php
install/lang/it/moodle.php
install/lang/ja/admin.php
install/lang/ja/error.php
install/lang/ja/install.php
install/lang/ja/langconfig.php
install/lang/ja/moodle.php
install/lang/ka/admin.php
install/lang/ka/install.php
install/lang/ka/langconfig.php
install/lang/kk/install.php
install/lang/kk/langconfig.php
install/lang/kk/moodle.php
install/lang/km/admin.php
install/lang/km/error.php
install/lang/km/install.php
install/lang/km/langconfig.php
install/lang/km/moodle.php
install/lang/kn/langconfig.php
install/lang/ko/admin.php
install/lang/ko/error.php
install/lang/ko/install.php
install/lang/ko/langconfig.php
install/lang/ko/moodle.php
install/lang/la/langconfig.php
install/lang/la/moodle.php
install/lang/lo/admin.php
install/lang/lo/install.php
install/lang/lo/langconfig.php
install/lang/lo/moodle.php
install/lang/lt/langconfig.php
install/lang/lt/moodle.php
install/lang/lv/admin.php
install/lang/lv/error.php
install/lang/lv/install.php
install/lang/lv/langconfig.php
install/lang/lv/moodle.php
install/lang/mi_tn/langconfig.php
install/lang/mi_tn/moodle.php
install/lang/mi_wwow/admin.php
install/lang/mi_wwow/error.php
install/lang/mi_wwow/install.php
install/lang/mi_wwow/langconfig.php
install/lang/mi_wwow/moodle.php
install/lang/mk/admin.php
install/lang/mk/error.php
install/lang/mk/install.php
install/lang/mk/langconfig.php
install/lang/mk/moodle.php
install/lang/ml/langconfig.php
install/lang/ml/moodle.php
install/lang/mn/admin.php
install/lang/mn/error.php
install/lang/mn/install.php
install/lang/mn/langconfig.php
install/lang/mn/moodle.php
install/lang/mr/admin.php
install/lang/mr/error.php
install/lang/mr/install.php
install/lang/mr/langconfig.php
install/lang/mr/moodle.php
install/lang/ms/langconfig.php
install/lang/nl/admin.php
install/lang/nl/error.php
install/lang/nl/install.php
install/lang/nl/langconfig.php
install/lang/nl/moodle.php
install/lang/nn/langconfig.php
install/lang/nn/moodle.php
install/lang/no/admin.php
install/lang/no/error.php
install/lang/no/install.php
install/lang/no/langconfig.php
install/lang/no/moodle.php
install/lang/no_gr/langconfig.php
install/lang/no_gr/moodle.php
install/lang/oc_es/langconfig.php
install/lang/pl/admin.php
install/lang/pl/error.php
install/lang/pl/install.php
install/lang/pl/langconfig.php
install/lang/pl/moodle.php
install/lang/pt/admin.php
install/lang/pt/error.php
install/lang/pt/install.php
install/lang/pt/langconfig.php
install/lang/pt/moodle.php
install/lang/pt_br/admin.php
install/lang/pt_br/error.php
install/lang/pt_br/install.php
install/lang/pt_br/langconfig.php
install/lang/pt_br/moodle.php
install/lang/ro/admin.php
install/lang/ro/error.php
install/lang/ro/install.php
install/lang/ro/langconfig.php
install/lang/ro/moodle.php
install/lang/ru/admin.php
install/lang/ru/error.php
install/lang/ru/install.php
install/lang/ru/langconfig.php
install/lang/ru/moodle.php
install/lang/si/admin.php
install/lang/si/error.php
install/lang/si/install.php
install/lang/si/langconfig.php
install/lang/si/moodle.php
install/lang/sk/admin.php
install/lang/sk/error.php
install/lang/sk/install.php
install/lang/sk/langconfig.php
install/lang/sk/moodle.php
install/lang/sl/admin.php
install/lang/sl/error.php
install/lang/sl/install.php
install/lang/sl/langconfig.php
install/lang/sl/moodle.php
install/lang/sm/install.php
install/lang/sm/langconfig.php
install/lang/sm/moodle.php
install/lang/so/admin.php
install/lang/so/install.php
install/lang/so/langconfig.php
install/lang/so/moodle.php
install/lang/sq/langconfig.php
install/lang/sq/moodle.php
install/lang/sr/langconfig.php
install/lang/sr_cr/admin.php
install/lang/sr_cr/error.php
install/lang/sr_cr/install.php
install/lang/sr_cr/langconfig.php
install/lang/sr_cr/moodle.php
install/lang/sr_cr_bo/langconfig.php
install/lang/sr_lt/admin.php
install/lang/sr_lt/error.php
install/lang/sr_lt/install.php
install/lang/sr_lt/langconfig.php
install/lang/sr_lt/moodle.php
install/lang/sv/admin.php
install/lang/sv/error.php
install/lang/sv/install.php
install/lang/sv/langconfig.php
install/lang/sv/moodle.php
install/lang/ta/admin.php
install/lang/ta/error.php
install/lang/ta/install.php
install/lang/ta/langconfig.php
install/lang/ta/moodle.php
install/lang/ta_lk/admin.php
install/lang/ta_lk/error.php
install/lang/ta_lk/install.php
install/lang/ta_lk/langconfig.php
install/lang/ta_lk/moodle.php
install/lang/te/admin.php
install/lang/te/langconfig.php
install/lang/te/moodle.php
install/lang/th/admin.php
install/lang/th/install.php
install/lang/th/langconfig.php
install/lang/th/moodle.php
install/lang/ti/langconfig.php
install/lang/ti/moodle.php
install/lang/tl/admin.php
install/lang/tl/error.php
install/lang/tl/install.php
install/lang/tl/langconfig.php
install/lang/tl/moodle.php
install/lang/to/install.php
install/lang/to/langconfig.php
install/lang/to/moodle.php
install/lang/tr/admin.php
install/lang/tr/error.php
install/lang/tr/install.php
install/lang/tr/langconfig.php
install/lang/tr/moodle.php
install/lang/uk/langconfig.php
install/lang/uk/moodle.php
install/lang/ur/install.php
install/lang/ur/langconfig.php
install/lang/ur/moodle.php
install/lang/uz/install.php
install/lang/uz/langconfig.php
install/lang/uz/moodle.php
install/lang/vi/admin.php
install/lang/vi/install.php
install/lang/vi/langconfig.php
install/lang/vi/moodle.php
install/lang/wo/langconfig.php
install/lang/zh_cn/admin.php
install/lang/zh_cn/error.php
install/lang/zh_cn/install.php
install/lang/zh_cn/langconfig.php
install/lang/zh_cn/moodle.php
install/lang/zh_tw/admin.php
install/lang/zh_tw/error.php
install/lang/zh_tw/install.php
install/lang/zh_tw/langconfig.php
install/lang/zh_tw/moodle.php
install/lang/zu/error.php
install/lang/zu/install.php
install/lang/zu/langconfig.php
lang/en/admin.php
lang/en/backup.php
lang/en/calendar.php
lang/en/error.php
lang/en/grades.php
lang/en/grading.php [new file with mode: 0644]
lang/en/mnet.php
lang/en/moodle.php
lang/en/pagetype.php
lang/en/plugin.php
lang/en/role.php
lib/accesslib.php
lib/blocklib.php
lib/completion/completion_criteria_unenrol.php
lib/completionlib.php
lib/datalib.php
lib/db/access.php
lib/db/install.xml
lib/db/upgrade.php
lib/dml/moodle_database.php
lib/dml/mssql_native_moodle_database.php
lib/dml/mysqli_native_moodle_database.php
lib/dml/oci_native_moodle_database.php
lib/dml/pgsql_native_moodle_database.php
lib/dml/simpletest/testdml.php
lib/dml/sqlsrv_native_moodle_database.php
lib/dmllib.php
lib/enrollib.php
lib/filestorage/file_types.mm
lib/form/form.js
lib/form/grading.php [new file with mode: 0644]
lib/formslib.php
lib/minify/lib/Minify/CSS/Compressor.php
lib/minify/readme_moodle.txt
lib/modinfolib.php
lib/moodlelib.php
lib/navigationlib.php
lib/outputrenderers.php
lib/pluginlib.php
lib/questionlib.php
lib/sessionlib.php
lib/simpletest/testmoodlelib.php
lib/statslib.php
lib/upgrade.txt [new file with mode: 0644]
lib/webdavlib.php
login/token.php
mod/assignment/backup/moodle2/restore_assignment_stepslib.php
mod/assignment/grade.php
mod/assignment/lib.php
mod/assignment/type/upload/assignment.class.php
mod/data/preset.php
mod/forum/db/access.php
mod/forum/lang/en/forum.php
mod/forum/lib.php
mod/forum/version.php
mod/lesson/lib.php
mod/lesson/pagetypes/truefalse.php
mod/lti/OAuth.php [new file with mode: 0644]
mod/lti/OAuthBody.php [new file with mode: 0644]
mod/lti/TrivialStore.php [new file with mode: 0644]
mod/lti/ajax.php [new file with mode: 0644]
mod/lti/backup/moodle1/lib.php [new file with mode: 0644]
mod/lti/backup/moodle2/backup_lti_activity_task.class.php [new file with mode: 0644]
mod/lti/backup/moodle2/backup_lti_stepslib.php [new file with mode: 0644]
mod/lti/backup/moodle2/restore_lti_activity_task.class.php [new file with mode: 0644]
mod/lti/backup/moodle2/restore_lti_stepslib.php [new file with mode: 0644]
mod/lti/basiclti.js [new file with mode: 0644]
mod/lti/db/access.php [new file with mode: 0644]
mod/lti/db/install.xml [new file with mode: 0644]
mod/lti/db/upgrade.php [new file with mode: 0644]
mod/lti/edit_form.php [new file with mode: 0644]
mod/lti/grade.php [new file with mode: 0644]
mod/lti/index.php [new file with mode: 0644]
mod/lti/instructor_edit_tool_type.php [new file with mode: 0644]
mod/lti/lang/en/lti.php [new file with mode: 0644]
mod/lti/launch.php [new file with mode: 0644]
mod/lti/lib.php [new file with mode: 0644]
mod/lti/localadminlib.php [new file with mode: 0644]
mod/lti/locallib.php [new file with mode: 0644]
mod/lti/mod_form.js [new file with mode: 0644]
mod/lti/mod_form.php [new file with mode: 0644]
mod/lti/pix/icon.gif [new file with mode: 0644]
mod/lti/pix/warning.png [new file with mode: 0644]
mod/lti/request_tool.php [new file with mode: 0644]
mod/lti/return.php [new file with mode: 0644]
mod/lti/service.php [new file with mode: 0644]
mod/lti/servicelib.php [new file with mode: 0644]
mod/lti/settings.php [new file with mode: 0644]
mod/lti/simpletest/testlocallib.php [new file with mode: 0644]
mod/lti/styles.css [new file with mode: 0644]
mod/lti/submissions.js [new file with mode: 0644]
mod/lti/typessettings.php [new file with mode: 0644]
mod/lti/version.php [new file with mode: 0644]
mod/lti/view.php [new file with mode: 0644]
mod/quiz/locallib.php
mod/quiz/renderer.php
mod/quiz/report/attemptsreport.php
mod/scorm/aicc.php
mod/scorm/datamodels/aicclib.php
mod/scorm/db/install.xml
mod/scorm/db/upgrade.php
mod/scorm/lang/en/scorm.php
mod/scorm/lib.php
mod/scorm/loadSCO.php
mod/scorm/locallib.php
mod/scorm/mod_form.php
mod/scorm/module.js
mod/scorm/player.php
mod/scorm/report/basic/report.php
mod/scorm/report/interactions/lang/en/scormreport_interactions.php [new file with mode: 0644]
mod/scorm/report/interactions/report.php [new file with mode: 0644]
mod/scorm/report/interactions/responsessettings_form.php [new file with mode: 0644]
mod/scorm/report/interactions/version.php [new file with mode: 0644]
mod/scorm/report/reportlib.php
mod/scorm/settings.php
mod/scorm/version.php
mod/scorm/view.php
mod/upgrade.txt
mod/wiki/locallib.php
mod/wiki/pagelib.php
mod/wiki/view.php
mod/workshop/db/upgrade.php
mod/workshop/db/upgradelib.php
mod/workshop/version.php
pix/b/BIG-ICONS [new file with mode: 0644]
pix/b/bookmark-new.png [new file with mode: 0644]
pix/b/document-edit.png [new file with mode: 0644]
pix/b/document-new.png [new file with mode: 0644]
pix/b/document-properties.png [new file with mode: 0644]
pix/b/edit-copy.png [new file with mode: 0644]
pix/b/edit-delete.png [new file with mode: 0644]
pluginfile.php
question/behaviour/adaptive/version.php [moved from course/report/outline/lang/en/coursereport_outline.php with 62% similarity]
question/behaviour/adaptivenopenalty/behaviour.php
question/behaviour/adaptivenopenalty/version.php [new file with mode: 0644]
question/behaviour/behaviourbase.php
question/behaviour/deferredcbm/behaviour.php
question/behaviour/deferredcbm/version.php [new file with mode: 0644]
question/behaviour/deferredfeedback/version.php [new file with mode: 0644]
question/behaviour/immediatecbm/behaviour.php
question/behaviour/immediatecbm/version.php [new file with mode: 0644]
question/behaviour/immediatefeedback/version.php [new file with mode: 0644]
question/behaviour/informationitem/version.php [new file with mode: 0644]
question/behaviour/interactive/version.php [new file with mode: 0644]
question/behaviour/interactivecountback/behaviour.php
question/behaviour/interactivecountback/version.php [new file with mode: 0644]
question/behaviour/manualgraded/version.php [new file with mode: 0644]
question/behaviour/missing/version.php [new file with mode: 0644]
question/behaviour/upgrade.txt [new file with mode: 0644]
question/editlib.php
question/engine/lib.php
question/export_form.php
question/format/aiken/lang/en/qformat_aiken.php
question/format/aiken/version.php [new file with mode: 0644]
question/format/blackboard/format.php
question/format/blackboard/lang/en/qformat_blackboard.php
question/format/blackboard/version.php [new file with mode: 0644]
question/format/blackboard_six/lang/en/qformat_blackboard_six.php
question/format/blackboard_six/version.php [new file with mode: 0644]
question/format/examview/lang/en/qformat_examview.php
question/format/examview/version.php [new file with mode: 0644]
question/format/gift/lang/en/qformat_gift.php
question/format/gift/version.php [new file with mode: 0644]
question/format/learnwise/lang/en/qformat_learnwise.php
question/format/learnwise/version.php [new file with mode: 0644]
question/format/missingword/lang/en/qformat_missingword.php
question/format/missingword/version.php [new file with mode: 0644]
question/format/multianswer/lang/en/qformat_multianswer.php
question/format/multianswer/version.php [new file with mode: 0644]
question/format/upgrade.txt [new file with mode: 0644]
question/format/webct/lang/en/qformat_webct.php
question/format/webct/version.php [new file with mode: 0644]
question/format/xhtml/lang/en/qformat_xhtml.php
question/format/xhtml/version.php [new file with mode: 0644]
question/format/xml/format.php
question/format/xml/lang/en/qformat_xml.php
question/format/xml/simpletest/testxmlformat.php
question/format/xml/version.php [new file with mode: 0644]
question/import_form.php
question/preview.php
question/type/calculated/backup/moodle1/lib.php
question/type/calculated/lang/en/qtype_calculated.php
question/type/calculated/questiontype.php
question/type/calculated/version.php
question/type/calculatedmulti/lang/en/qtype_calculatedmulti.php
question/type/calculatedmulti/questiontype.php
question/type/calculatedmulti/version.php
question/type/calculatedsimple/lang/en/qtype_calculatedsimple.php
question/type/calculatedsimple/version.php
question/type/description/lang/en/qtype_description.php
question/type/description/version.php
question/type/essay/lang/en/qtype_essay.php
question/type/essay/version.php
question/type/match/lang/en/qtype_match.php
question/type/match/version.php
question/type/missingtype/lang/en/qtype_missingtype.php
question/type/missingtype/version.php
question/type/multianswer/lang/en/qtype_multianswer.php
question/type/multianswer/questiontype.php
question/type/multianswer/version.php
question/type/multichoice/lang/en/qtype_multichoice.php
question/type/multichoice/version.php
question/type/numerical/backup/moodle1/lib.php
question/type/numerical/db/install.xml
question/type/numerical/db/upgrade.php
question/type/numerical/lang/en/qtype_numerical.php
question/type/numerical/version.php
question/type/questiontypebase.php
question/type/random/lang/en/qtype_random.php
question/type/random/version.php
question/type/shortanswer/lang/en/qtype_shortanswer.php
question/type/shortanswer/version.php
question/type/truefalse/lang/en/qtype_truefalse.php
question/type/truefalse/version.php
question/type/upgrade.txt [new file with mode: 0644]
report/backups/index.php [moved from admin/report/backups/index.php with 98% similarity]
report/backups/lang/en/report_backups.php [new file with mode: 0644]
report/backups/settings.php [moved from admin/report/backups/settings.php with 87% similarity]
report/backups/version.php [new file with mode: 0644]
report/completion/db/access.php [new file with mode: 0644]
report/completion/db/install.php [new file with mode: 0644]
report/completion/index.php [moved from course/report/completion/index.php with 90% similarity]
report/completion/lang/en/report_completion.php [new file with mode: 0644]
report/completion/lib.php [new file with mode: 0644]
report/completion/textrotate.js [moved from course/report/completion/textrotate.js with 100% similarity]
report/completion/user.php [new file with mode: 0644]
report/completion/version.php [new file with mode: 0644]
report/configlog/index.php [moved from admin/report/configlog/index.php with 81% similarity]
report/configlog/lang/en/report_configlog.php [moved from admin/report/configlog/lang/en/report_configlog.php with 90% similarity]
report/configlog/settings.php [new file with mode: 0644]
report/configlog/version.php [new file with mode: 0644]
report/courseoverview/db/access.php [new file with mode: 0644]
report/courseoverview/index.php [new file with mode: 0644]
report/courseoverview/lang/en/report_courseoverview.php [moved from admin/report/courseoverview/lang/en/report_courseoverview.php with 71% similarity]
report/courseoverview/reportsgraph.php [new file with mode: 0644]
report/courseoverview/settings.php [new file with mode: 0644]
report/courseoverview/version.php [new file with mode: 0644]
report/log/db/access.php [new file with mode: 0644]
report/log/db/install.php [new file with mode: 0644]
report/log/graph.php [moved from course/report/log/graph.php with 71% similarity]
report/log/index.php [new file with mode: 0644]
report/log/lang/en/report_log.php [moved from course/report/log/lang/en/coursereport_log.php with 68% similarity]
report/log/lib.php [new file with mode: 0644]
report/log/locallib.php [moved from course/report/log/lib.php with 85% similarity]
report/log/settings.php [new file with mode: 0644]
report/log/styles.css [new file with mode: 0644]
report/log/user.php [new file with mode: 0644]
report/log/version.php [new file with mode: 0644]
report/loglive/db/access.php [new file with mode: 0644]
report/loglive/index.php [new file with mode: 0644]
report/loglive/lang/en/report_loglive.php [new file with mode: 0644]
report/loglive/lib.php [new file with mode: 0644]
report/loglive/settings.php [new file with mode: 0644]
report/loglive/styles.css [new file with mode: 0644]
report/loglive/version.php [new file with mode: 0644]
report/outline/db/access.php [new file with mode: 0644]
report/outline/db/install.php [new file with mode: 0644]
report/outline/index.php [new file with mode: 0644]
report/outline/lang/en/report_outline.php [new file with mode: 0644]
report/outline/lib.php [new file with mode: 0644]
report/outline/locallib.php [new file with mode: 0644]
report/outline/styles.css [new file with mode: 0644]
report/outline/user.php [new file with mode: 0644]
report/outline/version.php [new file with mode: 0644]
report/participation/db/access.php [new file with mode: 0644]
report/participation/db/install.php [new file with mode: 0644]
report/participation/index.php [new file with mode: 0644]
report/participation/lang/en/report_participation.php [moved from course/report/participation/lang/en/coursereport_participation.php with 69% similarity]
report/participation/lib.php [moved from course/report/participation/lib.php with 54% similarity]
report/participation/module.js [moved from course/report/participation/module.js with 93% similarity]
report/participation/styles.css [new file with mode: 0644]
report/participation/version.php [new file with mode: 0644]
report/progress/db/access.php [new file with mode: 0644]
report/progress/db/install.php [new file with mode: 0644]
report/progress/index.php [moved from course/report/progress/index.php with 77% similarity]
report/progress/lang/en/report_progress.php [moved from course/report/progress/lang/en/coursereport_progress.php with 68% similarity]
report/progress/lib.php [moved from course/report/progress/lib.php with 59% similarity]
report/progress/styles.css [new file with mode: 0644]
report/progress/textrotate.js [moved from course/report/progress/textrotate.js with 100% similarity]
report/progress/version.php [new file with mode: 0644]
report/questioninstances/db/access.php [new file with mode: 0644]
report/questioninstances/index.php [moved from admin/report/questioninstances/index.php with 85% similarity]
report/questioninstances/lang/en/report_questioninstances.php [moved from admin/report/questioninstances/lang/en/report_questioninstances.php with 83% similarity]
report/questioninstances/settings.php [new file with mode: 0644]
report/questioninstances/version.php [new file with mode: 0644]
report/security/db/access.php [new file with mode: 0644]
report/security/index.php [moved from admin/report/security/index.php with 67% similarity]
report/security/lang/en/report_security.php [moved from admin/report/security/lang/en/report_security.php with 98% similarity]
report/security/locallib.php [moved from admin/report/security/lib.php with 95% similarity]
report/security/settings.php [new file with mode: 0644]
report/security/version.php [new file with mode: 0644]
report/stats/db/access.php [moved from course/report/stats/db/access.php with 95% similarity]
report/stats/db/install.php [new file with mode: 0644]
report/stats/graph.php [moved from course/report/stats/graph.php with 78% similarity]
report/stats/index.php [new file with mode: 0644]
report/stats/lang/en/report_stats.php [moved from course/report/stats/lang/en/coursereport_stats.php with 64% similarity]
report/stats/lib.php [new file with mode: 0644]
report/stats/locallib.php [moved from course/report/stats/report.php with 70% similarity]
report/stats/settings.php [new file with mode: 0644]
report/stats/styles.css [new file with mode: 0644]
report/stats/user.php [new file with mode: 0644]
report/stats/version.php [new file with mode: 0644]
report/upgrade.txt [new file with mode: 0644]
repository/webdav/lib.php
theme/afterburner/style/afterburner_layout.css
theme/anomaly/style/base.css
theme/anomaly/style/browser.css
theme/anomaly/style/editor.css
theme/anomaly/style/general.css
theme/base/style/admin.css
theme/base/style/core.css
theme/base/style/course.css
theme/base/style/grade.css
theme/base/style/pagelayout.css
theme/canvas/style/admin.css
theme/canvas/style/blocks.css
theme/canvas/style/core.css
theme/canvas/style/course.css
theme/canvas/style/editor.css
theme/canvas/style/mods.css
theme/canvas/style/pagelayout.css
theme/canvas/style/popups.css
theme/canvas/style/tables.css
theme/canvas/style/tabs.css
theme/canvas/style/text.css
theme/formal_white/style/course.css
theme/magazine/style/layout.css
theme/mymobile/config.php [new file with mode: 0644]
theme/mymobile/javascript/custom.js [new file with mode: 0644]
theme/mymobile/javascript/easing.js [new file with mode: 0644]
theme/mymobile/javascript/jquery-1.6.4.min.js [new file with mode: 0644]
theme/mymobile/javascript/jquery.mobile-1.0rc2.js [new file with mode: 0644]
theme/mymobile/javascript/scrollview.js [new file with mode: 0644]
theme/mymobile/lang/en/theme_mymobile.php [new file with mode: 0644]
theme/mymobile/layout/embedded.php [new file with mode: 0644]
theme/mymobile/layout/general.php [new file with mode: 0644]
theme/mymobile/lib.php [new file with mode: 0644]
theme/mymobile/pix/07-map-marker.png [new file with mode: 0644]
theme/mymobile/pix/41-picture-frame.png [new file with mode: 0644]
theme/mymobile/pix/83-calendar.png [new file with mode: 0644]
theme/mymobile/pix/ajax-loader.png [new file with mode: 0644]
theme/mymobile/pix/ajax-loader2.png [new file with mode: 0644]
theme/mymobile/pix/clip.png [new file with mode: 0644]
theme/mymobile/pix/empty.gif [new file with mode: 0644]
theme/mymobile/pix/favicon.ico [new file with mode: 0644]
theme/mymobile/pix/form-check-off.png [new file with mode: 0644]
theme/mymobile/pix/form-check-on.png [new file with mode: 0644]
theme/mymobile/pix/form-radio-off.png [new file with mode: 0644]
theme/mymobile/pix/form-radio-on.png [new file with mode: 0644]
theme/mymobile/pix/header.png [new file with mode: 0644]
theme/mymobile/pix/ibulb.png [new file with mode: 0644]
theme/mymobile/pix/icalendar.png [new file with mode: 0644]
theme/mymobile/pix/icalendarI4.png [new file with mode: 0644]
theme/mymobile/pix/icon-arrow-white-down.png [new file with mode: 0644]
theme/mymobile/pix/icon-arrow-white-left.png [new file with mode: 0644]
theme/mymobile/pix/icon-arrow-white-right.png [new file with mode: 0644]
theme/mymobile/pix/icon-arrow-white-up.png [new file with mode: 0644]
theme/mymobile/pix/icon-delete.png [new file with mode: 0644]
theme/mymobile/pix/icon-minus-white.png [new file with mode: 0644]
theme/mymobile/pix/icon-plus-white.png [new file with mode: 0644]
theme/mymobile/pix/icon-search-black.png [new file with mode: 0644]
theme/mymobile/pix/icons-18-black.png [new file with mode: 0644]
theme/mymobile/pix/icons-18-white.png [new file with mode: 0644]
theme/mymobile/pix/icons-36-black.png [new file with mode: 0644]
theme/mymobile/pix/icons-36-white.png [new file with mode: 0644]
theme/mymobile/pix/imessage.png [new file with mode: 0644]
theme/mymobile/pix/imessageI4.png [new file with mode: 0644]
theme/mymobile/pix/iuser.png [new file with mode: 0644]
theme/mymobile/pix/iuserI4.png [new file with mode: 0644]
theme/mymobile/pix/linevert.png [new file with mode: 0644]
theme/mymobile/pix/m2m.png [new file with mode: 0644]
theme/mymobile/pix/m2m2x.png [new file with mode: 0644]
theme/mymobile/pix/m2ms.png [new file with mode: 0644]
theme/mymobile/pix/navs.png [new file with mode: 0644]
theme/mymobile/pix/navsI4.png [new file with mode: 0644]
theme/mymobile/pix/newnav.png [new file with mode: 0644]
theme/mymobile/pix/newnav_s.png [new file with mode: 0644]
theme/mymobile/pix/photos.png [new file with mode: 0644]
theme/mymobile/pix/pinstripes.png [new file with mode: 0644]
theme/mymobile/pix/power.png [new file with mode: 0644]
theme/mymobile/pix/req.png [new file with mode: 0644]
theme/mymobile/pix/screenshot.png [new file with mode: 0644]
theme/mymobile/pix/texture_05.png [new file with mode: 0644]
theme/mymobile/pix/texture_075.png [new file with mode: 0644]
theme/mymobile/pix_core/a/help.png [new file with mode: 0644]
theme/mymobile/pix_core/a/refresh.png [new file with mode: 0644]
theme/mymobile/pix_core/a/search.png [new file with mode: 0644]
theme/mymobile/pix_core/a/setting.png [new file with mode: 0644]
theme/mymobile/pix_core/c/course.png [new file with mode: 0644]
theme/mymobile/pix_core/c/event.png [new file with mode: 0644]
theme/mymobile/pix_core/c/group.png [new file with mode: 0644]
theme/mymobile/pix_core/c/site.png [new file with mode: 0644]
theme/mymobile/pix_core/c/user.png [new file with mode: 0644]
theme/mymobile/pix_core/docs.png [new file with mode: 0644]
theme/mymobile/pix_core/f/audio.png [new file with mode: 0644]
theme/mymobile/pix_core/f/avi.png [new file with mode: 0644]
theme/mymobile/pix_core/f/dmg.png [new file with mode: 0644]
theme/mymobile/pix_core/f/docm.png [new file with mode: 0644]
theme/mymobile/pix_core/f/docx.png [new file with mode: 0644]
theme/mymobile/pix_core/f/excel.png [new file with mode: 0644]
theme/mymobile/pix_core/f/image.png [new file with mode: 0644]
theme/mymobile/pix_core/f/text.png [new file with mode: 0644]
theme/mymobile/pix_core/f/video.png [new file with mode: 0644]
theme/mymobile/pix_core/f/web.png [new file with mode: 0644]
theme/mymobile/pix_core/help.png [new file with mode: 0644]
theme/mymobile/pix_core/i/admin.png [new file with mode: 0644]
theme/mymobile/pix_core/i/approve.png [new file with mode: 0644]
theme/mymobile/pix_core/i/backup.png [new file with mode: 0644]
theme/mymobile/pix_core/i/calc.png [new file with mode: 0644]
theme/mymobile/pix_core/i/checkpermissions.png [new file with mode: 0644]
theme/mymobile/pix_core/i/closed.png [new file with mode: 0644]
theme/mymobile/pix_core/i/cohort.png [new file with mode: 0644]
theme/mymobile/pix_core/i/completion-auto-n.png [new file with mode: 0644]
theme/mymobile/pix_core/i/completion-auto-y.png [new file with mode: 0644]
theme/mymobile/pix_core/i/completion-manual-n.png [new file with mode: 0644]
theme/mymobile/pix_core/i/completion-manual-y.png [new file with mode: 0644]
theme/mymobile/pix_core/i/course.png [new file with mode: 0644]
theme/mymobile/pix_core/i/cross_red_big.png [new file with mode: 0644]
theme/mymobile/pix_core/i/cross_red_small.png [new file with mode: 0644]
theme/mymobile/pix_core/i/db.png [new file with mode: 0644]
theme/mymobile/pix_core/i/edit.png [new file with mode: 0644]
theme/mymobile/pix_core/i/email.png [new file with mode: 0644]
theme/mymobile/pix_core/i/files.png [new file with mode: 0644]
theme/mymobile/pix_core/i/filter.png [new file with mode: 0644]
theme/mymobile/pix_core/i/flagged.png [new file with mode: 0644]
theme/mymobile/pix_core/i/grades.png [new file with mode: 0644]
theme/mymobile/pix_core/i/group.png [new file with mode: 0644]
theme/mymobile/pix_core/i/guest.png [new file with mode: 0644]
theme/mymobile/pix_core/i/info.png [new file with mode: 0644]
theme/mymobile/pix_core/i/item.png [new file with mode: 0644]
theme/mymobile/pix_core/i/lock.png [new file with mode: 0644]
theme/mymobile/pix_core/i/log.png [new file with mode: 0644]
theme/mymobile/pix_core/i/mail.png [new file with mode: 0644]
theme/mymobile/pix_core/i/menu.png [new file with mode: 0644]
theme/mymobile/pix_core/i/navigationitem.png [new file with mode: 0644]
theme/mymobile/pix_core/i/new.png [new file with mode: 0644]
theme/mymobile/pix_core/i/news.png [new file with mode: 0644]
theme/mymobile/pix_core/i/open.png [new file with mode: 0644]
theme/mymobile/pix_core/i/payment.png [new file with mode: 0644]
theme/mymobile/pix_core/i/publish.png [new file with mode: 0644]
theme/mymobile/pix_core/i/reload.png [new file with mode: 0644]
theme/mymobile/pix_core/i/report.png [new file with mode: 0644]
theme/mymobile/pix_core/i/return.png [new file with mode: 0644]
theme/mymobile/pix_core/i/rss.png [new file with mode: 0644]
theme/mymobile/pix_core/i/search.png [new file with mode: 0644]
theme/mymobile/pix_core/i/stats.png [new file with mode: 0644]
theme/mymobile/pix_core/i/switch.png [new file with mode: 0644]
theme/mymobile/pix_core/i/unflagged.png [new file with mode: 0644]
theme/mymobile/pix_core/i/unlock.png [new file with mode: 0644]
theme/mymobile/pix_core/i/user.png [new file with mode: 0644]
theme/mymobile/pix_core/i/users.png [new file with mode: 0644]
theme/mymobile/pix_core/req.png [new file with mode: 0644]
theme/mymobile/pix_core/t/add.png [new file with mode: 0644]
theme/mymobile/pix_core/t/adddir.png [new file with mode: 0644]
theme/mymobile/pix_core/t/addfile.png [new file with mode: 0644]
theme/mymobile/pix_core/t/clear.png [new file with mode: 0644]
theme/mymobile/pix_core/t/collapsed.png [new file with mode: 0644]
theme/mymobile/pix_core/t/delete.png [new file with mode: 0644]
theme/mymobile/pix_core/t/down.png [new file with mode: 0644]
theme/mymobile/pix_core/t/edit.png [new file with mode: 0644]
theme/mymobile/pix_core/t/email.png [new file with mode: 0644]
theme/mymobile/pix_core/t/expanded.png [new file with mode: 0644]
theme/mymobile/pix_core/t/groupn.png [new file with mode: 0644]
theme/mymobile/pix_core/t/hiddenuntil.png [new file with mode: 0644]
theme/mymobile/pix_core/t/hideuntil.png [new file with mode: 0644]
theme/mymobile/pix_core/t/left.png [new file with mode: 0644]
theme/mymobile/pix_core/t/lock.png [new file with mode: 0644]
theme/mymobile/pix_core/t/log.png [new file with mode: 0644]
theme/mymobile/pix_core/t/message.png [new file with mode: 0644]
theme/mymobile/pix_core/t/move.png [new file with mode: 0644]
theme/mymobile/pix_core/t/portfolioadd.png [new file with mode: 0644]
theme/mymobile/pix_core/t/preview.png [new file with mode: 0644]
theme/mymobile/pix_core/t/ranges.png [new file with mode: 0644]
theme/mymobile/pix_core/t/reload.png [new file with mode: 0644]
theme/mymobile/pix_core/t/restore.png [new file with mode: 0644]
theme/mymobile/pix_core/t/right.png [new file with mode: 0644]
theme/mymobile/pix_core/t/unlock.png [new file with mode: 0644]
theme/mymobile/pix_core/t/up.png [new file with mode: 0644]
theme/mymobile/pix_core/t/user.png [new file with mode: 0644]
theme/mymobile/pix_core/u/f1.png [new file with mode: 0644]
theme/mymobile/pix_core/u/f2.png [new file with mode: 0644]
theme/mymobile/pix_core/u/user100.png [new file with mode: 0644]
theme/mymobile/pix_core/u/user35.png [new file with mode: 0644]
theme/mymobile/pix_plugins/mod/assignment/icon.png [new file with mode: 0644]
theme/mymobile/pix_plugins/mod/book/icon.png [new file with mode: 0644]
theme/mymobile/pix_plugins/mod/chat/icon.png [new file with mode: 0644]
theme/mymobile/pix_plugins/mod/choice/icon.png [new file with mode: 0644]
theme/mymobile/pix_plugins/mod/data/icon.png [new file with mode: 0644]
theme/mymobile/pix_plugins/mod/feedback/icon.png [new file with mode: 0644]
theme/mymobile/pix_plugins/mod/folder/icon.png [new file with mode: 0644]
theme/mymobile/pix_plugins/mod/forum/icon.png [new file with mode: 0644]
theme/mymobile/pix_plugins/mod/glossary/icon.png [new file with mode: 0644]
theme/mymobile/pix_plugins/mod/glossary/print.png [new file with mode: 0644]
theme/mymobile/pix_plugins/mod/label/icon.png [new file with mode: 0644]
theme/mymobile/pix_plugins/mod/lams/icon.png [new file with mode: 0644]
theme/mymobile/pix_plugins/mod/lesson/icon.png [new file with mode: 0644]
theme/mymobile/pix_plugins/mod/mail/icon.png [new file with mode: 0644]
theme/mymobile/pix_plugins/mod/page/icon.png [new file with mode: 0644]
theme/mymobile/pix_plugins/mod/quiz/icon.png [new file with mode: 0644]
theme/mymobile/pix_plugins/mod/resource/icon.png [new file with mode: 0644]
theme/mymobile/pix_plugins/mod/scorm/icon.png [new file with mode: 0644]
theme/mymobile/pix_plugins/mod/survey/icon.png [new file with mode: 0644]
theme/mymobile/pix_plugins/mod/wiki/icon.png [new file with mode: 0644]
theme/mymobile/renderers.php [new file with mode: 0644]
theme/mymobile/settings.php [new file with mode: 0644]
theme/mymobile/style/core.css [new file with mode: 0644]
theme/mymobile/style/jmobilerc2.css [new file with mode: 0644]
theme/mymobile/style/media.css [new file with mode: 0644]
theme/mymobile/version.php [new file with mode: 0644]
theme/standard/style/admin.css
theme/standard/style/course.css
theme/standard/style/css3.css
theme/standard/style/grade.css
theme/upgrade.txt
user/index.php
user/managetoken.php
user/selector/lib.php
version.php
webservice/lib.php
webservice/renderer.php

index efb4dc3..2d53db9 100644 (file)
@@ -41,10 +41,13 @@ $all     = enrol_get_plugins(false);
 
 $return = new moodle_url('/admin/settings.php', array('section'=>'manageenrols'));
 
+$syscontext = context_system::instance();
+
 switch ($action) {
     case 'disable':
         unset($enabled[$enrol]);
         set_config('enrol_plugins_enabled', implode(',', array_keys($enabled)));
+        $syscontext->mark_dirty(); // resets all enrol caches
         break;
 
     case 'enable':
@@ -54,6 +57,7 @@ switch ($action) {
         $enabled = array_keys($enabled);
         $enabled[] = $enrol;
         set_config('enrol_plugins_enabled', implode(',', $enabled));
+        $syscontext->mark_dirty(); // resets all enrol caches
         break;
 
     case 'up':
@@ -106,6 +110,7 @@ switch ($action) {
 
         } else {  // Delete everything!!
             uninstall_plugin('enrol', $enrol);
+            $syscontext->mark_dirty(); // resets all enrol caches
 
             $a->plugin = $strplugin;
             $a->directory = "$CFG->dirroot/enrol/$enrol";
index c7c50a9..efc0118 100644 (file)
@@ -38,7 +38,7 @@ $strmnetlog        = get_string('mnetlog', 'mnet');
 $strmnetedithost   = get_string('reviewhostdetails', 'mnet');
 
 $logurl = $CFG->wwwroot.
-          '/course/report/log/index.php?chooselog=1&amp;showusers=1&amp;showcourses=1&amp;host_course='.$mnet_peer->id.
+          '/report/log/index.php?chooselog=1&amp;showusers=1&amp;showcourses=1&amp;host_course='.$mnet_peer->id.
           '%2F1&amp;user='.'0'.
           '&amp;date=0'.
           '&amp;modid=&amp;modaction=0&amp;logformat=showashtml';
index db76b95..5c6524b 100644 (file)
@@ -28,6 +28,7 @@
 require_once(dirname(__FILE__) . '/../config.php');
 require_once($CFG->libdir . '/questionlib.php');
 require_once($CFG->libdir . '/adminlib.php');
+require_once($CFG->libdir . '/pluginlib.php');
 require_once($CFG->libdir . '/tablelib.php');
 
 // Check permissions.
@@ -39,6 +40,7 @@ admin_externalpage_setup('manageqbehaviours');
 $thispageurl = new moodle_url('/admin/qbehaviours.php');
 
 $behaviours = get_plugin_list('qbehaviour');
+$pluginmanager = plugin_manager::instance();
 
 // Get some data we will need - question counts and which types are needed.
 $counts = $DB->get_records_sql_menu("
@@ -50,15 +52,11 @@ foreach ($behaviours as $behaviour => $notused) {
     if (!array_key_exists($behaviour, $counts)) {
         $counts[$behaviour] = 0;
     }
-    $needed[$behaviour] = $counts[$behaviour] > 0;
+    $needed[$behaviour] = ($counts[$behaviour] > 0) &&
+            $pluginmanager->other_plugins_that_require('qbehaviour_' . $behaviour);
     $archetypal[$behaviour] = question_engine::is_behaviour_archetypal($behaviour);
 }
 
-foreach ($behaviours as $behaviour => $notused) {
-    foreach (question_engine::get_behaviour_required_behaviours($behaviour) as $reqbehaviour) {
-        $needed[$reqbehaviour] = true;
-    }
-}
 foreach ($counts as $behaviour => $count) {
     if (!array_key_exists($behaviour, $behaviours)) {
         $counts['missingtype'] += $count;
@@ -238,13 +236,14 @@ foreach ($sortedbehaviours as $behaviour => $behaviourname) {
     }
 
     // Other question types required by this one.
-    $requiredbehaviours = question_engine::get_behaviour_required_behaviours($behaviour);
-    if (!empty($requiredbehaviours)) {
-        $strrequiredbehaviours = array();
-        foreach ($requiredbehaviours as $required) {
-            $strrequiredbehaviours[] = $sortedbehaviours[$required];
+    $plugin = $pluginmanager->get_plugin_info('qbehaviour_' . $behaviour);
+    $required = $plugin->get_other_required_plugins();
+    if (!empty($required)) {
+        $strrequired = array();
+        foreach ($required as $component => $notused) {
+            $strrequired[] = $pluginmanager->plugin_name($component);
         }
-        $row[] = implode(', ', $strrequiredbehaviours);
+        $row[] = implode(', ', $strrequired);
     } else {
         $row[] = '';
     }
index 05e7c75..4922ad5 100644 (file)
@@ -28,6 +28,7 @@
 require_once(dirname(__FILE__) . '/../config.php');
 require_once($CFG->libdir . '/questionlib.php');
 require_once($CFG->libdir . '/adminlib.php');
+require_once($CFG->libdir . '/pluginlib.php');
 require_once($CFG->libdir . '/tablelib.php');
 
 // Check permissions.
@@ -40,6 +41,7 @@ admin_externalpage_setup('manageqtypes');
 $thispageurl = new moodle_url('/admin/qtypes.php');
 
 $qtypes = question_bank::get_all_qtypes();
+$pluginmanager = plugin_manager::instance();
 
 // Get some data we will need - question counts and which types are needed.
 $counts = $DB->get_records_sql("
@@ -52,15 +54,11 @@ foreach ($qtypes as $qtypename => $qtype) {
         $counts[$qtypename]->numquestions = 0;
         $counts[$qtypename]->numhidden = 0;
     }
-    $needed[$qtypename] = $counts[$qtypename]->numquestions > 0;
+    $needed[$qtypename] = $counts[$qtypename]->numquestions > 0 ||
+            $pluginmanager->other_plugins_that_require($qtype->plugin_name());
     $counts[$qtypename]->numquestions -= $counts[$qtypename]->numhidden;
 }
 $needed['missingtype'] = true; // The system needs the missing question type.
-foreach ($qtypes as $qtypename => $qtype) {
-    foreach ($qtype->requires_qtypes() as $reqtype) {
-        $needed[$reqtype] = true;
-    }
-}
 foreach ($counts as $qtypename => $count) {
     if (!isset($qtypes[$qtypename])) {
         $counts['missingtype']->numquestions += $count->numquestions - $count->numhidden;
@@ -237,11 +235,12 @@ foreach ($sortedqtypes as $qtypename => $localname) {
     }
 
     // Other question types required by this one.
-    $requiredtypes = $qtype->requires_qtypes();
+    $plugin = $pluginmanager->get_plugin_info($qtype->plugin_name());
+    $requiredtypes = $plugin->get_other_required_plugins();
     $strtypes = array();
     if (!empty($requiredtypes)) {
-        foreach ($requiredtypes as $required) {
-            $strtypes[] = $qtypes[$required]->local_name();
+        foreach ($requiredtypes as $required => $notused) {
+            $strtypes[] = $pluginmanager->plugin_name($required);
         }
         $row[] = implode(', ', $strtypes);
     } else {
index be5780b..8c56d26 100644 (file)
@@ -725,8 +725,12 @@ class core_admin_renderer extends plugin_renderer_base {
                 }
 
                 $uninstallurl = $plugin->get_uninstall_url();
+                $requriedby = $pluginman->other_plugins_that_require($plugin->component);
                 if (is_null($uninstallurl)) {
                     $uninstall = new html_table_cell('');
+                } else if ($requriedby) {
+                    $uninstall = new html_table_cell(get_string('requiredby', 'core_plugin', implode(', ', $requriedby)));
+                    $uninstall->attributes['class'] = 'requiredby';
                 } else {
                     $uninstall = html_writer::link($uninstallurl, get_string('uninstall', 'core_plugin'));
                     $uninstall = new html_table_cell($uninstall);
diff --git a/admin/report/configlog/settings.php b/admin/report/configlog/settings.php
deleted file mode 100644 (file)
index 21fe2f8..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-<?php
-
-defined('MOODLE_INTERNAL') || die;
-
-$ADMIN->add('reports', new admin_externalpage('reportconfiglog', get_string('configlog', 'report_configlog'), "$CFG->wwwroot/$CFG->admin/report/configlog/index.php"));
diff --git a/admin/report/courseoverview/db/access.php b/admin/report/courseoverview/db/access.php
deleted file mode 100644 (file)
index 7cbd1ba..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?php
-
-///////////////////////////////////////////////////////////////////////////
-//                                                                       //
-// NOTICE OF COPYRIGHT                                                   //
-//                                                                       //
-// Moodle - Modular Object-Oriented Dynamic Learning Environment         //
-//          http://moodle.com                                            //
-//                                                                       //
-// Copyright (C) 1999 onwards  Martin Dougiamas  http://moodle.com       //
-//                                                                       //
-// This program is free software; you can redistribute it and/or modify  //
-// it under the terms of the GNU General Public License as published by  //
-// the Free Software Foundation; either version 2 of the License, or     //
-// (at your option) any later version.                                   //
-//                                                                       //
-// This program is distributed in the hope that it will be useful,       //
-// but WITHOUT ANY WARRANTY; without even the implied warranty of        //
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         //
-// GNU General Public License for more details:                          //
-//                                                                       //
-//          http://www.gnu.org/copyleft/gpl.html                         //
-//                                                                       //
-///////////////////////////////////////////////////////////////////////////
-
-$capabilities = array(
-
-    'report/courseoverview:view' => array(
-        'riskbitmask' => RISK_PERSONAL,
-        'captype' => 'read',
-        'contextlevel' => CONTEXT_SYSTEM,
-        'archetypes' => array(
-            'teacher' => CAP_ALLOW,
-            'editingteacher' => CAP_ALLOW,
-            'manager' => CAP_ALLOW
-        ),
-
-        'clonepermissionsfrom' => 'moodle/site:viewreports',
-    )
-);
diff --git a/admin/report/courseoverview/index.php b/admin/report/courseoverview/index.php
deleted file mode 100644 (file)
index 1eb2167..0000000
+++ /dev/null
@@ -1,122 +0,0 @@
-<?php
-
-    require_once('../../../config.php');
-    require_once($CFG->dirroot.'/lib/statslib.php');
-    require_once($CFG->libdir.'/adminlib.php');
-
-    $report     = optional_param('report', STATS_REPORT_ACTIVE_COURSES, PARAM_INT);
-    $time       = optional_param('time', 0, PARAM_INT);
-    $numcourses = optional_param('numcourses', 20, PARAM_INT);
-
-    if (empty($CFG->enablestats)) {
-        if (has_capability('moodle/site:config', get_context_instance(CONTEXT_SYSTEM))) {
-            redirect("$CFG->wwwroot/$CFG->admin/settings.php?section=stats", get_string('mustenablestats', 'admin'), 3);
-        } else {
-            print_error('statsdisable');
-        }
-    }
-
-    admin_externalpage_setup('reportcourseoverview');
-    echo $OUTPUT->header();
-
-    $course = get_site();
-    stats_check_uptodate($course->id);
-
-    $strreports = get_string('reports');
-    $strcourseoverview = get_string('courseoverview');
-
-    $reportoptions = stats_get_report_options($course->id,STATS_MODE_RANKED);
-
-    $earliestday = $DB->get_field_sql('SELECT MIN(timeend) FROM {stats_daily}');
-    $earliestweek = $DB->get_field_sql('SELECT MIN(timeend) FROM {stats_weekly}');
-    $earliestmonth = $DB->get_field_sql('SELECT MIN(timeend) FROM {stats_monthly}');
-
-    if (empty($earliestday)) $earliestday = time();
-    if (empty($earliestweek)) $earliestweek = time();
-    if (empty($earliestmonth)) $earliestmonth = time();
-
-    $now = stats_get_base_daily();
-    $lastweekend = stats_get_base_weekly();
-    $lastmonthend = stats_get_base_monthly();
-
-    $timeoptions = stats_get_time_options($now,$lastweekend,$lastmonthend,$earliestday,$earliestweek,$earliestmonth);
-
-    if (empty($timeoptions)) {
-        print_error('nostatstodisplay', 'error', $CFG->wwwroot.'/course/view.php?id='.$course->id);
-    }
-
-    echo '<form action="index.php" method="post">'."\n";
-    echo '<div>';
-
-    $table = new html_table();
-    $table->width = '*';
-    $table->align = array('left','left','left','left','left','left');
-
-    $reporttypemenu = html_writer::select($reportoptions,'report',$report, false);
-    $timeoptionsmenu = html_writer::select($timeoptions,'time',$time, false);
-
-    $table->data[] = array(get_string('statsreporttype'),$reporttypemenu,
-                           get_string('statstimeperiod'),$timeoptionsmenu,
-                           '<input type="text" name="numcourses" size="3" maxlength="2" value="'.$numcourses.'" />',
-                           '<input type="submit" value="'.get_string('view').'" />') ;
-
-    echo html_writer::table($table);
-    echo '</div>';
-    echo '</form>';
-
-    echo $OUTPUT->heading($reportoptions[$report]);
-
-
-    if (!empty($report) && !empty($time)) {
-        $param = stats_get_parameters($time,$report,SITEID,STATS_MODE_RANKED);
-        if (!empty($param->sql)) {
-            $sql = $param->sql;
-        } else {
-            $sql = "SELECT courseid,".$param->fields."
-                      FROM {".'stats_'.$param->table."}
-                     WHERE timeend >= $param->timeafter AND stattype = 'activity' AND roleid = 0
-                  GROUP BY courseid
-                           $param->extras
-                  ORDER BY $param->orderby";
-        }
-
-        $courses = $DB->get_records_sql($sql, $param->params, 0, $numcourses);
-
-        if (empty($courses)) {
-            echo $OUTPUT->notification(get_string('statsnodata'));
-            echo '</td></tr></table>';
-
-        } else {
-            if (empty($CFG->gdversion)) {
-                echo '<div class="graph">(' . get_string("gdneed") .')</div>';
-            } else {
-                echo '<div class="graph"><img alt="'.get_string('courseoverviewgraph').'" src="'.$CFG->wwwroot.'/'.$CFG->admin.'/report/courseoverview/reportsgraph.php?time='.$time.'&report='.$report.'&numcourses='.$numcourses.'" /></div>';
-            }
-
-            $table = new html_table();
-            $table->align = array('left','center','center','center');
-            $table->head = array(get_string('course'),$param->line1);
-            if (!empty($param->line2)) {
-                $table->head[] = $param->line2;
-            }
-            if (!empty($param->line3)) {
-                $table->head[] = $param->line3;
-            }
-
-            foreach  ($courses as $c) {
-                $a = array();
-                $a[] = '<a href="'.$CFG->wwwroot.'/course/view.php?id='.$c->courseid.'">'.$DB->get_field('course', 'shortname', array('id'=>$c->courseid)).'</a>';
-
-                $a[] = $c->line1;
-                if (isset($c->line2)) {
-                    $a[] = $c->line2;
-                }
-                if (isset($c->line3)) {
-                    $a[] = round($c->line3,2);
-                }
-                $table->data[] = $a;
-            }
-            echo html_writer::table($table);
-        }
-    }
-    echo $OUTPUT->footer();
diff --git a/admin/report/courseoverview/reportsgraph.php b/admin/report/courseoverview/reportsgraph.php
deleted file mode 100644 (file)
index 45ea7d8..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-<?php
-
-    require_once('../../../config.php');
-    require_once($CFG->dirroot.'/lib/statslib.php');
-    require_once($CFG->dirroot.'/lib/graphlib.php');
-
-    $report     = required_param('report', PARAM_INT);
-    $time       = required_param('time', PARAM_INT);
-    $numcourses = required_param('numcourses', PARAM_INT);
-
-    require_login();
-
-    require_capability('report/courseoverview:view', get_context_instance(CONTEXT_SYSTEM));
-
-    stats_check_uptodate();
-
-    $param = stats_get_parameters($time,$report,SITEID,STATS_MODE_RANKED);
-
-    if (!empty($param->sql)) {
-        $sql = $param->sql;
-    } else {
-        $sql = "SELECT courseid, $param->fields
-                  FROM {".'stats_'.$param->table."}
-                 WHERE timeend >= $param->timeafter AND stattype = 'activity' AND roleid = 0
-              GROUP BY courseid
-                       $param->extras
-              ORDER BY $param->orderby";
-    }
-
-    $courses = $DB->get_records_sql($sql, $param->params, 0, $numcourses);
-
-    if (empty($courses)) {
-        $PAGE->set_url('/admin/report/courseoverview/index.php');
-        print_error('statsnodata', 'error', $PAGE->url->out());
-    }
-
-
-    $graph = new graph(750,400);
-
-    $graph->parameter['legend'] = 'outside-right';
-    $graph->parameter['legend_size'] = 10;
-    $graph->parameter['x_axis_angle'] = 90;
-    $graph->parameter['title'] = false; // moodle will do a nicer job.
-    $graph->y_tick_labels = null;
-    $graph->offset_relation = null;
-    if ($report != STATS_REPORT_ACTIVE_COURSES) {
-        $graph->parameter['y_decimal_left'] = 2;
-    }
-
-    foreach ($courses as $c) {
-        $graph->x_data[] = $DB->get_field('course', 'shortname', array('id'=>$c->courseid));
-        $graph->y_data['bar1'][] = $c->{$param->graphline};
-    }
-    $graph->y_order = array('bar1');
-    $graph->y_format['bar1'] = array('colour' => 'blue','bar' => 'fill','legend' => $param->{$param->graphline});
-
-    $graph->draw_stack();
diff --git a/admin/report/courseoverview/settings.php b/admin/report/courseoverview/settings.php
deleted file mode 100644 (file)
index c6a0589..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-<?php
-
-defined('MOODLE_INTERNAL') || die;
-
-$ADMIN->add('reports', new admin_externalpage('reportcourseoverview', get_string('pluginname', 'report_courseoverview'), "$CFG->wwwroot/$CFG->admin/report/courseoverview/index.php",'report/courseoverview:view'));
diff --git a/admin/report/courseoverview/version.php b/admin/report/courseoverview/version.php
deleted file mode 100644 (file)
index a2be4bb..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-<?PHP
-
-///////////////////////////////////////////////////////////////////////////
-//                                                                       //
-// NOTICE OF COPYRIGHT                                                   //
-//                                                                       //
-// Moodle - Modular Object-Oriented Dynamic Learning Environment         //
-//          http://moodle.com                                            //
-//                                                                       //
-// Copyright (C) 1999 onwards  Martin Dougiamas  http://moodle.com       //
-//                                                                       //
-// This program is free software; you can redistribute it and/or modify  //
-// it under the terms of the GNU General Public License as published by  //
-// the Free Software Foundation; either version 2 of the License, or     //
-// (at your option) any later version.                                   //
-//                                                                       //
-// This program is distributed in the hope that it will be useful,       //
-// but WITHOUT ANY WARRANTY; without even the implied warranty of        //
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         //
-// GNU General Public License for more details:                          //
-//                                                                       //
-//          http://www.gnu.org/copyleft/gpl.html                         //
-//                                                                       //
-///////////////////////////////////////////////////////////////////////////
-
-$plugin->version  = 2010090501;
-$plugin->requires = 2010090501;
diff --git a/admin/report/log/settings.php b/admin/report/log/settings.php
deleted file mode 100644 (file)
index ecaae3b..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<?php
-
-defined('MOODLE_INTERNAL') || die;
-
-// just a link to course report
-$ADMIN->add('reports', new admin_externalpage('reportlog', get_string('log', 'admin'), "$CFG->wwwroot/course/report/log/index.php?id=".SITEID, 'coursereport/log:view'));
-$ADMIN->add('reports', new admin_externalpage('reportloglive', get_string('loglive', 'coursereport_log'), "$CFG->wwwroot/course/report/log/indexlive.php?id=".SITEID, 'coursereport/log:viewlive'));
diff --git a/admin/report/questioninstances/db/access.php b/admin/report/questioninstances/db/access.php
deleted file mode 100644 (file)
index c13dd6a..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-<?php
-
-///////////////////////////////////////////////////////////////////////////
-//                                                                       //
-// NOTICE OF COPYRIGHT                                                   //
-//                                                                       //
-// Moodle - Modular Object-Oriented Dynamic Learning Environment         //
-//          http://moodle.com                                            //
-//                                                                       //
-// Copyright (C) 1999 onwards  Martin Dougiamas  http://moodle.com       //
-//                                                                       //
-// This program is free software; you can redistribute it and/or modify  //
-// it under the terms of the GNU General Public License as published by  //
-// the Free Software Foundation; either version 2 of the License, or     //
-// (at your option) any later version.                                   //
-//                                                                       //
-// This program is distributed in the hope that it will be useful,       //
-// but WITHOUT ANY WARRANTY; without even the implied warranty of        //
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         //
-// GNU General Public License for more details:                          //
-//                                                                       //
-//          http://www.gnu.org/copyleft/gpl.html                         //
-//                                                                       //
-///////////////////////////////////////////////////////////////////////////
-
-$capabilities = array(
-
-    'report/questioninstances:view' => array(
-        'captype' => 'read',
-        'contextlevel' => CONTEXT_SYSTEM,
-        'archetypes' => array(
-            'manager' => CAP_ALLOW
-        ),
-
-        'clonepermissionsfrom' => 'moodle/site:config',
-    )
-);
diff --git a/admin/report/questioninstances/settings.php b/admin/report/questioninstances/settings.php
deleted file mode 100644 (file)
index 263d39d..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-<?php
-
-defined('MOODLE_INTERNAL') || die;
-
-$ADMIN->add('reports', new admin_externalpage('reportquestioninstances', get_string('pluginname', 'report_questioninstances'), "$CFG->wwwroot/$CFG->admin/report/questioninstances/index.php", 'report/questioninstances:view'));
diff --git a/admin/report/questioninstances/version.php b/admin/report/questioninstances/version.php
deleted file mode 100644 (file)
index a2be4bb..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-<?PHP
-
-///////////////////////////////////////////////////////////////////////////
-//                                                                       //
-// NOTICE OF COPYRIGHT                                                   //
-//                                                                       //
-// Moodle - Modular Object-Oriented Dynamic Learning Environment         //
-//          http://moodle.com                                            //
-//                                                                       //
-// Copyright (C) 1999 onwards  Martin Dougiamas  http://moodle.com       //
-//                                                                       //
-// This program is free software; you can redistribute it and/or modify  //
-// it under the terms of the GNU General Public License as published by  //
-// the Free Software Foundation; either version 2 of the License, or     //
-// (at your option) any later version.                                   //
-//                                                                       //
-// This program is distributed in the hope that it will be useful,       //
-// but WITHOUT ANY WARRANTY; without even the implied warranty of        //
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         //
-// GNU General Public License for more details:                          //
-//                                                                       //
-//          http://www.gnu.org/copyleft/gpl.html                         //
-//                                                                       //
-///////////////////////////////////////////////////////////////////////////
-
-$plugin->version  = 2010090501;
-$plugin->requires = 2010090501;
diff --git a/admin/report/security/db/access.php b/admin/report/security/db/access.php
deleted file mode 100644 (file)
index 293a66f..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-<?php
-
-///////////////////////////////////////////////////////////////////////////
-//                                                                       //
-// NOTICE OF COPYRIGHT                                                   //
-//                                                                       //
-// Moodle - Modular Object-Oriented Dynamic Learning Environment         //
-//          http://moodle.com                                            //
-//                                                                       //
-// Copyright (C) 1999 onwards  Martin Dougiamas  http://moodle.com       //
-//                                                                       //
-// This program is free software; you can redistribute it and/or modify  //
-// it under the terms of the GNU General Public License as published by  //
-// the Free Software Foundation; either version 2 of the License, or     //
-// (at your option) any later version.                                   //
-//                                                                       //
-// This program is distributed in the hope that it will be useful,       //
-// but WITHOUT ANY WARRANTY; without even the implied warranty of        //
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         //
-// GNU General Public License for more details:                          //
-//                                                                       //
-//          http://www.gnu.org/copyleft/gpl.html                         //
-//                                                                       //
-///////////////////////////////////////////////////////////////////////////
-
-$capabilities = array(
-
-    'report/security:view' => array(
-        'riskbitmask' => RISK_CONFIG,
-        'captype' => 'read',
-        'contextlevel' => CONTEXT_SYSTEM,
-        'archetypes' => array(
-            'manager' => CAP_ALLOW
-        ),
-    )
-);
diff --git a/admin/report/security/settings.php b/admin/report/security/settings.php
deleted file mode 100644 (file)
index 8ea8b23..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-<?php
-
-defined('MOODLE_INTERNAL') || die;
-
-$ADMIN->add('reports', new admin_externalpage('reportsecurity', get_string('pluginname', 'report_security'), "$CFG->wwwroot/$CFG->admin/report/security/index.php",'report/security:view'));
diff --git a/admin/report/security/version.php b/admin/report/security/version.php
deleted file mode 100644 (file)
index a2be4bb..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-<?PHP
-
-///////////////////////////////////////////////////////////////////////////
-//                                                                       //
-// NOTICE OF COPYRIGHT                                                   //
-//                                                                       //
-// Moodle - Modular Object-Oriented Dynamic Learning Environment         //
-//          http://moodle.com                                            //
-//                                                                       //
-// Copyright (C) 1999 onwards  Martin Dougiamas  http://moodle.com       //
-//                                                                       //
-// This program is free software; you can redistribute it and/or modify  //
-// it under the terms of the GNU General Public License as published by  //
-// the Free Software Foundation; either version 2 of the License, or     //
-// (at your option) any later version.                                   //
-//                                                                       //
-// This program is distributed in the hope that it will be useful,       //
-// but WITHOUT ANY WARRANTY; without even the implied warranty of        //
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         //
-// GNU General Public License for more details:                          //
-//                                                                       //
-//          http://www.gnu.org/copyleft/gpl.html                         //
-//                                                                       //
-///////////////////////////////////////////////////////////////////////////
-
-$plugin->version  = 2010090501;
-$plugin->requires = 2010090501;
diff --git a/admin/report/stats/settings.php b/admin/report/stats/settings.php
deleted file mode 100644 (file)
index 0283339..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-<?php
-
-defined('MOODLE_INTERNAL') || die;
-
-// just a link to course report
-$ADMIN->add('reports', new admin_externalpage('reportstats', get_string('stats', 'admin'), "$CFG->wwwroot/course/report/stats/index.php", 'coursereport/stats:view'));
diff --git a/admin/reports.php b/admin/reports.php
new file mode 100644 (file)
index 0000000..e03c928
--- /dev/null
@@ -0,0 +1,134 @@
+<?php
+// This file is part of Moodle - http://moodle.org/
+//
+// Moodle is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// Moodle is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
+
+/**
+ * Provides an overview of installed reports
+ *
+ * Displays the list of found reports, their version (if found) and
+ * a link to delete the report.
+ *
+ * The code is based on admin/localplugins.php by David Mudrak.
+ *
+ * @package   admin
+ * @copyright 2011 Petr Skoda {@link http://skodak.org}
+ * @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
+ */
+
+require_once(dirname(__FILE__) . '/../config.php');
+require_once($CFG->libdir.'/adminlib.php');
+require_once($CFG->libdir.'/tablelib.php');
+
+admin_externalpage_setup('managereports');
+
+$delete  = optional_param('delete', '', PARAM_PLUGIN);
+$confirm = optional_param('confirm', '', PARAM_BOOL);
+
+/// If data submitted, then process and store.
+
+if (!empty($delete) and confirm_sesskey()) {
+    echo $OUTPUT->header();
+    echo $OUTPUT->heading(get_string('reports'));
+
+    if (!$confirm) {
+        if (get_string_manager()->string_exists('pluginname', 'report_' . $delete)) {
+            $strpluginname = get_string('pluginname', 'report_' . $delete);
+        } else {
+            $strpluginname = $delete;
+        }
+        echo $OUTPUT->confirm(get_string('reportsdeleteconfirm', 'admin', $strpluginname),
+                                new moodle_url($PAGE->url, array('delete' => $delete, 'confirm' => 1)),
+                                $PAGE->url);
+        echo $OUTPUT->footer();
+        die();
+
+    } else {
+        uninstall_plugin('report', $delete);
+        $a = new stdclass();
+        $a->name = $delete;
+        $pluginlocation = get_plugin_types();
+        $a->directory = $pluginlocation['report'] . '/' . $delete;
+        echo $OUTPUT->notification(get_string('plugindeletefiles', '', $a), 'notifysuccess');
+        echo $OUTPUT->continue_button($PAGE->url);
+        echo $OUTPUT->footer();
+        die();
+    }
+}
+
+echo $OUTPUT->header();
+echo $OUTPUT->heading(get_string('reports'));
+
+/// Print the table of all installed report plugins
+
+$table = new flexible_table('reportplugins_administration_table');
+$table->define_columns(array('name', 'version', 'delete'));
+$table->define_headers(array(get_string('plugin'), get_string('version'), get_string('delete')));
+$table->define_baseurl($PAGE->url);
+$table->set_attribute('id', 'reportplugins');
+$table->set_attribute('class', 'generaltable generalbox boxaligncenter boxwidthwide');
+$table->setup();
+
+$plugins = array();
+foreach (get_plugin_list('report') as $plugin => $plugindir) {
+    if (get_string_manager()->string_exists('pluginname', 'report_' . $plugin)) {
+        $strpluginname = get_string('pluginname', 'report_' . $plugin);
+    } else {
+        $strpluginname = $plugin;
+    }
+    $plugins[$plugin] = $strpluginname;
+}
+collatorlib::asort($plugins);
+
+$like = $DB->sql_like('plugin', '?', true, true, false, '|');
+$params = array('report|_%');
+$installed = $DB->get_records_select('config_plugins', "$like AND name = 'version'", $params);
+$versions = array();
+foreach ($installed as $config) {
+    $name = preg_replace('/^report_/', '', $config->plugin);
+    $versions[$name] = $config->value;
+    if (!isset($plugins[$name])) {
+        $plugins[$name] = $name;
+    }
+}
+
+foreach ($plugins as $plugin => $name) {
+    $delete = new moodle_url($PAGE->url, array('delete' => $plugin, 'sesskey' => sesskey()));
+    $delete = html_writer::link($delete, get_string('delete'));
+
+    if (!isset($versions[$plugin])) {
+        if (file_exists("$CFG->dirroot/report/$plugin/version.php")) {
+            // not installed yet
+            $version = '?';
+        } else {
+            // no version info available
+            $version = '-';
+        }
+    } else {
+        $version = $versions[$plugin];
+        if (file_exists("$CFG->dirroot/report/$plugin")) {
+            $version = $versions[$plugin];
+        } else {
+            // somebody removed plugin without uninstall
+            $name = '<span class="notifyproblem">'.$name.' ('.get_string('missingfromdisk').')</span>';
+            $version = $versions[$plugin];
+        }
+    }
+
+    $table->add_data(array($name, $version, $delete));
+}
+
+$table->print_html();
+
+echo $OUTPUT->footer();
index 7fc5782..b09ed4f 100644 (file)
@@ -996,13 +996,14 @@ abstract class role_assign_user_selector_base extends user_selector_base {
      */
     public function __construct($name, $options) {
         global $CFG;
-        parent::__construct($name, $options);
-        $this->roleid = $options['roleid'];
         if (isset($options['context'])) {
             $this->context = $options['context'];
         } else {
             $this->context = get_context_instance_by_id($options['contextid']);
         }
+        $options['accesscontext'] = $this->context;
+        parent::__construct($name, $options);
+        $this->roleid = $options['roleid'];
         require_once($CFG->dirroot . '/group/lib.php');
     }
 
index e05d3e4..15bac9d 100644 (file)
@@ -454,24 +454,27 @@ if ($hassiteconfig) {
             $ADMIN->add('coursereports', $page);
         }
     }
+    unset($pages);
 }
 
 // Now add reports
-foreach (get_plugin_list('report') as $plugin => $plugindir) {
+$pages = array();
+foreach (get_plugin_list('report') as $report => $plugindir) {
     $settings_path = "$plugindir/settings.php";
     if (file_exists($settings_path)) {
+        $settings = new admin_settingpage('report' . $report,
+                get_string('pluginname', 'report_' . $report), 'moodle/site:config');
         include($settings_path);
-        continue;
-    }
-
-    $index_path = "$plugindir/index.php";
-    if (!file_exists($index_path)) {
-        continue;
+        if ($settings) {
+            $pages[] = $settings;
+        }
     }
-    // old style 3rd party plugin without settings.php
-    $www_path = "$CFG->wwwroot/$CFG->admin/report/$plugin/index.php";
-    $reportname = get_string($plugin, 'report_' . $plugin);
-    $ADMIN->add('reports', new admin_externalpage('report'.$plugin, $reportname, $www_path, 'moodle/site:viewreports'));
+}
+$ADMIN->add('modules', new admin_category('reportplugins', get_string('reports')));
+$ADMIN->add('reportplugins', new admin_externalpage('managereports', get_string('reportsmanage', 'admin'),
+                                                    $CFG->wwwroot . '/' . $CFG->admin . '/reports.php'));
+foreach ($pages as $page) {
+    $ADMIN->add('reportplugins', $page);
 }
 
 // Now add various admin tools
index cf782b2..02d49b0 100644 (file)
@@ -123,9 +123,24 @@ if ($hassiteconfig
                              'mycourses' => get_string('mycourses'),
                              'groups' => get_string('groups'))));
 
-        $temp->add(new admin_setting_configmulticheckbox('extrauserselectorfields',
-                get_string('extrauserselectorfields', 'admin'), get_string('configextrauserselectorfields', 'admin'), array('email' => '1'),
-                array('email' => get_string('email'), 'idnumber' => get_string('idnumber'), 'username' => get_string('username'), )));
+        // Select fields to display as part of user identity (only to those
+        // with moodle/site:viewuseridentity).
+        // Options include fields from the user table that might be helpful to
+        // distinguish when adding or listing users ('I want to add the John
+        // Smith from Science faculty').
+        // Username is not included as an option because in some sites, it might
+        // be a security problem to reveal usernames even to trusted staff.
+        // Custom user profile fields are not currently supported.
+        $temp->add(new admin_setting_configmulticheckbox('showuseridentity',
+                get_string('showuseridentity', 'admin'),
+                get_string('showuseridentity_desc', 'admin'), array('email' => 1), array(
+                    'idnumber'    => get_string('idnumber'),
+                    'email'       => get_string('email'),
+                    'phone1'      => get_string('phone'),
+                    'phone2'      => get_string('phone2'),
+                    'department'  => get_string('department'),
+                    'institution' => get_string('institution'),
+                )));
         $temp->add(new admin_setting_configcheckbox('enablegravatar', get_string('enablegravatar', 'admin'), get_string('enablegravatar_help', 'admin'), 0));
     }
 
index 2827ccf..9453dbf 100644 (file)
@@ -7,7 +7,7 @@
     $delete       = optional_param('delete', 0, PARAM_INT);
     $confirm      = optional_param('confirm', '', PARAM_ALPHANUM);   //md5 confirmation hash
     $confirmuser  = optional_param('confirmuser', 0, PARAM_INT);
-    $sort         = optional_param('sort', 'name', PARAM_ALPHA);
+    $sort         = optional_param('sort', 'name', PARAM_ALPHANUM);
     $dir          = optional_param('dir', 'ASC', PARAM_ALPHA);
     $page         = optional_param('page', 0, PARAM_INT);
     $perpage      = optional_param('perpage', 30, PARAM_INT);        // how many per page
     echo $OUTPUT->header();
 
     // Carry on with the user listing
-
-    $columns = array("firstname", "lastname", "email", "city", "country", "lastaccess");
+    $context = context_system::instance();
+    $extracolumns = get_extra_user_fields($context);
+    $columns = array_merge(array('firstname', 'lastname'), $extracolumns,
+            array('city', 'country', 'lastaccess'));
 
     foreach ($columns as $column) {
-        $string[$column] = get_string("$column");
+        $string[$column] = get_user_field_name($column);
         if ($sort != $column) {
             $columnicon = "";
             if ($column == "lastaccess") {
     }
 
     list($extrasql, $params) = $ufiltering->get_sql_filter();
-    $users = get_users_listing($sort, $dir, $page*$perpage, $perpage, '', '', '', $extrasql, $params);
+    $users = get_users_listing($sort, $dir, $page*$perpage, $perpage, '', '', '',
+            $extrasql, $params, $context);
     $usercount = get_users(false);
     $usersearchcount = get_users(false, '', true, null, "", '', '', '', '', '*', $extrasql, $params);
 
         }
 
         $table = new html_table();
-        $table->head = array ($fullnamedisplay, $email, $city, $country, $lastaccess, "", "", "");
-        $table->align = array ("left", "left", "left", "left", "left", "center", "center", "center");
+        $table->head = array ();
+        $table->align = array();
+        $table->head[] = $fullnamedisplay;
+        $table->align[] = 'left';
+        foreach ($extracolumns as $field) {
+            $table->head[] = ${$field};
+            $table->align[] = 'left';
+        }
+        $table->head[] = $city;
+        $table->align[] = 'left';
+        $table->head[] = $country;
+        $table->align[] = 'left';
+        $table->head[] = $lastaccess;
+        $table->align[] = 'left';
+        $table->head[] = "";
+        $table->align[] = 'center';
+        $table->head[] = "";
+        $table->align[] = 'center';
+        $table->head[] = "";
+        $table->align[] = 'center';
+
         $table->width = "95%";
         foreach ($users as $user) {
             if (isguestuser($user)) {
             }
             $fullname = fullname($user, true);
 
-            $table->data[] = array ("<a href=\"../user/view.php?id=$user->id&amp;course=$site->id\">$fullname</a>",
-                                "$user->email",
-                                "$user->city",
-                                "$user->country",
-                                $strlastaccess,
-                                $editbutton,
-                                $deletebutton,
-                                $confirmbutton);
+            $row = array ();
+            $row[] = "<a href=\"../user/view.php?id=$user->id&amp;course=$site->id\">$fullname</a>";
+            foreach ($extracolumns as $field) {
+                $row[] = $user->{$field};
+            }
+            $row[] = $user->city;
+            $row[] = $user->country;
+            $row[] = $strlastaccess;
+            $row[] = $editbutton;
+            $row[] = $deletebutton;
+            $row[] = $confirmbutton;
+            $table->data[] = $row;
         }
     }
 
index b4e733c..f6938f3 100644 (file)
@@ -132,6 +132,10 @@ class auth_plugin_mnet extends auth_plugin_base {
         global $CFG, $USER, $DB;
         require_once $CFG->dirroot . '/mnet/xmlrpc/client.php';
 
+        if (session_is_loggedinas()) {
+            print_error('notpermittedtojumpas', 'mnet');
+        }
+
         // check remote login permissions
         if (! has_capability('moodle/site:mnetlogintoremote', get_system_context())
                 or is_mnet_remote_user($USER)
index d3e1761..328307e 100644 (file)
@@ -1,6 +1,7 @@
 This files describes API changes in /auth/* - plugins,
 information provided here is intended especially for developers.
 
+
 === 2.2 ===
 
 required changes in code:
index 51c0ec6..441ed10 100644 (file)
@@ -41,7 +41,8 @@ abstract class backup implements checksumable {
     // Backup format
     const FORMAT_MOODLE  = 'moodle2';
     const FORMAT_MOODLE1 = 'moodle1';
-    const FORMAT_IMSCC   = 'imscc';
+    const FORMAT_IMSCC1  = 'imscc1';
+    const FORMAT_IMSCC11 = 'imscc11';
     const FORMAT_UNKNOWN = 'unknown';
 
     // Interactive
diff --git a/backup/cc/cc112moodle.php b/backup/cc/cc112moodle.php
new file mode 100644 (file)
index 0000000..79928ba
--- /dev/null
@@ -0,0 +1,213 @@
+<?php
+
+// This file is part of Moodle - http://moodle.org/
+//
+// Moodle is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// Moodle is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
+/**
+ * @package   moodlecore
+ * @subpackage backup-imscc
+ * @copyright 2011 Darko Miletic (dmiletic@moodlerooms.com)
+ * @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
+ */
+
+defined('MOODLE_INTERNAL') or die('Direct access to this script is forbidden.');
+
+require_once($CFG->dirroot . '/backup/cc/cc2moodle.php');
+require_once($CFG->dirroot . '/backup/cc/entities11.class.php');
+require_once($CFG->dirroot . '/backup/cc/entity11.resource.class.php');
+require_once($CFG->dirroot . '/backup/cc/entity11.forum.class.php');
+require_once($CFG->dirroot . '/backup/cc/entity11.quiz.class.php');
+require_once($CFG->dirroot . '/backup/cc/entity11.lti.class.php');
+
+class cc112moodle extends cc2moodle {
+    const CC_TYPE_FORUM              = 'imsdt_xmlv1p1';
+    const CC_TYPE_QUIZ               = 'imsqti_xmlv1p2/imscc_xmlv1p1/assessment';
+    const CC_TYPE_QUESTION_BANK      = 'imsqti_xmlv1p2/imscc_xmlv1p1/question-bank';
+    const CC_TYPE_WEBLINK            = 'imswl_xmlv1p1';
+    const CC_TYPE_ASSOCIATED_CONTENT = 'associatedcontent/imscc_xmlv1p1/learning-application-resource';
+    const CC_TYPE_BASICLTI           = 'imsbasiclti_xmlv1p0';
+
+    public static $namespaces = array('imscc'    => 'http://www.imsglobal.org/xsd/imsccv1p1/imscp_v1p1',
+                                      'lomimscc' => 'http://ltsc.ieee.org/xsd/imsccv1p1/LOM/manifest',
+                                      'lom'      => 'http://ltsc.ieee.org/xsd/imsccv1p1/LOM/resource',
+                                      'xsi'      => 'http://www.w3.org/2001/XMLSchema-instance',
+                                      'cc'       => 'http://www.imsglobal.org/xsd/imsccv1p1/imsccauth_v1p1');
+
+    public static $restypes = array('associatedcontent/imscc_xmlv1p1/learning-application-resource', 'webcontent');
+    public static $forumns  = array('dt' => 'http://www.imsglobal.org/xsd/imsccv1p1/imsdt_v1p1');
+    public static $quizns   = array('xmlns' => 'http://www.imsglobal.org/xsd/ims_qtiasiv1p2');
+    public static $resourcens = array('wl' => 'http://www.imsglobal.org/xsd/imsccv1p1/imswl_v1p1');
+    public static $basicltins = array(
+                                       'xmlns' => 'http://www.imsglobal.org/xsd/imslticc_v1p0',
+                                       'blti'  => 'http://www.imsglobal.org/xsd/imsbasiclti_v1p0',
+                                       'lticm' => 'http://www.imsglobal.org/xsd/imslticm_v1p0',
+                                       'lticp' => 'http://www.imsglobal.org/xsd/imslticp_v1p0'
+                                      );
+
+
+    public function __construct($path_to_manifest) {
+        parent::__construct($path_to_manifest);
+    }
+
+    public function generate_moodle_xml () {
+
+        global $CFG;
+        $cdir = static::$path_to_manifest_folder . DIRECTORY_SEPARATOR . 'course_files';
+
+        if (!file_exists($cdir)) {
+            mkdir($cdir);
+        }
+
+        $sheet_base = static::loadsheet(SHEET_BASE);
+
+        // MOODLE_BACKUP / INFO / DETAILS / MOD
+        $node_info_details_mod = $this->create_code_info_details_mod();
+
+        // MOODLE_BACKUP / BLOCKS / BLOCK
+        $node_course_blocks_block = $this->create_node_course_blocks_block();
+
+        // MOODLE_BACKUP / COURSES / SECTIONS / SECTION
+        $node_course_sections_section = $this->create_node_course_sections_section();
+
+        // MOODLE_BACKUP / COURSES / QUESTION_CATEGORIES
+        $node_course_question_categories = $this->create_node_question_categories();
+
+        // MOODLE_BACKUP / COURSES / MODULES / MOD
+        $node_course_modules_mod = $this->create_node_course_modules_mod();
+
+        // MOODLE_BACKUP / COURSE / HEADER
+        $node_course_header = $this->create_node_course_header();
+
+        // GENERAL INFO
+        $filename = optional_param('file', 'not_available.zip', PARAM_RAW);
+        $filename = basename($filename);
+
+        $www_root = $CFG->wwwroot;
+
+        $find_tags = array('[#zip_filename#]',
+                               '[#www_root#]',
+                               '[#node_course_header#]',
+                               '[#node_info_details_mod#]',
+                               '[#node_course_blocks_block#]',
+                               '[#node_course_sections_section#]',
+                               '[#node_course_question_categories#]',
+                               '[#node_course_modules#]');
+
+        $replace_values = array($filename,
+        $www_root,
+        $node_course_header,
+        $node_info_details_mod,
+        $node_course_blocks_block,
+        $node_course_sections_section,
+        $node_course_question_categories,
+        $node_course_modules_mod);
+
+        $result_xml = str_replace($find_tags, $replace_values, $sheet_base);
+
+        // COPY RESOURSE FILES
+        $entities = new entities11();
+
+        $entities->move_all_files();
+
+        if (array_key_exists("index", self::$instances)) {
+
+            if (!file_put_contents(static::$path_to_manifest_folder . DIRECTORY_SEPARATOR . 'moodle.xml', $result_xml)) {
+                static::log_action('Cannot save the moodle manifest file: ' . static::$path_to_tmp_folder . DIRECTORY_SEPARATOR . 'moodle.xml', true);
+            } else {
+                $status = true;
+            }
+
+        } else {
+            $status = false;
+            static::log_action('The course is empty', false);
+        }
+
+        return $status;
+
+    }
+
+    public function convert_to_moodle_type ($cc_type) {
+        $type = parent::convert_to_moodle_type($cc_type);
+
+        if ($type == TYPE_UNKNOWN) {
+            if ($cc_type == static::CC_TYPE_BASICLTI) {
+                $type = MOODLE_TYPE_LTI;
+            }
+        }
+
+        return $type;
+    }
+
+    protected function create_node_question_categories () {
+
+        $quiz = new cc11_quiz();
+
+        static::log_action('Creating node: QUESTION_CATEGORIES');
+
+        $node_course_question_categories = $quiz->generate_node_question_categories();
+
+        return $node_course_question_categories;
+    }
+
+    protected function create_code_info_details_mod () {
+        $result = parent::create_code_info_details_mod();
+
+        $count_blti = $this->count_instances(MOODLE_TYPE_LTI);
+
+        $sheet_info_details_mod_instances_instance = static::loadsheet(SHEET_INFO_DETAILS_MOD_INSTANCE);
+
+        $blti_mod = '';
+
+        if ($count_blti > 0) {
+            $blti_instance = $this->create_mod_info_details_mod_instances_instance($sheet_info_details_mod_instances_instance,&