* finish task#1645.
This commit is contained in:
@@ -20,7 +20,8 @@ class convert extends control
|
||||
public function index()
|
||||
{
|
||||
$this->convert->saveState();
|
||||
$this->view->title = $this->lang->convert->common;
|
||||
$this->view->title = $this->lang->convert->common;
|
||||
$this->view->position[] = $this->lang->convert->common;
|
||||
$this->display();
|
||||
}
|
||||
|
||||
@@ -32,7 +33,9 @@ class convert extends control
|
||||
*/
|
||||
public function selectSource()
|
||||
{
|
||||
$this->view->title = $this->lang->convert->common . $this->lang->colon;
|
||||
$this->view->title = $this->lang->convert->common . $this->lang->colon . $this->lang->convert->start;
|
||||
$this->view->position[] = $this->lang->convert->common;
|
||||
$this->view->position[] = $this->lang->convert->start;
|
||||
$this->display();
|
||||
}
|
||||
|
||||
@@ -53,7 +56,9 @@ class convert extends control
|
||||
}
|
||||
list($sourceName, $version) = explode('_', $this->post->source);
|
||||
$setFunc = "set$sourceName";
|
||||
$this->view->title = $this->lang->convert->setting;
|
||||
$this->view->title = $this->lang->convert->common . $this->lang->colon . $this->lang->convert->setting;
|
||||
$this->view->position[] = $this->lang->convert->common;
|
||||
$this->view->position[] = $this->lang->convert->setting;
|
||||
$this->view->source = $sourceName;
|
||||
$this->view->version = $version;
|
||||
$this->view->setting = $this->fetch('convert', $setFunc, "version=$version");
|
||||
@@ -102,7 +107,9 @@ class convert extends control
|
||||
public function checkConfig()
|
||||
{
|
||||
$checkFunc = 'check' . $this->post->source;
|
||||
$this->view->title = $this->lang->convert->checkConfig;
|
||||
$this->view->title = $this->lang->convert->common . $this->lang->colon . $this->lang->convert->checkConfig;
|
||||
$this->view->position[] = $this->lang->convert->common;
|
||||
$this->view->position[] = $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 +191,11 @@ class convert extends control
|
||||
public function execute()
|
||||
{
|
||||
$convertFunc = 'convert' . $this->post->source;
|
||||
$this->view->title = $this->lang->convert->execute;
|
||||
$this->view->source = $this->post->source;
|
||||
$this->view->version = $this->post->version;
|
||||
$this->view->title = $this->lang->convert->common . $this->lang->colon . $this->lang->convert->execute;
|
||||
$this->view->position[] = $this->lang->convert->common;
|
||||
$this->view->position[] = $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();
|
||||
|
||||
Reference in New Issue
Block a user