Added DB and removed some old interface scripts

This commit is contained in:
Deon George
2012-11-30 15:29:08 +11:00
parent 1bf8a520e2
commit 74b3bfb408
19 changed files with 226 additions and 585 deletions

View File

@@ -0,0 +1,22 @@
<?php defined('SYSPATH') or die('No direct access allowed.');
/**
* This class provides information on TSM Nodes.
*
* @package PTA
* @subpackage Domains
* @category Controllers
* @author Deon George
* @copyright (c) 2010 phpTSMadmin Development Team
* @license http://phptsmadmin.sf.net/license.html
*/
class Controller_Db extends Controller_TemplateDefault{
public function action_index() {
// @todo Does the DB name have different names?
Block::add(array(
'title'=>_('Database Information'),
'body'=>View::factory(sprintf('%s/detail',strtolower($this->request->controller())))->set('o',ORM::factory('DB','TSMDB1')),
));
}
}
?>