Added meta title to pages
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user