Tag list should now show under the search block, instead of under every other block
This commit is contained in:
parent
12d4fcf813
commit
b9bd4db41e
@ -54,9 +54,9 @@ class TagListTheme extends Themelet {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if($config->get_string('tag_list_image_type')=="tags"){
|
if($config->get_string('tag_list_image_type')=="tags"){
|
||||||
$page->add_block(new Block("Tags", $html, "left"));}
|
$page->add_block(new Block("Tags", $html, "left", 10));}
|
||||||
else{
|
else{
|
||||||
$page->add_block(new Block("Related Tags", $html, "left"));
|
$page->add_block(new Block("Related Tags", $html, "left", 10));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@ class CustomViewImageTheme extends ViewImageTheme {
|
|||||||
$page->set_title("Image {$image->id}: ".html_escape($image->get_tag_list()));
|
$page->set_title("Image {$image->id}: ".html_escape($image->get_tag_list()));
|
||||||
$page->set_heading(html_escape($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("Navigation", $this->build_navigation($image), "left", 0));
|
||||||
$page->add_block(new Block("Statistics", $this->build_stats($image), "left", 10));
|
$page->add_block(new Block("Statistics", $this->build_stats($image), "left", 15));
|
||||||
$page->add_block(new Block(null, $this->build_image_editor($image, $editor_parts), "main", 10));
|
$page->add_block(new Block(null, $this->build_image_editor($image, $editor_parts), "main", 10));
|
||||||
$page->add_block(new Block(null, $this->build_pin($image), "main", 11));
|
$page->add_block(new Block(null, $this->build_pin($image), "main", 11));
|
||||||
}
|
}
|
||||||
|
@ -12,7 +12,7 @@ class CustomViewImageTheme extends ViewImageTheme {
|
|||||||
$page->add_html_header("<meta property=\"og:image\" content=\"".make_http($image->get_thumb_link())."\">");
|
$page->add_html_header("<meta property=\"og:image\" content=\"".make_http($image->get_thumb_link())."\">");
|
||||||
$page->add_html_header("<meta property=\"og:url\" content=\"".make_http(make_link("post/view/{$image->id}"))."\">");
|
$page->add_html_header("<meta property=\"og:url\" content=\"".make_http(make_link("post/view/{$image->id}"))."\">");
|
||||||
$page->add_block(new Block("Navigation", $this->build_navigation($image), "left", 0));
|
$page->add_block(new Block("Navigation", $this->build_navigation($image), "left", 0));
|
||||||
$page->add_block(new Block("Statistics", $this->build_stats($image), "left", 10));
|
$page->add_block(new Block("Statistics", $this->build_stats($image), "left", 15));
|
||||||
$page->add_block(new Block(null, $this->build_image_editor($image, $editor_parts), "main", 10));
|
$page->add_block(new Block(null, $this->build_image_editor($image, $editor_parts), "main", 10));
|
||||||
$page->add_block(new Block(null, $this->build_pin($image), "main", 11));
|
$page->add_block(new Block(null, $this->build_pin($image), "main", 11));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user