diff --git a/htdocs/admin/ihm.php b/htdocs/admin/ihm.php
index 5856f29b85f..87fb38d04c2 100644
--- a/htdocs/admin/ihm.php
+++ b/htdocs/admin/ihm.php
@@ -147,7 +147,7 @@ if (isset($_GET["action"]) && $_GET["action"] == 'edit')
print '
'.$langs->trans("DefaultMaxSizeList").' ';
$var=!$var;
- print ''.$langs->trans("ShowBugtrakLink").' ';
+ print ' '.$langs->trans("ShowBugTrackLink").' ';
$html->selectyesnonum('bugtrack',MAIN_SHOW_BUGTRACK_LINK);
print ' ';
@@ -220,7 +220,7 @@ else
print ''.$langs->trans("DefaultMaxSizeList").' ' . $conf->global->SIZE_LISTE_LIMIT . ' ';
$var=!$var;
- print ''.$langs->trans("ShowBugtrakLink").' ';
+ print ' '.$langs->trans("ShowBugTrackLink").' ';
print (MAIN_SHOW_BUGTRACK_LINK?$langs->trans("yes"):$langs->trans("no"))." ";
$var=!$var;
diff --git a/htdocs/admin/webcalendar.php b/htdocs/admin/webcalendar.php
index 61192bcad37..3b777eaeb88 100644
--- a/htdocs/admin/webcalendar.php
+++ b/htdocs/admin/webcalendar.php
@@ -206,10 +206,10 @@ if ($conf->societe->enabled)
print ''.$langs->trans("WebCalAddEventOnCreateActions").' ';
print '';
print '';
- print 'global->PHPWEBCALENDAR_SYNCRO=='always'?' selected':'').'>'.$langs->trans("WebCalAllways").' ';
- print 'global->PHPWEBCALENDAR_SYNCRO=='yesbydefault'?' selected':'').'>'.$langs->trans("WebCalYesByDefault").' ';
- print 'global->PHPWEBCALENDAR_SYNCRO || $conf->global->PHPWEBCALENDAR_SYNCRO=='nobydefault')?' selected':'').'>'.$langs->trans("WebCalNoByDefault").' ';
- print 'global->PHPWEBCALENDAR_SYNCRO=='never'?' selected':'').'>'.$langs->trans("WebCalNever").' ';
+ print 'global->PHPWEBCALENDAR_SYNCRO=='always'?' selected="true"':'').'>'.$langs->trans("WebCalAllways").' ';
+ print 'global->PHPWEBCALENDAR_SYNCRO=='yesbydefault'?' selected="true"':'').'>'.$langs->trans("WebCalYesByDefault").' ';
+ print 'global->PHPWEBCALENDAR_SYNCRO || $conf->global->PHPWEBCALENDAR_SYNCRO=='nobydefault')?' selected="true"':'').'>'.$langs->trans("WebCalNoByDefault").' ';
+ print 'global->PHPWEBCALENDAR_SYNCRO=='never'?' selected="true"':'').'>'.$langs->trans("WebCalNever").' ';
print ' ';
print ' ';
}
@@ -220,8 +220,8 @@ if ($conf->societe->enabled)
print ''.$langs->trans("WebCalAddEventOnCreateCompany").' ';
print '';
print '';
- print 'global->PHPWEBCALENDAR_COMPANYCREATE=='always'?' selected':'').'>'.$langs->trans("WebCalAllways").' ';
- print 'global->PHPWEBCALENDAR_COMPANYCREATE || $conf->global->PHPWEBCALENDAR_COMPANYCREATE=='never'?' selected':'').'>'.$langs->trans("WebCalNever").' ';
+ print 'global->PHPWEBCALENDAR_COMPANYCREATE=='always'?' selected="true"':'').'>'.$langs->trans("WebCalAllways").' ';
+ print 'global->PHPWEBCALENDAR_COMPANYCREATE || $conf->global->PHPWEBCALENDAR_COMPANYCREATE=='never'?' selected="true"':'').'>'.$langs->trans("WebCalNever").' ';
print ' ';
print ' ';
}
@@ -232,8 +232,8 @@ if ($conf->contrat->enabled)
print ''.$langs->trans("WebCalAddEventOnStatusContract").' ';
print '';
print '';
- print 'global->PHPWEBCALENDAR_CONTRACTSTATUS=='always'?' selected':'').'>'.$langs->trans("WebCalAllways").' ';
- print 'global->PHPWEBCALENDAR_CONTRACTSTATUS || $conf->global->PHPWEBCALENDAR_CONTRACTSTATUS=='never'?' selected':'').'>'.$langs->trans("WebCalNever").' ';
+ print 'global->PHPWEBCALENDAR_CONTRACTSTATUS=='always'?' selected="true"':'').'>'.$langs->trans("WebCalAllways").' ';
+ print 'global->PHPWEBCALENDAR_CONTRACTSTATUS || $conf->global->PHPWEBCALENDAR_CONTRACTSTATUS=='never'?' selected="true"':'').'>'.$langs->trans("WebCalNever").' ';
print ' ';
print ' ';
}
@@ -244,8 +244,8 @@ if ($conf->facture->enabled)
print ''.$langs->trans("WebCalAddEventOnStatusBill").' ';
print '';
print '';
- print 'global->PHPWEBCALENDAR_BILLSTATUS=='always'?' selected':'').'>'.$langs->trans("WebCalAllways").' ';
- print 'global->PHPWEBCALENDAR_BILLSTATUS || $conf->global->PHPWEBCALENDAR_BILLSTATUS=='never'?' selected':'').'>'.$langs->trans("WebCalNever").' ';
+ print 'global->PHPWEBCALENDAR_BILLSTATUS=='always'?' selected="true"':'').'>'.$langs->trans("WebCalAllways").' ';
+ print 'global->PHPWEBCALENDAR_BILLSTATUS || $conf->global->PHPWEBCALENDAR_BILLSTATUS=='never'?' selected="true"':'').'>'.$langs->trans("WebCalNever").' ';
print ' ';
print ' ';
print '';
diff --git a/htdocs/categories/create.php b/htdocs/categories/create.php
index 4f3160d234c..0f4af98c0ed 100644
--- a/htdocs/categories/create.php
+++ b/htdocs/categories/create.php
@@ -70,9 +70,9 @@ print '';
echo "$i ";
}
@@ -96,7 +96,7 @@ print ' ';
echo "".$cat->label." \n";
}
diff --git a/htdocs/categories/edit.php b/htdocs/categories/edit.php
index 61434f8f40c..5903b5d88af 100644
--- a/htdocs/categories/edit.php
+++ b/htdocs/categories/edit.php
@@ -85,7 +85,7 @@ print ' ';
echo "$i ";
}
@@ -112,7 +112,7 @@ print ' ';
echo "".$cat->label." \n";
}
diff --git a/htdocs/fourn/facture/paiement.php b/htdocs/fourn/facture/paiement.php
index cd4392a437b..63c6364808d 100644
--- a/htdocs/fourn/facture/paiement.php
+++ b/htdocs/fourn/facture/paiement.php
@@ -178,7 +178,7 @@ if ($action == 'create')
print 'rowid)
{
- print ' selected';
+ print ' selected="true"';
}
print '>'.$objopt->label.' ';
$i++;
diff --git a/htdocs/langs/en_US/admin.lang b/htdocs/langs/en_US/admin.lang
index 38d8fd57d9a..f50e42ccf83 100644
--- a/htdocs/langs/en_US/admin.lang
+++ b/htdocs/langs/en_US/admin.lang
@@ -264,6 +264,8 @@ CompanyName=Company/foundation name
CompanyAddress=Company/foundation address
CompanyCurrency=Company/foundation currency
DoNotShow=Do not show
+ShowBugTrackLink=Show link "Report a bug"
+ShowWorkBoard=Show "work board" on home page
##### Users setup #####
UserGroupSetup=Users and groups module setup
GeneratePassword=Générer mot de passe
diff --git a/htdocs/langs/fr_FR/admin.lang b/htdocs/langs/fr_FR/admin.lang
index 24800ea43c7..163a126e55e 100644
--- a/htdocs/langs/fr_FR/admin.lang
+++ b/htdocs/langs/fr_FR/admin.lang
@@ -264,6 +264,8 @@ CompanyName=Nom/Enseigne de la soci
CompanyAddress=Adresse de la société/association
CompanyCurrency=Devise de la société/association
DoNotShow=Ne pas afficher
+ShowBugTrackLink=Afficher le lien "Signaler un bug"
+ShowWorkBoard=Affiche le tableau de bord de travail sur page accueil
##### Users setup #####
UserGroupSetup=Configuration module utilisateurs et groupes
GeneratePassword=Générer mot de passe
diff --git a/htdocs/product/stock/fiche.php b/htdocs/product/stock/fiche.php
index 17523e8d7f5..589abe720bc 100644
--- a/htdocs/product/stock/fiche.php
+++ b/htdocs/product/stock/fiche.php
@@ -346,8 +346,8 @@ else
print ' '.$langs->trans("Status").' ';
print '';
- print 'statut == 0?"selected":"").'>'.$langs->trans("WarehouseClosed").' ';
- print 'statut == 0?"":"selected").'>'.$langs->trans("WarehouseOpened").' ';
+ print 'statut == 0?'selected="true"':'').'>'.$langs->trans("WarehouseClosed").' ';
+ print 'statut == 0?'':'selected="true"').'>'.$langs->trans("WarehouseOpened").' ';
print ' ';
print ' ';
diff --git a/htdocs/soc.php b/htdocs/soc.php
index bf5e78a5d37..c79441d23ef 100644
--- a/htdocs/soc.php
+++ b/htdocs/soc.php
@@ -240,9 +240,9 @@ if ($_GET["action"] == 'create' || $_POST["action"] == 'create')
// Client / Prospect
print ''.$langs->trans('ProspectCustomer').' ';
- print 'client==2?' selected':'').'>'.$langs->trans('Prospect').' ';
- print 'client==1?' selected':'').'>'.$langs->trans('Customer').' ';
- print 'client==0?' selected':'').'>Ni client, ni prospect ';
+ print 'client==2?' selected="true"':'').'>'.$langs->trans('Prospect').' ';
+ print 'client==1?' selected="true"':'').'>'.$langs->trans('Customer').' ';
+ print 'client==0?' selected="true"':'').'>Ni client, ni prospect ';
print ' ';
print ''.$langs->trans('CustomerCode').' ';
print ' ';
@@ -459,9 +459,9 @@ elseif ($_GET["action"] == 'edit' || $_POST["action"] == 'edit')
// Client / Prospect
print ' '.$langs->trans('ProspectCustomer').' ';
- print 'client==2?' selected':'').'>'.$langs->trans('Prospect').' ';
- print 'client==1?' selected':'').'>'.$langs->trans('Customer').' ';
- print 'client==0?' selected':'').'>Ni client, ni prospect ';
+ print 'client==2?' selected="true"':'').'>'.$langs->trans('Prospect').' ';
+ print 'client==1?' selected="true"':'').'>'.$langs->trans('Customer').' ';
+ print 'client==0?' selected="true"':'').'>Ni client, ni prospect ';
print ' ';
print ''.$langs->trans('CustomerCode').' ';
if ($soc->codeclient_modifiable == 1)