update with html5 compliant code

This commit is contained in:
Philippe GRAND 2019-01-22 13:56:14 +01:00
parent cf62d285d9
commit 4c281f4ff3
4 changed files with 11 additions and 11 deletions

View File

@ -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>';

View File

@ -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">';

View File

@ -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>';

View File

@ -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;