From b82332192a7420cce045612014ad6f54b02974c3 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Wed, 5 Nov 2008 05:20:20 +0000 Subject: The carousel block is now off into its own module. The sidebar.html.php file loops over $theme->blocks() which in turn calls carousel::block() which uses the Block object to create a standard block UI. Hooray! --- core/libraries/Block.php | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 core/libraries/Block.php (limited to 'core/libraries/Block.php') diff --git a/core/libraries/Block.php b/core/libraries/Block.php new file mode 100644 index 00000000..25a0689b --- /dev/null +++ b/core/libraries/Block.php @@ -0,0 +1,32 @@ +id = $this->id; + $v->title = $this->title; + $v->content = $this->content; + return $v->__toString(); + } +} -- cgit v1.2.3