New: Affichage info status sur fiche categorie

This commit is contained in:
Laurent Destailleur 2007-02-04 01:39:39 +00:00
parent e20d1b91fd
commit 7157133ff6
3 changed files with 10 additions and 5 deletions

View File

@ -93,12 +93,12 @@ print '<input type="hidden" name="id" value="'.$categorie->id.'">';
print '<table class="border" width="100%">';
print '<tr><td>';
print $langs->trans("Label").' :</td>';
print $langs->trans("Ref").'</td>';
print '<td><input type="text" size="25" id="nom" name ="nom" value="'.$categorie->label.'" />';
print '</tr>';
print '<tr>';
print '<td width="25%">'.$langs->trans("Description").':</td>';
print '<td width="25%">'.$langs->trans("Description").'</td>';
print '<td>';
if ($conf->fckeditor->enabled && $conf->global->FCKEDITOR_ENABLE_PRODUCTDESC)

View File

@ -129,7 +129,7 @@ if ($user->rights->categorie->creer)
print '<table class="border" width="100%" class="notopnoleftnoright">';
print '<tr>';
print '<td width="25%">'.$langs->trans("Label").'</td><td><input name="nom" size="25" value="'.$categorie->label.'">';
print '<td width="25%">'.$langs->trans("Ref").'</td><td><input name="nom" size="25" value="'.$categorie->label.'">';
print'</td></tr>';
print '<tr><td valign="top">'.$langs->trans("Description").'</td><td>';

View File

@ -1,6 +1,6 @@
<?php
/* Copyright (C) 2005 Matthieu Valleton <mv@seeschloss.org>
* Copyright (C) 2006 Laurent Destailleur <eldy@users.sourceforge.net>
/* Copyright (C) 2005 Matthieu Valleton <mv@seeschloss.org>
* Copyright (C) 2006-2007 Laurent Destailleur <eldy@users.sourceforge.net>
*
* 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").'</td><td>';
print nl2br($c->description);
print '</td></tr>';
print '<tr><td width="20%" class="notopnoleft">';
print $langs->trans("Status").'</td><td>';
print ($c->visible ? $langs->trans("Visible") : $langs->trans("Invisible"));
print '</td></tr>';
print '</table>';
print '</div>';