diff --git a/modules/developer/views/block.txt.php b/modules/developer/views/block.txt.php index 8b981f39..1a9bfb6a 100644 --- a/modules/developer/views/block.txt.php +++ b/modules/developer/views/block.txt.php @@ -20,7 +20,17 @@ * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ class _block { - static function get($block_id) { + static function get_site_list() { + return array( + "" => t(" Sidebar Block")); + } + + static function get_admin_list() { + return array( + "" => t(" Dashboard Block")); + } + + static function get($block_id, $theme) { $block = new Block(); switch ($block_id) { case "": @@ -40,14 +50,4 @@ class _block { } return $block; } - - static function get_site_list() { - return array( - "" => t(" Sidebar Block")); - } - - static function get_admin_list() { - return array( - "" => t(" Dashboard Block")); - } } diff --git a/modules/developer/views/theme.txt.php b/modules/developer/views/theme.txt.php index 04282f08..b30e8d67 100644 --- a/modules/developer/views/theme.txt.php +++ b/modules/developer/views/theme.txt.php @@ -19,150 +19,139 @@ * 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($theme) { } - + static function album_bottom($theme) { } - + static function album_top($theme) { } - + static function admin_credits($theme) { } - + static function admin_footer($theme) { } - + static function admin_header_top($theme) { } - + static function admin_header_bottom($theme) { } - + static function admin_page_bottom($theme) { } - + static function admin_page_top($theme) { } - + static function admin_head($theme) { } - + static function credits($theme) { } - + static function dynamic_bottom($theme) { } - + static function dynamic_top($theme) { } - + static function footer($theme) { } - + static function head($theme) { } - + static function header_bottom($theme) { } - + static function header_top($theme) { } - + static function page_bottom($theme) { } - + static function page_top($theme) { } - + static function photo_blocks($theme) { } - + static function photo_bottom($theme) { } - + static function photo_top($theme) { } - + static function sidebar_bottom($theme) { } - + static function sidebar_top($theme) { } - + static function thumb_bottom($theme, $child) { } - + static function thumb_info($theme, $child) { } - + static function thumb_top($theme, $child) { } - + }