Fix look and field v12

This commit is contained in:
Laurent Destailleur 2020-05-26 14:43:50 +02:00
parent f849ccd128
commit 7ceb236a09
5 changed files with 19 additions and 13 deletions

View File

@ -60,10 +60,10 @@ llxHeader('', $langs->trans('Categories'), '');
//$object->info($object->id);
$head = categories_prepare_head($object, $type);
$title = Categorie::$MAP_TYPE_TITLE_AREA[$type];
$head = categories_prepare_head($object, $type);
dol_fiche_head($head, 'info', $langs->trans($title), -1, 'category');
$backtolist = (GETPOST('backtolist') ? GETPOST('backtolist') : DOL_URL_ROOT.'/categories/index.php?leftmenu=cat&type='.$type);
$linkback = '<a href="'.$backtolist.'">'.$langs->trans("BackToList").'</a>';
@ -78,14 +78,21 @@ $morehtmlref .= '</div>';
dol_banner_tab($object, 'label', $linkback, ($user->socid ? 0 : 1), 'label', 'label', $morehtmlref, '&type='.$type, 0, '', '', 1);
print '<br>';
print '<div class="fichecenter">';
print '<div class="underbanner clearboth"></div>';
print '<br>';
print '<table width="100%"><tr><td>';
print '<table "border centpercent tableforfield">';
print '<tr><td>';
dol_print_object_info($object);
print '</td></tr></table>';
print '</td></tr>';
print '</table>';
print '</div>';
dol_fiche_end();

View File

@ -144,7 +144,7 @@ if ($object->id)
print '<div class="fichecenter">';
print '<div class="underbanner clearboth"></div>';
print '<table class="border centpercent">';
print '<table class="border centpercent tableforfield">';
// Description
print '<tr><td class="titlefield notopnoleft">';

View File

@ -22,7 +22,7 @@
/**
* \file htdocs/product/traduction.php
* \ingroup product
* \brief Page de traduction des produits
* \brief Page of translation of products
*/
require '../main.inc.php';
@ -167,12 +167,12 @@ $cancel != $langs->trans("Cancel") &&
* View
*/
llxHeader("", "", $langs->trans("Translation"));
$form = new Form($db);
$formadmin = new FormAdmin($db);
$formother = new FormOther($db);
llxHeader("", "", $langs->trans("Translation"));
$title = Categorie::$MAP_TYPE_TITLE_AREA[$type];
$head = categories_prepare_head($object, $type);
@ -194,8 +194,7 @@ $object->next_prev_filter = ' type = '.$object->type;
$object->ref = $object->label;
$morehtmlref = '<br><div class="refidno"><a href="'.DOL_URL_ROOT.'/categories/index.php?leftmenu=cat&type='.$type.'">'.$langs->trans("Root").'</a> >> ';
$ways = $object->print_all_ways(" &gt;&gt; ", '', 1);
foreach ($ways as $way)
{
foreach ($ways as $way) {
$morehtmlref .= $way."<br>\n";
}
$morehtmlref .= '</div>';
@ -207,7 +206,7 @@ print '<br>';
print '<div class="fichecenter">';
print '<div class="underbanner clearboth"></div>';
print '<table class="border centpercent">';
print '<table class="border centpercent tableforfield">';
// Description
print '<tr><td class="titlefield notopnoleft">';

View File

@ -241,7 +241,7 @@ print '<br>';
print '<div class="fichecenter">';
print '<div class="underbanner clearboth"></div>';
print '<table width="100%" class="border">';
print '<table class="border centpercent tableforfield">';
// Description
print '<tr><td class="titlefield notopnoleft tdtop">';

View File

@ -20,7 +20,7 @@
/**
* \file htdocs/commande/info.php
* \ingroup commande
* \brief Page des informations d'une commande
* \brief Sale Order info page
*/
require '../main.inc.php';