Rename marketplace plugin to meetletacbfree (mdl_modules.name limit + CI table prefixes)
This commit is contained in:
@@ -17,17 +17,17 @@
|
||||
/**
|
||||
* View page renderable.
|
||||
*
|
||||
* @package mod_meetletacbmarketplace
|
||||
* @package mod_meetletacbfree
|
||||
* @copyright 2026 MeetLet
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
namespace mod_meetletacbmarketplace\output;
|
||||
namespace mod_meetletacbfree\output;
|
||||
|
||||
use mod_meetletacbmarketplace\local\featureaccess;
|
||||
use mod_meetletacbmarketplace\local\icons;
|
||||
use mod_meetletacbmarketplace\local\instance;
|
||||
use mod_meetletacbmarketplace\local\meetingstatus;
|
||||
use mod_meetletacbfree\local\featureaccess;
|
||||
use mod_meetletacbfree\local\icons;
|
||||
use mod_meetletacbfree\local\instance;
|
||||
use mod_meetletacbfree\local\meetingstatus;
|
||||
use renderable;
|
||||
use renderer_base;
|
||||
use templatable;
|
||||
@@ -69,11 +69,11 @@ class view_page implements renderable, templatable {
|
||||
$startts = (int)$lifecycle['starttime'];
|
||||
$endts = (int)$lifecycle['endtime'];
|
||||
|
||||
$intro = format_module_intro('meetletacbmarketplace', $rec, $this->instance->cm->id);
|
||||
$intro = format_module_intro('meetletacbfree', $rec, $this->instance->cm->id);
|
||||
$tabs = [
|
||||
[
|
||||
'id' => 'details',
|
||||
'label' => get_string('tabdetails', 'meetletacbmarketplace'),
|
||||
'label' => get_string('tabdetails', 'meetletacbfree'),
|
||||
'icon' => icons::svg('details'),
|
||||
'active' => true,
|
||||
],
|
||||
@@ -81,7 +81,7 @@ class view_page implements renderable, templatable {
|
||||
if (featureaccess::allowed(featureaccess::RECORDINGS, $this->instance->context, $rec)) {
|
||||
$tabs[] = [
|
||||
'id' => 'recordings',
|
||||
'label' => get_string('tabrecordings', 'meetletacbmarketplace'),
|
||||
'label' => get_string('tabrecordings', 'meetletacbfree'),
|
||||
'icon' => icons::svg('recordings'),
|
||||
'active' => false,
|
||||
];
|
||||
@@ -89,7 +89,7 @@ class view_page implements renderable, templatable {
|
||||
if (featureaccess::allowed(featureaccess::CONTENT, $this->instance->context, $rec)) {
|
||||
$tabs[] = [
|
||||
'id' => 'content',
|
||||
'label' => get_string('tabcontent', 'meetletacbmarketplace'),
|
||||
'label' => get_string('tabcontent', 'meetletacbfree'),
|
||||
'icon' => icons::svg('content'),
|
||||
'active' => false,
|
||||
];
|
||||
@@ -104,12 +104,12 @@ class view_page implements renderable, templatable {
|
||||
'name' => format_string($rec->name),
|
||||
'intro' => $intro,
|
||||
'hasintro' => trim(strip_tags($intro)) !== '',
|
||||
'detailstitle' => get_string('tabdetails', 'meetletacbmarketplace'),
|
||||
'emptydetails' => get_string('emptydetails', 'meetletacbmarketplace'),
|
||||
'detailstitle' => get_string('tabdetails', 'meetletacbfree'),
|
||||
'emptydetails' => get_string('emptydetails', 'meetletacbfree'),
|
||||
'configured' => $this->configured,
|
||||
'notconfiguredmsg' => get_string('notconfigured', 'meetletacbmarketplace'),
|
||||
'subtitle' => get_string('subtitle', 'meetletacbmarketplace'),
|
||||
'logourl' => $output->image_url('adobeconnect', 'meetletacbmarketplace')->out(false),
|
||||
'notconfiguredmsg' => get_string('notconfigured', 'meetletacbfree'),
|
||||
'subtitle' => get_string('subtitle', 'meetletacbfree'),
|
||||
'logourl' => $output->image_url('adobeconnect', 'meetletacbfree')->out(false),
|
||||
'status' => $status,
|
||||
'statuslabel' => $statuslabel,
|
||||
'statusmessage' => (string)$lifecycle['message'],
|
||||
@@ -117,10 +117,10 @@ class view_page implements renderable, templatable {
|
||||
'endtime' => $endts ? userdate($endts) : '',
|
||||
'hasend' => !empty($endts),
|
||||
'tabs' => $tabs,
|
||||
'loading' => get_string('loading', 'meetletacbmarketplace'),
|
||||
'joining' => get_string('joining', 'meetletacbmarketplace'),
|
||||
'joiningtitle' => get_string('joiningtitle', 'meetletacbmarketplace'),
|
||||
'joinlabel' => get_string('joinmeeting', 'meetletacbmarketplace'),
|
||||
'loading' => get_string('loading', 'meetletacbfree'),
|
||||
'joining' => get_string('joining', 'meetletacbfree'),
|
||||
'joiningtitle' => get_string('joiningtitle', 'meetletacbfree'),
|
||||
'joinlabel' => get_string('joinmeeting', 'meetletacbfree'),
|
||||
'canjoin' => $featurejoin,
|
||||
'joinable' => $joinable,
|
||||
'statuspollseconds' => $this->registrationusable ? 15 : 0,
|
||||
|
||||
Reference in New Issue
Block a user