hide the tag-based search some more, making this a very minimalist theme :3
git-svn-id: file:///home/shish/svn/shimmie2/trunk@848 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
parent
cfb80945f0
commit
ff2e3cf035
@ -4,19 +4,7 @@ class CustomViewTheme extends ViewTheme {
|
||||
public function display_page($page, $image, $editor_parts) {
|
||||
$page->set_title("Image {$image->id}: ".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->id), "left", 0));
|
||||
$page->add_block(new Block(null, $this->build_info($image, $editor_parts), "main", 10));
|
||||
}
|
||||
|
||||
protected function build_navigation($image_id) {
|
||||
$h_search = "
|
||||
<p><form action='".make_link()."' method='GET'>
|
||||
<input id='search_input' name='search' type='text'
|
||||
value='Search' autocomplete='off'>
|
||||
<input type='submit' value='Find' style='display: none;'>
|
||||
</form>
|
||||
<div id='search_completions'></div>";
|
||||
return $h_search;
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user