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.
phptsmadmin/application/classes/controller/welcome.php

17 lines
362 B
PHP
Raw Normal View History

2011-03-03 23:06:18 +00:00
<?php defined('SYSPATH') or die('No direct access allowed.');
2011-01-13 14:49:56 +00:00
2011-03-03 23:06:18 +00:00
class Controller_Welcome extends Controller_TemplateDefault {
2011-01-13 14:49:56 +00:00
public function action_index()
{
2011-03-03 23:06:18 +00:00
Block::add(array(
'title'=>sprintf('%s: %s (%s)',_('Server'),TSM::name(),TSM::version()),
'body'=>'hello, world!',
));
$this->template->content = Block::factory();
2011-01-13 14:49:56 +00:00
}
} // End Welcome
2011-03-03 23:06:18 +00:00
?>