Post ID in navigation slot

This commit is contained in:
Shish 2023-01-30 21:35:38 +00:00
parent e629d3d5ca
commit 120a5273e5

View file

@ -26,7 +26,7 @@ class ViewImageTheme extends Themelet
global $page;
$page->set_title("Post {$image->id}: ".$image->get_tag_list());
$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("Post {$image->id}", $this->build_navigation($image), "left", 0, "Navigationleft"));
$page->add_block(new Block(null, $this->build_info($image, $editor_parts), "main", 20, "ImageInfo"));
//$page->add_block(new Block(null, $this->build_pin($image), "main", 11));