TEST : fix some little bugs
This commit is contained in:
parent
9d389cf8eb
commit
df79de735f
3 changed files with 11 additions and 7 deletions
|
|
@ -31,7 +31,11 @@ require_once NOALYSS_INCLUDE.'/lib/output_html_tab.class.php';
|
|||
|
||||
$tab = new Html_Tab('tab1',_("Titre 1"));
|
||||
$tab->set_mode('link');
|
||||
$tab->set_link(http_build_query([ "a"=>1,"b"=>2]));
|
||||
$tab->set_link("test.php?".
|
||||
http_build_query([ "gDossier"=>Dossier::id(),
|
||||
"script"=>"html_tab.test.php",
|
||||
"a"=>1,
|
||||
"b"=>2]));
|
||||
$tab2 = new Html_Tab('tab2',_("Titre 2"));
|
||||
$tab2->set_content(""
|
||||
. "<br> Très longue chaine HTML pour 2"
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ $obj=new Acc_Plan_SQL($cn);
|
|||
/**
|
||||
* Test $obj
|
||||
*/
|
||||
|
||||
echo Dossier::hidden();
|
||||
$mtable=new Acc_Plan_MTable($obj);
|
||||
$obj->set_limit_fiche_qcode(5);
|
||||
$mtable->set_callback("ajax_test.php");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue