From 9d3ec28504e22fb555976aae52834cdcff642711 Mon Sep 17 00:00:00 2001 From: Jonathan Miller Date: Tue, 23 Jun 2026 11:20:23 -0500 Subject: [PATCH] style(cpanel): mirror dashboard info strip in cpanel module header Shows site name, MokoSuite version, Support PIN, Joomla/PHP/DB badges, debug/offline flags, IP, and dashboard link in a single info row. Collapse toggle moved below with plugin count summary. --- .../tmpl/default.php | 43 +++++++++++-------- 1 file changed, 26 insertions(+), 17 deletions(-) diff --git a/source/packages/mod_mokosuiteclient_cpanel/tmpl/default.php b/source/packages/mod_mokosuiteclient_cpanel/tmpl/default.php index 7ab53552..412b8ae7 100644 --- a/source/packages/mod_mokosuiteclient_cpanel/tmpl/default.php +++ b/source/packages/mod_mokosuiteclient_cpanel/tmpl/default.php @@ -60,40 +60,49 @@ $diskColor = ($diskPct !== null && $diskPct > 90) ? 'bg-danger' : (($diskPct !== ?>
- -
- - - MokoSuite - mokosuiteclient_version ?? ''); ?> + +
+ sitename ?? ''); ?> + MokoSuite mokosuiteclient_version ?? ''); ?> - + + Jjoomla_version ?? ''); ?> + PHP php_version ?? ''); ?> + db_type ?? ''); ?> debug)): ?> - Debug + Debug ON offline)): ?> Offline moko_updates ?? 0) > 0): ?> - moko_updates; ?> MokoSuite updatemoko_updates > 1 ? 's' : ''; ?> + moko_updates; ?> updatemoko_updates > 1 ? 's' : ''; ?> - updates > 0 && $counts->updates !== ($counts->moko_updates ?? 0)): ?> - - updates - ($counts->moko_updates ?? 0); ?> updateupdates - ($counts->moko_updates ?? 0)) > 1 ? 's' : ''; ?> - - - + + +
+ + +
+ + / plugins active + updates > 0 && $counts->updates !== ($counts->moko_updates ?? 0)): ?> + + updates - ($counts->moko_updates ?? 0); ?> other updateupdates - ($counts->moko_updates ?? 0)) > 1 ? 's' : ''; ?> + + +