Changeset 50607 in spip-zone


Ignore:
Timestamp:
Aug 20, 2011, 8:10:39 PM (8 years ago)
Author:
pierrekuhn82@…
Message:

Modification d'affichage de la date sur la page des paniers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/Amap/exec/pdf_paniers.php

    r50600 r50607  
    1313        $pdf=new PDF();
    1414        $date_distribution = $_GET["date_distribution"];
    15         $pdf->titre = _T('amap:distribution_paniers', array('nb'=>$date_distribution));
     15        $pdf->titre = _T('amap:distribution_paniers', array('nb'=>date('d/m/Y',mktime( substr($date_distribution,11,2), substr($date_distribution,14,2),
     16                        substr($date_distribution,17,2), substr($date_distribution,5,2), substr($date_distribution,8,2), substr($date_distribution,0,4)))));
    1617        $pdf->Open();
    1718        $pdf->AddPage();
Note: See TracChangeset for help on using the changeset viewer.