Added meta title to pages

This commit is contained in:
Deon George
2016-07-29 11:19:30 +10:00
parent f426502707
commit e0b45be758
22 changed files with 73 additions and 49 deletions

View File

@@ -9,7 +9,7 @@
* @copyright (c) 2009-2013 Open Source Billing
* @license http://dev.osbill.net/license.html
*/
class Controller_Reseller_SSL extends Controller_SSL {
class Controller_Reseller_Ssl extends Controller_Ssl {
protected $auth_required = TRUE;
protected $secure_actions = array(
@@ -26,9 +26,11 @@ class Controller_Reseller_SSL extends Controller_SSL {
if ($this->request->param('id') != 'Y')
$o->where_active();
$this->meta->title = 'SSL List';
Block::factory()
->title('SSL CA Certificates')
->title_icon('icon-th-list')
->title_icon('fa fa-shield')
->body(Table::factory()
->jssort('ca')
->data($o->find_all())
@@ -105,7 +107,7 @@ class Controller_Reseller_SSL extends Controller_SSL {
Block::factory()
->type('form-horizontal')
->title('Add/View SSL CA')
->title_icon('icon-wrench')
->title_icon('fa fa-wrench')
->body($this->add_edit());
}
@@ -115,7 +117,7 @@ class Controller_Reseller_SSL extends Controller_SSL {
Block::factory()
->type('form-horizontal')
->title(sprintf('%s: %s',_('Add/View SSL CA'),$id))
->title_icon('icon-wrench')
->title_icon('fa fa-wrench')
->body($this->add_edit($id,$output));
}
@@ -146,6 +148,8 @@ class Controller_Reseller_SSL extends Controller_SSL {
$sco->reload();
}
$this->meta->title = 'SSL: '.$sco->name();
return View::factory('ssl/reseller/add_edit')
->set('o',$sco);
}