diff --git a/include/lib/icon_action.class.php b/include/lib/icon_action.class.php index 4d5d6e13b..4d1135ad0 100644 --- a/include/lib/icon_action.class.php +++ b/include/lib/icon_action.class.php @@ -246,7 +246,7 @@ class Icon_Action static function menu($p_id,$p_javascript) { - $r=sprintf('☰', + $r=sprintf('☰', $p_id, $p_javascript); return $r; diff --git a/scenario/icon_actionTest.php b/scenario/icon_actionTest.php new file mode 100644 index 000000000..c032d3e8b --- /dev/null +++ b/scenario/icon_actionTest.php @@ -0,0 +1,70 @@ + '26' +); +$_POST=array ( + 'gDossier' => '26' +); +$_POST['gDossier']=$gDossierLogInput; +$_GET['gDossier']=$gDossierLogInput; + $_REQUEST=array_merge($_GET,$_POST); +include_once NOALYSS_INCLUDE."/lib/icon_action.class.php"; + +?> + +
+ Cancel +
++ icon_magnifier +
++ icon_add +
++ clean_zone +
++ infobulle +
++ iconon +
++ close + Close me ! +
++ draggable + Move me ! +
++ zoom +
++ warnbulle +
+ hide + ++ trash +
++ Cancel +
++ modify +
++ validate +
++ detail +
++ more +
++ menu +
\ No newline at end of file