tweaks for fresh install
This commit is contained in:
parent
2eea8b22f2
commit
c66d72685c
@ -75,8 +75,9 @@ class Index extends SimpleExtension {
|
||||
$count = $config->get_int('index_width') * $config->get_int('index_height');
|
||||
$images = Image::find_images(($page_number-1)*$count, $count, $search_terms);
|
||||
|
||||
if(count($search_terms) == 0 && count($images) == 0 && $page_number == 0) {
|
||||
if(count($search_terms) == 0 && count($images) == 0 && $page_number == 1) {
|
||||
$this->theme->display_intro($page);
|
||||
send_event(new PostListBuildingEvent($search_terms));
|
||||
}
|
||||
else if(count($search_terms) > 0 && count($images) == 1) {
|
||||
$page->set_mode("redirect");
|
||||
|
@ -85,7 +85,7 @@ class TagListTheme extends Themelet {
|
||||
}
|
||||
}
|
||||
|
||||
$html .= "<p><a class='more' href='".make_link("tags")."'>Full List</a>\n";
|
||||
$html .= "<br> <br><a class='more' href='".make_link("tags")."'>Full List</a>\n";
|
||||
$page->add_block(new Block("Popular Tags", $html, "left", 60));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user