From 7157133ff6dbc6045926ccd625b0393d01066e19 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 4 Feb 2007 01:39:39 +0000 Subject: [PATCH] New: Affichage info status sur fiche categorie --- htdocs/categories/edit.php | 4 ++-- htdocs/categories/fiche.php | 2 +- htdocs/categories/viewcat.php | 9 +++++++-- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/htdocs/categories/edit.php b/htdocs/categories/edit.php index c5fdcbaa383..6a901ace600 100644 --- a/htdocs/categories/edit.php +++ b/htdocs/categories/edit.php @@ -93,12 +93,12 @@ print ''; print ''; print ''; +print $langs->trans("Ref").''; print ''; print ''; -print ''; +print ''; print '
'; -print $langs->trans("Label").' :'; print '
'.$langs->trans("Description").':'.$langs->trans("Description").''; if ($conf->fckeditor->enabled && $conf->global->FCKEDITOR_ENABLE_PRODUCTDESC) diff --git a/htdocs/categories/fiche.php b/htdocs/categories/fiche.php index 5abb9c57f66..ce1da9d46b5 100644 --- a/htdocs/categories/fiche.php +++ b/htdocs/categories/fiche.php @@ -129,7 +129,7 @@ if ($user->rights->categorie->creer) print ''; print ''; - print ''; print ''; +print ''; + print '
'.$langs->trans("Label").''; + print ''.$langs->trans("Ref").''; print'
'.$langs->trans("Description").''; diff --git a/htdocs/categories/viewcat.php b/htdocs/categories/viewcat.php index 600c64a480b..3b3488703ec 100644 --- a/htdocs/categories/viewcat.php +++ b/htdocs/categories/viewcat.php @@ -1,6 +1,6 @@ - * Copyright (C) 2006 Laurent Destailleur +/* Copyright (C) 2005 Matthieu Valleton + * Copyright (C) 2006-2007 Laurent Destailleur * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -76,6 +76,11 @@ print $langs->trans("Description").''; print nl2br($c->description); print '
'; +print $langs->trans("Status").''; +print ($c->visible ? $langs->trans("Visible") : $langs->trans("Invisible")); +print '
'; print '';