Fix offline: load com_users lang, card width 720px. Bump 03.09.26
Some checks failed
Repo Health / Access control (push) Successful in 1s
Repo Health / Release configuration (push) Failing after 4s
Repo Health / Scripts governance (push) Successful in 3s
Repo Health / Repository health (push) Failing after 4s

- Load com_users and core language files for LOGIN_RESET, LOGIN_REMIND,
  SKIP_TO_CONTENT keys
- Card max-width 640px → 720px (matches clarksvillefurs.com)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Jonathan Miller
2026-04-18 15:04:38 -05:00
parent cd0f21be5c
commit ba4f1cacaf
6 changed files with 23 additions and 25 deletions

View File

@@ -36,10 +36,13 @@ if (is_file($manifestPath)) {
$wa->getRegistry()->addRegistryFile($manifestPath);
}
// Load template language files (not auto-loaded in offline context)
// Load language files (not auto-loaded in offline context)
$lang = Factory::getLanguage();
$lang->load('tpl_' . $this->template, JPATH_ROOT . '/templates/' . $this->template);
$lang->load('tpl_' . $this->template, JPATH_ROOT);
$lang->load('com_users', JPATH_ROOT);
$lang->load('com_users', JPATH_ROOT . '/components/com_users');
$lang->load('', JPATH_ROOT);
/* -----------------------
Load assets via WebAssetManager (matches index.php pattern)