This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
khosb/application/classes/Controller/User/Welcome.php

27 lines
681 B
PHP
Raw Normal View History

2011-08-02 06:20:11 +00:00
<?php defined('SYSPATH') or die('No direct access allowed.');
/**
* lnApp Main home page
*
2013-03-19 22:35:19 +00:00
* @package OSB
* @category Controllers/User
2011-08-02 06:20:11 +00:00
* @author Deon George
2013-03-19 22:35:19 +00:00
* @copyright (c) 2009-2013 Open Source Billing
* @license http://dev.osbill.net/license.html
2011-08-02 06:20:11 +00:00
*/
2011-12-09 04:10:53 +00:00
class Controller_User_Welcome extends Controller_TemplateDefault_User {
protected $secure_actions = array(
'index'=>FALSE,
);
2011-08-02 06:20:11 +00:00
public function action_index() {
2012-11-09 23:13:57 +00:00
$ao = ORM::factory('Account',Auth::instance()->get_user()->id);
2011-08-02 06:20:11 +00:00
Block::add(array(
'title'=>sprintf('%s: %s %s',$ao->accnum(),$ao->first_name,$ao->last_name),
'body'=>'Please select from the tree on the left',
));
}
}
?>