Rename marketplace plugin to meetletacbfree (mdl_modules.name limit + CI table prefixes)

This commit is contained in:
2026-09-01 23:24:11 +03:30
parent 555cd725f7
commit d987994ded
77 changed files with 1497 additions and 1322 deletions
+20 -20
View File
@@ -17,14 +17,14 @@
/**
* Reset-to-default controls for access settings (role mapping + feature matrix).
*
* @package mod_meetletacbmarketplace
* @package mod_meetletacbfree
* @copyright 2026 MeetLet <info@meetlet.net>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
namespace mod_meetletacbmarketplace\admin;
namespace mod_meetletacbfree\admin;
use mod_meetletacbmarketplace\local\icons;
use mod_meetletacbfree\local\icons;
use moodle_url;
defined('MOODLE_INTERNAL') || die();
@@ -41,9 +41,9 @@ class access_reset_ui {
*/
public static function toolbar(string $section): string {
if ($section === 'rolemapping') {
$label = get_string('reset_rolemapping', 'meetletacbmarketplace');
$label = get_string('reset_rolemapping', 'meetletacbfree');
} else if ($section === 'featureaccess') {
$label = get_string('reset_featureaccess', 'meetletacbmarketplace');
$label = get_string('reset_featureaccess', 'meetletacbfree');
} else {
return '';
}
@@ -88,18 +88,18 @@ class access_reset_ui {
*/
public static function client_strings(): array {
return [
'modal_cancel' => get_string('accessreset_modal_cancel', 'meetletacbmarketplace'),
'modal_close' => get_string('accessreset_modal_close', 'meetletacbmarketplace'),
'modal_ok' => get_string('accessreset_modal_ok', 'meetletacbmarketplace'),
'confirm_reset' => get_string('accessreset_confirm_reset', 'meetletacbmarketplace'),
'confirm_rolemapping_title' => get_string('reset_rolemapping_confirm_title', 'meetletacbmarketplace'),
'confirm_rolemapping' => get_string('reset_rolemapping_confirm', 'meetletacbmarketplace'),
'confirm_featureaccess_title' => get_string('reset_featureaccess_confirm_title', 'meetletacbmarketplace'),
'confirm_featureaccess' => get_string('reset_featureaccess_confirm', 'meetletacbmarketplace'),
'success_rolemapping' => get_string('reset_success_rolemapping', 'meetletacbmarketplace'),
'success_featureaccess' => get_string('reset_success_featureaccess', 'meetletacbmarketplace'),
'error' => get_string('reset_error', 'meetletacbmarketplace'),
'busy' => get_string('accessreset_busy', 'meetletacbmarketplace'),
'modal_cancel' => get_string('accessreset_modal_cancel', 'meetletacbfree'),
'modal_close' => get_string('accessreset_modal_close', 'meetletacbfree'),
'modal_ok' => get_string('accessreset_modal_ok', 'meetletacbfree'),
'confirm_reset' => get_string('accessreset_confirm_reset', 'meetletacbfree'),
'confirm_rolemapping_title' => get_string('reset_rolemapping_confirm_title', 'meetletacbfree'),
'confirm_rolemapping' => get_string('reset_rolemapping_confirm', 'meetletacbfree'),
'confirm_featureaccess_title' => get_string('reset_featureaccess_confirm_title', 'meetletacbfree'),
'confirm_featureaccess' => get_string('reset_featureaccess_confirm', 'meetletacbfree'),
'success_rolemapping' => get_string('reset_success_rolemapping', 'meetletacbfree'),
'success_featureaccess' => get_string('reset_success_featureaccess', 'meetletacbfree'),
'error' => get_string('reset_error', 'meetletacbfree'),
'busy' => get_string('accessreset_busy', 'meetletacbfree'),
];
}
@@ -116,7 +116,7 @@ class access_reset_ui {
'type' => 'button',
'class' => 'meetlet-modal__close',
'data-meetlet-modal-dismiss' => '1',
'aria-label' => get_string('accessreset_modal_close', 'meetletacbmarketplace'),
'aria-label' => get_string('accessreset_modal_close', 'meetletacbfree'),
]),
'meetlet-modal__head'
) .
@@ -124,12 +124,12 @@ class access_reset_ui {
'id' => 'meetlet-access-reset-modal-body',
]) .
\html_writer::div(
\html_writer::tag('button', get_string('accessreset_modal_cancel', 'meetletacbmarketplace'), [
\html_writer::tag('button', get_string('accessreset_modal_cancel', 'meetletacbfree'), [
'type' => 'button',
'class' => 'btn btn-outline-secondary',
'data-meetlet-modal-dismiss' => '1',
]) .
\html_writer::tag('button', get_string('accessreset_confirm_reset', 'meetletacbmarketplace'), [
\html_writer::tag('button', get_string('accessreset_confirm_reset', 'meetletacbfree'), [
'type' => 'button',
'class' => 'btn btn-outline-danger',
'id' => 'meetlet-access-reset-modal-confirm',