Commit 34643d17 authored by mbriand's avatar mbriand
Browse files

Génération des plannings de la semaine

parent cc1fa56c
......@@ -42,6 +42,7 @@ if ($_REQUEST['action'] == "pdf")
foreach($_REQUEST['news'] as $jour => $num_textes)
{
$textes = array();
foreach($num_textes as $num_texte => $bleh)
$textes[] = $_REQUEST['textes'][$num_texte];
$pdf->add_day($jour, $textes);
......
......@@ -53,14 +53,14 @@ class pdfplanning_news extends FPDF
7 => array(228,20),
'sem' => array(null,160));
$this->dimensions = array(1 => array(55,50),
2 => array(55,50),
3 => array(55,50),
4 => array(55,50),
5 => array(55,50),
6 => array(55,50),
7 => array(55,50),
'sem' => array(null,30));
$this->dimensions = array(1 => array(55,9),
2 => array(55,9),
3 => array(55,9),
4 => array(55,9),
5 => array(55,9),
6 => array(55,9),
7 => array(55,9),
'sem' => array(null,9));
$this->SetAutoPageBreak(false);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment