2 missing block ids on post/view
This commit is contained in:
parent
02e0f925ac
commit
984b85f60c
2 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@ class RelationshipsTheme extends Themelet
|
|||
|
||||
if ($image->parent_id !== null) {
|
||||
$a = "<a href='".make_link("post/view/".$image->parent_id)."'>parent post</a>";
|
||||
$page->add_block(new Block(null, "This post belongs to a $a.", "main", 5));
|
||||
$page->add_block(new Block(null, "This post belongs to a $a.", "main", 5, "ImageRelationships"));
|
||||
}
|
||||
|
||||
if (bool_escape($image->has_children)) {
|
||||
|
|
|
@ -23,7 +23,7 @@ class ViewImageTheme extends Themelet
|
|||
$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(null, $this->build_info($image, $editor_parts), "main", 20));
|
||||
$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));
|
||||
|
||||
$query = $this->get_query();
|
||||
|
|
Reference in a new issue