From db209fc7db018ef38d1dd14dd9609237472b4762 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Philippe=20Gu=C3=A9rard?= Date: Fri, 30 Dec 2011 03:34:02 +0100 Subject: [PATCH 1/2] Removal of the hard-wired Framadate logo An option is now available to replace the text title by an image. --- bandeaux.php | 13 +++++++++++-- variables.php.template | 4 ++++ 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/bandeaux.php b/bandeaux.php index f7d9f27..1d97cb4 100644 --- a/bandeaux.php +++ b/bandeaux.php @@ -81,7 +81,16 @@ function logo () #le bandeau principal function bandeau_tete() { - echo '
'.NOMAPPLICATION.'
'."\n"; + if ( IMAGE_TITRE ) { + + echo '
'.NOMAPPLICATION.'
'."\n"; + + } else { + + echo '
'.NOMAPPLICATION.'">
'."\n"; + + } ; + } @@ -188,4 +197,4 @@ function bandeau_pied_mobile() liste_lang() . ''. '' . "\n"; gAnalytics(); -} \ No newline at end of file +} diff --git a/variables.php.template b/variables.php.template index e37ef0b..b27f59e 100644 --- a/variables.php.template +++ b/variables.php.template @@ -75,6 +75,10 @@ define('LOGOBANDEAU', ''); +// Nom et emplacement du fichier image contenant le titre +//define('IMAGE_TITRE', ''); +define('IMAGE_TITRE', 'images/logo-framadate.png'); + // Activation des URL propre (true pour activer, false sinon) define('URL_PROPRE', false); From dda612cc699222c449b211d60a0b9d116a303d68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Philippe=20Gu=C3=A9rard?= Date: Fri, 30 Dec 2011 03:38:13 +0100 Subject: [PATCH 2/2] Remove 2 extraneous characters --- bandeaux.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bandeaux.php b/bandeaux.php index 1d97cb4..7f2af3e 100644 --- a/bandeaux.php +++ b/bandeaux.php @@ -87,7 +87,7 @@ function bandeau_tete() } else { - echo ''."\n"; + echo ''."\n"; } ;