瀏覽代碼

update with html5 compliant code

Philippe GRAND 6 年之前
父節點
當前提交
73606c85b3
共有 3 個文件被更改,包括 8 次插入8 次删除
  1. 5 5
      htdocs/societe/card.php
  2. 1 1
      htdocs/societe/consumption.php
  3. 2 2
      htdocs/societe/website.php

+ 5 - 5
htdocs/societe/card.php

@@ -10,7 +10,7 @@
  * Copyright (C) 2015       Jean-François Ferry     <jfefe@aternatik.fr>
  * Copyright (C) 2015       Marcos García           <marcosgdf@gmail.com>
  * Copyright (C) 2015       Raphaël Doursenaud      <rdoursenaud@gpcsolutions.fr>
- * Copyright (C) 2018       Nicolas ZABOURI	    <info@inovea-conseil.com>
+ * Copyright (C) 2018       Nicolas ZABOURI	        <info@inovea-conseil.com>
  * Copyright (C) 2018       Ferran Marcet		    <fmarcet@2byte.es.com>
  * Copyright (C) 2018       Frédéric France         <frederic.france@netlogic.fr>
  *
@@ -2335,7 +2335,7 @@ else
 			        print '<tr><td>'.$langs->transcountry("TypeLocaltax1", $mysoc->country_code).' <a href="'.$_SERVER["PHP_SELF"].'?action=editRE&amp;socid='.$object->id.'">'.img_edit($langs->transnoentitiesnoconv('Edit'),1).'</td>';
 			        if($action == 'editRE')
 			        {
-			            print '<td align="left">';
+			            print '<td class="left">';
 			            $formcompany->select_localtax(1,$object->localtax1_value, "lt1");
 			            print '<input type="submit" class="button" value="'.$langs->trans("Modify").'"></td>';
 			        }
@@ -2352,7 +2352,7 @@ else
 			        print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
 			        print '<tr><td>'.$langs->transcountry("TypeLocaltax2", $mysoc->country_code).'<a href="'.$_SERVER["PHP_SELF"].'?action=editIRPF&amp;socid='.$object->id.'">'.img_edit($langs->transnoentitiesnoconv('Edit'),1).'</td>';
 			        if($action == 'editIRPF'){
-			            print '<td align="left">';
+			            print '<td class="left">';
 			            $formcompany->select_localtax(2,$object->localtax2_value, "lt2");
 			            print '<input type="submit" class="button" value="'.$langs->trans("Modify").'"></td>';
 			        }else{
@@ -2373,7 +2373,7 @@ else
 			        print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
 			        print '<tr><td> '.$langs->transcountry("TypeLocaltax1", $mysoc->country_code).'<a href="'.$_SERVER["PHP_SELF"].'?action=editRE&amp;socid='.$object->id.'">'.img_edit($langs->transnoentitiesnoconv('Edit'),1).'</td>';
 			        if($action == 'editRE'){
-			            print '<td align="left">';
+			            print '<td class="left">';
 			            $formcompany->select_localtax(1,$object->localtax1_value, "lt1");
 			            print '<input type="submit" class="button" value="'.$langs->trans("Modify").'"></td>';
 			        }else{
@@ -2395,7 +2395,7 @@ else
 			        print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
 			        print '<tr><td> '.$langs->transcountry("TypeLocaltax2", $mysoc->country_code).' <a href="'.$_SERVER["PHP_SELF"].'?action=editIRPF&amp;socid='.$object->id.'">'.img_edit($langs->transnoentitiesnoconv('Edit'),1).'</td>';
 			        if($action == 'editIRPF'){
-			            print '<td align="left">';
+			            print '<td class="left">';
 			            $formcompany->select_localtax(2,$object->localtax2_value, "lt2");
 			            print '<input type="submit" class="button" value="'.$langs->trans("Modify").'"></td>';
 			        }else{

+ 1 - 1
htdocs/societe/consumption.php

@@ -594,7 +594,7 @@ if ($sql_select)
 		*/
 		print '</td>';
 
-		//print '<td align="left">'.$prodreftxt.'</td>';
+		//print '<td class="left">'.$prodreftxt.'</td>';
 
 		print '<td align="right">'.$objp->prod_qty.'</td>';
 		$total_qty+=$objp->prod_qty;

+ 2 - 2
htdocs/societe/website.php

@@ -501,8 +501,8 @@ if (isset($totalarray['pos']))
 		{
 			if ($i == 1)
 			{
-				if ($num < $limit) print '<td align="left">'.$langs->trans("Total").'</td>';
-				else print '<td align="left">'.$langs->trans("Totalforthispage").'</td>';
+				if ($num < $limit) print '<td class="left">'.$langs->trans("Total").'</td>';
+				else print '<td class="left">'.$langs->trans("Totalforthispage").'</td>';
 			}
 			else print '<td></td>';
 		}