diff --git a/themes/futaba/layout.class.php b/themes/futaba/layout.class.php
index 523bdb22..a1d27860 100644
--- a/themes/futaba/layout.class.php
+++ b/themes/futaba/layout.class.php
@@ -75,6 +75,7 @@ $header_html
$version ©
Shish 2007,
based on the Danbooru concept.
+
Futaba theme based on 4chan's layout and CSS :3
$debug
$contact
diff --git a/themes/futaba/style.css b/themes/futaba/style.css
index 62557e34..0c7e14c9 100644
--- a/themes/futaba/style.css
+++ b/themes/futaba/style.css
@@ -17,6 +17,9 @@ BODY {
H1 {
text-align: center;
}
+#subtitle {
+ display: none;
+}
#footer {
clear: both;
@@ -72,7 +75,7 @@ HR {border: none; border-top: 1px solid #D9BFB7; height: 0px; clear: both;}
background: #FFFFEE;
border-width: 0px;
}
-.reply {
+.reply, .paginator {
margin-bottom: 2px;
font-size: 10pt;
padding: 0px 5px;
diff --git a/themes/futaba/themelet.class.php b/themes/futaba/themelet.class.php
index db77cfa0..009d8324 100644
--- a/themes/futaba/themelet.class.php
+++ b/themes/futaba/themelet.class.php
@@ -38,7 +38,7 @@ class Themelet {
private function gen_page_link($base_url, $query, $page, $name) {
$link = make_link("$base_url/$page", $query);
- return "$name";
+ return "[$name]";
}
private function gen_page_link_block($base_url, $query, $page, $current_page, $name) {
@@ -70,10 +70,11 @@ class Themelet {
foreach(range($start, $end) as $i) {
$pages[] = $this->gen_page_link_block($base_url, $query, $i, $current_page, $i);
}
- $pages_html = implode(" | ", $pages);
+ $pages_html = implode(" ", $pages);
- return "
$first_html | $prev_html | $random_html | $next_html | $last_html".
- "
<< $pages_html >>
$first_html | $prev_html | $random_html | $next_html | $last_html".
+ // "
<< $pages_html >>
$prev_html $pages_html $next_html"; } } ?> diff --git a/themes/futaba/view.theme.php b/themes/futaba/view.theme.php new file mode 100644 index 00000000..bed8feab --- /dev/null +++ b/themes/futaba/view.theme.php @@ -0,0 +1,22 @@ +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 = " +
+ "; + return $h_search; + } +} +?>