tweaks for fresh install

This commit is contained in:
Shish Moom 2009-07-07 08:52:09 -07:00
parent 2eea8b22f2
commit c66d72685c
2 changed files with 3 additions and 2 deletions

View File

@ -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");

View File

@ -85,7 +85,7 @@ class TagListTheme extends Themelet {
}
}
$html .= "<p><a class='more' href='".make_link("tags")."'>Full List</a>\n";
$html .= "<br>&nbsp;<br><a class='more' href='".make_link("tags")."'>Full List</a>\n";
$page->add_block(new Block("Popular Tags", $html, "left", 60));
}