Browse Source

Fix inline css

Laurent Destailleur 2 years ago
parent
commit
2168578f2e
69 changed files with 78 additions and 84 deletions
  1. 2 2
      htdocs/accountancy/admin/accountmodel.php
  2. 3 3
      htdocs/accountancy/admin/categories_list.php
  3. 3 3
      htdocs/accountancy/admin/journals_list.php
  4. 2 2
      htdocs/accountancy/admin/productaccount.php
  5. 1 1
      htdocs/accountancy/bookkeeping/card.php
  6. 3 4
      htdocs/accountancy/expensereport/list.php
  7. 3 4
      htdocs/accountancy/supplier/list.php
  8. 1 1
      htdocs/adherents/card.php
  9. 1 2
      htdocs/adherents/class/adherent.class.php
  10. 1 1
      htdocs/adherents/stats/index.php
  11. 1 1
      htdocs/adherents/subscription.php
  12. 0 1
      htdocs/admin/dolistore/class/dolistore.class.php
  13. 0 2
      htdocs/admin/modules.php
  14. 2 2
      htdocs/admin/system/security.php
  15. 1 1
      htdocs/admin/tools/dolibarr_export.php
  16. 1 1
      htdocs/bookmarks/bookmarks.lib.php
  17. 1 1
      htdocs/comm/action/card.php
  18. 1 1
      htdocs/comm/card.php
  19. 1 1
      htdocs/comm/propal/stats/index.php
  20. 1 1
      htdocs/commande/stats/index.php
  21. 1 1
      htdocs/compta/bank/annuel.php
  22. 1 1
      htdocs/compta/cashcontrol/cashcontrol_card.php
  23. 1 1
      htdocs/compta/deplacement/stats/index.php
  24. 1 1
      htdocs/compta/facture/stats/index.php
  25. 1 1
      htdocs/contact/card.php
  26. 1 1
      htdocs/core/lib/agenda.lib.php
  27. 1 1
      htdocs/don/stats/index.php
  28. 1 1
      htdocs/expedition/stats/index.php
  29. 1 1
      htdocs/expensereport/stats/index.php
  30. 1 1
      htdocs/fichinter/stats/index.php
  31. 1 1
      htdocs/fourn/card.php
  32. 1 1
      htdocs/hrm/compare.php
  33. 1 1
      htdocs/intracommreport/card.php
  34. 1 1
      htdocs/main.inc.php
  35. 1 1
      htdocs/margin/tabs/productMargins.php
  36. 1 1
      htdocs/margin/tabs/thirdpartyMargins.php
  37. 1 1
      htdocs/opensurvey/wizard/index.php
  38. 1 1
      htdocs/product/card.php
  39. 1 1
      htdocs/product/document.php
  40. 1 1
      htdocs/product/fournisseurs.php
  41. 1 1
      htdocs/product/price.php
  42. 1 1
      htdocs/product/stats/bom.php
  43. 1 1
      htdocs/product/stats/commande.php
  44. 1 1
      htdocs/product/stats/commande_fournisseur.php
  45. 1 1
      htdocs/product/stats/contrat.php
  46. 1 1
      htdocs/product/stats/facture.php
  47. 1 1
      htdocs/product/stats/facture_fournisseur.php
  48. 1 1
      htdocs/product/stats/facturerec.php
  49. 1 1
      htdocs/product/stats/mo.php
  50. 1 1
      htdocs/product/stats/propal.php
  51. 1 1
      htdocs/product/stats/supplier_proposal.php
  52. 1 1
      htdocs/product/stock/product.php
  53. 1 1
      htdocs/product/stock/productlot_document.php
  54. 1 1
      htdocs/product/stock/stats/commande_fournisseur.php
  55. 1 1
      htdocs/product/stock/stats/expedition.php
  56. 1 1
      htdocs/product/stock/stats/mo.php
  57. 1 1
      htdocs/product/stock/stats/reception.php
  58. 1 1
      htdocs/projet/stats/index.php
  59. 1 1
      htdocs/projet/tasks/stats/index.php
  60. 1 1
      htdocs/public/ticket/index.php
  61. 1 1
      htdocs/reception/stats/index.php
  62. 1 1
      htdocs/salaries/stats/index.php
  63. 1 1
      htdocs/societe/card.php
  64. 1 1
      htdocs/ticket/card.php
  65. 1 1
      htdocs/ticket/index.php
  66. 1 1
      htdocs/ticket/stats/index.php
  67. 1 1
      htdocs/user/bank.php
  68. 1 1
      htdocs/user/card.php
  69. 1 1
      htdocs/variants/combinations.php

+ 2 - 2
htdocs/accountancy/admin/accountmodel.php

@@ -504,8 +504,8 @@ if ($id) {
 		print '<td>';
 		print '<input type="hidden" name="id" value="'.$id.'">';
 		print '</td>';
-		print '<td style="min-width: 26px;"></td>';
-		print '<td style="min-width: 26px;"></td>';
+		print '<td></td>';
+		print '<td></td>';
 		print '</tr>';
 
 		// Line to enter new values

+ 3 - 3
htdocs/accountancy/admin/categories_list.php

@@ -545,9 +545,9 @@ if ($tabname[$id]) {
 	print '<td>';
 	print '<input type="hidden" name="id" value="'.$id.'">';
 	print '</td>';
-	print '<td style="min-width: 26px;"></td>';
-	print '<td style="min-width: 26px;"></td>';
-	print '<td style="min-width: 26px;"></td>';
+	print '<td></td>';
+	print '<td></td>';
+	print '<td></td>';
 	print '</tr>';
 
 	// Line to enter new values

+ 3 - 3
htdocs/accountancy/admin/journals_list.php

@@ -431,9 +431,9 @@ if ($id) {
 		print '<td>';
 		print '<input type="hidden" name="id" value="'.$id.'">';
 		print '</td>';
-		print '<td style="min-width: 26px;"></td>';
-		print '<td style="min-width: 26px;"></td>';
-		print '<td style="min-width: 26px;"></td>';
+		print '<td></td>';
+		print '<td></td>';
+		print '<td></td>';
 		print '</tr>';
 
 		// Line to enter new values

+ 2 - 2
htdocs/accountancy/admin/productaccount.php

@@ -194,7 +194,7 @@ if ($action == 'update') {
 				}
 				if ($result <= 0) {
 					// setEventMessages(null, $accounting->errors, 'errors');
-					$msg .= '<div><span style="color:red">'.$langs->trans("ErrorDB").' : '.$langs->trans("Product").' '.$productid.' '.$langs->trans("NotVentilatedinAccount").' : id='.$accounting_account_id.'<br> <pre>'.$sql.'</pre></span></div>';
+					$msg .= '<div><span class="error">'.$langs->trans("ErrorDB").' : '.$langs->trans("Product").' '.$productid.' '.$langs->trans("NotVentilatedinAccount").' : id='.$accounting_account_id.'<br> <pre>'.$sql.'</pre></span></div>';
 					$ko++;
 				} else {
 					$sql = '';
@@ -203,7 +203,7 @@ if ($action == 'update') {
 						$sql_exists .= " WHERE fk_product = " . ((int) $productid) . " AND entity = " . ((int) $conf->entity);
 						$resql_exists = $db->query($sql_exists);
 						if (!$resql_exists) {
-							$msg .= '<div><span style="color:red">'.$langs->trans("ErrorDB").' : '.$langs->trans("Product").' '.$productid.' '.$langs->trans("NotVentilatedinAccount").' : id='.$accounting_account_id.'<br> <pre>'.$resql_exists.'</pre></span></div>';
+							$msg .= '<div><span class="error">'.$langs->trans("ErrorDB").' : '.$langs->trans("Product").' '.$productid.' '.$langs->trans("NotVentilatedinAccount").' : id='.$accounting_account_id.'<br> <pre>'.$resql_exists.'</pre></span></div>';
 							$ko++;
 						} else {
 							$nb_exists = $db->num_rows($resql_exists);

+ 1 - 1
htdocs/accountancy/bookkeeping/card.php

@@ -527,7 +527,7 @@ if (!empty($object->piece_num)) {
 
 	print dol_get_fiche_end();
 
-	print '<div style="clear:both"></div>';
+	print '<div class="clearboth"></div>';
 
 	print '<br>';
 

+ 3 - 4
htdocs/accountancy/expensereport/list.php

@@ -159,7 +159,6 @@ if (empty($reshook)) {
 if ($massaction == 'ventil' && $user->rights->accounting->bind->write) {
 	$msg = '';
 
-	//print '<div><span style="color:red">' . $langs->trans("Processing") . '...</span></div>';
 	if (!empty($mesCasesCochees)) {
 		$msg = '<div>'.$langs->trans("SelectedLines").': '.count($mesCasesCochees).'</div>';
 		$msg .= '<div class="detail">';
@@ -173,7 +172,7 @@ if ($massaction == 'ventil' && $user->rights->accounting->bind->write) {
 			$monCompte = GETPOST('codeventil'.$monId);
 
 			if ($monCompte <= 0) {
-				$msg .= '<div><span style="color:red">'.$langs->trans("Lineofinvoice").' '.$monId.' - '.$langs->trans("NoAccountSelected").'</span></div>';
+				$msg .= '<div><span class="error">'.$langs->trans("Lineofinvoice").' '.$monId.' - '.$langs->trans("NoAccountSelected").'</span></div>';
 				$ko++;
 			} else {
 				$sql = " UPDATE ".MAIN_DB_PREFIX."expensereport_det";
@@ -185,10 +184,10 @@ if ($massaction == 'ventil' && $user->rights->accounting->bind->write) {
 
 				dol_syslog('accountancy/expensereport/list.php:: sql='.$sql, LOG_DEBUG);
 				if ($db->query($sql)) {
-					$msg .= '<div><span style="color:green">'.$langs->trans("LineOfExpenseReport").' '.$monId.' - '.$langs->trans("VentilatedinAccount").' : '.length_accountg($accountventilated->account_number).'</span></div>';
+					$msg .= '<div><span class="green">'.$langs->trans("LineOfExpenseReport").' '.$monId.' - '.$langs->trans("VentilatedinAccount").' : '.length_accountg($accountventilated->account_number).'</span></div>';
 					$ok++;
 				} else {
-					$msg .= '<div><span style="color:red">'.$langs->trans("ErrorDB").' : '.$langs->trans("Lineofinvoice").' '.$monId.' - '.$langs->trans("NotVentilatedinAccount").' : '.length_accountg($accountventilated->account_number).'<br> <pre>'.$sql.'</pre></span></div>';
+					$msg .= '<div><span class="error">'.$langs->trans("ErrorDB").' : '.$langs->trans("Lineofinvoice").' '.$monId.' - '.$langs->trans("NotVentilatedinAccount").' : '.length_accountg($accountventilated->account_number).'<br> <pre>'.$sql.'</pre></span></div>';
 					$ko++;
 				}
 			}

+ 3 - 4
htdocs/accountancy/supplier/list.php

@@ -170,7 +170,6 @@ if (empty($reshook)) {
 if ($massaction == 'ventil' && $user->rights->accounting->bind->write) {
 	$msg = '';
 
-	//print '<div><span style="color:red">' . $langs->trans("Processing") . '...</span></div>';
 	if (!empty($mesCasesCochees)) {
 		$msg = '<div>'.$langs->trans("SelectedLines").': '.count($mesCasesCochees).'</div>';
 		$msg .= '<div class="detail">';
@@ -184,7 +183,7 @@ if ($massaction == 'ventil' && $user->rights->accounting->bind->write) {
 			$monCompte = GETPOST('codeventil'.$monId);
 
 			if ($monCompte <= 0) {
-				$msg .= '<div><span style="color:red">'.$langs->trans("Lineofinvoice").' '.$monId.' - '.$langs->trans("NoAccountSelected").'</span></div>';
+				$msg .= '<div><span class="error">'.$langs->trans("Lineofinvoice").' '.$monId.' - '.$langs->trans("NoAccountSelected").'</span></div>';
 				$ko++;
 			} else {
 				$sql = " UPDATE ".MAIN_DB_PREFIX."facture_fourn_det";
@@ -196,10 +195,10 @@ if ($massaction == 'ventil' && $user->rights->accounting->bind->write) {
 
 				dol_syslog('accountancy/supplier/list.php', LOG_DEBUG);
 				if ($db->query($sql)) {
-					$msg .= '<div><span style="color:green">'.$langs->trans("Lineofinvoice").' '.$monId.' - '.$langs->trans("VentilatedinAccount").' : '.length_accountg($accountventilated->account_number).'</span></div>';
+					$msg .= '<div><span class="green">'.$langs->trans("Lineofinvoice").' '.$monId.' - '.$langs->trans("VentilatedinAccount").' : '.length_accountg($accountventilated->account_number).'</span></div>';
 					$ok++;
 				} else {
-					$msg .= '<div><span style="color:red">'.$langs->trans("ErrorDB").' : '.$langs->trans("Lineofinvoice").' '.$monId.' - '.$langs->trans("NotVentilatedinAccount").' : '.length_accountg($accountventilated->account_number).'<br> <pre>'.$sql.'</pre></span></div>';
+					$msg .= '<div><span class="error">'.$langs->trans("ErrorDB").' : '.$langs->trans("Lineofinvoice").' '.$monId.' - '.$langs->trans("NotVentilatedinAccount").' : '.length_accountg($accountventilated->account_number).'<br> <pre>'.$sql.'</pre></span></div>';
 					$ko++;
 				}
 			}

+ 1 - 1
htdocs/adherents/card.php

@@ -1873,7 +1873,7 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($action)) {
 		print "</table>\n";
 
 		print "</div></div>\n";
-		print '<div style="clear:both"></div>';
+		print '<div class="clearboth"></div>';
 
 		print dol_get_fiche_end();
 

+ 1 - 2
htdocs/adherents/class/adherent.class.php

@@ -2299,7 +2299,6 @@ class Adherent extends CommonObject
 			$photo .= Form::showphoto('memberphoto', $this, 80, 0, 0, 'photoref photowithmargin photologintooltip', 'small', 0, 1);
 			$photo .= '</div>';
 			$datas['photo'] = $photo;
-			//$label .= '<div style="clear: both;"></div>';
 		}
 
 		$datas['divopen'] = '<div class="centpercent">';
@@ -2411,7 +2410,7 @@ class Adherent extends CommonObject
 		if ($withpictoimg) {
 			$paddafterimage = '';
 			if (abs($withpictoimg) == 1) {
-				$paddafterimage = 'style="margin-right: 3px;"';
+				$morecss .= ' paddingrightonly';
 			}
 			// Only picto
 			if ($withpictoimg > 0) {

+ 1 - 1
htdocs/adherents/stats/index.php

@@ -225,7 +225,7 @@ print '</td></tr></table>';
 
 
 print '</div></div>';
-print '<div style="clear:both"></div>';
+print '<div class="clearboth"></div>';
 
 
 print dol_get_fiche_end();

+ 1 - 1
htdocs/adherents/subscription.php

@@ -664,7 +664,7 @@ if ($rowid > 0) {
 	print "</table>\n";
 
 	print "</div></div>\n";
-	print '<div style="clear:both"></div>';
+	print '<div class="clearboth"></div>';
 
 	print dol_get_fiche_end();
 

+ 0 - 1
htdocs/admin/dolistore/class/dolistore.class.php

@@ -329,7 +329,6 @@ class Dolistore
 			$html .= '</small></h2>';
 			$html .= '<small> '.dol_print_date(dol_stringtotime($product->date_upd), 'dayhour').' - '.$langs->trans('Ref').': '.dol_escape_htmltag($product->reference).' - '.dol_escape_htmltag($langs->trans('Id')).': '.((int) $product->id).'</small><br><br>'.dol_escape_htmltag($product->description_short->language[$this->lang - 1]).'</td>';
 			// do not load if display none
-			//$html .= '<td style="display:none;" class="long_description">'.$product->description->language[$this->lang - 1].'</td>';
 			$html .= '<td class="margeCote center">';
 			$html .= $price;
 			$html .= '</td>';

+ 0 - 2
htdocs/admin/modules.php

@@ -582,8 +582,6 @@ if ($mode == 'common' || $mode == 'commonkanban') {
 	$moreforfilter .= dolGetButtonTitle($langs->trans('ViewKanban'), '', 'fa fa-th-list imgforviewmode', $_SERVER["PHP_SELF"].'?mode=commonkanban'.$param, '', ($mode == 'commonkanban' ? 2 : 1), array('morecss'=>'reposition'));
 	$moreforfilter .= '</li></ul></div>';
 
-	//$moreforfilter .= '<div class="floatright center marginrightonly hideonsmartphone" style="padding-top: 3px"><span class="paddingright">'.$moreinfo.'</span> '.$moreinfo2.'</div>';
-
 	$moreforfilter .= '<div class="divfilteralone colorbacktimesheet float valignmiddle">';
 	$moreforfilter .= '<div class="divsearchfield paddingtop paddingbottom valignmiddle inline-block">';
 	$moreforfilter .= img_picto($langs->trans("Filter"), 'filter', 'class="paddingright opacityhigh hideonsmartphone"').'<input type="text" id="search_keyword" name="search_keyword" class="maxwidth125" value="'.dol_escape_htmltag($search_keyword).'" placeholder="'.dol_escape_htmltag($langs->trans('Keyword')).'">';

+ 2 - 2
htdocs/admin/system/security.php

@@ -580,14 +580,14 @@ print '<br>';
 print '<strong>MAIN_DOCUMENT_IS_OUTSIDE_WEBROOT_SO_NOEXE_NOT_REQUIRED</strong> = '.getDolGlobalString('MAIN_DOCUMENT_IS_OUTSIDE_WEBROOT_SO_NOEXE_NOT_REQUIRED', '<span class="opacitymedium">'.$langs->trans("Undefined").' &nbsp; ('.$langs->trans("Recommended").': '.$langs->trans("Undefined").' '.$langs->trans("or").' 0)</span>')."<br>";
 print '<br>';
 
-print '<strong>MAIN_SECURITY_FORCECSP</strong> = '.getDolGlobalString('MAIN_SECURITY_FORCECSP', '<span class="opacitymedium">'.$langs->trans("Undefined").'</span>').' &nbsp; <span class="opacitymedium">('.$langs->trans("Example").": \"frame-ancestors 'self'; default-src 'self'; img-src *;\")</span><br>";
+print '<strong>MAIN_SECURITY_FORCECSP</strong> = '.getDolGlobalString('MAIN_SECURITY_FORCECSP', '<span class="opacitymedium">'.$langs->trans("Undefined").'</span>').' &nbsp; <span class="opacitymedium">('.$langs->trans("Example").": \"frame-ancestors 'self'; default-src 'self' 'unsafe-inline'; img-src *;\")</span><br>";
 print '<br>';
 
 print '<strong>MAIN_SECURITY_FORCERP</strong> = '.getDolGlobalString('MAIN_SECURITY_FORCERP', '<span class="opacitymedium">'.$langs->trans("Undefined").'</span>').' &nbsp; <span class="opacitymedium">('.$langs->trans("Recommended").': '.$langs->trans("Undefined").' '.$langs->trans("or")." \"same-origin\" so browser doesn't send any referrer when going into another web site domain)</span><br>";
 print '<br>';
 
 print '<strong>WEBSITE_MAIN_SECURITY_FORCECSP</strong> = '.getDolGlobalString('WEBSITE_MAIN_SECURITY_FORCECSP', '<span class="opacitymedium">'.$langs->trans("Undefined").'</span>');
-print ' &nbsp; <span class="opacitymedium">('.$langs->trans("Example").": \"frame-ancestors 'self'; default-src 'self'; style-src https://cdnjs.cloudflare.com https://fonts.googleapis.com; script-src https://cdn.transifex.com https://www.googletagmanager.com; object-src https://youtube.com; frame-src https://youtube.com; img-src *;\")</span><br>";
+print ' &nbsp; <span class="opacitymedium">('.$langs->trans("Example").": \"frame-ancestors 'self'; default-src 'self' 'unsafe-inline'; style-src https://cdnjs.cloudflare.com https://fonts.googleapis.com; script-src https://cdn.transifex.com https://www.googletagmanager.com 'unsafe-inline'; object-src https://youtube.com; frame-src https://youtube.com; img-src *;\")</span><br>";
 print '<br>';
 
 print '<strong>WEBSITE_MAIN_SECURITY_FORCERP</strong> = '.getDolGlobalString('WEBSITE_MAIN_SECURITY_FORCERP', '<span class="opacitymedium">'.$langs->trans("Undefined").'</span>').' &nbsp; <span class="opacitymedium">('.$langs->trans("Recommended").': '.$langs->trans("Undefined").' '.$langs->trans("or")." \"strict-origin-when-cross-origin\")</span><br>";

+ 1 - 1
htdocs/admin/tools/dolibarr_export.php

@@ -169,7 +169,7 @@ print '<td class="liste_titre">';
 print $langs->trans("DatabaseName").' : <b>'.$dolibarr_main_db_name.'</b><br>';
 print '</td>';
 print '</tr>';
-print '<tr class="oddeven nohover"><td style="class="nohover">';
+print '<tr class="oddeven nohover"><td class="nohover">';
 
 print '<table class="centpercent noborderbottom">';
 

+ 1 - 1
htdocs/bookmarks/bookmarks.lib.php

@@ -196,7 +196,7 @@ function printDropdownBookmarksList()
 			<!-- Menu bookmark tools-->
 			<div class="bookmark-footer">
 					'.$newbtn.$listbtn.'
-				<div style="clear:both;"></div>
+				<div class="clearboth"></div>
 			</div>
 		';
 

+ 1 - 1
htdocs/comm/action/card.php

@@ -2493,7 +2493,7 @@ if ($id > 0) {
 
 	if ($action != 'edit') {
 		if (empty($conf->global->AGENDA_DISABLE_BUILDDOC)) {
-			print '<div style="clear:both;"></div><div class="fichecenter"><div class="fichehalfleft">';
+			print '<div class="clearboth"></div><div class="fichecenter"><div class="fichehalfleft">';
 			print '<a name="builddoc"></a>'; // ancre
 
 			/*

+ 1 - 1
htdocs/comm/card.php

@@ -1539,7 +1539,7 @@ if ($object->id > 0) {
 	}
 
 	print '</div></div>';
-	print '<div style="clear:both"></div>';
+	print '<div class="clearboth"></div>';
 
 	print dol_get_fiche_end();
 

+ 1 - 1
htdocs/comm/propal/stats/index.php

@@ -366,7 +366,7 @@ print '</td></tr></table>';
 
 
 print '</div></div>';
-print '<div style="clear:both"></div>';
+print '<div class="clearboth"></div>';
 
 
 print dol_get_fiche_end();

+ 1 - 1
htdocs/commande/stats/index.php

@@ -426,7 +426,7 @@ print '</td></tr></table>';
 
 
 print '</div></div>';
-print '<div style="clear:both"></div>';
+print '<div class="clearboth"></div>';
 
 print dol_get_fiche_end();
 

+ 1 - 1
htdocs/compta/bank/annuel.php

@@ -463,7 +463,7 @@ if ($result < 0) {
 	print '</div></div><div class="fichehalfright"><div align="center">'; // do not use class="center" here, it will have no effect for the js graph inside.
 	print $show2;
 	print '</div></div></div>';
-	print '<div style="clear:both"></div>';
+	print '<div class="clearboth"></div>';
 }
 
 

+ 1 - 1
htdocs/compta/cashcontrol/cashcontrol_card.php

@@ -671,7 +671,7 @@ if (empty($action) || $action == "view" || $action == "close") {
 		print "</table>\n";
 
 		print '</div></div>';
-		print '<div style="clear:both"></div>';
+		print '<div class="clearboth"></div>';
 
 		print dol_get_fiche_end();
 

+ 1 - 1
htdocs/compta/deplacement/stats/index.php

@@ -321,7 +321,7 @@ print '</td></tr></table>';
 
 
 print '</div></div>';
-print '<div style="clear:both"></div>';
+print '<div class="clearboth"></div>';
 
 
 print dol_get_fiche_end();

+ 1 - 1
htdocs/compta/facture/stats/index.php

@@ -421,7 +421,7 @@ print '</td></tr></table>';
 
 
 print '</div></div>';
-print '<div style="clear:both"></div>';
+print '<div class="clearboth"></div>';
 
 
 print dol_get_fiche_end();

+ 1 - 1
htdocs/contact/card.php

@@ -1500,7 +1500,7 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($action)) {
 		print "</table>";
 
 		print '</div></div>';
-		print '<div style="clear:both"></div>';
+		print '<div class="clearboth"></div>';
 
 		print dol_get_fiche_end();
 

+ 1 - 1
htdocs/core/lib/agenda.lib.php

@@ -135,7 +135,7 @@ function print_actions_filter($form, $canedit, $status, $year, $month, $day, $sh
 	$object = null;
 	$reshook = $hookmanager->executeHooks('searchAgendaFrom', $parameters, $object, $action); // Note that $action and $object may have been
 
-	print '<div style="clear:both"></div>';
+	print '<div class="clearboth"></div>';
 }
 
 

+ 1 - 1
htdocs/don/stats/index.php

@@ -295,7 +295,7 @@ print '</td></tr></table>';
 
 
 print '</div></div>';
-print '<div style="clear:both"></div>';
+print '<div class="clearboth"></div>';
 
 print dol_get_fiche_end();
 

+ 1 - 1
htdocs/expedition/stats/index.php

@@ -310,7 +310,7 @@ print '</td></tr></table>';
 
 
 print '</div></div>';
-print '<div style="clear:both"></div>';
+print '<div class="clearboth"></div>';
 
 print dol_get_fiche_end();
 

+ 1 - 1
htdocs/expensereport/stats/index.php

@@ -311,7 +311,7 @@ print '</td></tr></table>';
 
 
 print '</div></div>';
-print '<div style="clear:both"></div>';
+print '<div class="clearboth"></div>';
 
 
 print dol_get_fiche_end();

+ 1 - 1
htdocs/fichinter/stats/index.php

@@ -319,7 +319,7 @@ print '</td></tr></table>';
 
 
 print '</div></div>';
-print '<div style="clear:both"></div>';
+print '<div class="clearboth"></div>';
 
 print dol_get_fiche_end();
 

+ 1 - 1
htdocs/fourn/card.php

@@ -868,7 +868,7 @@ if ($object->id > 0) {
 	}
 
 	print '</div></div>';
-	print '<div style="clear:both"></div>';
+	print '<div class="clearboth"></div>';
 
 	print dol_get_fiche_end();
 

+ 1 - 1
htdocs/hrm/compare.php

@@ -188,7 +188,7 @@ $fk_usergroup1 = GETPOST('fk_usergroup1');
 
 				</div>
 
-				<div style="clear:both"></div>
+				<div class="clearboth"></div>
 
 			</div>
 

+ 1 - 1
htdocs/intracommreport/card.php

@@ -274,7 +274,7 @@ if ($id > 0 && $action != 'edit') {
 	print "</table>\n";
 
 	print "</div></div></div>\n";
-	print '<div style="clear:both"></div>';
+	print '<div class="clearboth"></div>';
 
 	print dol_get_fiche_end();
 }

+ 1 - 1
htdocs/main.inc.php

@@ -2390,7 +2390,7 @@ function top_menu_user($hideloginname = 0, $urllogout = '')
 	                <div class="pull-right">
 	                    '.$logoutLink.'
 	                </div>
-	                <div style="clear:both;"></div>
+	                <div class="clearboth"></div>
 	            </div>
 
 	        </div>

+ 1 - 1
htdocs/margin/tabs/productMargins.php

@@ -133,7 +133,7 @@ if ($id > 0 || !empty($ref)) {
 		print "</table>";
 
 		print '</div>';
-		print '<div style="clear:both"></div>';
+		print '<div class="clearboth"></div>';
 
 		print dol_get_fiche_end();
 

+ 1 - 1
htdocs/margin/tabs/thirdpartyMargins.php

@@ -163,7 +163,7 @@ if ($socid > 0) {
 	print "</table>";
 
 	print '</div>';
-	print '<div style="clear:both"></div>';
+	print '<div class="clearboth"></div>';
 
 	print dol_get_fiche_end();
 

+ 1 - 1
htdocs/opensurvey/wizard/index.php

@@ -61,7 +61,7 @@ print '<div class="index_sondage">';
 print '<div><img class="opacity imgopensurveywizard" src="../img/sondage2.png" onclick="document.formulaire.autre.click()"></div>';
 print '<button id="autre" name="choix_sondage" value="autre" type="submit" class="button blue bigrounded"><img src="../img/chart-32.png" alt="'.dol_escape_htmltag($langs->trans("CreateSurveyStandard")).'" style="padding-right: 4px">'.dol_escape_htmltag($langs->trans("CreateSurveyStandard")).'</button>';
 print '</div>';
-print '<div style="clear:both;"></div>';
+print '<div class="clearboth"></div>';
 print '</div>';
 print '</div></form>';
 

+ 1 - 1
htdocs/product/card.php

@@ -2722,7 +2722,7 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($action)) {
 			print '</div>';
 
 			print '</div>';
-			print '<div style="clear:both"></div>';
+			print '<div class="clearboth"></div>';
 
 			print dol_get_fiche_end();
 		}

+ 1 - 1
htdocs/product/document.php

@@ -259,7 +259,7 @@ if ($object->id) {
 	print '</table>';
 
 	print '</div>';
-	print '<div style="clear:both"></div>';
+	print '<div class="clearboth"></div>';
 
 	print dol_get_fiche_end();
 

+ 1 - 1
htdocs/product/fournisseurs.php

@@ -460,7 +460,7 @@ if ($id > 0 || $ref) {
 			print '</table>';
 
 			print '</div>';
-			print '<div style="clear:both"></div>';
+			print '<div class="clearboth"></div>';
 
 			print dol_get_fiche_end();
 

+ 1 - 1
htdocs/product/price.php

@@ -1312,7 +1312,7 @@ if (!empty($conf->global->PRODUIT_MULTIPRICES) || !empty($conf->global->PRODUIT_
 print "</table>\n";
 
 print '</div>';
-print '<div style="clear:both"></div>';
+print '<div class="clearboth"></div>';
 
 
 print dol_get_fiche_end();

+ 1 - 1
htdocs/product/stats/bom.php

@@ -121,7 +121,7 @@ if ($id > 0 || !empty($ref)) {
 		print "</table>";
 
 		print '</div>';
-		print '<div style="clear:both"></div>';
+		print '<div class="clearboth"></div>';
 
 		print dol_get_fiche_end();
 

+ 1 - 1
htdocs/product/stats/commande.php

@@ -131,7 +131,7 @@ if ($id > 0 || !empty($ref)) {
 		print "</table>";
 
 		print '</div>';
-		print '<div style="clear:both"></div>';
+		print '<div class="clearboth"></div>';
 
 		print dol_get_fiche_end();
 

+ 1 - 1
htdocs/product/stats/commande_fournisseur.php

@@ -131,7 +131,7 @@ if ($id > 0 || !empty($ref)) {
 		print "</table>";
 
 		print '</div>';
-		print '<div style="clear:both"></div>';
+		print '<div class="clearboth"></div>';
 
 		print dol_get_fiche_end();
 

+ 1 - 1
htdocs/product/stats/contrat.php

@@ -120,7 +120,7 @@ if ($id > 0 || !empty($ref)) {
 		print "</table>";
 
 		print '</div>';
-		print '<div style="clear:both"></div>';
+		print '<div class="clearboth"></div>';
 
 		print dol_get_fiche_end();
 

+ 1 - 1
htdocs/product/stats/facture.php

@@ -147,7 +147,7 @@ if ($id > 0 || !empty($ref)) {
 		print "</table>";
 
 		print '</div>';
-		print '<div style="clear:both"></div>';
+		print '<div class="clearboth"></div>';
 
 		print dol_get_fiche_end();
 

+ 1 - 1
htdocs/product/stats/facture_fournisseur.php

@@ -132,7 +132,7 @@ if ($id > 0 || !empty($ref)) {
 		print "</table>";
 
 		print '</div>';
-		print '<div style="clear:both"></div>';
+		print '<div class="clearboth"></div>';
 
 		print dol_get_fiche_end();
 

+ 1 - 1
htdocs/product/stats/facturerec.php

@@ -148,7 +148,7 @@ if ($id > 0 || !empty($ref)) {
 		print "</table>";
 
 		print '</div>';
-		print '<div style="clear:both"></div>';
+		print '<div class="clearboth"></div>';
 
 		print dol_get_fiche_end();
 

+ 1 - 1
htdocs/product/stats/mo.php

@@ -131,7 +131,7 @@ if ($id > 0 || !empty($ref)) {
 		print "</table>";
 
 		print '</div>';
-		print '<div style="clear:both"></div>';
+		print '<div class="clearboth"></div>';
 
 		print dol_get_fiche_end();
 

+ 1 - 1
htdocs/product/stats/propal.php

@@ -133,7 +133,7 @@ if ($id > 0 || !empty($ref)) {
 		print "</table>";
 
 		print '</div>';
-		print '<div style="clear:both"></div>';
+		print '<div class="clearboth"></div>';
 
 		print dol_get_fiche_end();
 

+ 1 - 1
htdocs/product/stats/supplier_proposal.php

@@ -132,7 +132,7 @@ if ($id > 0 || !empty($ref)) {
 		print "</table>";
 
 		print '</div>';
-		print '<div style="clear:both"></div>';
+		print '<div class="clearboth"></div>';
 
 		print dol_get_fiche_end();
 

+ 1 - 1
htdocs/product/stock/product.php

@@ -903,7 +903,7 @@ if ($id > 0 || $ref) {
 			print '</div>';
 			print '</div>';
 
-			print '<div style="clear:both"></div>';
+			print '<div class="clearboth"></div>';
 		}
 
 		print dol_get_fiche_end();

+ 1 - 1
htdocs/product/stock/productlot_document.php

@@ -197,7 +197,7 @@ if ($object->id) {
 	print '</table>';
 
 	print '</div>';
-	print '<div style="clear:both"></div>';
+	print '<div class="clearboth"></div>';
 
 	print dol_get_fiche_end();
 

+ 1 - 1
htdocs/product/stock/stats/commande_fournisseur.php

@@ -205,7 +205,7 @@ if ($id > 0 || !empty($ref)) {
 		print "</table>";
 
 		print '</div>';
-		print '<div style="clear:both"></div>';
+		print '<div class="clearboth"></div>';
 
 		print dol_get_fiche_end();
 

+ 1 - 1
htdocs/product/stock/stats/expedition.php

@@ -205,7 +205,7 @@ if ($id > 0 || !empty($ref)) {
 		print "</table>";
 
 		print '</div>';
-		print '<div style="clear:both"></div>';
+		print '<div class="clearboth"></div>';
 
 		print dol_get_fiche_end();
 

+ 1 - 1
htdocs/product/stock/stats/mo.php

@@ -152,7 +152,7 @@ if ($id > 0 || !empty($ref)) {
 		print "</table>";
 
 		print '</div>';
-		print '<div style="clear:both"></div>';
+		print '<div class="clearboth"></div>';
 
 		print dol_get_fiche_end();
 

+ 1 - 1
htdocs/product/stock/stats/reception.php

@@ -205,7 +205,7 @@ if ($id > 0 || !empty($ref)) {
 		print "</table>";
 
 		print '</div>';
-		print '<div style="clear:both"></div>';
+		print '<div class="clearboth"></div>';
 
 		print dol_get_fiche_end();
 

+ 1 - 1
htdocs/projet/stats/index.php

@@ -329,7 +329,7 @@ print $stringtoshow;
 
 print '</div></div>';
 
-print '<div style="clear:both"></div>';
+print '<div class="clearboth"></div>';
 
 print dol_get_fiche_end();
 

+ 1 - 1
htdocs/projet/tasks/stats/index.php

@@ -224,7 +224,7 @@ print $stringtoshow;
 
 print '</div></div>';
 
-print '<div style="clear:both"></div>';
+print '<div class="clearboth"></div>';
 
 print dol_get_fiche_end();
 

+ 1 - 1
htdocs/public/ticket/index.php

@@ -89,7 +89,7 @@ print '<div class="ticketform">';
 print '<a href="create_ticket.php?action=create'.(!empty($entity) && isModEnabled('multicompany')?'&entity='.$entity:'').'" rel="nofollow noopener" class="butAction marginbottomonly"><div class="index_create bigrounded"><span class="fa fa-15 fa-plus-circle valignmiddle btnTitle-icon"></span><br>'.dol_escape_htmltag($langs->trans("CreateTicket")).'</div></a>';
 print '<a href="list.php'.(!empty($entity) && isModEnabled('multicompany')?'?entity='.$entity:'').'" rel="nofollow noopener" class="butAction marginbottomonly"><div class="index_display bigrounded"><span class="fa fa-15 fa-list-alt valignmiddle btnTitle-icon"></span><br>'.dol_escape_htmltag($langs->trans("ViewMyTicketList")).'</div></a>';
 print '<a href="view.php'.(!empty($entity) && isModEnabled('multicompany')?'?entity='.$entity:'').'" rel="nofollow noopener" class="butAction marginbottomonly"><div class="index_display bigrounded">'.img_picto('', 'ticket', 'class="fa-15"').'<br>'.dol_escape_htmltag($langs->trans("ShowTicketWithTrackId")).'</div></a>';
-print '<div style="clear:both;"></div>';
+print '<div class="clearboth"></div>';
 print '</div>';
 print '</div>';
 

+ 1 - 1
htdocs/reception/stats/index.php

@@ -302,7 +302,7 @@ print '</td></tr></table>';
 
 
 print '</div></div>';
-print '<div style="clear:both"></div>';
+print '<div class="clearboth"></div>';
 
 print dol_get_fiche_end();
 

+ 1 - 1
htdocs/salaries/stats/index.php

@@ -279,7 +279,7 @@ print '</td></tr></table>';
 
 
 print '</div></div>';
-print '<div style="clear:both"></div>';
+print '<div class="clearboth"></div>';
 
 
 print dol_get_fiche_end();

+ 1 - 1
htdocs/societe/card.php

@@ -3185,7 +3185,7 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($action)) {
 		print '</div>';
 
 		print '</div>';
-		print '<div style="clear:both"></div>';
+		print '<div class="clearboth"></div>';
 
 		print dol_get_fiche_end();
 

+ 1 - 1
htdocs/ticket/card.php

@@ -1386,7 +1386,7 @@ if ($action == 'create' || $action == 'presend') {
 		}
 
 		print '</div></div>';
-		print '<div style="clear:both"></div>';
+		print '<div class="clearboth"></div>';
 
 		print dol_get_fiche_end();
 

+ 1 - 1
htdocs/ticket/index.php

@@ -446,7 +446,7 @@ print '</div>';
 print '</div>';
 
 
-print '<div style="clear:both"></div>';
+print '<div class="clearboth"></div>';
 
 $parameters = array('user' => $user);
 $reshook = $hookmanager->executeHooks('dashboardTickets', $parameters, $object); // Note that $action and $object may have been modified by hook

+ 1 - 1
htdocs/ticket/stats/index.php

@@ -316,7 +316,7 @@ print '</td></tr></table>';
 
 
 print '</div></div>';
-print '<div style="clear:both"></div>';
+print '<div class="clearboth"></div>';
 
 print dol_get_fiche_end();
 

+ 1 - 1
htdocs/user/bank.php

@@ -757,7 +757,7 @@ if ($action != 'edit' && $action != 'create') {		// If not bank account yet, $ac
 	}
 
 	print '</div></div>';
-	print '<div style="clear:both"></div>';
+	print '<div class="clearboth"></div>';
 
 	print dol_get_fiche_end();
 

+ 1 - 1
htdocs/user/card.php

@@ -1892,7 +1892,7 @@ if ($action == 'create' || $action == 'adduserldap') {
 			print '</div>';
 
 			print '</div>';
-			print '<div style="clear:both"></div>';
+			print '<div class="clearboth"></div>';
 
 
 			print dol_get_fiche_end();

+ 1 - 1
htdocs/variants/combinations.php

@@ -463,7 +463,7 @@ if (!empty($id) || !empty($ref)) {
 	print "</table>\n";
 
 	print '</div>';
-	print '<div style="clear:both"></div>';
+	print '<div class="clearboth"></div>';
 
 	print dol_get_fiche_end();