Updates from lnApp

This commit is contained in:
Deon George
2011-05-02 22:20:56 +10:00
parent ca37cea6cf
commit 2f7a10804e
32 changed files with 301 additions and 278 deletions

View File

@@ -12,8 +12,7 @@
*/
class Controller_Welcome extends Controller_TemplateDefault {
public function action_index() {
$block = new block;
$block->add(array(
Block::add(array(
'title'=>'Welcome to lnApp (public)!',
'subtitle'=>'Using lnApp',
'body'=>'Sample lnApp application',
@@ -33,7 +32,7 @@ class Controller_Welcome extends Controller_TemplateDefault {
));
}
$this->template->content = $block;
$this->template->content = Block::factory();
}
}
?>