Skip to content
Extraits de code Groupes Projets
Valider 7dd10c28 rédigé par Matthieu Aubry's avatar Matthieu Aubry
Parcourir les fichiers

Merge pull request #9430 from piwik/8869

Higher resolution 32x32 Piwik favicon 
parents 41e6ea72 e7147488
Branches
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -395,7 +395,7 @@ class FrontController extends Singleton ...@@ -395,7 +395,7 @@ class FrontController extends Singleton
} catch (Exception $ex) { } catch (Exception $ex) {
} }
$logoUrl = $logoUrl ?: 'plugins/Morpheus/images/logo-header.png'; $logoUrl = $logoUrl ?: 'plugins/Morpheus/images/logo-header.png';
$faviconUrl = $faviconUrl ?: 'plugins/CoreHome/images/favicon.ico'; $faviconUrl = $faviconUrl ?: 'plugins/CoreHome/images/favicon.png';
$page = file_get_contents(PIWIK_INCLUDE_PATH . '/plugins/Morpheus/templates/maintenance.tpl'); $page = file_get_contents(PIWIK_INCLUDE_PATH . '/plugins/Morpheus/templates/maintenance.tpl');
$page = str_replace('%logoUrl%', $logoUrl, $page); $page = str_replace('%logoUrl%', $logoUrl, $page);
......
...@@ -310,7 +310,7 @@ class SettingsPiwik ...@@ -310,7 +310,7 @@ class SettingsPiwik
$fetched = "ERROR fetching: " . $e->getMessage(); $fetched = "ERROR fetching: " . $e->getMessage();
} }
// this will match when Piwik not installed yet, or favicon not customised // this will match when Piwik not installed yet, or favicon not customised
$expectedStringAlt = 'plugins/CoreHome/images/favicon.ico'; $expectedStringAlt = 'plugins/CoreHome/images/favicon.png';
// this will match when Piwik is installed and favicon has been customised // this will match when Piwik is installed and favicon has been customised
$expectedString = 'misc/user/'; $expectedString = 'misc/user/';
......
...@@ -127,7 +127,7 @@ if (!function_exists('Piwik_GetErrorMessagePage')) { ...@@ -127,7 +127,7 @@ if (!function_exists('Piwik_GetErrorMessagePage')) {
} }
if (empty($faviconUrl)) { if (empty($faviconUrl)) {
$faviconUrl = "plugins/CoreHome/images/favicon.ico"; $faviconUrl = "plugins/CoreHome/images/favicon.png";
} }
if ($optionalTrace) { if ($optionalTrace) {
......
Le fichier a été supprimé par une entrée .gitattributes, ou son encodage n'est pas pris en charge.
{% if isCustomLogo and customFavicon is defined and customFavicon %} {% if isCustomLogo and customFavicon is defined and customFavicon %}
<link rel="shortcut icon" href="{{ customFavicon }}"/> <link rel="shortcut icon" href="{{ customFavicon }}"/>
{% else %} {% else %}
<link rel="shortcut icon" href="plugins/CoreHome/images/favicon.ico"/> <link rel="shortcut icon" href="plugins/CoreHome/images/favicon.png"/>
{% endif %} {% endif %}
\ No newline at end of file
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
<link rel="stylesheet" type="text/css" href="index.php?module=Installation&action=getBaseCss"/> <link rel="stylesheet" type="text/css" href="index.php?module=Installation&action=getBaseCss"/>
<link rel="stylesheet" type="text/css" href="plugins/Installation/stylesheets/installation.css"/> <link rel="stylesheet" type="text/css" href="plugins/Installation/stylesheets/installation.css"/>
<link rel="shortcut icon" href="plugins/CoreHome/images/favicon.ico"/> <link rel="shortcut icon" href="plugins/CoreHome/images/favicon.png"/>
<script type="text/javascript" src="libs/bower_components/jquery/dist/jquery.min.js"></script> <script type="text/javascript" src="libs/bower_components/jquery/dist/jquery.min.js"></script>
<script type="text/javascript" src="libs/bower_components/jquery-ui/ui/minified/jquery-ui.min.js"></script> <script type="text/javascript" src="libs/bower_components/jquery-ui/ui/minified/jquery-ui.min.js"></script>
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter