Misc fixes from live

This commit is contained in:
Deon George
2015-09-29 11:54:45 +10:00
parent df74512105
commit 425ea9ff10
10 changed files with 80 additions and 35 deletions

View File

@@ -20,12 +20,16 @@ class Controller_Reseller_SSL extends Controller_SSL {
);
public function action_list() {
$o = ORM::factory('SSL_CA')->where_authorised($this->ao);
if ($this->request->param('id') != 'Y')
$o->where_active();
Block::factory()
->title('SSL CA Certificates')
->title_icon('icon-th-list')
->body(Table::factory()
->jssort('ca')
->data(ORM::factory('SSL_CA')->where_authorised($this->ao)->where_active()->find_all())
->data($o->find_all())
->columns(array(
'id'=>'ID',
'sign_cert'=>'Cert',