diff --git a/bandeaux.php b/bandeaux.php index f7d9f27..7f2af3e 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/exportpdf.php b/exportpdf.php index 1731f2c..68d5edf 100644 --- a/exportpdf.php +++ b/exportpdf.php @@ -39,7 +39,7 @@ session_start(); -require_once('fpdf/phpToPDF.php'); +require_once('php2pdf/phpToPDF.php'); include_once('fonctions.php'); $dsondage = get_sondage_from_id($_POST['numsondage']); @@ -81,4 +81,4 @@ $PDF->SetFont('Arial','B',8); $PDF->Text(35,275,"Cette lettre de convocation a été générée automatiquement par ".NOMAPPLICATION." sur ".get_server_name()); //Sortie -$PDF->Output(); \ No newline at end of file +$PDF->Output(); diff --git a/variables.php.template b/variables.php.template index 72e60af..37fe6ea 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);