Files
MokoSuiteClient/source/packages/com_mokosuiteclient/admin/src/View/Database/HtmlView.php
T
jmiller e563d08543
Universal: Auto Version Bump / Version Bump (push) Successful in 10s
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 24s
Platform: moko-platform CI / Gate 1: Code Quality (push) Failing after 39s
Platform: moko-platform CI / Gate 2: Unit Tests (8.1) (push) Has been cancelled
Platform: moko-platform CI / Gate 2: Unit Tests (8.2) (push) Has been cancelled
Platform: moko-platform CI / Gate 2: Unit Tests (8.3) (push) Has been cancelled
Platform: moko-platform CI / Gate 3: Self-Health Check (push) Has been cancelled
Platform: moko-platform CI / Gate 4: Governance (push) Has been cancelled
Platform: moko-platform CI / Gate 5: Template Integrity (push) Has been cancelled
Platform: moko-platform CI / CI Summary (push) Has been cancelled
feat: SupportPinHelper, 4-button status bar, help buttons, PIN in heartbeat
- Add shared SupportPinHelper for consistent PIN generation across
  dashboard, cpanel module, cache module, and AJAX controller
- Cache module status bar now has 4 buttons: Site (frontend link),
  Support PIN, Clear Cache, Clear Temp
- Add ToolbarHelper::help() to all 10 admin views pointing to
  Gitea wiki pages
- Include support PIN in heartbeat payload to MokoSuiteHQ
- Fix license plugin missing src/ and language/ directories
- Refactor dashboard and cpanel module to use SupportPinHelper
2026-06-25 08:31:21 -05:00

29 lines
910 B
PHP

<?php
namespace Moko\Component\MokoSuiteClient\Administrator\View\Database;
defined('_JEXEC') or die;
use Joomla\CMS\Factory;
use Joomla\CMS\MVC\View\HtmlView as BaseHtmlView;
use Joomla\CMS\Toolbar\ToolbarHelper;
class HtmlView extends BaseHtmlView
{
protected $tableData = [];
public function display($tpl = null)
{
$model = new \Moko\Component\MokoSuiteClient\Administrator\Model\MaintenanceModel();
$this->tableData = $model->getTableStatus();
ToolbarHelper::title('Database Tools', 'database');
ToolbarHelper::back('JTOOLBAR_BACK', 'index.php?option=com_mokosuiteclient');
ToolbarHelper::help('', false, 'https://git.mokoconsulting.tech/MokoConsulting/MokoSuiteClient/wiki/Database');
$wa = Factory::getApplication()->getDocument()->getWebAssetManager();
$wa->registerAndUseStyle('com_mokosuiteclient.dashboard', 'com_mokosuiteclient/dashboard.css');
parent::display($tpl);
}
}