Fixes for KH 3.3 - to do with case file names

This commit is contained in:
Deon George
2012-11-27 12:26:56 +11:00
parent fc2ffd7bad
commit ea1346447f
88 changed files with 21 additions and 20 deletions

View File

@@ -0,0 +1,69 @@
<?php defined('SYSPATH') or die('No direct access allowed.');
/**
* This class extends renders OSB menu tree.
*
* @package lnApp
* @subpackage Tree
* @category Controllers
* @author Deon George
* @copyright (c) 2010 Open Source Billing
* @license http://dev.osbill.net/license.html
*/
class Controller_Tree extends lnApp_Controller_Tree {
protected $auth_required = TRUE;
/**
* Draw the Tree Menu
*
* The incoming ID is either a Branch B_x or a Node N_x
* Where X is actually the module.
*
* @param id
*/
public function action_json(array $data=array()) {
// @todo Our menu options
array_push($data,array(
'id'=>'domain',
'name'=>'Domain Info',
'state'=>'none',
'attr_id'=>'1',
'attr_href'=>URL::Site('domain'),
));
array_push($data,array(
'id'=>'library',
'name'=>'Library Info',
'state'=>'none',
'attr_id'=>'1',
'attr_href'=>URL::Site('library'),
));
array_push($data,array(
'id'=>'node',
'name'=>'Node Info',
'state'=>'none',
'attr_id'=>'1',
'attr_href'=>URL::Site('node'),
));
array_push($data,array(
'id'=>'activity',
'name'=>'Server Activity Gantt',
'state'=>'none',
'attr_id'=>'1',
'attr_href'=>URL::Site('server/gantt'),
));
array_push($data,array(
'id'=>'stgpool',
'name'=>'Storage Pool Info',
'state'=>'none',
'attr_id'=>'1',
'attr_href'=>URL::Site('stgpool'),
));
return parent::action_json($data);
}
}
?>