[SPIP] ~maj 3.0.10 --> 3.0.14
[lhc/web/www.git] / www / ecrire / inc / puce_statut.php
index 7560725..9c27e6f 100644 (file)
@@ -3,7 +3,7 @@
 /***************************************************************************\
  *  SPIP, Systeme de publication pour l'internet                           *
  *                                                                         *
- *  Copyright (c) 2001-2012                                                *
+ *  Copyright (c) 2001-2014                                                *
  *  Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James  *
  *                                                                         *
  *  Ce programme est un logiciel libre distribue sous licence GNU/GPL.     *
@@ -308,7 +308,7 @@ function puce_statut_changement_rapide($id, $statut, $id_rubrique, $type='articl
          $action = "if (!this.puce_loaded) { this.puce_loaded = true; prepare_selec_statut(this, '$nom', '$type', '$id', '$action'); }";
          $over = " onmouseover=\"$action\"";
 
-               $lang_dir = lang_dir(isset($GLOBALS['lang_objet']) ? $GLOBALS['lang_objet'] : "");
+               $lang_dir = lang_dir(lang_typo());
                return  "<span class='puce_objet $type' id='$nom$type$id' dir='$lang_dir'$over>"
                . $inser_puce
                . '</span>';