Fix look and field v12
This commit is contained in:
parent
f849ccd128
commit
7ceb236a09
@ -60,10 +60,10 @@ llxHeader('', $langs->trans('Categories'), '');
|
|||||||
|
|
||||||
//$object->info($object->id);
|
//$object->info($object->id);
|
||||||
|
|
||||||
$head = categories_prepare_head($object, $type);
|
|
||||||
|
|
||||||
$title = Categorie::$MAP_TYPE_TITLE_AREA[$type];
|
$title = Categorie::$MAP_TYPE_TITLE_AREA[$type];
|
||||||
|
|
||||||
|
$head = categories_prepare_head($object, $type);
|
||||||
|
|
||||||
dol_fiche_head($head, 'info', $langs->trans($title), -1, 'category');
|
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);
|
$backtolist = (GETPOST('backtolist') ? GETPOST('backtolist') : DOL_URL_ROOT.'/categories/index.php?leftmenu=cat&type='.$type);
|
||||||
$linkback = '<a href="'.$backtolist.'">'.$langs->trans("BackToList").'</a>';
|
$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);
|
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="fichecenter">';
|
||||||
print '<div class="underbanner clearboth"></div>';
|
print '<div class="underbanner clearboth"></div>';
|
||||||
|
|
||||||
print '<br>';
|
print '<br>';
|
||||||
|
|
||||||
print '<table width="100%"><tr><td>';
|
print '<table "border centpercent tableforfield">';
|
||||||
|
|
||||||
|
print '<tr><td>';
|
||||||
dol_print_object_info($object);
|
dol_print_object_info($object);
|
||||||
print '</td></tr></table>';
|
print '</td></tr>';
|
||||||
|
|
||||||
|
print '</table>';
|
||||||
|
|
||||||
print '</div>';
|
print '</div>';
|
||||||
|
|
||||||
dol_fiche_end();
|
dol_fiche_end();
|
||||||
|
|||||||
@ -144,7 +144,7 @@ if ($object->id)
|
|||||||
|
|
||||||
print '<div class="fichecenter">';
|
print '<div class="fichecenter">';
|
||||||
print '<div class="underbanner clearboth"></div>';
|
print '<div class="underbanner clearboth"></div>';
|
||||||
print '<table class="border centpercent">';
|
print '<table class="border centpercent tableforfield">';
|
||||||
|
|
||||||
// Description
|
// Description
|
||||||
print '<tr><td class="titlefield notopnoleft">';
|
print '<tr><td class="titlefield notopnoleft">';
|
||||||
|
|||||||
@ -22,7 +22,7 @@
|
|||||||
/**
|
/**
|
||||||
* \file htdocs/product/traduction.php
|
* \file htdocs/product/traduction.php
|
||||||
* \ingroup product
|
* \ingroup product
|
||||||
* \brief Page de traduction des produits
|
* \brief Page of translation of products
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require '../main.inc.php';
|
require '../main.inc.php';
|
||||||
@ -167,12 +167,12 @@ $cancel != $langs->trans("Cancel") &&
|
|||||||
* View
|
* View
|
||||||
*/
|
*/
|
||||||
|
|
||||||
llxHeader("", "", $langs->trans("Translation"));
|
|
||||||
|
|
||||||
$form = new Form($db);
|
$form = new Form($db);
|
||||||
$formadmin = new FormAdmin($db);
|
$formadmin = new FormAdmin($db);
|
||||||
$formother = new FormOther($db);
|
$formother = new FormOther($db);
|
||||||
|
|
||||||
|
llxHeader("", "", $langs->trans("Translation"));
|
||||||
|
|
||||||
$title = Categorie::$MAP_TYPE_TITLE_AREA[$type];
|
$title = Categorie::$MAP_TYPE_TITLE_AREA[$type];
|
||||||
|
|
||||||
$head = categories_prepare_head($object, $type);
|
$head = categories_prepare_head($object, $type);
|
||||||
@ -194,8 +194,7 @@ $object->next_prev_filter = ' type = '.$object->type;
|
|||||||
$object->ref = $object->label;
|
$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> >> ';
|
$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(" >> ", '', 1);
|
$ways = $object->print_all_ways(" >> ", '', 1);
|
||||||
foreach ($ways as $way)
|
foreach ($ways as $way) {
|
||||||
{
|
|
||||||
$morehtmlref .= $way."<br>\n";
|
$morehtmlref .= $way."<br>\n";
|
||||||
}
|
}
|
||||||
$morehtmlref .= '</div>';
|
$morehtmlref .= '</div>';
|
||||||
@ -207,7 +206,7 @@ print '<br>';
|
|||||||
print '<div class="fichecenter">';
|
print '<div class="fichecenter">';
|
||||||
print '<div class="underbanner clearboth"></div>';
|
print '<div class="underbanner clearboth"></div>';
|
||||||
|
|
||||||
print '<table class="border centpercent">';
|
print '<table class="border centpercent tableforfield">';
|
||||||
|
|
||||||
// Description
|
// Description
|
||||||
print '<tr><td class="titlefield notopnoleft">';
|
print '<tr><td class="titlefield notopnoleft">';
|
||||||
|
|||||||
@ -241,7 +241,7 @@ print '<br>';
|
|||||||
|
|
||||||
print '<div class="fichecenter">';
|
print '<div class="fichecenter">';
|
||||||
print '<div class="underbanner clearboth"></div>';
|
print '<div class="underbanner clearboth"></div>';
|
||||||
print '<table width="100%" class="border">';
|
print '<table class="border centpercent tableforfield">';
|
||||||
|
|
||||||
// Description
|
// Description
|
||||||
print '<tr><td class="titlefield notopnoleft tdtop">';
|
print '<tr><td class="titlefield notopnoleft tdtop">';
|
||||||
|
|||||||
@ -20,7 +20,7 @@
|
|||||||
/**
|
/**
|
||||||
* \file htdocs/commande/info.php
|
* \file htdocs/commande/info.php
|
||||||
* \ingroup commande
|
* \ingroup commande
|
||||||
* \brief Page des informations d'une commande
|
* \brief Sale Order info page
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require '../main.inc.php';
|
require '../main.inc.php';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user