diff --git a/include/class_html_input.php b/include/class_html_input.php
index 2ad7e687d..a90e5d5f4 100755
--- a/include/class_html_input.php
+++ b/include/class_html_input.php
@@ -456,12 +456,13 @@ class HtmlInput
/**
*show the detail of a card
*/
- static function card_detail($p_qcode,$pname='',$p_style="")
+ static function card_detail($p_qcode,$pname='',$p_style="",$p_nohistory=false)
{
//if ($pname=='')$pname=$p_qcode;
$r="";
- $r.=sprintf('%s [%s]',
- $p_style,$p_qcode,$pname,$p_qcode);
+ $histo=($p_nohistory==true)?' ,nohistory:1':"";
+ $r.=sprintf('%s [%s]',
+ $p_style,$p_qcode,$histo,$pname,$p_qcode);
return $r;
}
/**