diff --git a/plugins/Installation/View.php b/plugins/Installation/View.php index 82d24beb71a610ffa013eb92c99483c3816c14a7..24db423dc7d749cdfa3f94017aeeb7863b9d3d9e 100644 --- a/plugins/Installation/View.php +++ b/plugins/Installation/View.php @@ -7,6 +7,7 @@ * */ namespace Piwik\Plugins\Installation; +use Piwik\Version; /** * @@ -45,6 +46,8 @@ class View extends \Piwik\View $this->previousPreviousModuleName = $this->steps[$this->currentStepId - 2]; } + $this->piwikVersion = Version::VERSION; + return parent::render(); } } diff --git a/plugins/Installation/templates/layout.twig b/plugins/Installation/templates/layout.twig index 457837fe585818bcbf46a03a9fd131edb230f34e..df9e7a538f79facc9c1c022d500c79772f1340d6 100644 --- a/plugins/Installation/templates/layout.twig +++ b/plugins/Installation/templates/layout.twig @@ -3,7 +3,7 @@ <head> <meta charset="utf-8"> <meta name="robots" content="noindex,nofollow"> - <title>Piwik › {{ 'Installation_Installation'|translate }}</title> + <title>Piwik {{ piwikVersion }} › {{ 'Installation_Installation'|translate }}</title> <link rel="stylesheet" type="text/css" href="index.php?module=Installation&action=getInstallationCss"/> <script type="text/javascript" src="index.php?module=Installation&action=getInstallationJs"></script> @@ -16,7 +16,7 @@ <div class="header"> <div class="logo"> - <img src="plugins/Morpheus/images/logo.png"/> + <img title="Piwik {{ piwikVersion }} - {{ 'General_OpenSourceWebAnalytics'|translate|escape('html_attr') }}" src="plugins/Morpheus/images/logo.png"/> <p>{{ 'General_OpenSourceWebAnalytics'|translate }}</p> </div> <div class="language-selector">