Added meta title to pages
This commit is contained in:
@@ -19,6 +19,8 @@ class Controller_User_Email extends Controller_Email {
|
||||
* Show a list of emails
|
||||
*/
|
||||
public function action_list() {
|
||||
$this->meta->title = 'Email List';
|
||||
|
||||
$this->template->content = View::factory('email/user/list');
|
||||
}
|
||||
|
||||
@@ -30,6 +32,8 @@ class Controller_User_Email extends Controller_Email {
|
||||
if (! $elo->loaded() OR ! Auth::instance()->authorised($elo->account))
|
||||
throw HTTP_Exception::factory(403,'Service either doesnt exist, or you are not authorised to see it');
|
||||
|
||||
$this->meta->title = 'Email: '.$elo->name();
|
||||
|
||||
$output .= View::factory('email/user/view')
|
||||
->set('elo',$elo);
|
||||
|
||||
|
Reference in New Issue
Block a user