diff --git a/Rocksolid_Light/common/themes/style.css b/Rocksolid_Light/common/themes/style.css index 564417d..f8fd83e 100644 --- a/Rocksolid_Light/common/themes/style.css +++ b/Rocksolid_Light/common/themes/style.css @@ -631,6 +631,17 @@ h1.np_post_headline { margin-top: 10px; } +/* show or hide groups toggle */ +.np_show_hide_toggle { + margin-top: 0; + margin-bottom: 0; + text-decoration: none; + text-align: center; + color: var(--color-highlight); + font-family: Arial, Helvetica, sans-serif; + font-size: 1.2em; +} + /* =========== specifically for rocksolid overboard =========== */ /* results table */ diff --git a/Rocksolid_Light/rocksolid/index.php b/Rocksolid_Light/rocksolid/index.php index 4930f08..d6a7863 100644 --- a/Rocksolid_Light/rocksolid/index.php +++ b/Rocksolid_Light/rocksolid/index.php @@ -4,6 +4,10 @@ if (! isset($_SESSION['last_access']) || (time() - $_SESSION['last_access']) > 6 $_SESSION['last_access'] = time(); } +header("Expires: " . gmdate("D, d M Y H:i:s", time() + (30)) . " GMT"); +header("Cache-Control: max-age=30"); +header("Pragma: cache"); + $_SESSION['isframed'] = 1; include "config.inc.php"; @@ -26,8 +30,8 @@ include "head.inc"; echo '
';
if (isset($user_config['hide_unsub']) && $user_config['hide_unsub'] == 'hide') {
- echo ' Unsubscribed groups are HIDDEN. Visit User/Configuration to change '; - echo ' or select groups from Grouplist to add groups'; + echo ' Unsubscribed groups are HIDDEN.'; + echo ' Select groups from Grouplist to add groups'; } + if (isset($userdata)) { + show_groups_hide_toggle(); + } + echo ' |