From 8df31557a147582a6fca1608e1561fb9aca89fd0 Mon Sep 17 00:00:00 2001 From: wangchunsheng Date: Sun, 20 Jan 2013 06:56:13 +0000 Subject: [PATCH] * change the title assign method. --- module/convert/control.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/module/convert/control.php b/module/convert/control.php index 707c66cf55..52dd7dfb84 100644 --- a/module/convert/control.php +++ b/module/convert/control.php @@ -20,7 +20,7 @@ class convert extends control public function index() { $this->convert->saveState(); - $this->view->header->title = $this->lang->convert->common; + $this->view->title = $this->lang->convert->common; $this->display(); } @@ -32,7 +32,7 @@ class convert extends control */ public function selectSource() { - $this->view->header->title = $this->lang->convert->common . $this->lang->colon; + $this->view->title = $this->lang->convert->common . $this->lang->colon; $this->display(); } @@ -53,7 +53,7 @@ class convert extends control } list($sourceName, $version) = explode('_', $this->post->source); $setFunc = "set$sourceName"; - $this->view->header->title = $this->lang->convert->setting; + $this->view->title = $this->lang->convert->setting; $this->view->source = $sourceName; $this->view->version = $version; $this->view->setting = $this->fetch('convert', $setFunc, "version=$version"); @@ -102,9 +102,9 @@ class convert extends control public function checkConfig() { $checkFunc = 'check' . $this->post->source; - $this->view->header->title = $this->lang->convert->checkConfig; - $this->view->source = $this->post->source; - $this->view->checkResult = $this->fetch('convert', $checkFunc, "version={$this->post->version}"); + $this->view->title = $this->lang->convert->checkConfig; + $this->view->source = $this->post->source; + $this->view->checkResult = $this->fetch('convert', $checkFunc, "version={$this->post->version}"); $this->display(); } @@ -184,9 +184,9 @@ class convert extends control public function execute() { $convertFunc = 'convert' . $this->post->source; - $this->view->header->title = $this->lang->convert->execute; - $this->view->source = $this->post->source; - $this->view->version = $this->post->version; + $this->view->title = $this->lang->convert->execute; + $this->view->source = $this->post->source; + $this->view->version = $this->post->version; $this->view->executeResult = $this->fetch('convert', $convertFunc, "version={$this->post->version}"); $this->display();