From 6ac6c6a7e0824d8fda81e36240818f9b7e9c4696 Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Sun, 15 Mar 2009 19:27:30 +0000 Subject: Updates to the developer tool create module. It now creates a fully functional sidebar block, a dialog pop up on the option menu for albums or photos, a dashboard block and an admin screen. --- modules/developer/views/theme.txt.php | 69 +++++++++++++++++++---------------- 1 file changed, 37 insertions(+), 32 deletions(-) (limited to 'modules/developer/views/theme.txt.php') diff --git a/modules/developer/views/theme.txt.php b/modules/developer/views/theme.txt.php index df7b18e0..339a7553 100644 --- a/modules/developer/views/theme.txt.php +++ b/modules/developer/views/theme.txt.php @@ -19,144 +19,149 @@ * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ class _theme { + static function sidebar_blocks($theme) { + $block = new Block(); + $block->css_id = "g"; + $block->title = t(""); + $block->content = new View("_block.html"); + $block->content->item = ORM::factory("item", 1); + + return $block; + } + - static function album_blocks() { + static function album_blocks($theme) { } - static function album_bottom() { + static function album_bottom($theme) { } - static function album_top() { + static function album_top($theme) { } - static function admin_credits() { + static function admin_credits($theme) { } - static function admin_footer() { + static function admin_footer($theme) { } - static function admin_header_top() { + static function admin_header_top($theme) { } - static function admin_header_bottom() { + static function admin_header_bottom($theme) { } - static function admin_page_bottom() { + static function admin_page_bottom($theme) { } - static function admin_page_top() { + static function admin_page_top($theme) { } - static function admin_head() { + static function admin_head($theme) { } - static function credits() { + static function credits($theme) { } - static function dynamic_bottom() { + static function dynamic_bottom($theme) { } - static function dynamic_top() { + static function dynamic_top($theme) { } - static function footer() { + static function footer($theme) { } - static function head() { + static function head($theme) { } - static function header_bottom() { + static function header_bottom($theme) { } - static function header_top() { + static function header_top($theme) { } - static function page_bottom() { + static function page_bottom($theme) { } - static function page_top() { + static function page_top($theme) { } - static function photo_blocks() { + static function photo_blocks($theme) { } - static function photo_bottom() { + static function photo_bottom($theme) { } - static function photo_top() { - } - - - - static function sidebar_blocks() { + static function photo_top($theme) { } - static function sidebar_bottom() { + static function sidebar_bottom($theme) { } - static function sidebar_top() { + static function sidebar_top($theme) { } - static function thumb_bottom($child) { + static function thumb_bottom($theme, $child) { } - static function thumb_info($child) { + static function thumb_info($theme, $child) { } - static function thumb_top($child) { + static function thumb_top($theme, $child) { } -- cgit v1.2.3