Add section/group to non-scrolling part of header.
This commit is contained in:
parent
e801841038
commit
5bc2c01ab3
|
@ -121,7 +121,17 @@ foreach ($menulist as $menu) {
|
|||
echo '</form>';
|
||||
echo '</td>';
|
||||
}
|
||||
echo '</tr></table>';
|
||||
echo '</td></tr></table>';
|
||||
|
||||
if (preg_match("/thread.php|article.php|article-flat.php/", $_SERVER['REQUEST_URI'])) {
|
||||
if (isset($_REQUEST["group"])) {
|
||||
echo '<table class="header_display_group">';
|
||||
echo '<tr><td>';
|
||||
echo '<span><a href="/' . $config_name . '">' . $config_name . '</a> / <a href="' . $file_thread . '?group=' . rawurlencode($group) . '" target=' . $frame["content"] . '>' . htmlspecialchars(group_display_name($group)) . '</a>';
|
||||
echo '</td></tr></table>';
|
||||
}
|
||||
}
|
||||
|
||||
echo '</div><div class="scroll">';
|
||||
$config_name = basename(getcwd());
|
||||
|
||||
|
|
|
@ -159,6 +159,19 @@
|
|||
margin-right: auto;
|
||||
}
|
||||
|
||||
.header_display_group {
|
||||
background: var(--color-light);
|
||||
padding: none;
|
||||
border: none;
|
||||
margin-bottom: 1px;
|
||||
color: var(--color-text);
|
||||
font-size: 0.7em;
|
||||
font-style: italic;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.np_header_links {
|
||||
color: var(--color-header-link) !important;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue