mirror of
https://github.com/myronblair/tomsjavajive
synced 2026-06-30 17:50:32 -05:00
Add Google OAuth admin login; fix header comment; both auth methods active
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
/**
|
||||
* Tom's Java Jive - Admin Header
|
||||
* Authentication temporarily disabled
|
||||
* Requires AdminAuth::require() — redirects to login.php
|
||||
*/
|
||||
|
||||
require_once __DIR__ . '/../../includes/auth.php';
|
||||
@@ -105,10 +105,10 @@ $currentPage = basename($_SERVER['PHP_SELF'], '.php');
|
||||
<a href="/admin/campaigns.php" class="nav-item <?= $currentPage === 'campaigns' ? 'active' : '' ?>">
|
||||
<i class="fas fa-envelope"></i> Email Campaigns
|
||||
</a>
|
||||
<a href="/admin/email-log.php" class="nav-item <?= $currentPage === 'email-log' ? 'active' : '' ?>"><i class="fas fa-envelope-open-text"></i> Email Log</a>
|
||||
</div>
|
||||
|
||||
<div class="nav-group">
|
||||
<span class="nav-group-title">Settings</span>
|
||||
<a href="/admin/settings.php" class="nav-item <?= $currentPage === 'settings' ? 'active' : '' ?>">
|
||||
<i class="fas fa-cog"></i> Store Settings
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user