diff --git a/htdocs/admin/facture.php b/htdocs/admin/facture.php index fffc94b679f..510e9b8d3c4 100644 --- a/htdocs/admin/facture.php +++ b/htdocs/admin/facture.php @@ -564,7 +564,7 @@ if ($conf->banque->enabled) $row = $db->fetch_row($resql); print ''; $i++; @@ -586,7 +586,7 @@ print "".$langs->trans("SuggestPaymentByChequeToAddress").""; print ""; print ''; - print ''; + print ''; while ($i < $num) { $objp = $db->fetch_object($resql); print ''; $i++; } @@ -1482,7 +1482,7 @@ if ($_GET['action'] == 'create') foreach ($facids as $facparam) { $options.=''; @@ -1500,7 +1500,7 @@ if ($_GET['action'] == 'create') $newinvoice=new Facture($db); $newinvoice->fetch($key); $optionsav.=''; + print ''; } else { @@ -378,7 +378,7 @@ class Form { $obj = $db->fetch_object($resql); print ''; } print ''; } @@ -475,7 +475,7 @@ class Form { $obj = $db->fetch_object($resql); print ''; + print ''; } else { @@ -622,7 +622,7 @@ class Form if ($desc=='(DEPOSIT)') $desc=$langs->trans("Deposit"); $selectstring=''; - if ($selected > 0 && $selected == $obj->rowid) $selectstring=' selected="true"'; + if ($selected > 0 && $selected == $obj->rowid) $selectstring=' selected="selected"'; $disabled=''; if ($maxvalue && $obj->amount_ttc > $maxvalue) @@ -695,7 +695,7 @@ class Form { print ''; + print ' selected="selected">'.$obj->name.' '.$obj->firstname.''; } else { @@ -773,7 +773,7 @@ class Form if ($resql) { $out.= '"; @@ -2862,7 +2862,7 @@ class Form if ($show_empty) { - $out.=''."\n"; + $out.=''."\n"; } if (is_array($array)) @@ -2873,7 +2873,7 @@ class Form // Si il faut pre-selectionner une valeur if ($id != '' && ($id == $key || $id == $value)) { - $out.=' selected="true"'; + $out.=' selected="selected"'; } $out.='>'; @@ -2931,13 +2931,13 @@ class Form $resultyesno = ''."\n"; return $resultyesno; @@ -2975,7 +2975,7 @@ class Form $obj = $this->db->fetch_object($result); if ($selected == $obj->rowid) { - print ''; } for ($y = $max_year; $y >= $min_year; $y--) @@ -3092,7 +3092,7 @@ class Form $selected_html=''; if ($y == $selected) { - $selected_html = 'selected="true"'; + $selected_html = 'selected="selected"'; } print ""; diff --git a/htdocs/core/class/html.formactions.class.php b/htdocs/core/class/html.formactions.class.php index 24a4db8657a..e90bdbdb36c 100644 --- a/htdocs/core/class/html.formactions.class.php +++ b/htdocs/core/class/html.formactions.class.php @@ -72,7 +72,7 @@ class FormActions print ''; if ($selected == 0 || $selected == 100) $canedit=0; diff --git a/htdocs/core/class/html.formadmin.class.php b/htdocs/core/class/html.formadmin.class.php index add66c06491..ce22e062e88 100644 --- a/htdocs/core/class/html.formadmin.class.php +++ b/htdocs/core/class/html.formadmin.class.php @@ -80,13 +80,13 @@ class FormAdmin if ($showempty) { $out.= ''; } @@ -108,7 +108,7 @@ class FormAdmin } else if ($selected == $key) { - $out.= ''; + $out.= ''; } else { @@ -146,7 +146,7 @@ class FormAdmin if ($file == $selected) { - $menuarray[$prefix.'_'.$file]=''; + $menuarray[$prefix.'_'.$file]=''; } else { @@ -189,7 +189,7 @@ class FormAdmin global $langs,$conf; $menuarray=array(); - + foreach($dirmenuarray as $dirmenu) { $handle=opendir($dirmenu); @@ -201,14 +201,14 @@ class FormAdmin if (preg_match('/^default/i',$filelib)) continue; if (preg_match('/^empty/i',$filelib)) continue; if (preg_match('/\.lib/i',$filelib)) continue; - + $menuarray[$filelib]=1; } $menuarray['all']=1; } closedir($handle); } - + ksort($menuarray); // Affichage liste deroulante des menus @@ -221,7 +221,7 @@ class FormAdmin print ''."\n"; } print ''; @@ -302,7 +302,7 @@ class FormAdmin foreach ($arrayofcolors as $val) { print ''; } print ''; diff --git a/htdocs/core/class/html.formcompany.class.php b/htdocs/core/class/html.formcompany.class.php index 6f83620fcf2..9243faf4797 100644 --- a/htdocs/core/class/html.formcompany.class.php +++ b/htdocs/core/class/html.formcompany.class.php @@ -157,7 +157,7 @@ class FormCompany $obj = $this->db->fetch_object($resql); print ''; + print ''; } else { @@ -378,7 +378,7 @@ class FormCompany $obj = $this->db->fetch_object($resql); if ($selected == $obj->code) { - $out.= ''; + print ' selected="selected">'.dol_trunc($obj->nom,24).''; $firstCompany = $obj->rowid; } else diff --git a/htdocs/core/class/html.formorder.class.php b/htdocs/core/class/html.formorder.class.php index 9a6d2db0e61..725a5aa815a 100644 --- a/htdocs/core/class/html.formorder.class.php +++ b/htdocs/core/class/html.formorder.class.php @@ -58,16 +58,16 @@ class FormOrder { global $conf,$langs; print ''; } diff --git a/htdocs/core/class/html.formother.class.php b/htdocs/core/class/html.formother.class.php index bbb0b8bf4e2..129b4502f40 100644 --- a/htdocs/core/class/html.formother.class.php +++ b/htdocs/core/class/html.formother.class.php @@ -84,7 +84,7 @@ class FormOther $obj = $this->db->fetch_object($result); if ($selected == $obj->rowid) { - print ''; } print ''; @@ -501,7 +501,7 @@ function PLineSelect(&$inc, $parent, $lines, $level=0, $selectedtask=0, $selecte { if ($i > 0 && $conf->browser->firefox) print ''; print ''; + print ''; print ''; } else { print ''; - print ''; + print ''; } print ''; print ''; @@ -891,13 +891,13 @@ if ($_GET["id"] || $_GET["ref"]) print ''; print ''; diff --git a/htdocs/product/stock/fiche.php b/htdocs/product/stock/fiche.php index 87513f4b7c3..6e330fae629 100644 --- a/htdocs/product/stock/fiche.php +++ b/htdocs/product/stock/fiche.php @@ -197,7 +197,7 @@ if ($_GET["action"] == 'create') print ''.$langs->trans("Status").''; print ''; print ''; @@ -489,8 +489,8 @@ else print ''.$langs->trans("Status").''; print ''; print ''; diff --git a/htdocs/societe/canvas/actions_card_common.class.php b/htdocs/societe/canvas/actions_card_common.class.php index 4506c185bbb..8bdf74a5085 100644 --- a/htdocs/societe/canvas/actions_card_common.class.php +++ b/htdocs/societe/canvas/actions_card_common.class.php @@ -99,10 +99,10 @@ class ActionsCardCommon // TODO create a function $this->tpl['select_customertype'] = ''; // Customer @@ -123,10 +123,10 @@ class ActionsCardCommon $this->object->LoadSupplierCateg(); $this->tpl['suppliercategory'] = $this->object->SupplierCategories; $this->tpl['select_suppliercategory'] = $form->selectarray("fournisseur_categorie",$this->object->SupplierCategories,$_POST["fournisseur_categorie"],1); - + // Zip $this->tpl['select_zip'] = $formcompany->select_ziptown($this->object->cp,'zipcode',array('town','selectpays_id','departement_id'),6); - + // Town $this->tpl['select_town'] = $formcompany->select_ziptown($this->object->ville,'town',array('zipcode','selectpays_id','departement_id')); diff --git a/htdocs/societe/soc.php b/htdocs/societe/soc.php index cdb5131586e..7327496a674 100644 --- a/htdocs/societe/soc.php +++ b/htdocs/societe/soc.php @@ -708,10 +708,10 @@ else // Prospect/Customer print ''.$langs->trans('ProspectCustomer').''; print ''.$langs->trans('CustomerCode').''; @@ -1095,10 +1095,10 @@ else // Prospect/Customer print ''.$langs->trans('ProspectCustomer').''; print ''.$langs->trans('CustomerCode').''; diff --git a/htdocs/webcalendar/admin/webcalendar.php b/htdocs/webcalendar/admin/webcalendar.php index 90da83abd13..8cb5bbe8e91 100644 --- a/htdocs/webcalendar/admin/webcalendar.php +++ b/htdocs/webcalendar/admin/webcalendar.php @@ -227,10 +227,10 @@ if ($conf->agenda->enabled) print ''.$langs->trans("WebCalAddEventOnCreateActions").''; print ''; print ''; print ''; } @@ -266,7 +266,7 @@ if ($conf->contrat->enabled) print ''; print ''; print ''; } @@ -278,7 +278,7 @@ if ($conf->facture->enabled) print ''; print ''; print ''; } @@ -290,7 +290,7 @@ if ($conf->adherent->enabled) print ''; print ''; print ''; }