value=$a[$i]['f_id'];
+ $ic->set_range("select_card_ck");
$array[$i]['checkbox']=$ic->input();
$array[$i]['quick_code']=$a[$i]['quick_code'];
$array[$i]['name']=h($a[$i]['vw_name']);
@@ -141,8 +142,6 @@ echo HtmlInput::button_close("search_card");
echo '';
echo '';
echo '';
-
-
$response=ob_get_contents();
ob_end_clean();
diff --git a/include/class/acc_ledger_search.class.php b/include/class/acc_ledger_search.class.php
index ae2a6e874..801e98b34 100644
--- a/include/class/acc_ledger_search.class.php
+++ b/include/class/acc_ledger_search.class.php
@@ -897,6 +897,7 @@ class Acc_Ledger_Search
if ($p_paid!=0)
{
$w=new ICheckBox();
+ $w->set_range("paid_operation_ck");
$w->name="rd_paid".$row['jr_id'];
$w->selected=($row['jr_rapt']=='paid')?true:false;
// if p_paid == 2 then readonly
diff --git a/include/class/anc_grandlivre.class.php b/include/class/anc_grandlivre.class.php
index 2965087c3..d8d7991fd 100644
--- a/include/class/anc_grandlivre.class.php
+++ b/include/class/anc_grandlivre.class.php
@@ -272,6 +272,7 @@ class Anc_GrandLivre extends Anc_Print
if ($str_document != "")
{
$ck = new ICheckBox('ck[]', $row['jr_id']);
+ $ck->set_range("document_export_ck");
$str_ck = $ck->input();
}
}
@@ -298,6 +299,7 @@ class Anc_GrandLivre extends Anc_Print
$r.=td('') . td('') . td('') . td('') . td('') . td(nbm($tot_deb), ' class="num"') . td(nbm($tot_cred), ' class="num"') . td(nbm($tot_solde) . $sign, ' class="num"');
$r.= '';
+ $r.=ICheckBox::javascript_set_range("document_export_ck");
return $r;
}
/*!
diff --git a/include/class/follow_up.class.php b/include/class/follow_up.class.php
index 4cbd1336c..0ad9fdc43 100644
--- a/include/class/follow_up.class.php
+++ b/include/class/follow_up.class.php
@@ -692,6 +692,7 @@ class Follow_Up
$today=date('d.m.Y');
$i=0;
$checkbox=new ICheckBox("mag_id[]");
+ $checkbox->set_range("action_followup_ck");
//show the sub_action
foreach ($a_row as $row)
{
@@ -762,6 +763,7 @@ class Follow_Up
$r.="";
$r.=''.$bar.'
';
+ $r.=ICheckBox::javascript_set_range("action_followup_ck");
return $r;
}
@@ -1928,7 +1930,7 @@ class Follow_Up
{
$showAction='';
echo ''.$margin.$showAction.$action[$o]['str_date']." ".
- h($action[$o]['sub_title']).'('.h($action[$o]['action_ref']).')'.$direct_parent.''." "
+ h($action[$o]['title']).'('.h($action[$o]['action_ref']).')'.$direct_parent.''." "
.'';
}
}
diff --git a/include/compta_fin_rec.inc.php b/include/compta_fin_rec.inc.php
index 7ca464ee1..8b53fa8bd 100644
--- a/include/compta_fin_rec.inc.php
+++ b/include/compta_fin_rec.inc.php
@@ -32,7 +32,43 @@ require_once NOALYSS_INCLUDE.'/class/acc_ledger_fin.class.php';
bcscale(2);
?>
@@ -67,6 +69,7 @@ $http=new HttpInput();
get("input_switch_value","string","0"));
+
echo $input_switch->input();
?>
ReadOnly
@@ -81,6 +84,20 @@ $http=new HttpInput();
$input_switch->readOnly=TRUE;
echo $input_switch->input();
?>
+ InputCheckBox (Check Box)
+
+
+
+ ';
+ $check[$i]=new InputCheckBox("check[]",1,"checkid".$i);
+ echo $i, " - name = ",$check[$i]->value_container,",id = " , $check[$i]->id_icon,$check[$i]->input();
+ echo '';
+ endfor;
+ ?>
+
+
Submit
echo HtmlInput::submit("submit", _("Envoi"));
@@ -88,4 +105,26 @@ $http=new HttpInput();
-
\ No newline at end of file
+ ICheckBox
+
+ For using range all the checkbox must have the same name , like checkbox[]
+
+
+ id=uniqid();
+ $icheckbox->set_range("icheckbox11");
+ echo '- ';
+ printf ("%s ".$icheckbox->input(),$i);
+ echo '
';
+
+ }
+ echo ICheckBox::javascript_set_range("icheckbox11");
+ ?>
+
+
+
+
+
\ No newline at end of file