mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Look: Use style fieldrequired on mandatory fields
This commit is contained in:
parent
de1d313148
commit
20d4f65aed
|
|
@ -2,7 +2,7 @@
|
|||
/* Copyright (C) 2001-2007 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
* Copyright (C) 2005 Brice Davoleau <brice.davoleau@gmail.com>
|
||||
* Copyright (C) 2005-2009 Regis Houssin <regis@dolibarr.fr>
|
||||
* Copyright (C) 2006-2009 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
* Copyright (C) 2006-2010 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
* Copyright (C) 2007 Patrick Raguin <patrick.raguin@gmail.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
|
|
@ -340,7 +340,7 @@ function formCategory($db,$object,$type,$typeid)
|
|||
print "<td>";
|
||||
//$c->id=;
|
||||
//print $c->getNomUrl(1);
|
||||
print $way."</td>";
|
||||
print img_object('','category').' '.$way."</td>";
|
||||
|
||||
// Lien supprimer
|
||||
print '<td align="right">';
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
/* Copyright (C) 2005 Matthieu Valleton <mv@seeschloss.org>
|
||||
* Copyright (C) 2006-2007 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
* Copyright (C) 2006-2010 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
* Copyright (C) 2005-2008 Regis Houssin <regis@dolibarr.fr>
|
||||
* Copyright (C) 2007 Patrick Raguin <patrick.raguin@gmail.com>
|
||||
*
|
||||
|
|
@ -20,11 +20,11 @@
|
|||
*/
|
||||
|
||||
/**
|
||||
\file htdocs/categories/edit.php
|
||||
\ingroup category
|
||||
\brief Page d'edition de categorie produit
|
||||
\version $Id$
|
||||
*/
|
||||
* \file htdocs/categories/edit.php
|
||||
* \ingroup category
|
||||
* \brief Page d'edition de categorie produit
|
||||
* \version $Id$
|
||||
*/
|
||||
|
||||
require "./pre.inc.php";
|
||||
|
||||
|
|
@ -95,7 +95,7 @@ if ($_POST["action"] == 'update' && $user->rights->categorie->creer)
|
|||
|
||||
|
||||
/*
|
||||
* Affichage fiche
|
||||
* View
|
||||
*/
|
||||
|
||||
llxHeader("","",$langs->trans("Categories"));
|
||||
|
|
@ -125,7 +125,7 @@ print '<input type="hidden" name="id" value="'.$categorie->id.'">';
|
|||
print '<input type="hidden" name="type" value="'.$type.'">';
|
||||
|
||||
print '<table class="border" width="100%">';
|
||||
print '<tr><td>';
|
||||
print '<tr><td class="fieldrequired">';
|
||||
print $langs->trans("Ref").'</td>';
|
||||
print '<td><input type="text" size="25" id="nom" name ="nom" value="'.$categorie->label.'" />';
|
||||
print '</tr>';
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
/* Copyright (C) 2005 Matthieu Valleton <mv@seeschloss.org>
|
||||
* Copyright (C) 2006-2009 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
* Copyright (C) 2006-2010 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
* Copyright (C) 2005-2008 Regis Houssin <regis@dolibarr.fr>
|
||||
* Copyright (C) 2007 Patrick Raguin <patrick.raguin@gmail.com>
|
||||
*
|
||||
|
|
@ -208,7 +208,7 @@ if ($user->rights->categorie->creer)
|
|||
|
||||
print '<table width="100%" class="border">';
|
||||
print '<tr>';
|
||||
print '<td width="25%">'.$langs->trans("Ref").'</td><td><input name="nom" size="25" value="'.$categorie->label.'">';
|
||||
print '<td width="25%" class="fieldrequired">'.$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>';
|
||||
|
||||
|
|
@ -256,12 +256,14 @@ if ($user->rights->categorie->creer)
|
|||
print $html->selectyesno("visible", 1,1);
|
||||
print '</td></tr>';
|
||||
}
|
||||
print '<tr><td colspan="2" align="center">';
|
||||
print '</table>';
|
||||
|
||||
print '<center><br>';
|
||||
print '<input type="submit" class="button" value="'.$langs->trans("CreateThisCat").'" name="creation" />';
|
||||
print ' ';
|
||||
print '<input type="submit" class="button" value="'.$langs->trans("Cancel").'" name="cancel" />';
|
||||
print '</td></tr>';
|
||||
print '</table>';
|
||||
print '</center>';
|
||||
|
||||
print '</form>';
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user