* Fix upgrade lang.
This commit is contained in:
@@ -182,21 +182,16 @@ class upgrade extends control
|
||||
}
|
||||
|
||||
$title = $this->lang->upgrade->toPMS15Guide;
|
||||
if(isset($this->config->maxVersion))
|
||||
if($this->config->edition == 'max')
|
||||
{
|
||||
$this->lang->upgrade->to15Desc = str_replace('15.0', $this->lang->maxName, $this->lang->upgrade->to15Desc);
|
||||
$title = $this->lang->upgrade->toMAXGuide;
|
||||
}
|
||||
elseif(isset($this->config->bizVersion))
|
||||
elseif($this->config->edition == 'biz')
|
||||
{
|
||||
$this->lang->upgrade->to15Desc = str_replace('15', $this->lang->bizName . '5', $this->lang->upgrade->to15Desc);
|
||||
$title = $this->lang->upgrade->toBIZ5Guide;
|
||||
}
|
||||
elseif(isset($this->config->proVersion))
|
||||
{
|
||||
$this->lang->upgrade->to15Desc = str_replace('15', $this->lang->proName . '10', $this->lang->upgrade->to15Desc);
|
||||
$title = $this->lang->upgrade->toPRO10Guide;
|
||||
}
|
||||
|
||||
$this->view->title = $title;
|
||||
$this->display();
|
||||
|
||||
@@ -16,18 +16,14 @@
|
||||
<form method='post'>
|
||||
<div class='panel-title text-center'>
|
||||
<?php
|
||||
if(isset($config->maxVersion))
|
||||
if($this->config->edition == 'max')
|
||||
{
|
||||
echo $lang->upgrade->toMAXGuide;
|
||||
}
|
||||
elseif(isset($config->bizVersion))
|
||||
elseif($this->config->edition == 'biz')
|
||||
{
|
||||
echo $lang->upgrade->toBIZ5Guide;
|
||||
}
|
||||
elseif(isset($config->proVersion))
|
||||
{
|
||||
echo $lang->upgrade->toPRO10Guide;
|
||||
}
|
||||
else
|
||||
{
|
||||
echo $lang->upgrade->toPMS15Guide;
|
||||
|
||||
Reference in New Issue
Block a user