Skip to content

Commit

Permalink
add post info/edit section header and make main blocks collapsable
Browse files Browse the repository at this point in the history
  • Loading branch information
Giraffaman committed Mar 16, 2024
1 parent 8abb033 commit 2aeed9f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion themes/pr0booru/page.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public function body_html(): string
if ($block->header == "Posts") {
$block->header = " ";
}
$main_block_html .= $block->get_html(false);
$main_block_html .= $block->get_html(true);
break;
default:
print "<p>error: {$block->header} using an unknown section ({$block->section})";
Expand Down
2 changes: 1 addition & 1 deletion themes/pr0booru/view.theme.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public function display_page(Image $image, $editor_parts): void
$page->set_heading(html_escape($image->get_tag_list()));
$page->add_block(new Block("Navigation", $this->build_navigation($image), "left", 0));
$page->add_block(new Block("Statistics", $this->build_stats($image), "left", 15));
$page->add_block(new Block(null, $this->build_info($image, $editor_parts), "main", 10));
$page->add_block(new Block("Post Info", $this->build_info($image, $editor_parts), "main", 10));
$page->add_block(new Block(null, $this->build_pin($image), "main", 11));
}

Expand Down

0 comments on commit 2aeed9f

Please sign in to comment.