Skip to content
Snippets Groups Projects
Commit db209fc7 authored by Jean-Philippe Guérard's avatar Jean-Philippe Guérard
Browse files

Removal of the hard-wired Framadate logo

An option is now available to replace the text title by an image.
parent 63837ebd
No related branches found
No related tags found
No related merge requests found
......@@ -81,7 +81,16 @@ function logo ()
#le bandeau principal
function bandeau_tete()
{
echo '<div class="bandeau"><a href="'.get_server_name().'" title="Accueil Framadate"><img src="'.get_server_name().'images/logo-framadate.png" title="Accueil '.NOMAPPLICATION.'" alt="'.NOMAPPLICATION.'"></a></div>'."\n";
if ( IMAGE_TITRE ) {
echo '<div class="bandeau"><a href="'.get_server_name().'" title="Accueil '.NOMAPPLICATION.'"><img src="'.get_server_name().IMAGE_TITRE.'" title="Accueil '.NOMAPPLICATION.'" alt="'.NOMAPPLICATION.'"></a></div>'."\n";
} else {
echo '<div class="bandeau"><a href="'.get_server_name().'" title="Accueil '.NOMAPPLICATION.'">'.NOMAPPLICATION.'"></a></div>'."\n";
} ;
}
......@@ -188,4 +197,4 @@ function bandeau_pied_mobile()
liste_lang() . '</span>'.
'</div>' . "\n";
gAnalytics();
}
\ No newline at end of file
}
......@@ -75,6 +75,10 @@ define('LOGOBANDEAU', '<chemin relatif suivi du nom du fichier du logo pour le b
// Nom et emplacement du logo de la lettre générée en PDF
define('LOGOLETTRE', '<chemin relatif suivi du nom du fichier du logo pour la lettre>');
// Nom et emplacement du fichier image contenant le titre
//define('IMAGE_TITRE', '<chemin relatif suivi du nom du fichier image du titre>');
define('IMAGE_TITRE', 'images/logo-framadate.png');
// Activation des URL propre (true pour activer, false sinon)
define('URL_PROPRE', false);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment