redirect('guide/app'); Block::add(array( 'title'=>'Welcome to lnApp (public)!', 'subtitle'=>'Using lnApp', 'body'=>'Sample lnApp application', 'footer'=>'lnApp makes building websites easy! '.time(), )); // @todo Show a login/logout on the breadcrumb if (! Auth::instance()->logged_in()) { Script::add(array('type'=>'stdin','data'=>' $(document).ready(function() { $("#ajxbody").click(function() {$("#ajBODY").load("'.URL::site('login').'",null,function(x,s,r) {}); return false;}); $("#ajBODY").ajaxSend(function() {$(this).html(\''.sprintf('%s %s<\/span>...',HTML::image('media/img/ajax-progress.gif',array('alt'=>_('Loading Login').'...')),_('Loading Login')).'\');return true;}); });' )); } } public function action_breadcrumb() { $this->auto_render = FALSE; $this->response->body(Session::instance()->get_once('breadcrumb')); } } ?>