mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 02:16:41 +02:00
Merge branch 'MDL-71569_Summarydata' of https://github.com/brickfield/moodle into MOODLE_311_STABLE
This commit is contained in:
commit
439d1cf29d
2 changed files with 24 additions and 2 deletions
|
@ -1,7 +1,23 @@
|
||||||
# Accessibility plugin #
|
# Brickfield accessibility tool plugin #
|
||||||
|
|
||||||
|
Copyright (C) 2021 [Brickfield Education Labs](https://www.brickfield.ie/)
|
||||||
|
|
||||||
The Accessibility admin tool plugin provides a simple means of checking content for any accessibility issues.
|
The Accessibility admin tool plugin provides a simple means of checking content for any accessibility issues.
|
||||||
|
|
||||||
|
Created by an enthusiastic team from Brickfield Education Labs, including:
|
||||||
|
* Karen Holland
|
||||||
|
* Gavin Henrick
|
||||||
|
* Mike Churchward
|
||||||
|
* Renée Mackey
|
||||||
|
* Laia Joana Canet
|
||||||
|
* Jay Churchward
|
||||||
|
* Paul Ffrench
|
||||||
|
* Holly Lynn
|
||||||
|
* Michael Pound
|
||||||
|
* Max Larkin
|
||||||
|
|
||||||
|
with a little help from our friends.
|
||||||
|
|
||||||
Portions of the htmlchecker files were derived from the ["Quail PHP Accessibility Library"](https://code.google.com/archive/p/quail-lib/).
|
Portions of the htmlchecker files were derived from the ["Quail PHP Accessibility Library"](https://code.google.com/archive/p/quail-lib/).
|
||||||
The Quail library (Copyright (C) 2009 Kevin Miller) is licensed under [GNU GPL v3](http://www.gnu.org/licenses/gpl.html).
|
The Quail library (Copyright (C) 2009 Kevin Miller) is licensed under [GNU GPL v3](http://www.gnu.org/licenses/gpl.html).
|
||||||
See the LICENSE_QUAIL.txt file in this directory for original Quail license information.
|
See the LICENSE_QUAIL.txt file in this directory for original Quail license information.
|
||||||
|
|
|
@ -85,6 +85,12 @@ class brickfieldconnect extends curl {
|
||||||
}
|
}
|
||||||
|
|
||||||
$headers = $this->get_common_headers();
|
$headers = $this->get_common_headers();
|
||||||
|
|
||||||
|
// Sanity-check $headers 'id' value.
|
||||||
|
if (!isset($headers['id'])) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
$this->set_headers($headers);
|
$this->set_headers($headers);
|
||||||
$summary = accessibility::get_summary_data($headers['id']);
|
$summary = accessibility::get_summary_data($headers['id']);
|
||||||
$body = json_encode($summary, JSON_UNESCAPED_SLASHES);
|
$body = json_encode($summary, JSON_UNESCAPED_SLASHES);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue