Browse Source

Add action tpl var assign on article

Simounet 5 years ago
parent
commit
c85a129372
1 changed files with 1 additions and 0 deletions
  1. 1 0
      article.php

+ 1 - 0
article.php

@@ -47,6 +47,7 @@ $target .= MYSQL_PREFIX.'event.id';
 $startArticle = ($_['scroll']*$articlePerPages)-$_['nblus'];
 if ($startArticle < 0) $startArticle=0;
 $action = $_['action'];
+$tpl->assign('action',$action);
 
 switch($action){
     /* AFFICHAGE DES EVENEMENTS D'UN FLUX EN PARTICULIER */