11
lionhell
Re: Using variable in block title
  • 2014/8/26 12:25

  • lionhell

  • Just popping in

  • Posts: 20

  • Since: 2006/8/13


OK , I've inserted the code in header.php , now it works.

// LionHell
        
$m['01']='janvier';
        
$m['02']='février';
        
$m['03']='mars';
        
$m['04']='avril';
        
$m['05']='mai';
        
$m['06']='juin';
        
$m['07']='juillet';
        
$m['08']='août';
        
$m['09']='septembre';
        
$m['10']='octobre';
        
$m['11']='novembre';
        
$m['12']='décembre';
        
$jour=new DateTime();
        
$ce_jour $jour->format('d').' '.$m[$jour->format('m')];
        
$xoopsTpl->assign('cejour'$ce_jour);
// Fin - LionHell


Login

Who's Online

277 user(s) are online (134 user(s) are browsing Support Forums)


Members: 0


Guests: 277


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits