Search @ frontpage
This commit is contained in:
1 parent
089982a5c5
commit
2262489011
6 files changed
+25
-2
No files matched your search
@@ -8,6 +8,9 @@ if (!isAdmin() && !isUser()) {
|
||||
exit;
|
||||
}
|
||||
|
||||
// Add settings-page class to body for CSS targeting
|
||||
$GLOBALS['body_class'] = 'bookmarks-page';
|
||||
|
||||
// Flash messages for feedback
|
||||
$message = '';
|
||||
$message_type = '';
|
||||
|
||||
@@ -217,8 +217,13 @@ body.dark-background-active .form-text,
|
||||
margin-top: 16px;
|
||||
}
|
||||
|
||||
/* Hide search bar on login page */
|
||||
body.login-page .search-container-center {
|
||||
/* Hide search bar on specific pages */
|
||||
body.login-page .search-container-center,
|
||||
body.bookmarks-page .search-container-center,
|
||||
body.settings-page .search-container-center,
|
||||
body.tabs-settings-page .search-container-center,
|
||||
body.profile-page .search-container-center,
|
||||
body.user-settings-page .search-container-center {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
<?php
|
||||
$page_title = 'Change Password - Bookmarkly';
|
||||
|
||||
// Add profile-page class to body for CSS targeting
|
||||
$GLOBALS['body_class'] = 'profile-page';
|
||||
|
||||
require_once 'include/auth.php'; // Ensures user is logged in
|
||||
|
||||
// Flash messages for feedback
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
<?php
|
||||
$page_title = 'Settings - Bookmarkly';
|
||||
|
||||
// Add settings-page class to body for CSS targeting
|
||||
$GLOBALS['body_class'] = 'settings-page';
|
||||
|
||||
require_once 'include/auth.php';
|
||||
|
||||
// Flash messages for feedback
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
<?php
|
||||
$page_title = 'Manage Tabs - Bookmarkly';
|
||||
|
||||
// Add tabs-settings-page class to body for CSS targeting
|
||||
$GLOBALS['body_class'] = 'tabs-settings-page';
|
||||
|
||||
require_once 'include/auth.php';
|
||||
|
||||
// --- Security Check: Only Admin can access this page ---
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
<?php
|
||||
$page_title = 'Manage Users - Bookmarkly';
|
||||
|
||||
// Add user-settings-page class to body for CSS targeting
|
||||
$GLOBALS['body_class'] = 'user-settings-page';
|
||||
|
||||
require_once 'include/auth.php';
|
||||
|
||||
// --- Security Check: Only Admin can access this page ---
|
||||
|
||||
Reference in new issue
Block a user