More Standardisation work.
This commit is contained in:
@@ -22,7 +22,7 @@ class Controller_User_Email extends Controller_Email {
|
||||
$this->meta->title = 'Email List';
|
||||
|
||||
Block::factory()
|
||||
->title(sprintf(_('System Emails Sent for %s: %s'),$this->ao->refnum(),$this->ao->name(TRUE)))
|
||||
->title(sprintf(_('System Emails Sent for %s: %s'),$this->ao->refnum(),$this->ao->name()))
|
||||
->title_icon($this->icon)
|
||||
->body(View::factory('email/user/list')->set('o',$this->ao->email_log->find_all()));
|
||||
}
|
||||
|
@@ -29,7 +29,7 @@ class Model_Email_Template extends ORM_OSB {
|
||||
|
||||
protected $_save_message = TRUE;
|
||||
|
||||
public function name() {
|
||||
public function name($variable=NULL) {
|
||||
return ! is_null($this->description) ? $this->description : $this->name;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user