Skip to content

Commit 318de8b

Browse files
committed
Use <header> for #p-header
1 parent 5f3915e commit 318de8b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/conference.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5223,7 +5223,7 @@ function print_body_entry($qreq, $title, $id, $extra = []) {
52235223
if (($x = $this->opt["uploadMaxFilesize"] ?? null) !== null) {
52245224
echo ' data-document-max-size="', ini_get_bytes(null, $x), '"';
52255225
}
5226-
echo '><div id="p-page" class="need-banner-offset"><div id="p-header">';
5226+
echo '><div id="p-page" class="need-banner-offset"><header id="p-header">';
52275227

52285228
// initial load (JS's timezone offsets are negative of PHP's)
52295229
Ht::stash_script("hotcrp.onload.time(" . (-(int) date("Z", Conf::$now) / 60) . "," . ($this->opt("time24hour") ? 1 : 0) . ")");
@@ -5250,7 +5250,7 @@ function print_body_entry($qreq, $title, $id, $extra = []) {
52505250
if ($qreq->has_annex("upload_errors")) {
52515251
$this->feedback_msg($qreq->annex("upload_errors"));
52525252
}
5253-
echo "</div></div>\n";
5253+
echo "</div></header>\n";
52545254

52555255
echo "<div id=\"p-body\">\n";
52565256

0 commit comments

Comments
 (0)