Skip to content

Commit

Permalink
Fix the double site header
Browse files Browse the repository at this point in the history
  • Loading branch information
xcompass committed Mar 14, 2024
1 parent 910ca3d commit c4d0090
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/conference.php
Original file line number Diff line number Diff line change
Expand Up @@ -4807,18 +4807,6 @@ function print_body_entry($qreq, $title, $id, $extra = []) {
}


// site header
if ($id === "home" || ($extra["hide_title"] ?? false)) {
echo '<div id="h-site" class="header-site-home">',
'<h1> <a class="q" href="', $this->hoturl("index", ["cap" => null]),
'">', htmlspecialchars($this->short_name), '</a></h1></div>';
} else {
echo '<div id="h-site" class="header-site-page">',
'<a class="q" href="', $this->hoturl("index", ["cap" => null]),
'"><span class="header-site-name">', htmlspecialchars($this->short_name),
'</span> Home</a></div>';
}

echo '<div id="h-right">';
if ($user && !$user->is_empty()) {
$this->print_header_profile($id, $qreq, $user);
Expand Down

0 comments on commit c4d0090

Please sign in to comment.