diff --git a/htdocs/adherents/card_subscriptions.php b/htdocs/adherents/card_subscriptions.php
index a53c2150989..369027b1e14 100644
--- a/htdocs/adherents/card_subscriptions.php
+++ b/htdocs/adherents/card_subscriptions.php
@@ -991,7 +991,7 @@ if ($rowid)
if (! empty($conf->societe->enabled) && ! empty($conf->facture->enabled))
{
print ' fk_soc)) print ' disabled="disabled"';
+ //if (empty($object->fk_soc)) print ' disabled';
print '> '.$langs->trans("MoreActionInvoiceOnly");
if ($object->fk_soc) print ' ('.$langs->trans("ThirdParty").': '.$company->getNomUrl(1).')';
else
@@ -1016,7 +1016,7 @@ if ($rowid)
if (! empty($conf->banque->enabled) && ! empty($conf->societe->enabled) && ! empty($conf->facture->enabled))
{
print ' fk_soc)) print ' disabled="disabled"';
+ //if (empty($object->fk_soc)) print ' disabled';
print '> '.$langs->trans("MoreActionBankViaInvoice");
if ($object->fk_soc) print ' ('.$langs->trans("ThirdParty").': '.$company->getNomUrl(1).')';
else
diff --git a/htdocs/admin/boxes.php b/htdocs/admin/boxes.php
index 6ec43d4b7b4..18c63a48798 100644
--- a/htdocs/admin/boxes.php
+++ b/htdocs/admin/boxes.php
@@ -375,7 +375,7 @@ foreach($boxtoadd as $box)
print ''."\n";
print '
';
-print ' ';
+print ' ';
print '
'."\n";
print '';
print "\n".''."\n";
diff --git a/htdocs/admin/menus.php b/htdocs/admin/menus.php
index 3bceffeacfc..ad83def9ce8 100644
--- a/htdocs/admin/menus.php
+++ b/htdocs/admin/menus.php
@@ -183,10 +183,10 @@ if ($action == 'edit')
$var=!$var;
print ''.$langs->trans("DefaultMenuManager").' ';
print '';
- $formadmin->select_menu(empty($conf->global->MAIN_MENU_STANDARD_FORCED)?$conf->global->MAIN_MENU_STANDARD:$conf->global->MAIN_MENU_STANDARD_FORCED, 'MAIN_MENU_STANDARD', $dirstandard, empty($conf->global->MAIN_MENU_STANDARD_FORCED)?'':' disabled="disabled"');
+ $formadmin->select_menu(empty($conf->global->MAIN_MENU_STANDARD_FORCED)?$conf->global->MAIN_MENU_STANDARD:$conf->global->MAIN_MENU_STANDARD_FORCED, 'MAIN_MENU_STANDARD', $dirstandard, empty($conf->global->MAIN_MENU_STANDARD_FORCED)?'':' disabled');
print ' ';
print '';
- $formadmin->select_menu(empty($conf->global->MAIN_MENUFRONT_STANDARD_FORCED)?$conf->global->MAIN_MENUFRONT_STANDARD:$conf->global->MAIN_MENUFRONT_STANDARD_FORCED, 'MAIN_MENUFRONT_STANDARD', $dirstandard, empty($conf->global->MAIN_MENUFRONT_STANDARD_FORCED)?'':' disabled="disabled"');
+ $formadmin->select_menu(empty($conf->global->MAIN_MENUFRONT_STANDARD_FORCED)?$conf->global->MAIN_MENUFRONT_STANDARD:$conf->global->MAIN_MENUFRONT_STANDARD_FORCED, 'MAIN_MENUFRONT_STANDARD', $dirstandard, empty($conf->global->MAIN_MENUFRONT_STANDARD_FORCED)?'':' disabled');
print ' ';
print ' ';
@@ -194,10 +194,10 @@ if ($action == 'edit')
$var=!$var;
print ''.$langs->trans("DefaultMenuSmartphoneManager").' ';
print '';
- $formadmin->select_menu(empty($conf->global->MAIN_MENU_SMARTPHONE_FORCED)?$conf->global->MAIN_MENU_SMARTPHONE:$conf->global->MAIN_MENU_SMARTPHONE_FORCED, 'MAIN_MENU_SMARTPHONE', array_merge($dirstandard,$dirsmartphone), empty($conf->global->MAIN_MENU_SMARTPHONE_FORCED)?'':' disabled="disabled"');
+ $formadmin->select_menu(empty($conf->global->MAIN_MENU_SMARTPHONE_FORCED)?$conf->global->MAIN_MENU_SMARTPHONE:$conf->global->MAIN_MENU_SMARTPHONE_FORCED, 'MAIN_MENU_SMARTPHONE', array_merge($dirstandard,$dirsmartphone), empty($conf->global->MAIN_MENU_SMARTPHONE_FORCED)?'':' disabled');
print ' ';
print '';
- $formadmin->select_menu(empty($conf->global->MAIN_MENUFRONT_SMARTPHONE_FORCED)?$conf->global->MAIN_MENUFRONT_SMARTPHONE:$conf->global->MAIN_MENUFRONT_SMARTPHONE_FORCED, 'MAIN_MENUFRONT_SMARTPHONE', array_merge($dirstandard,$dirsmartphone), empty($conf->global->MAIN_MENUFRONT_SMARTPHONE_FORCED)?'':' disabled="disabled"');
+ $formadmin->select_menu(empty($conf->global->MAIN_MENUFRONT_SMARTPHONE_FORCED)?$conf->global->MAIN_MENUFRONT_SMARTPHONE:$conf->global->MAIN_MENUFRONT_SMARTPHONE_FORCED, 'MAIN_MENUFRONT_SMARTPHONE', array_merge($dirstandard,$dirsmartphone), empty($conf->global->MAIN_MENUFRONT_SMARTPHONE_FORCED)?'':' disabled');
print ' ';
print ' ';
diff --git a/htdocs/admin/sms.php b/htdocs/admin/sms.php
index 682b1e456eb..44bab100730 100644
--- a/htdocs/admin/sms.php
+++ b/htdocs/admin/sms.php
@@ -204,7 +204,7 @@ if ($action == 'edit')
print '';
print '';
- print ' ';
+ print ' ';
print ' ';
print ' ';
print '
';
diff --git a/htdocs/admin/stock.php b/htdocs/admin/stock.php
index 49df241e957..0f6560ad055 100644
--- a/htdocs/admin/stock.php
+++ b/htdocs/admin/stock.php
@@ -122,7 +122,7 @@ $disabled='';
if (! empty($conf->productbatch->enabled))
{
$langs->load("productbatch");
- $disabled=' disabled="disabled"';
+ $disabled=' disabled';
print info_admin($langs->trans("WhenProductBatchModuleOnOptionAreForced"));
}
diff --git a/htdocs/admin/syslog.php b/htdocs/admin/syslog.php
index 9ee2898e51d..3eebfebb37b 100644
--- a/htdocs/admin/syslog.php
+++ b/htdocs/admin/syslog.php
@@ -161,7 +161,7 @@ if (! $defaultsyslogfile) $defaultsyslogfile='dolibarr.log';
if ($conf->global->MAIN_MODULE_MULTICOMPANY && $user->entity)
{
print ''.$langs->trans("ContactSuperAdminForChange").'
';
- $option = 'disabled="disabled"';
+ $option = 'disabled';
}
@@ -192,7 +192,7 @@ foreach ($syslogModules as $moduleName)
$var=!$var;
print '';
print '';
- print ' ';
+ print ' ';
print $module->getName();
print ' ';
diff --git a/htdocs/admin/tools/dolibarr_export.php b/htdocs/admin/tools/dolibarr_export.php
index 3d281c551c1..7cd98625ac9 100644
--- a/htdocs/admin/tools/dolibarr_export.php
+++ b/htdocs/admin/tools/dolibarr_export.php
@@ -265,7 +265,7 @@ print ' ';
for="checkbox_hexforbinary"> trans("EncodeBinariesInHexa"); ?>
trans("UTF8"); ?>
@@ -308,7 +308,7 @@ print ' ';
id="checkbox_dump_ignore" /> trans("IgnoreDuplicateRecords"); ?>
trans("UTF8"); ?>
@@ -422,7 +422,7 @@ foreach($compression as $key => $val)
}
else // Disabled export format
{
- print ' ';
+ print ' ';
print ' '.$val['label'].' ';
print ' ('.$langs->trans("NotAvailable").')';
}
diff --git a/htdocs/barcode/codeinit.php b/htdocs/barcode/codeinit.php
index 071d1f32bda..12b61d80419 100644
--- a/htdocs/barcode/codeinit.php
+++ b/htdocs/barcode/codeinit.php
@@ -233,8 +233,8 @@ if ($conf->societe->enabled)
print $langs->trans("CurrentlyNWithoutBarCode", $nbno, $nbtotal, $langs->transnoentitiesnoconv("ThirdParties")).' '."\n";
- print ' trans("InitEmptyBarCode",$nbno).'"';
- print ' title="'.dol_escape_htmltag($langs->trans("FeatureNotYetAvailable")).'" disabled="disabled"';
+ print ' trans("InitEmptyBarCode",$nbno).'"';
+ print ' title="'.dol_escape_htmltag($langs->trans("FeatureNotYetAvailable")).'" disabled';
print '>';
print ' ';
}
@@ -307,9 +307,9 @@ if ($conf->product->enabled || $conf->product->service)
print ' ';
//print ' '.$langs->trans("ResetBarcodeForAllRecords").' ';
- $moretags1=(($disabled||$disabled1)?' disabled="disabled" title="'.dol_escape_htmltag($titleno).'"':'');
+ $moretags1=(($disabled||$disabled1)?' disabled title="'.dol_escape_htmltag($titleno).'"':'');
print ' ';
- $moretags2=(($nbno == $nbtotal)?' disabled="disabled"':'');
+ $moretags2=(($nbno == $nbtotal)?' disabled':'');
print ' ';
print ' ';
print ' ';
diff --git a/htdocs/cashdesk/tpl/facturation1.tpl.php b/htdocs/cashdesk/tpl/facturation1.tpl.php
index 338c0f23b16..98300b71e80 100644
--- a/htdocs/cashdesk/tpl/facturation1.tpl.php
+++ b/htdocs/cashdesk/tpl/facturation1.tpl.php
@@ -110,18 +110,18 @@ $langs->load("cashdesk");
-
+
-
+
currency; ?>
- currency; ?>
+ currency; ?>
@@ -157,13 +157,13 @@ $langs->load("cashdesk");
trans("TotalTicket"); ?> trans("Received"); ?> trans("Change"); ?>
-
+
-
+
diff --git a/htdocs/comm/action/index.php b/htdocs/comm/action/index.php
index 5413315a147..e5472727aa2 100644
--- a/htdocs/comm/action/index.php
+++ b/htdocs/comm/action/index.php
@@ -358,7 +358,7 @@ if (! empty($conf->use_javascript_ajax))
$s.='});' . "\n";
$s.='' . "\n";
- $s.=' ' . $langs->trans("LocalAgenda").'
';
+ $s.=' ' . $langs->trans("LocalAgenda").'
';
if (is_array($showextcals) && count($showextcals) > 0)
{
$s.='' . "\n";
if (! empty($conf->use_javascript_ajax))
{
- $s.=' ' . $langs->trans("LocalAgenda").'
';
+ $s.=' ' . $langs->trans("LocalAgenda").'
';
if (is_array($showextcals) && count($showextcals) > 0)
{
foreach ($showextcals as $val)
diff --git a/htdocs/compta/bank/ligne.php b/htdocs/compta/bank/ligne.php
index e1d903fbf2e..4a4b4f6553b 100644
--- a/htdocs/compta/bank/ligne.php
+++ b/htdocs/compta/bank/ligne.php
@@ -501,7 +501,7 @@ if ($result)
if ($user->rights->banque->modifier || $user->rights->banque->consolidate)
{
print '';
- print ' rappro?' disabled="disabled"':'').' value="';
+ print ' rappro?' disabled':'').' value="';
if (preg_match('/^\((.*)\)$/i',$objp->label,$reg))
{
// Label generique car entre parentheses. On l'affiche en le traduisant
@@ -535,7 +535,7 @@ if ($result)
if ($user->rights->banque->modifier)
{
print ' ';
- print ' rappro?' disabled="disabled"':'').' value="'.price($objp->amount).'"> '.$langs->trans("Currency".$conf->currency);
+ print ' rappro?' disabled':'').' value="'.price($objp->amount).'"> '.$langs->trans("Currency".$conf->currency);
print ' ';
}
else
@@ -567,12 +567,12 @@ if ($result)
print '';
if ($objp->rappro)
{
- print $langs->trans("AccountStatement").' rappro?' disabled="disabled"':'').'>';
+ print $langs->trans("AccountStatement").' rappro?' disabled':'').'>';
print ' ';
}
else
{
- print $langs->trans("AccountStatement").' rappro?' disabled="disabled"':'').'>';
+ print $langs->trans("AccountStatement").' rappro?' disabled':'').'>';
}
if ($objp->num_releve) print ' ('.$langs->trans("AccountStatement").' '.$objp->num_releve.') ';
print ' ';
diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php
index 525518c5c5d..1cb683123cc 100644
--- a/htdocs/compta/facture.php
+++ b/htdocs/compta/facture.php
@@ -2132,7 +2132,7 @@ if ($action == 'create')
$opt = $form->load_situation_invoices(GETPOST('originid'), $socid);
print ' ';
print ' ' . $langs->trans('NoSituations') . '' || (GETPOST('origin') && GETPOST('origin') != 'facture')) print 'disabled="disabled"';
+ if ($opt == '' . $langs->trans('NoSituations') . ' ' || (GETPOST('origin') && GETPOST('origin') != 'facture')) print 'disabled';
print '>';
print ' ';
$text = $langs->trans("InvoiceSituationAsk") . ' ';
@@ -2148,7 +2148,7 @@ if ($action == 'create')
print ' ';
print ' ';
print ' ';
print '';
}
- $out.='';
+ $out.='';
if ($show_empty)
{
@@ -4411,7 +4411,7 @@ class Form
* @param string $morecss Add more css style
* @param int $translate Translate and encode value
* @param int $width Force width of select box. May be used only when using jquery couch. Example: 250, 95%
- * @param string $moreattrib Add more options on select component. Example: 'disabled="disabled"'
+ * @param string $moreattrib Add more options on select component. Example: 'disabled'
* @param string $elemtype Type of element we show ('category', ...)
* @return string HTML multiselect string
* @see selectarray
@@ -4529,7 +4529,7 @@ class Form
$arrayselected[] = $c->id;
}
- return $this->multiselectarray('categories', $cate_arbo, $arrayselected, '', 0, '', 0, '100%', 'disabled="disabled"', 'category');
+ return $this->multiselectarray('categories', $cate_arbo, $arrayselected, '', 0, '', 0, '100%', 'disabled', 'category');
}
return 'ErrorBadValueForParameterRenderMode'; // Should not happened
@@ -4557,7 +4557,7 @@ class Form
$no="0";
}
- $disabled = ($disabled ? ' disabled="disabled"' : '');
+ $disabled = ($disabled ? ' disabled' : '');
$resultyesno = ''."\n";
if ($useempty) $resultyesno .= ' '."\n";
@@ -4851,7 +4851,7 @@ class Form
$nodatarole=($comboenhancement?' data-role="none"':'');
}
- $out.= '';
+ $out.= '';
$num = $this->db->num_rows($resql);
$i = 0;
@@ -4866,7 +4866,7 @@ class Form
if (is_array($enableonly) && count($enableonly) && ! in_array($obj->rowid,$enableonly)) $disableline=1;
$out.= 'id == $obj->rowid) || (! is_object($selected) && $selected == $obj->rowid))
{
$out.= ' selected="selected"';
@@ -4886,7 +4886,7 @@ class Form
else
{
if ($show_empty) $out.= ' '."\n";
- $out.= ''.$langs->trans("NoUserGroupDefined").' ';
+ $out.= ''.$langs->trans("NoUserGroupDefined").' ';
}
$out.= ' ';
}
diff --git a/htdocs/core/class/html.formactions.class.php b/htdocs/core/class/html.formactions.class.php
index 3c16facdd4a..8dda6772510 100644
--- a/htdocs/core/class/html.formactions.class.php
+++ b/htdocs/core/class/html.formactions.class.php
@@ -120,7 +120,7 @@ class FormActions
{
//var_dump($selected);
if ($selected == 'done') $selected='100';
- print '';
+ print '';
if ($showempty) print ' ';
foreach($listofstatus as $key => $val)
{
@@ -135,13 +135,13 @@ class FormActions
if (empty($onlyselect))
{
- print ' =0)?'':' disabled="disabled"').'>';
+ print ' =0)?'':' disabled').'>';
print '% ';
}
}
else
{
- print ' %';
+ print ' %';
}
}
diff --git a/htdocs/core/class/html.formadmin.class.php b/htdocs/core/class/html.formadmin.class.php
index 30ecadedb55..06c03a82d68 100644
--- a/htdocs/core/class/html.formadmin.class.php
+++ b/htdocs/core/class/html.formadmin.class.php
@@ -64,7 +64,7 @@ class FormAdmin
$out='';
- $out.= '';
+ $out.= '';
if ($showempty)
{
$out.= '';
+ print ' ';
if ($newprefix=='0') print '-- '.$langs->trans("VersionRecommanded").' --';
if ($newprefix=='1') print '-- '.$langs->trans("VersionExperimental").' --';
if ($newprefix=='2') print '-- '.$langs->trans("VersionDevelopment").' --';
diff --git a/htdocs/core/class/html.formbarcode.class.php b/htdocs/core/class/html.formbarcode.class.php
index 11a59614be0..3db273b8496 100644
--- a/htdocs/core/class/html.formbarcode.class.php
+++ b/htdocs/core/class/html.formbarcode.class.php
@@ -77,7 +77,7 @@ class FormBarCode
if (((! empty($conf->product->enabled) || ! empty($conf->service->enabled)) && $conf->global->PRODUIT_DEFAULT_BARCODE_TYPE == $code_id) ||
(! empty($conf->societe->enabled) && $conf->global->GENBARCODE_BARCODETYPE_THIRDPARTY == $code_id))
{
- $disable = 'disabled="disabled"';
+ $disable = 'disabled';
}
$select_encoder = ' ';
$out .= '';
@@ -527,7 +527,7 @@ class FormFile
$out.= '';
$genbutton = ' ';
if ($allowgenifempty && ! is_array($modellist) && empty($modellist) && empty($conf->dol_no_mouse_hover) && $modulepart != 'unpaid')
{
diff --git a/htdocs/core/class/html.formintervention.class.php b/htdocs/core/class/html.formintervention.class.php
index 2caeb30a6dc..43bc3c96eb0 100644
--- a/htdocs/core/class/html.formintervention.class.php
+++ b/htdocs/core/class/html.formintervention.class.php
@@ -116,7 +116,7 @@ class FormIntervention
else
{
$resultat=''.$labeltoshow;
$resultat.=' ';
}
diff --git a/htdocs/core/class/html.formother.class.php b/htdocs/core/class/html.formother.class.php
index 9266b8aa3a6..3e36e374da6 100644
--- a/htdocs/core/class/html.formother.class.php
+++ b/htdocs/core/class/html.formother.class.php
@@ -278,7 +278,7 @@ class FormOther
*/
function select_percent($selected=0,$htmlname='percent',$disabled=0,$increment=5,$start=0,$end=100)
{
- $return = '';
+ $return = '';
for ($i = $start ; $i <= $end ; $i += $increment)
{
@@ -519,7 +519,7 @@ class FormOther
{
if ($lines[$i]->fk_project != $lastprojectid) // Break found on project
{
- if ($i > 0) print '---------- ';
+ if ($i > 0) print '---------- ';
print 'fk_project) print ' selected="selected"';
print '>'; // Project -> Task
@@ -555,7 +555,7 @@ class FormOther
print ' id == $selectedtask) || ($lines[$i]->fk_project.'_'.$lines[$i]->id == $selectedtask)) print ' selected="selected"';
- if ($disabled) print ' disabled="disabled"';
+ if ($disabled) print ' disabled';
print '>';
print $langs->trans("Project").' '.$lines[$i]->projectref;
if (empty($lines[$i]->public))
diff --git a/htdocs/core/class/html.formprojet.class.php b/htdocs/core/class/html.formprojet.class.php
index 85c9ffbb241..0cc8f94ff5a 100644
--- a/htdocs/core/class/html.formprojet.class.php
+++ b/htdocs/core/class/html.formprojet.class.php
@@ -160,7 +160,7 @@ class FormProjets
else
{
$resultat=' public) $labeltoshow.=' ('.$langs->trans("Public").')';
//else $labeltoshow.=' ('.$langs->trans("Private").')';
$resultat.='>';
@@ -258,7 +258,7 @@ class FormProjets
/*else
{
$sellist = '';
- $sellist.= ''.$langs->trans("None").' ';
+ $sellist.= ''.$langs->trans("None").' ';
$sellist.= ' ';
}*/
$this->db->free($resql);
diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php
index aca2ec3213b..adc5b916f63 100644
--- a/htdocs/core/lib/functions.lib.php
+++ b/htdocs/core/lib/functions.lib.php
@@ -3684,8 +3684,8 @@ function yn($yesno, $case=1, $color=0)
{
$result=$langs->trans('yes');
if ($case == 1 || $case == 3) $result=$langs->trans("Yes");
- if ($case == 2) $result=' ';
- if ($case == 3) $result=' '.$result;
+ if ($case == 2) $result=' ';
+ if ($case == 3) $result=' '.$result;
$classname='ok';
}
@@ -3693,8 +3693,8 @@ function yn($yesno, $case=1, $color=0)
{
$result=$langs->trans("no");
if ($case == 1 || $case == 3) $result=$langs->trans("No");
- if ($case == 2) $result=' ';
- if ($case == 3) $result=' '.$result;
+ if ($case == 2) $result=' ';
+ if ($case == 3) $result=' '.$result;
if ($color == 2) $classname='ok';
else $classname='error';
diff --git a/htdocs/core/lib/project.lib.php b/htdocs/core/lib/project.lib.php
index af37283d074..ee024c60c2a 100644
--- a/htdocs/core/lib/project.lib.php
+++ b/htdocs/core/lib/project.lib.php
@@ -629,11 +629,11 @@ function projectLinesPerDay(&$inc, $parent, $lines, &$level, &$projectsrole, &$t
if ($dayWorkLoad > 0) $alreadyspent=convertSecondToTime($dayWorkLoad,'allhourmin');
$tableCell='';
- $tableCell.=' ';
+ $tableCell.=' ';
$tableCell.=' + ';
//$tableCell.=' ';
$tableCell.=$form->select_duration($lines[$i]->id.'duration','',$disabledtask,'text',0,1);
- //$tableCell.=' ';
+ //$tableCell.=' ';
print $tableCell;
print '';
@@ -795,13 +795,13 @@ function projectLinesPerWeek(&$inc, $firstdaytoshow, $fuser, $parent, $lines, &$
$alreadyspent='';
if ($dayWorkLoad > 0) $alreadyspent=convertSecondToTime($dayWorkLoad,'allhourmin');
$tableCell ='';
- $tableCell.=' ';
+ $tableCell.=' ';
//$placeholder=' placeholder="00:00"';
$placeholder='';
//if (! $disabledtask)
//{
$tableCell.='+';
- $tableCell.=' ';
//}
diff --git a/htdocs/core/modules/barcode/mod_barcode_product_standard.php b/htdocs/core/modules/barcode/mod_barcode_product_standard.php
index 0bd7a262a9c..703db258e26 100644
--- a/htdocs/core/modules/barcode/mod_barcode_product_standard.php
+++ b/htdocs/core/modules/barcode/mod_barcode_product_standard.php
@@ -72,7 +72,7 @@ class mod_barcode_product_standard extends ModeleNumRefBarCode
$langs->load("products");
- $disabled = ((! empty($mc->sharings['referent']) && $mc->sharings['referent'] != $conf->entity) ? ' disabled="disabled"' : '');
+ $disabled = ((! empty($mc->sharings['referent']) && $mc->sharings['referent'] != $conf->entity) ? ' disabled' : '');
$texte = $langs->trans('GenericNumRefModelDesc')." \n";
$texte.= '
diff --git a/htdocs/ecm/class/htmlecm.form.class.php b/htdocs/ecm/class/htmlecm.form.class.php
index 87b4af190ae..3675e2a24c7 100644
--- a/htdocs/ecm/class/htmlecm.form.class.php
+++ b/htdocs/ecm/class/htmlecm.form.class.php
@@ -64,7 +64,7 @@ class FormEcm
$output = '';
if (is_array($cate_arbo))
{
- if (! count($cate_arbo)) $output.= ''.$langs->trans("NoCategoriesDefined").' ';
+ if (! count($cate_arbo)) $output.= ''.$langs->trans("NoCategoriesDefined").' ';
else
{
$output.= ' ';
diff --git a/htdocs/exports/index.php b/htdocs/exports/index.php
index 1178a20b236..d76c6f506d5 100644
--- a/htdocs/exports/index.php
+++ b/htdocs/exports/index.php
@@ -103,7 +103,7 @@ if (count($export->array_export_code))
}
/*
print '';
*/
}
diff --git a/htdocs/fourn/commande/dispatch.php b/htdocs/fourn/commande/dispatch.php
index b3d1c9b12dd..a678aa343c7 100644
--- a/htdocs/fourn/commande/dispatch.php
+++ b/htdocs/fourn/commande/dispatch.php
@@ -568,7 +568,7 @@ if ($id > 0 || ! empty($ref))
//print '';
print ' ';
//print '
';
}
diff --git a/htdocs/fourn/facture/card.php b/htdocs/fourn/facture/card.php
index f09af5d7883..8092c1e0f9d 100644
--- a/htdocs/fourn/facture/card.php
+++ b/htdocs/fourn/facture/card.php
@@ -1382,12 +1382,12 @@ if ($action == 'create')
// Replacement
print '';
print ' ';
print ' ';
$text=$langs->trans("InvoiceReplacementAsk").' ';
$text.='';
if ($options)
{
@@ -1406,13 +1406,13 @@ if ($action == 'create')
// Credit note
print '';
print ' ';
print ' ';
$text=$langs->transnoentities("InvoiceAvoirAsk").' ';
// $text.=' ';
$text.='';
if ($optionsav)
{
diff --git a/htdocs/imports/import.php b/htdocs/imports/import.php
index 90eea2765ae..c2dbcae5a37 100644
--- a/htdocs/imports/import.php
+++ b/htdocs/imports/import.php
@@ -1536,7 +1536,7 @@ if ($step == 6 && $datatoimport)
print '';
print $langs->trans("Option");
print ' ';
- print ' ';
print ' '.$langs->trans("DoNotImportFirstLine");
diff --git a/htdocs/install/fileconf.php b/htdocs/install/fileconf.php
index 5a00bb4b6cf..d3d2e5dbadf 100644
--- a/htdocs/install/fileconf.php
+++ b/htdocs/install/fileconf.php
@@ -147,7 +147,7 @@ if (! empty($force_install_message))
?>
';
- print ' ';
+ print ' ';
?>
';
- print ' ';
+ print ' ';
?>
';
- print ' ';
+ print ' ';
?>
+
value="">
'; ?>
@@ -367,7 +367,7 @@ if (! empty($force_install_message))
trans("Port"); ?>
+
value="">
'; ?>
diff --git a/htdocs/opensurvey/card.php b/htdocs/opensurvey/card.php
index ee944c1b5ad..90f029b4d35 100644
--- a/htdocs/opensurvey/card.php
+++ b/htdocs/opensurvey/card.php
@@ -310,7 +310,7 @@ $urlwithroot=$urlwithouturlroot.DOL_URL_ROOT; // This is to use external domain
//$urlwithroot=DOL_MAIN_URL_ROOT; // This is to use same domain name than current
$url=$urlwithouturlroot.dol_buildpath('/public/opensurvey/studs.php',1).'?sondage='.$object->id_sondage;
-$urllink=' ';
+$urllink=' ';
print $urllink;
if ($action != 'edit')
{
diff --git a/htdocs/product/class/html.formproduct.class.php b/htdocs/product/class/html.formproduct.class.php
index 4e2da460a74..4380ab97f56 100644
--- a/htdocs/product/class/html.formproduct.class.php
+++ b/htdocs/product/class/html.formproduct.class.php
@@ -121,7 +121,7 @@ class FormProduct
$this->loadWarehouses($fk_product);
$nbofwarehouses=count($this->cache_warehouses);
- $out='';
+ $out='';
if ($empty) $out.=''.($empty_label?$empty_label:' ').' ';
foreach($this->cache_warehouses as $id => $arraytypes)
{
diff --git a/htdocs/product/composition/card.php b/htdocs/product/composition/card.php
index 3f16243312c..f1c740523f3 100644
--- a/htdocs/product/composition/card.php
+++ b/htdocs/product/composition/card.php
@@ -559,7 +559,7 @@ if ($id > 0 || ! empty($ref))
{
// TODO Hide field and show it when setting a qty
print ' ';
- //print ' ';
+ //print ' ';
}
print '';
diff --git a/htdocs/product/stock/replenish.php b/htdocs/product/stock/replenish.php
index 7e0ceeb38e2..08da8fbcf6f 100644
--- a/htdocs/product/stock/replenish.php
+++ b/htdocs/product/stock/replenish.php
@@ -542,7 +542,7 @@ while ($i < ($limit ? min($num, $limit) : $num))
if ($stockforcompare >= $objp->desiredstock)
{
$picto = img_picto('', './img/yes', '', 1);
- $disabled = 'disabled="disabled"';
+ $disabled = 'disabled';
}
else {
$picto = img_picto('', './img/no', '', 1);
diff --git a/htdocs/product/stock/tpl/stocktransfer.tpl.php b/htdocs/product/stock/tpl/stocktransfer.tpl.php
index 6325939a01e..556e924b07d 100644
--- a/htdocs/product/stock/tpl/stocktransfer.tpl.php
+++ b/htdocs/product/stock/tpl/stocktransfer.tpl.php
@@ -71,7 +71,7 @@
{
print '';
print ''.$langs->trans("batch_number").' ';
- print ' 0 ? ' disabled="true"':'').' value="'.(GETPOST('batch_number')?GETPOST('batch_number'):$pdluo->batch).'">'; // If form was opened for a specific pdluoid, field is disabled
+ print ' 0 ? ' disabled':'').' value="'.(GETPOST('batch_number')?GETPOST('batch_number'):$pdluo->batch).'">'; // If form was opened for a specific pdluoid, field is disabled
print ' ';
print ' ';
print ''.$langs->trans("l_eatby").' ';
@@ -104,4 +104,4 @@
print '';
?>
-
\ No newline at end of file
+
diff --git a/htdocs/projet/activity/perday.php b/htdocs/projet/activity/perday.php
index 0a6c1ae5d2d..f8f9daf8de9 100644
--- a/htdocs/projet/activity/perday.php
+++ b/htdocs/projet/activity/perday.php
@@ -277,7 +277,7 @@ print "";
dol_fiche_end();
print '';
-print ' ';
+print ' ';
print '
';
print '';
diff --git a/htdocs/projet/tasks/contact.php b/htdocs/projet/tasks/contact.php
index acfd5d81566..0dbcc007db1 100644
--- a/htdocs/projet/tasks/contact.php
+++ b/htdocs/projet/tasks/contact.php
@@ -378,7 +378,7 @@ if ($id > 0 || ! empty($ref))
$formcompany->selectTypeContact($object, '', 'type','external','rowid');
print ' ';
print ' ';
print ' ';
diff --git a/htdocs/public/demo/index.php b/htdocs/public/demo/index.php
index f8694a6a8fe..956bcac8b75 100644
--- a/htdocs/public/demo/index.php
+++ b/htdocs/public/demo/index.php
@@ -383,7 +383,7 @@ foreach ($demoprofiles as $profilearray)
$modulo=($j % $nbcolsmod);
if ($modulo == 0) print '';
print ' '.$val->getName().' ';
print '';
diff --git a/htdocs/public/members/new.php b/htdocs/public/members/new.php
index 8fb06cd783e..2168c295e44 100644
--- a/htdocs/public/members/new.php
+++ b/htdocs/public/members/new.php
@@ -583,7 +583,7 @@ if (! empty($conf->global->MEMBER_NEWFORM_AMOUNT)
}
else
{
- print ' ';
+ print ' ';
print ' ';
}
print ' '.$langs->trans("Currency".$conf->currency);
diff --git a/htdocs/user/card.php b/htdocs/user/card.php
index a1c371770ad..0320f44916e 100644
--- a/htdocs/user/card.php
+++ b/htdocs/user/card.php
@@ -699,7 +699,7 @@ if (($action == 'create') || ($action == 'adduserldap'))
print $form->selectarray('users', $liste, '', 1);
}
print '';
- print ' ';
+ print ' ';
print ' ';
print '';
@@ -1351,7 +1351,7 @@ else
{
print ''.$langs->trans("ColorUser").' ';
print '';
- if ($object->color) print ' ';
+ if ($object->color) print ' ';
print ' ';
print " \n";
}
diff --git a/htdocs/user/param_ihm.php b/htdocs/user/param_ihm.php
index 860e74c5567..4f8259bc007 100644
--- a/htdocs/user/param_ihm.php
+++ b/htdocs/user/param_ihm.php
@@ -179,7 +179,7 @@ if ($action == 'edit')
print ($conf->global->MAIN_LANG_DEFAULT=='auto'?$langs->trans("AutoDetectLang"):$langs->trans("Language_".$conf->global->MAIN_LANG_DEFAULT));
print '';
print ' conf->MAIN_LANG_DEFAULT)?" checked":"");
- print empty($dolibarr_main_demo)?'':' disabled="disabled"'; // Disabled for demo
+ print empty($dolibarr_main_demo)?'':' disabled'; // Disabled for demo
print '> '.$langs->trans("UsePersonalValue").' ';
print '';
print $formadmin->select_language((! empty($fuser->conf->MAIN_LANG_DEFAULT)?$fuser->conf->MAIN_LANG_DEFAULT:''),'main_lang_default',1,null,0,0,(! empty($dolibarr_main_demo)));
@@ -190,7 +190,7 @@ if ($action == 'edit')
print ' '.$langs->trans("MaxSizeList").' ';
print ''.$conf->global->MAIN_SIZE_LISTE_LIMIT.' ';
print ' conf->MAIN_SIZE_LISTE_LIMIT)?" checked":"");
- print empty($dolibarr_main_demo)?'':' disabled="disabled"'; // Disabled for demo
+ print empty($dolibarr_main_demo)?'':' disabled'; // Disabled for demo
print '> '.$langs->trans("UsePersonalValue").' ';
print ' ';