more futaba tweaks

git-svn-id: file:///home/shish/svn/shimmie2/trunk@850 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
shish 2008-05-18 01:04:26 +00:00
parent a07d0771b1
commit 5a4fc6d1fe
3 changed files with 8 additions and 4 deletions

View File

@ -17,8 +17,8 @@ class CustomCommentListTheme extends CommentListTheme {
$page->set_heading($page_title); $page->set_heading($page_title);
$page->disable_left(); $page->disable_left();
$page->add_block(new Block(null, $this->build_upload_box(), "main", 0)); $page->add_block(new Block(null, $this->build_upload_box(), "main", 0));
$page->add_block(new Block(null, "<hr>", "main", 2)); // $page->add_block(new Block(null, "<hr>", "main", 2));
$this->display_paginator($page, "comment/list", null, $page_number, $total_pages, 5); // $this->display_paginator($page, "comment/list", null, $page_number, $total_pages, 5);
$page->add_block(new Block(null, "<hr>", "main", 80)); $page->add_block(new Block(null, "<hr>", "main", 80));
$this->display_paginator($page, "comment/list", null, $page_number, $total_pages, 90); $this->display_paginator($page, "comment/list", null, $page_number, $total_pages, 90);
} }

View File

@ -60,6 +60,9 @@ HR {border: none; border-top: 1px solid #D9BFB7; height: 0px; clear: both;}
.withleft { .withleft {
margin-left: 160px; margin-left: 160px;
} }
TD {
vertical-align: top;
}
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* specific page types * * specific page types *
@ -99,5 +102,6 @@ HR {border: none; border-top: 1px solid #D9BFB7; height: 0px; clear: both;}
} }
.paginator { .paginator {
text-align: center; display: inline;
padding: 5px;
} }

View File

@ -74,7 +74,7 @@ class Themelet {
//return "<p class='paginator'>$first_html | $prev_html | $random_html | $next_html | $last_html". //return "<p class='paginator'>$first_html | $prev_html | $random_html | $next_html | $last_html".
// "<br>&lt;&lt; $pages_html &gt;&gt;</p>"; // "<br>&lt;&lt; $pages_html &gt;&gt;</p>";
return "<p class='paginator'>$prev_html $pages_html $next_html"; return "<p class='paginator'>$prev_html $pages_html $next_html</p>";
} }
} }
?> ?>