From 817cfd0901b34b0f70ff8a1c4708d43d250f1055 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 9 May 2006 21:36:17 +0000 Subject: [PATCH] =?UTF-8?q?Look:=20Uniformisation=20look=20sur=20cat=E9gor?= =?UTF-8?q?ies?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/categories/viewcat.php | 14 ++++++++------ htdocs/html.form.class.php | 2 +- htdocs/langs/en_US/categories.lang | 6 ++++-- htdocs/langs/fr_FR/categories.lang | 3 +++ htdocs/product/categorie.php | 14 +++++++------- 5 files changed, 23 insertions(+), 16 deletions(-) diff --git a/htdocs/categories/viewcat.php b/htdocs/categories/viewcat.php index 9ae2340f9c0..bdc4a3cae6c 100644 --- a/htdocs/categories/viewcat.php +++ b/htdocs/categories/viewcat.php @@ -1,5 +1,6 @@ +/* Copyright (C) 2005 Matthieu Valleton + * Copyright (C) 2006 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 @@ -40,13 +41,14 @@ $c = new Categorie ($db, $_REQUEST['id']); llxHeader ("","",$langs->trans("Categories")); -print_fiche_titre($langs->trans("Categorie")." ".$c->label); +print_fiche_titre($langs->trans("Category")); print ''; print '\n"; - print "\t\t\n"; + print "\t\t\n"; print "\t\t\n"; if ($cat->visible == 1) @@ -116,10 +118,10 @@ else $i++; $var=!$var; print "\t\n"; - print "\t\t\n"; + else print img_object($langs->trans("ShowProduct"),"product"); + print " ".$prod->ref."\n"; print "\t\t\n"; print "\t\t\n"; print "\t\n"; diff --git a/htdocs/html.form.class.php b/htdocs/html.form.class.php index 20c3a109b75..4675fcea063 100644 --- a/htdocs/html.form.class.php +++ b/htdocs/html.form.class.php @@ -1118,7 +1118,7 @@ class Form $cat->get_categories_arbo(); $cate_arbo = $cat->get_arbo_each_cate(); $output = '
'; $ways = $c->print_all_ways (); print "
"; +print $langs->trans("Ref").': '; foreach ($ways as $way) { print $way."
\n"; @@ -72,7 +74,7 @@ else $i++; $var=!$var; print "\t
".$cat->label."".$cat->label."".$cat->description."
"; + print "\t\t"; if ($prod->type == 1) print img_object($langs->trans("ShowService"),"service"); - else print img_object($langs->trans("ShowProduct"),"product"); - print "".$prod->ref."".$prod->libelle."".$prod->description."
'; - print ''; + print ''; print ''; print '
'; - print ' '. $html->select_all_categories($categorie->id_mere); - print '
'; + print $langs->trans("ClassifyInCategory").' '; + print $html->select_all_categories($categorie->id_mere).'
'; print ''; @@ -235,8 +236,7 @@ if ($_GET["id"] || $_GET["ref"]) if (sizeof($cats) > 0) { - print $langs->trans("ProductIsInCategories"); - print '
'; + print_fiche_titre($langs->trans("ProductIsInCategories")); print ''; print ''; @@ -248,7 +248,7 @@ if ($_GET["id"] || $_GET["ref"]) { $i = !$i; print ""; - print "\n"; + print '\n"; } @@ -262,7 +262,7 @@ if ($_GET["id"] || $_GET["ref"]) else { - print $langs->trans("NoCat")."
"; + print $langs->trans("ProductHasNoCategory")."
"; } }
'.$langs->trans("Categories").'
".$way."".img_delete($langs->trans("DeleteFromCat"))." ".$langs->trans("DeleteFromCat")."
'.img_delete($langs->trans("DeleteFromCat"))." ".$langs->trans("DeleteFromCat")."