diff --git a/templates/homepage/recent/info.php b/templates/homepage/recent/info.php new file mode 100644 index 00000000..2f5c977a --- /dev/null +++ b/templates/homepage/recent/info.php @@ -0,0 +1,21 @@ + 'Title', + 'name' => 'title', + 'type' => 'text' + ); + + // Unique function name for building everything + $theme['build_function'] = 'recentposts_build'; +?> \ No newline at end of file diff --git a/templates/homepage/recent/theme.php b/templates/homepage/recent/theme.php new file mode 100644 index 00000000..963ce235 --- /dev/null +++ b/templates/homepage/recent/theme.php @@ -0,0 +1,134 @@ +' + . '' + . '' + . '' + . '' . $settings['title'] . '' + . ''; + + $boardlist = createBoardlist(); + $body .= '
' . $boardlist['top'] . '
'; + + $body .= '

' . $settings['title'] . '

'; + + + $boards = listBoards(); + + // Wrap + $body .= '
'; + + // Recent images + $body .= '

Recent Images

'; + + // Latest posts + $body .= '

Latest Posts

'; + + + // Stats + $body .= '

Stats

'; + + // End wrap + $body .= '
'; + + // Finish page + $body .= '

Powered by Tinyboard'; + + return $body; + } + }; + +?> \ No newline at end of file diff --git a/templates/homepage/recent/thumb.png b/templates/homepage/recent/thumb.png new file mode 100644 index 00000000..fff5b824 Binary files /dev/null and b/templates/homepage/recent/thumb.png differ