Merge branch 'feature/favicon' into 'develop'
Add favicon path to config See merge request !164
This commit is contained in:
commit
d69de89f2f
@ -64,6 +64,9 @@ $ALLOWED_LANGUAGES = [
|
|||||||
// Nom et emplacement du fichier image contenant le titre
|
// Nom et emplacement du fichier image contenant le titre
|
||||||
const IMAGE_TITRE = 'images/logo-framadate.png';
|
const IMAGE_TITRE = 'images/logo-framadate.png';
|
||||||
|
|
||||||
|
// Relative path to favicon
|
||||||
|
const FAVICON = 'favicon.ico';
|
||||||
|
|
||||||
// Clean URLs, boolean
|
// Clean URLs, boolean
|
||||||
const URL_PROPRE = false;
|
const URL_PROPRE = false;
|
||||||
|
|
||||||
|
@ -36,6 +36,9 @@ $smarty->assign('date_format', $date_format);
|
|||||||
if (isset($config['tracking_code'])) {
|
if (isset($config['tracking_code'])) {
|
||||||
$smarty->assign('tracking_code', $config['tracking_code']);
|
$smarty->assign('tracking_code', $config['tracking_code']);
|
||||||
}
|
}
|
||||||
|
if (defined('FAVICON')) {
|
||||||
|
$smarty->assign('favicon', FAVICON);
|
||||||
|
}
|
||||||
|
|
||||||
// Dev Mode
|
// Dev Mode
|
||||||
if (isset($_SERVER['FRAMADATE_DEVMODE']) && $_SERVER['FRAMADATE_DEVMODE']) {
|
if (isset($_SERVER['FRAMADATE_DEVMODE']) && $_SERVER['FRAMADATE_DEVMODE']) {
|
||||||
|
@ -9,6 +9,10 @@
|
|||||||
<title>{$APPLICATION_NAME|html}</title>
|
<title>{$APPLICATION_NAME|html}</title>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
|
{if isset($favicon)}
|
||||||
|
<link rel="icon" href="{$favicon|resource}">
|
||||||
|
{/if}
|
||||||
|
|
||||||
<link rel="stylesheet" href="{'css/bootstrap.min.css'|resource}">
|
<link rel="stylesheet" href="{'css/bootstrap.min.css'|resource}">
|
||||||
<link rel="stylesheet" href="{'css/datepicker3.css'|resource}">
|
<link rel="stylesheet" href="{'css/datepicker3.css'|resource}">
|
||||||
<link rel="stylesheet" href="{'css/style.css'|resource}">
|
<link rel="stylesheet" href="{'css/style.css'|resource}">
|
||||||
|
Loading…
Reference in New Issue
Block a user