diff --git a/htdocs/adherents/fiche.php b/htdocs/adherents/fiche.php
index 85b9635f627..8c859132c25 100644
--- a/htdocs/adherents/fiche.php
+++ b/htdocs/adherents/fiche.php
@@ -735,7 +735,7 @@ if ($action == 'edit')
$morphys["phy"] = $langs->trans("Physical");
$morphys["mor"] = $langs->trans("Morale");
print '
'.$langs->trans("Person").' ';
- $html->selectarray("morphy", $morphys, isset($_POST["morphy"])?$_POST["morphy"]:$adh->morphy);
+ print $html->selectarray("morphy", $morphys, isset($_POST["morphy"])?$_POST["morphy"]:$adh->morphy);
print " ";
// Societe
@@ -777,7 +777,7 @@ if ($action == 'edit')
print ''.$langs->trans("Type").' ';
if ($user->rights->adherent->creer)
{
- $html->selectarray("typeid", $adht->liste_array(), (isset($_POST["typeid"])?$_POST["typeid"]:$adh->typeid));
+ print $html->selectarray("typeid", $adht->liste_array(), (isset($_POST["typeid"])?$_POST["typeid"]:$adh->typeid));
}
else
{
@@ -921,7 +921,7 @@ if ($action == 'create')
$morphys["phy"] = $langs->trans("Physical");
$morphys["mor"] = $langs->trans("Moral");
print ' '.$langs->trans("Person")." \n";
- $html->selectarray("morphy", $morphys, isset($_POST["morphy"])?$_POST["morphy"]:$adh->morphy, 1);
+ print $html->selectarray("morphy", $morphys, isset($_POST["morphy"])?$_POST["morphy"]:$adh->morphy, 1);
print " \n";
// Company
@@ -963,7 +963,7 @@ if ($action == 'create')
$listetype=$adht->liste_array();
if (sizeof($listetype))
{
- $html->selectarray("typeid", $listetype, isset($_POST["typeid"])?$_POST["typeid"]:$typeid, 1);
+ print $html->selectarray("typeid", $listetype, isset($_POST["typeid"])?$_POST["typeid"]:$typeid, 1);
} else {
print ''.$langs->trans("NoTypeDefinedGoToSetup").' ';
}
diff --git a/htdocs/adherents/liste.php b/htdocs/adherents/liste.php
index 0024da06942..e66a1ab00c4 100644
--- a/htdocs/adherents/liste.php
+++ b/htdocs/adherents/liste.php
@@ -230,7 +230,7 @@ if ($resql)
print '';
$listetype=$membertypestatic->liste_array();
- $form->selectarray("type", $listetype, $_REQUEST["type"], 1, 0, 0, '', 0, 12);
+ print $form->selectarray("type", $listetype, $_REQUEST["type"], 1, 0, 0, '', 0, 12);
print ' ';
print ' ';
diff --git a/htdocs/adherents/options.php b/htdocs/adherents/options.php
index 6b56038bbae..481ae1cdc43 100644
--- a/htdocs/adherents/options.php
+++ b/htdocs/adherents/options.php
@@ -175,7 +175,7 @@ if ($_GET["action"] == 'create')
print ''.$langs->trans("Label").' ';
print ''.$langs->trans("AttributeCode").' ('.$langs->trans("AlphaNumOnlyCharsAndNoSpace").') ';
print ''.$langs->trans("Type").' ';
- $form->selectarray('type',array('varchar'=>$langs->trans('String'),
+ print $form->selectarray('type',array('varchar'=>$langs->trans('String'),
'text'=>$langs->trans('Text'),
'int'=>$langs->trans('Int'),
'date'=>$langs->trans('Date'),
@@ -226,7 +226,7 @@ if ($_GET["attrname"] && $_GET["action"] == 'edit')
'int'=>$langs->trans('Int'),
'date'=>$langs->trans('Date'),
'datetime'=>$langs->trans('DateAndTime'));
- //$form->selectarray('type',$type2label,$type);
+ //print $form->selectarray('type',$type2label,$type);
print $type2label[$type];
print ' ';
print ' ';
diff --git a/htdocs/admin/dict.php b/htdocs/admin/dict.php
index a8121f178f8..8e394bc2ee0 100644
--- a/htdocs/admin/dict.php
+++ b/htdocs/admin/dict.php
@@ -840,7 +840,7 @@ function fieldList($fieldlist,$obj='')
"facture"=>$langs->trans("Bill"),
"facture_fourn"=>$langs->trans("SupplierBill"),
"fichinter"=>$langs->trans("InterventionCard"));
- $html->selectarray('element', $elementList,$obj->$fieldlist[$field]);
+ print $html->selectarray('element', $elementList,$obj->$fieldlist[$field]);
print '';
}
// La source de l'element (pour les type de contact).'
@@ -849,7 +849,7 @@ function fieldList($fieldlist,$obj='')
print '';
$elementList = array("internal"=>$langs->trans("Internal"),
"external"=>$langs->trans("External"));
- $html->selectarray('source', $elementList,$obj->$fieldlist[$field]);
+ print $html->selectarray('source', $elementList,$obj->$fieldlist[$field]);
print ' ';
}
elseif ($fieldlist[$field] == 'type' && $tabname[$_GET["id"]] == MAIN_DB_PREFIX."c_actioncomm")
@@ -874,7 +874,7 @@ function fieldList($fieldlist,$obj='')
}
elseif ($fieldlist[$field]=='unit') {
print '';
- $html->selectarray('unit',array('mm','cm','point','inch'),$obj->$fieldlist[$field],0,0,1);
+ print $html->selectarray('unit',array('mm','cm','point','inch'),$obj->$fieldlist[$field],0,0,1);
print ' ';
}
else
diff --git a/htdocs/admin/ihm.php b/htdocs/admin/ihm.php
index 5e8267a0391..a8c9afdd085 100644
--- a/htdocs/admin/ihm.php
+++ b/htdocs/admin/ihm.php
@@ -179,7 +179,7 @@ if (isset($_GET["action"]) && $_GET["action"] == 'edit') // Edit
//'eldy'=>$langs->trans("Yes").' (style eldy)',
//'andre'=>$langs->trans("Yes").' (style andre)'
);
- $html->selectarray('main_popup_calendar',$liste_popup_calendar,$conf->global->MAIN_POPUP_CALENDAR);
+ print $html->selectarray('main_popup_calendar',$liste_popup_calendar,$conf->global->MAIN_POPUP_CALENDAR);
print ' ('.$langs->trans("AvailableOnlyIfJavascriptNotDisabled").')';
print '';
print ' ';
diff --git a/htdocs/admin/ldap.php b/htdocs/admin/ldap.php
index 2d1a6d5d3b8..64f57c4547c 100644
--- a/htdocs/admin/ldap.php
+++ b/htdocs/admin/ldap.php
@@ -110,7 +110,7 @@ $arraylist=array();
$arraylist['0']=$langs->trans("No");
$arraylist['ldap2dolibarr']=$langs->trans("LDAPToDolibarr");
$arraylist['dolibarr2ldap']=$langs->trans("DolibarrToLDAP");
-$html->selectarray('activesynchro',$arraylist,$conf->global->LDAP_SYNCHRO_ACTIVE);
+print $html->selectarray('activesynchro',$arraylist,$conf->global->LDAP_SYNCHRO_ACTIVE);
print ''.$langs->trans("LDAPDnSynchroActiveExample");
if ($conf->global->LDAP_SYNCHRO_ACTIVE && ! $conf->global->LDAP_USER_DN)
{
@@ -126,7 +126,7 @@ if ($conf->societe->enabled)
$arraylist=array();
$arraylist['0']=$langs->trans("No");
$arraylist['1']=$langs->trans("DolibarrToLDAP");
- $html->selectarray('activecontact',$arraylist,$conf->global->LDAP_CONTACT_ACTIVE);
+ print $html->selectarray('activecontact',$arraylist,$conf->global->LDAP_CONTACT_ACTIVE);
print ' '.$langs->trans("LDAPDnContactActiveExample").' ';
}
@@ -138,7 +138,7 @@ if ($conf->adherent->enabled)
$arraylist=array();
$arraylist['0']=$langs->trans("No");
$arraylist['1']=$langs->trans("DolibarrToLDAP");
- $html->selectarray('activemembers',$arraylist,$conf->global->LDAP_MEMBER_ACTIVE);
+ print $html->selectarray('activemembers',$arraylist,$conf->global->LDAP_MEMBER_ACTIVE);
print ''.$langs->trans("LDAPDnMemberActiveExample").' ';
}
@@ -155,7 +155,7 @@ $arraylist=array();
$arraylist['activedirectory']='Active Directory';
$arraylist['openldap']='OpenLdap';
$arraylist['egroupware']='Egroupware';
-$html->selectarray('type',$arraylist,$conf->global->LDAP_SERVER_TYPE);
+print $html->selectarray('type',$arraylist,$conf->global->LDAP_SERVER_TYPE);
print ' ';
// Version
@@ -164,7 +164,7 @@ print ''.$langs->trans("Version").' ';
$arraylist=array();
$arraylist['3']='Version 3';
$arraylist['2']='Version 2';
-$html->selectarray('version',$arraylist,$conf->global->LDAP_SERVER_PROTOCOLVERSION);
+print $html->selectarray('version',$arraylist,$conf->global->LDAP_SERVER_PROTOCOLVERSION);
print ' '.$langs->trans("LDAPServerProtocolVersion").' ';
// Serveur primaire
@@ -206,7 +206,7 @@ print ''.$langs->trans("LDAPServerUseTLS").' ';
$arraylist=array();
$arraylist['0']=$langs->trans("No");
$arraylist['1']=$langs->trans("Yes");
-$html->selectarray('usetls',$arraylist,$conf->global->LDAP_SERVER_USE_TLS);
+print $html->selectarray('usetls',$arraylist,$conf->global->LDAP_SERVER_USE_TLS);
print ' '.$langs->trans("LDAPServerUseTLSExample").' ';
print '';
diff --git a/htdocs/bookmarks/fiche.php b/htdocs/bookmarks/fiche.php
index 9ade71b2103..186b05d6613 100644
--- a/htdocs/bookmarks/fiche.php
+++ b/htdocs/bookmarks/fiche.php
@@ -151,7 +151,7 @@ if ($action == 'create')
print ' '.$langs->trans("BehaviourOnClick").' ';
$liste=array(0=>$langs->trans("ReplaceWindow"),1=>$langs->trans("OpenANewWindow"));
- $html->selectarray('target',$liste,1);
+ print $html->selectarray('target',$liste,1);
print ' '.$langs->trans("ChooseIfANewWindowMustBeOpenedOnClickOnBookmark").' ';
print ''.$langs->trans("Owner").' ';
@@ -212,7 +212,7 @@ if ($_GET["id"] > 0 && ! preg_match('/^add/i',$_GET["action"]))
if ($_GET["action"] == 'edit')
{
$liste=array(1=>$langs->trans("OpenANewWindow"),0=>$langs->trans("ReplaceWindow"));
- $html->selectarray('target',$liste,isset($_POST["target"])?$_POST["target"]:$bookmark->target);
+ print $html->selectarray('target',$liste,isset($_POST["target"])?$_POST["target"]:$bookmark->target);
}
else
{
diff --git a/htdocs/comm/action/fiche.php b/htdocs/comm/action/fiche.php
index 5dc25cfb301..27f464cc0a3 100644
--- a/htdocs/comm/action/fiche.php
+++ b/htdocs/comm/action/fiche.php
@@ -679,7 +679,7 @@ if ($_GET["id"])
// Contact
print ' '.$langs->trans("Contact").' ';
- $html->selectarray("contactid", $act->societe->contact_array(), $act->contact->id, 1);
+ print $html->selectarray("contactid", $act->societe->contact_array(), $act->contact->id, 1);
print ' ';
// Project
diff --git a/htdocs/comm/addpropal.php b/htdocs/comm/addpropal.php
index 96d739c5929..aef4f452416 100644
--- a/htdocs/comm/addpropal.php
+++ b/htdocs/comm/addpropal.php
@@ -198,7 +198,7 @@ if ($_GET["action"] == 'create')
print '';
$model=new ModelePDFPropales();
$liste=$model->liste_modeles($db);
- $html->selectarray('model',$liste,$conf->global->PROPALE_ADDON_PDF);
+ print $html->selectarray('model',$liste,$conf->global->PROPALE_ADDON_PDF);
print " ";
// Project
@@ -261,7 +261,7 @@ if ($_GET["action"] == 'create')
$liste_propal[$row[0]]=$propalRefAndSocName;
$i++;
}
- $html->selectarray("copie_propal",$liste_propal, 0);
+ print $html->selectarray("copie_propal",$liste_propal, 0);
}
else
{
diff --git a/htdocs/commande/fiche.php b/htdocs/commande/fiche.php
index 8477eb637f8..74fe2680246 100644
--- a/htdocs/commande/fiche.php
+++ b/htdocs/commande/fiche.php
@@ -1141,7 +1141,7 @@ if ($_GET['action'] == 'create' && $user->rights->commande->creer)
include_once(DOL_DOCUMENT_ROOT.'/includes/modules/commande/modules_commande.php');
$model=new ModelePDFCommandes();
$liste=$model->liste_modeles($db);
- $html->selectarray('model',$liste,$conf->global->COMMANDE_ADDON_PDF);
+ print $html->selectarray('model',$liste,$conf->global->COMMANDE_ADDON_PDF);
print "";
// Note publique
diff --git a/htdocs/compta/bank/fiche.php b/htdocs/compta/bank/fiche.php
index e6786366a4a..a6daa794784 100644
--- a/htdocs/compta/bank/fiche.php
+++ b/htdocs/compta/bank/fiche.php
@@ -226,7 +226,7 @@ if ($_REQUEST["action"] == 'create')
// Status
print ''.$langs->trans("Status").' ';
print '';
- $form->selectarray("clos",array(0=>$account->status[0],1=>$account->status[1]),(isset($_POST["clos"])?$_POST["clos"]:$account->clos));
+ print $form->selectarray("clos",array(0=>$account->status[0],1=>$account->status[1]),(isset($_POST["clos"])?$_POST["clos"]:$account->clos));
print ' ';
// Country
@@ -484,7 +484,7 @@ else
// Status
print ''.$langs->trans("Status").' ';
print '';
- $form->selectarray("clos",array(0=>$account->status[0],1=>$account->status[1]),(isset($_POST["clos"])?$_POST["clos"]:$account->clos));
+ print $form->selectarray("clos",array(0=>$account->status[0],1=>$account->status[1]),(isset($_POST["clos"])?$_POST["clos"]:$account->clos));
print ' ';
// Country
diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php
index 5f211cace66..6b6112e7548 100644
--- a/htdocs/compta/facture.php
+++ b/htdocs/compta/facture.php
@@ -1630,7 +1630,7 @@ if ($_GET['action'] == 'create')
include_once(DOL_DOCUMENT_ROOT.'/includes/modules/facture/modules_facture.php');
$model=new ModelePDFFactures();
$liste=$model->liste_modeles($db);
- $html->selectarray('model',$liste,$conf->global->FACTURE_ADDON_PDF);
+ print $html->selectarray('model',$liste,$conf->global->FACTURE_ADDON_PDF);
print "";
// Note publique
diff --git a/htdocs/contact/fiche.php b/htdocs/contact/fiche.php
index ee8724e1302..4a7bac3b2f6 100644
--- a/htdocs/contact/fiche.php
+++ b/htdocs/contact/fiche.php
@@ -381,7 +381,7 @@ if ($user->rights->societe->contact->creer)
// Visibility
print ''.$langs->trans("ContactVisibility").' ';
$selectarray=array('0'=>$langs->trans("ContactPublic"),'1'=>$langs->trans("ContactPrivate"));
- $form->selectarray('priv',$selectarray,(isset($_POST["priv"])?$_POST["priv"]:$contact->priv),0);
+ print $form->selectarray('priv',$selectarray,(isset($_POST["priv"])?$_POST["priv"]:$contact->priv),0);
print ' ';
// Note
@@ -495,7 +495,7 @@ if ($user->rights->societe->contact->creer)
// Visibility
print ''.$langs->trans("ContactVisibility").' ';
$selectarray=array('0'=>$langs->trans("ContactPublic"),'1'=>$langs->trans("ContactPrivate"));
- $form->selectarray('priv',$selectarray,$contact->priv,0);
+ print $form->selectarray('priv',$selectarray,$contact->priv,0);
print ' ';
print ''.$langs->trans("Note").' ';
diff --git a/htdocs/contact/index.php b/htdocs/contact/index.php
index 3d1a64e5abe..f8bf27e0617 100644
--- a/htdocs/contact/index.php
+++ b/htdocs/contact/index.php
@@ -273,7 +273,7 @@ if ($result)
print ' ';
print '';
$selectarray=array('0'=>$langs->trans("ContactPublic"),'1'=>$langs->trans("ContactPrivate"));
- $form->selectarray('search_priv',$selectarray,$search_priv,1);
+ print $form->selectarray('search_priv',$selectarray,$search_priv,1);
print ' ';
print '';
print ' ';
diff --git a/htdocs/core/class/html.formactions.class.php b/htdocs/core/class/html.formactions.class.php
index fa08d07b5b8..bd9e9e092a2 100644
--- a/htdocs/core/class/html.formactions.class.php
+++ b/htdocs/core/class/html.formactions.class.php
@@ -174,7 +174,7 @@ class FormActions
$arraylist[0]=' ';
asort($arraylist);
- $form->selectarray($htmlname, $arraylist, $selected);
+ print $form->selectarray($htmlname, $arraylist, $selected);
if ($user->admin) print info_admin($langs->trans("YouCanChangeValuesForThisListFromDictionnarySetup"),1);
}
diff --git a/htdocs/core/class/html.formmail.class.php b/htdocs/core/class/html.formmail.class.php
index a4fcda143d9..be6b713f949 100644
--- a/htdocs/core/class/html.formmail.class.php
+++ b/htdocs/core/class/html.formmail.class.php
@@ -354,7 +354,7 @@ class FormMail
$liste[$key]=$value;
}
print " ".$langs->trans("or")." ";
- $form->selectarray("receivercc", $liste, isset($_REQUEST["receivercc"])?$_REQUEST["receivercc"]:0);
+ print $form->selectarray("receivercc", $liste, isset($_REQUEST["receivercc"])?$_REQUEST["receivercc"]:0);
}
}
print " \n";
@@ -384,7 +384,7 @@ class FormMail
$liste[$key]=$value;
}
print " ".$langs->trans("or")." ";
- $form->selectarray("receiverccc", $liste, isset($_REQUEST["receiverccc"])?$_REQUEST["receiverccc"]:0);
+ print $form->selectarray("receiverccc", $liste, isset($_REQUEST["receiverccc"])?$_REQUEST["receiverccc"]:0);
}
}
print "\n";
diff --git a/htdocs/expedition/fiche.php b/htdocs/expedition/fiche.php
index eb161bef540..0a46f9c6664 100644
--- a/htdocs/expedition/fiche.php
+++ b/htdocs/expedition/fiche.php
@@ -426,7 +426,7 @@ if ($_GET["action"] == 'create')
print "".$langs->trans("DeliveryMethod")." ";
print '';
$expe->fetch_delivery_methods();
- $html->selectarray("expedition_method_id",$expe->meths,$_POST["expedition_method_id"],1,0,0,"",1);
+ print $html->selectarray("expedition_method_id",$expe->meths,$_POST["expedition_method_id"],1,0,0,"",1);
print " \n";
// Tracking number
@@ -875,7 +875,7 @@ else
print ' ';
print ' ';
$expedition->fetch_delivery_methods();
- $html->selectarray("expedition_method_id",$expedition->meths,$expedition->expedition_method_id,1,0,0,"",1);
+ print $html->selectarray("expedition_method_id",$expedition->meths,$expedition->expedition_method_id,1,0,0,"",1);
print ' ';
print '';
}
diff --git a/htdocs/fichinter/fiche.php b/htdocs/fichinter/fiche.php
index f70de61d484..4b48cea0829 100644
--- a/htdocs/fichinter/fiche.php
+++ b/htdocs/fichinter/fiche.php
@@ -509,7 +509,7 @@ if ($_GET["action"] == 'create')
print '';
$model=new ModelePDFFicheinter();
$liste=$model->liste_modeles($db);
- $html->selectarray('model',$liste,$conf->global->FICHEINTER_ADDON_PDF);
+ print $html->selectarray('model',$liste,$conf->global->FICHEINTER_ADDON_PDF);
print " ";
// Description (must be a textarea and not html must be allowed (used in list view)
diff --git a/htdocs/product/fiche.php b/htdocs/product/fiche.php
index 0625b4b0211..2814a08afe8 100644
--- a/htdocs/product/fiche.php
+++ b/htdocs/product/fiche.php
@@ -670,13 +670,13 @@ if ($_GET["action"] == 'create' && ($user->rights->produit->creer || $user->righ
// On sell
print ''.$langs->trans("Status").' ('.$langs->trans("Sell").')'.' ';
$statutarray=array('1' => $langs->trans("OnSell"), '0' => $langs->trans("NotOnSell"));
- $html->selectarray('statut',$statutarray,$_POST["statut"]);
+ print $html->selectarray('statut',$statutarray,$_POST["statut"]);
print ' ';
// To buy
print ''.$langs->trans("Status").' ('.$langs->trans("Buy").')'.' ';
$statutarray=array('1' => $langs->trans("ProductStatusOnBuy"), '0' => $langs->trans("ProductStatusNotOnBuy"));
- $html->selectarray('statut_buy',$statutarray,$_POST["statut_buy"]);
+ print $html->selectarray('statut_buy',$statutarray,$_POST["statut_buy"]);
print ' ';
// Stock min level
@@ -714,7 +714,7 @@ if ($_GET["action"] == 'create' && ($user->rights->produit->creer || $user->righ
{
print ''.$langs->trans("Nature").' ';
$statutarray=array('1' => $langs->trans("Finished"), '0' => $langs->trans("RowMaterial"));
- $html->selectarray('finished',$statutarray,$_POST["finished"]);
+ print $html->selectarray('finished',$statutarray,$_POST["finished"]);
print ' ';
}
@@ -944,7 +944,7 @@ if ($_GET["id"] || $_GET["ref"])
{
print ''.$langs->trans("Nature").' ';
$statutarray=array('-1'=>' ', '1' => $langs->trans("Finished"), '0' => $langs->trans("RowMaterial"));
- $html->selectarray('finished',$statutarray,$product->finished);
+ print $html->selectarray('finished',$statutarray,$product->finished);
print ' ';
}
@@ -1378,7 +1378,7 @@ if ($product->id && $_GET["action"] == '' && $product->status)
print '';
print ' ';
print $langs->trans("OtherPropals").' ';
- $html->selectarray("propalid", $otherprop);
+ print $html->selectarray("propalid", $otherprop);
print ' ';
print ''.$langs->trans("Qty");
print ' '.$langs->trans("ReductionShort");
@@ -1496,7 +1496,7 @@ if ($product->id && $_GET["action"] == '' && $product->status)
print ' ';
print ' ';
print $langs->trans("OtherOrders").' ';
- $html->selectarray("commandeid", $othercom);
+ print $html->selectarray("commandeid", $othercom);
print ' ';
print ''.$langs->trans("Qty");
print ' '.$langs->trans("ReductionShort");
diff --git a/htdocs/projet/fiche.php b/htdocs/projet/fiche.php
index ebded3fd57b..1951d70ac5d 100644
--- a/htdocs/projet/fiche.php
+++ b/htdocs/projet/fiche.php
@@ -285,7 +285,7 @@ if ($_GET["action"] == 'create' && $user->rights->projet->creer)
// Public
print ' '.$langs->trans("Visibility").' ';
$array=array(0 => $langs->trans("PrivateProject"),1 => $langs->trans("SharedProject"));
- $html->selectarray('public',$array,$project->public);
+ print $html->selectarray('public',$array,$project->public);
print ' ';
// Date start
@@ -380,7 +380,7 @@ else
// Visibility
print ''.$langs->trans("Visibility").' ';
$array=array(0 => $langs->trans("PrivateProject"),1 => $langs->trans("SharedProject"));
- $html->selectarray('public',$array,$project->public);
+ print $html->selectarray('public',$array,$project->public);
print ' ';
// Statut
diff --git a/htdocs/public/members/new.php b/htdocs/public/members/new.php
index c0617c25d7c..3631c68c3e6 100644
--- a/htdocs/public/members/new.php
+++ b/htdocs/public/members/new.php
@@ -249,14 +249,14 @@ print ' ';
print ''."\n";
print ''.$langs->trans("Type").' ';
-$html->selectarray("type", $adht->liste_array());
+print $html->selectarray("type", $adht->liste_array());
print " \n";
print ' '."\n";
$morphys["phy"] = $langs->trans("Physical");
$morphys["mor"] = $langs->trans("Moral");
print ''.$langs->trans("MorPhy")." \n";
-$html->selectarray("morphy", $morphys);
+print $html->selectarray("morphy", $morphys);
print " \n";
print ' ';
diff --git a/htdocs/societe/notify/fiche.php b/htdocs/societe/notify/fiche.php
index 1bc5a238f96..a802a99b03d 100644
--- a/htdocs/societe/notify/fiche.php
+++ b/htdocs/societe/notify/fiche.php
@@ -187,10 +187,10 @@ if ( $soc->fetch($soc->id) )
print ' ';
print '';
- $html->selectarray("contactid",$soc->contact_email_array());
+ print $html->selectarray("contactid",$soc->contact_email_array());
print ' ';
print '';
- $html->selectarray("actionid",$actions);
+ print $html->selectarray("actionid",$actions);
print ' ';
print ' ';
print ' ';
diff --git a/htdocs/societe/soc.php b/htdocs/societe/soc.php
index 9a57c4b9b3f..4afb7bd58c6 100644
--- a/htdocs/societe/soc.php
+++ b/htdocs/societe/soc.php
@@ -540,7 +540,7 @@ $_GET["action"] == 'create' || $_POST["action"] == 'create')
{
print '';
print ''.$langs->trans('SupplierCategory').' ';
- $form->selectarray("fournisseur_categorie",$soc->SupplierCategories,$_POST["fournisseur_categorie"],1);
+ print $form->selectarray("fournisseur_categorie",$soc->SupplierCategories,$_POST["fournisseur_categorie"],1);
print ' ';
}
}
@@ -648,11 +648,11 @@ $_GET["action"] == 'create' || $_POST["action"] == 'create')
print '';
print ''.$langs->trans("Type").' '."\n";
- $form->selectarray("typent_id",$formcompany->typent_array(0), $soc->typent_id);
+ print $form->selectarray("typent_id",$formcompany->typent_array(0), $soc->typent_id);
if ($user->admin) print info_admin($langs->trans("YouCanChangeValuesForThisListFromDictionnarySetup"),1);
print ' ';
print ''.$langs->trans("Staff").' ';
- $form->selectarray("effectif_id",$formcompany->effectif_array(0), $soc->effectif_id);
+ print $form->selectarray("effectif_id",$formcompany->effectif_array(0), $soc->effectif_id);
if ($user->admin) print info_admin($langs->trans("YouCanChangeValuesForThisListFromDictionnarySetup"),1);
print ' ';
@@ -943,7 +943,7 @@ elseif ($_GET["action"] == 'edit' || $_POST["action"] == 'edit')
{
print '';
print ''.$langs->trans('SupplierCategory').' ';
- $form->selectarray("fournisseur_categorie",$soc->SupplierCategories,'',1);
+ print $form->selectarray("fournisseur_categorie",$soc->SupplierCategories,'',1);
print ' ';
}
}
@@ -1092,11 +1092,11 @@ elseif ($_GET["action"] == 'edit' || $_POST["action"] == 'edit')
print '';
print ''.$langs->trans("Type").' ';
- $form->selectarray("typent_id",$formcompany->typent_array(0), $soc->typent_id);
+ print $form->selectarray("typent_id",$formcompany->typent_array(0), $soc->typent_id);
if ($user->admin) print info_admin($langs->trans("YouCanChangeValuesForThisListFromDictionnarySetup"),1);
print ' ';
print ''.$langs->trans("Staff").' ';
- $form->selectarray("effectif_id",$formcompany->effectif_array(0), $soc->effectif_id);
+ print $form->selectarray("effectif_id",$formcompany->effectif_array(0), $soc->effectif_id);
if ($user->admin) print info_admin($langs->trans("YouCanChangeValuesForThisListFromDictionnarySetup"),1);
print ' ';