Address Moodle Marketplace review for mod_meetletacbfree 1.1.3.
Migrate legacy ajax/JS to external services and AMD, enable TLS verification, scope admin CSS with RTLCSS-safe rules, and fix README/lang/boilerplate gaps. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -25,7 +25,6 @@
|
||||
namespace mod_meetletacbfree\admin;
|
||||
|
||||
use mod_meetletacbfree\local\icons;
|
||||
use moodle_url;
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
@@ -65,7 +64,7 @@ class access_reset_ui {
|
||||
/**
|
||||
* Modal + config root (render once on the access settings tab).
|
||||
*/
|
||||
public static function page_assets(moodle_url $ajaxurl): string {
|
||||
public static function page_assets(): string {
|
||||
if (self::$assetsrendered) {
|
||||
return '';
|
||||
}
|
||||
@@ -75,8 +74,6 @@ class access_reset_ui {
|
||||
$html = \html_writer::div('', '', [
|
||||
'id' => 'meetlet-access-reset-root',
|
||||
'hidden' => 'hidden',
|
||||
'data-endpoint' => $ajaxurl->out(false),
|
||||
'data-sesskey' => sesskey(),
|
||||
'data-strings' => json_encode($strings, JSON_UNESCAPED_UNICODE),
|
||||
]);
|
||||
$html .= self::modal_html();
|
||||
|
||||
Reference in New Issue
Block a user