parent
26ccd56d65
commit
b73dfe3624
457 changed files with 15 additions and 4 deletions
2
Core
2
Core
|
@ -1 +1 @@
|
|||
CoreVersions/0.2.0
|
||||
CoreVersions/0.2.1
|
|
@ -39,14 +39,25 @@ class VersionUpgrade extends \Flake\Core\Controller {
|
|||
$sBigIcon = "glyph2x-magic";
|
||||
$sBaikalVersion = BAIKAL_VERSION;
|
||||
$sBaikalConfiguredVersion = BAIKAL_CONFIGURED_VERSION;
|
||||
|
||||
|
||||
if(BAIKAL_CONFIGURED_VERSION === BAIKAL_VERSION) {
|
||||
$sMessage = "Your system is configured to use version <strong>" . $sBaikalConfiguredVersion . "</strong>.<br />There's no upgrade to be done.";
|
||||
} else {
|
||||
$sMessage = "Upgrading Baïkal from version <strong>" . $sBaikalConfiguredVersion . "</strong> to version <strong>" . $sBaikalVersion . "</strong>";
|
||||
}
|
||||
|
||||
$sHtml = <<<HTML
|
||||
<header class="jumbotron subhead" id="overview">
|
||||
<h1><i class="{$sBigIcon}"></i>Baïkal upgrade wizard</h1>
|
||||
<p class="lead">Upgrading Baïkal from version <strong>{$sBaikalConfiguredVersion}</strong> to version <strong>{$sBaikalVersion}</strong></p>
|
||||
<p class="lead">{$sMessage}</p>
|
||||
</header>
|
||||
HTML;
|
||||
|
||||
|
||||
$sHtml .= $this->upgrade(BAIKAL_CONFIGURED_VERSION, BAIKAL_VERSION);
|
||||
return $sHtml;
|
||||
}
|
||||
|
||||
protected function upgrade($sVersionFrom, $sVersionTo) {
|
||||
return "";
|
||||
}
|
||||
}
|
Before Width: | Height: | Size: 104 KiB After Width: | Height: | Size: 104 KiB |
Before Width: | Height: | Size: 227 KiB After Width: | Height: | Size: 227 KiB |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue