Commit def31672 authored by mbriand's avatar mbriand
Browse files

Génération des plannings de la semaine

parent b38cf1f4
......@@ -40,7 +40,7 @@ if ($_REQUEST['action'] == "pdf")
foreach($_REQUEST['news'] as $jour => $num_textes)
{
foreach($num_textes as $num_texte)
foreach($num_textes as $num_texte => $bleh)
$textes[] = $_REQUEST['textes'][$num_texte];
$pdf->add_day($jour, $textes);
}
......
......@@ -68,6 +68,8 @@ class pdfplanning_news extends FPDF
$this->SetFont('Arial','',24);
$this->SetXY($this->xmargin, $this->ymargin);
$this->Cell($this->w-($this->xmargin*2), $this->ymargin, utf8_decode($title));
$this->SetFont('Arial','',10);
}
function add_day($day, $textes)
......
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