diff --git a/htdocs/categories/info.php b/htdocs/categories/info.php index 644886c7387..bef54f9dd6b 100644 --- a/htdocs/categories/info.php +++ b/htdocs/categories/info.php @@ -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 = ''.$langs->trans("BackToList").''; @@ -78,14 +78,21 @@ $morehtmlref .= ''; dol_banner_tab($object, 'label', $linkback, ($user->socid ? 0 : 1), 'label', 'label', $morehtmlref, '&type='.$type, 0, '', '', 1); +print '
'; + print '
'; print '
'; print '
'; -print ''; + +print '
'; +print ''; + +print '
'; dol_print_object_info($object); -print '
'; +print '
'; + print '
'; dol_fiche_end(); diff --git a/htdocs/categories/photos.php b/htdocs/categories/photos.php index 07e5d56d268..6b20105f797 100644 --- a/htdocs/categories/photos.php +++ b/htdocs/categories/photos.php @@ -144,7 +144,7 @@ if ($object->id) print '
'; print '
'; - print ''; + print '
'; // Description print '
'; diff --git a/htdocs/categories/traduction.php b/htdocs/categories/traduction.php index c3f87e404b7..b06a24c995f 100644 --- a/htdocs/categories/traduction.php +++ b/htdocs/categories/traduction.php @@ -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 = '
'.$langs->trans("Root").' >> '; $ways = $object->print_all_ways(" >> ", '', 1); -foreach ($ways as $way) -{ +foreach ($ways as $way) { $morehtmlref .= $way."
\n"; } $morehtmlref .= '
'; @@ -207,7 +206,7 @@ print '
'; print '
'; print '
'; -print ''; +print '
'; // Description print '
'; diff --git a/htdocs/categories/viewcat.php b/htdocs/categories/viewcat.php index 803b4ae34ab..958b77e42e8 100644 --- a/htdocs/categories/viewcat.php +++ b/htdocs/categories/viewcat.php @@ -241,7 +241,7 @@ print '
'; print '
'; print '
'; -print ''; +print '
'; // Description print '
'; diff --git a/htdocs/commande/info.php b/htdocs/commande/info.php index 6de602c22d4..9b45bf66312 100644 --- a/htdocs/commande/info.php +++ b/htdocs/commande/info.php @@ -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';