Widgitized the output
This commit is contained in:
@@ -65,8 +65,8 @@ class Controller_Domain extends Controller_TemplateDefault {
|
||||
|
||||
Block::add(array(
|
||||
'title'=>sprintf(_('Node Information for Domain %s'),$do->DOMAIN_NAME),
|
||||
'body'=>View::factory('domain/detail')->set('do',$do)
|
||||
));
|
||||
'body'=>View::factory('domain/detail')->set('o',$do)
|
||||
));
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
@@ -65,10 +65,8 @@ class Controller_Library extends Controller_TemplateDefault {
|
||||
|
||||
Block::add(array(
|
||||
'title'=>sprintf(_('Library Information for %s'),$lo->LIBRARY_NAME),
|
||||
'body'=>View::factory('library/detail')
|
||||
->set('lo',$lo)
|
||||
->set('slots',$lo->slots())
|
||||
));
|
||||
'body'=>View::factory('library/detail')->set('o',$lo)
|
||||
));
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
@@ -65,22 +65,22 @@ class Controller_Node extends Controller_TemplateDefault {
|
||||
|
||||
Block::add(array(
|
||||
'title'=>sprintf('%s %s',_('Detailed Node Information for'),$no->NODE_NAME),
|
||||
'body'=>View::factory('node/detail')->set('node',$no),
|
||||
'body'=>View::factory('node/detail')->set('o',$no),
|
||||
));
|
||||
|
||||
Block::add(array(
|
||||
'title'=>_('Protected File System Information'),
|
||||
'body'=>View::factory('node/detail_filesystem')->set('node',$no),
|
||||
'body'=>View::factory('node/filesystems')->set('o',$no),
|
||||
));
|
||||
|
||||
Block::add(array(
|
||||
'title'=>_('Sequential Volume Usage Information'),
|
||||
'body'=>View::factory('node/detail_volumes')->set('node',$no),
|
||||
'body'=>View::factory('node/volumes')->set('o',$no),
|
||||
));
|
||||
|
||||
Block::add(array(
|
||||
'title'=>_('Schedule Information'),
|
||||
'body'=>View::factory('node/detail_schedule')->set('node',$no),
|
||||
'body'=>View::factory('node/schedule')->set('o',$no),
|
||||
));
|
||||
}
|
||||
}
|
||||
|
@@ -65,7 +65,7 @@ class Controller_Stgpool extends Controller_TemplateDefault {
|
||||
|
||||
Block::add(array(
|
||||
'title'=>sprintf(_('Storage Pool Information for %s'),$so->STGPOOL_NAME),
|
||||
'body'=>View::factory('stgpool/detail')->set('so',$so)
|
||||
'body'=>View::factory('stgpool/detail')->set('o',$so)
|
||||
));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user