Point the Client portal tab's notice to Modules, where the client portal is switched on, instead of Settings > Client Portal, and give the sign-in field in the Turn on portal access window a sign-in icon so it doesn't show two keys

This commit is contained in:
johnnyq
2026-11-10 15:47:40 -05:00
parent a85bcc1169
commit 1cafa86aaa
2 changed files with 2 additions and 2 deletions

View File

@@ -49,7 +49,7 @@ if (!$portal_user) { ?>
<div class="mb-3">
<label class="form-label">They sign in</label>
<div class="input-group">
<span class="input-group-text"><i class="fas fa-fw fa-key"></i></span>
<span class="input-group-text"><i class="fas fa-fw fa-sign-in-alt"></i></span>
<select class="form-select select2" name="method">
<?php foreach ($methods as $method => $label) { ?>
<option value="<?= $method ?>"<?= selectOptionData(['icon' => $method === 'azure' ? 'fab fa-microsoft' : 'fas fa-key']) ?>><?= escapeHtml($label) ?></option>

View File

@@ -389,7 +389,7 @@ $csrf = $_SESSION['csrf_token'];
<?php if (!intval($config_client_portal_enable)) { ?>
<div class="alert alert-warning border-0 rounded-0 mb-0 px-3 py-2 small" data-portal-off>
<i class="fas fa-exclamation-triangle me-2"></i>The client portal is turned off, so nobody here can sign in. Turn it on in <a href="settings_client_portal.php" class="alert-link">Settings &gt; Client Portal</a>.
<i class="fas fa-exclamation-triangle me-2"></i>The client portal is off, so nobody here can sign in - turn it on in <a href="settings_module.php" class="alert-link">Modules</a>.
</div>
<?php } ?>