Преглед на файлове

update with html5 compliant code

Philippe GRAND преди 6 години
родител
ревизия
4c281f4ff3
променени са 4 файла, в които са добавени 11 реда и са изтрити 11 реда
  1. 1 1
      htdocs/blockedlog/admin/blockedlog_list.php
  2. 1 1
      htdocs/bookmarks/list.php
  3. 1 1
      htdocs/categories/index.php
  4. 8 8
      htdocs/categories/viewcat.php

+ 1 - 1
htdocs/blockedlog/admin/blockedlog_list.php

@@ -498,7 +498,7 @@ if (is_array($blocks))
 		   	print '<td'.(preg_match('/<a/', $object_link) ? ' class="nowrap"' : '').'><!-- object_link -->'.$object_link.'</td>';
 
 		   	// Amount
-		   	print '<td align="right">'.price($block->amounts).'</td>';
+		   	print '<td class="right">'.price($block->amounts).'</td>';
 
 		   	// Details link
 		   	print '<td align="center"><a href="#" data-blockid="'.$block->id.'" rel="show-info">'.img_info($langs->trans('ShowDetails')).'</a></td>';

+ 1 - 1
htdocs/bookmarks/list.php

@@ -179,7 +179,7 @@ if ($resql)
 		print '<td align="center">'.dol_print_date($db->jdate($obj->dateb),'day')."</td>";
 
 		// Position
-		print '<td align="right">'.$obj->position."</td>";
+		print '<td class="right">'.$obj->position."</td>";
 
 		// Actions
 		print '<td align="right" class="nowrap">';

+ 1 - 1
htdocs/categories/index.php

@@ -178,7 +178,7 @@ foreach($fulltree as $key => $val)
 //print_barre_liste('', 0, $_SERVER["PHP_SELF"], '', '', '', '', 0, 0, '', 0, $newcardbutton, '', 0, 1, 1);
 
 print '<table class="liste nohover" width="100%">';
-print '<tr class="liste_titre"><td>'.$langs->trans("Categories").'</td><td></td><td align="right">';
+print '<tr class="liste_titre"><td>'.$langs->trans("Categories").'</td><td></td><td class="right">';
 if (! empty($conf->use_javascript_ajax))
 {
 	print '<div id="iddivjstreecontrol"><a class="notasortlink" href="#">'.img_picto('','object_category').' '.$langs->trans("UndoExpandAll").'</a> | <a class="notasortlink" href="#">'.img_picto('','object_category-expanded').' '.$langs->trans("ExpandAll").'</a></div>';

+ 8 - 8
htdocs/categories/viewcat.php

@@ -278,7 +278,7 @@ else
 {
 	print "<br>";
 	print "<table class='noborder' width='100%'>\n";
-	print "<tr class='liste_titre'><td colspan='2'>".$langs->trans("SubCats").'</td><td align="right">';
+	print "<tr class='liste_titre'><td colspan='2'>".$langs->trans("SubCats").'</td><td class="right">';
 	if ($user->rights->categorie->creer)
 	{
 		print "<a href='".DOL_URL_ROOT."/categories/card.php?action=create&amp;catorigin=".$object->id."&amp;socid=".$object->socid."&amp;type=".$type."&amp;urlfrom=".urlencode($_SERVER["PHP_SELF"].'?id='.$object->id.'&type='.$type)."'>";
@@ -366,7 +366,7 @@ if ($type == Categorie::TYPE_PRODUCT)
 				print "</td>\n";
 				print '<td class="tdtop">'.$prod->label."</td>\n";
 				// Link to delete from category
-				print '<td align="right">';
+				print '<td class="right">';
 				$permission=0;
 				if ($type == Categorie::TYPE_PRODUCT)     $permission=($user->rights->produit->creer || $user->rights->service->creer);
 				if ($type == Categorie::TYPE_SUPPLIER)    $permission=$user->rights->societe->creer;
@@ -413,7 +413,7 @@ if ($type == Categorie::TYPE_SUPPLIER)
 				print $soc->getNomUrl(1);
 				print "</td>\n";
 				// Link to delete from category
-				print '<td align="right">';
+				print '<td class="right">';
 				$permission=0;
 				if ($type == Categorie::TYPE_PRODUCT)     $permission=($user->rights->produit->creer || $user->rights->service->creer);
 				if ($type == Categorie::TYPE_SUPPLIER)    $permission=$user->rights->societe->creer;
@@ -466,7 +466,7 @@ if($type == Categorie::TYPE_CUSTOMER)
 				print $soc->getNomUrl(1);
 				print "</td>\n";
 				// Link to delete from category
-				print '<td align="right">';
+				print '<td class="right">';
 				$permission=0;
 				if ($type == Categorie::TYPE_PRODUCT)     $permission=($user->rights->produit->creer || $user->rights->service->creer);
 				if ($type == Categorie::TYPE_SUPPLIER)    $permission=$user->rights->societe->creer;
@@ -519,7 +519,7 @@ if ($type == Categorie::TYPE_MEMBER)
 				print '<td class="tdtop">'.$member->lastname."</td>\n";
 				print '<td class="tdtop">'.$member->firstname."</td>\n";
 				// Link to delete from category
-				print '<td align="right">';
+				print '<td class="right">';
 				$permission=0;
 				if ($type == Categorie::TYPE_PRODUCT)     $permission=($user->rights->produit->creer || $user->rights->service->creer);
 				if ($type == Categorie::TYPE_SUPPLIER)    $permission=$user->rights->societe->creer;
@@ -569,7 +569,7 @@ if ($type == Categorie::TYPE_CONTACT)
 				print $contact->getNomUrl(1,'category');
 				print "</td>\n";
 				// Link to delete from category
-				print '<td align="right">';
+				print '<td class="right">';
 				$permission=0;
 				if ($type == Categorie::TYPE_PRODUCT)     $permission=($user->rights->produit->creer || $user->rights->service->creer);
 				if ($type == Categorie::TYPE_SUPPLIER)    $permission=$user->rights->societe->creer;
@@ -621,7 +621,7 @@ if ($type == Categorie::TYPE_ACCOUNT)
                 print '<td class="tdtop">'.$account->bank."</td>\n";
                 print '<td class="tdtop">'.$account->number."</td>\n";
                 // Link to delete from category
-                print '<td align="right">';
+                print '<td class="right">';
                 $permission=0;
                 if ($type == Categorie::TYPE_PRODUCT)     $permission=($user->rights->produit->creer || $user->rights->service->creer);
                 if ($type == Categorie::TYPE_SUPPLIER)    $permission=$user->rights->societe->creer;
@@ -672,7 +672,7 @@ if ($type == Categorie::TYPE_PROJECT)
 				print '<td class="tdtop">'.$project->ref."</td>\n";
 				print '<td class="tdtop">'.$project->title."</td>\n";
 				// Link to delete from category
-				print '<td align="right">';
+				print '<td class="right">';
 				$permission=0;
 				if ($type == Categorie::TYPE_PRODUCT)     $permission=($user->rights->produit->creer || $user->rights->service->creer);
 				if ($type == Categorie::TYPE_SUPPLIER)    $permission=$user->rights->societe->creer;