* change the title assign method.

This commit is contained in:
wangchunsheng
2013-01-20 09:10:57 +00:00
parent ac9db9e5a2
commit 61850c11c9

View File

@@ -46,7 +46,7 @@ class mail extends control
die(js::locate(inlink('edit'), 'parent'));
}
$this->view->header->title = $this->lang->mail->detect;
$this->view->title = $this->lang->mail->detect;
$this->view->position[] = html::a(inlink('index'), $this->lang->mail->common);
$this->view->position[] = $this->lang->mail->detect;
@@ -78,7 +78,7 @@ class mail extends control
$this->locate(inlink('detect'));
}
$this->view->header->title = $this->lang->mail->edit;
$this->view->title = $this->lang->mail->edit;
$this->view->position[] = html::a(inlink('index'), $this->lang->mail->common);
$this->view->position[] = $this->lang->mail->edit;
@@ -117,7 +117,7 @@ class mail extends control
$this->session->set('mailConfig', '');
$this->view->header->title = $this->lang->mail->save;
$this->view->title = $this->lang->mail->save;
$this->view->position[] = html::a(inlink('index'), $this->lang->mail->common);
$this->view->position[] = $this->lang->mail->save;