remplacements tablefuser par border/noborder
This commit is contained in:
parent
9bbfc33ab1
commit
6de3de6988
@ -168,15 +168,15 @@ if ($socid > 0)
|
||||
{
|
||||
print "<form method=\"post\" action=\"people.php?socid=$socid\">";
|
||||
print "<input type=\"hidden\" name=\"action\" value=\"add\">";
|
||||
print "<table class=\"tablefuser\" border=0>";
|
||||
print "<table class=\"noborder\" border=0>";
|
||||
print "<tr><td>Nom</td><td><input name=\"name\" type=\"text\" size=\"20\" maxlength=\"80\"></td>";
|
||||
print "<td>Prenom</td><td><input name=\"firstname\" type=\"text\" size=\"15\" maxlength=\"80\"></td></tr>";
|
||||
print "<tr><td>Poste</td><td colspan=\"3\"><input name=\"poste\" type=\"text\" size=\"50\" maxlength=\"80\"></td></tr>";
|
||||
print "<tr><td>Tel</td><td><input name=\"phone\" type=\"text\" size=\"18\" maxlength=\"80\"></td>";
|
||||
print "<td>Fax</td><td><input name=\"fax\" type=\"text\" size=\"18\" maxlength=\"80\"></td></tr>";
|
||||
print "<tr><td>Email</td><td colspan=\"3\"><input name=\"email\" type=\"text\" size=\"50\" maxlength=\"80\"></td></tr>";
|
||||
print "<tr><td align=\"center\" colspan=\"4\"><input type=\"submit\" value=\"Ajouter\"></td></tr>";
|
||||
print "</table>";
|
||||
print "<input type=\"submit\" value=\"Ajouter\">";
|
||||
print "</form>";
|
||||
}
|
||||
/*
|
||||
@ -199,7 +199,7 @@ if ($socid > 0)
|
||||
print "<form method=\"post\" action=\"people.php?socid=$socid\">";
|
||||
print '<input type="hidden" name="action" value="update">';
|
||||
print "<input type=\"hidden\" name=\"contactid\" value=\"$contactid\">";
|
||||
print '<br><table class="tablefuser" border="1" cellpadding="4" cellspacing="0">';
|
||||
print '<br><table class="border" border="1" cellpadding="4" cellspacing="0">';
|
||||
print "<tr><td>Nom</td><td><input name=\"name\" type=\"text\" size=\"20\" maxlength=\"80\" value=\"$obj->name\"></td>";
|
||||
print "<td>Prenom</td><td><input name=\"firstname\" type=\"text\" size=\"15\" maxlength=\"80\" value=\"$obj->firstname\"></td></tr>";
|
||||
print "<tr><td>Poste</td><td colspan=\"3\"><input name=\"poste\" type=\"text\" size=\"50\" maxlength=\"80\" value=\"$obj->poste\"></td></tr>";
|
||||
|
||||
@ -115,7 +115,7 @@ if ($action == 'create')
|
||||
print '<p><form action="'.$PHP_SELF.'" method="post">';
|
||||
print '<input type="hidden" name="action" value="add">';
|
||||
|
||||
print '<table class="tablefuser" border="1" cellpadding="3" cellspacing="0">';
|
||||
print '<table class="border" border="1" cellpadding="3" cellspacing="0">';
|
||||
|
||||
print "<tr>".'<td valign="top">Prénom</td>';
|
||||
print '<td class="valeur"><input size="30" type="text" name="prenom" value=""></td></tr>';
|
||||
@ -166,7 +166,7 @@ else
|
||||
{
|
||||
print '<form method="post" action="'.$PHP_SELF.'?id='.$id.'">';
|
||||
print '<input type="hidden" name="action" value="confirm_delete">';
|
||||
print '<table class="tablefuser" cellspacing="0" border="1" width="100%" cellpadding="3">';
|
||||
print '<table class="border" cellspacing="0" border="1" width="100%" cellpadding="3">';
|
||||
|
||||
print "<tr>".'<td colspan="3">Supprimer cet utilisateur</td></tr>';
|
||||
print "<tr>".'<td class="delete">Etes-vous sur de vouloir supprimer cet utilisateur ?</td><td class="delete">';
|
||||
@ -187,7 +187,7 @@ else
|
||||
* Droits
|
||||
*/
|
||||
|
||||
print '<table class="tablefuser" width="100%" border="1" cellpadding="3" cellspacing="0">';
|
||||
print '<table class="border" width="100%" border="0" cellpadding="3" cellspacing="0">';
|
||||
|
||||
print "<tr>".'<td width="25%" valign="top">Nom</td>';
|
||||
print '<td width="25%" class="valeur">'.$fuser->nom.'</td>';
|
||||
@ -223,7 +223,7 @@ else
|
||||
/*
|
||||
* Droits
|
||||
*/
|
||||
print '<table class="tablefuser" width="100%" border="0" cellpadding="2" cellspacing="0">';
|
||||
print '<table class="noborder" width="100%" border="0" cellpadding="2" cellspacing="0">';
|
||||
$sql = "SELECT r.libelle, r.module FROM llx_rights_def as r, llx_user_rights as ur";
|
||||
$sql .= " WHERE ur.fk_id = r.id AND ur.fk_user = ".$fuser->id. " ORDER BY r.id ASC";
|
||||
$var = True;
|
||||
@ -256,7 +256,7 @@ else
|
||||
* Affichage
|
||||
*/
|
||||
|
||||
print '<table class="tablefuser" width="100%" border="1" cellpadding="3" cellspacing="0">';
|
||||
print '<table class="border" width="100%" border="1" cellpadding="3" cellspacing="0">';
|
||||
|
||||
print "<tr>".'<td width="25%" valign="top">Nom</td>';
|
||||
print '<td width="25%" class="valeur">'.$fuser->nom.'</td>';
|
||||
@ -374,7 +374,7 @@ else
|
||||
print '<hr><div class="titre">Edition de l\'utilisateur</div><br>';
|
||||
print '<form action="'.$PHP_SELF.'?id='.$id.'" method="post">';
|
||||
print '<input type="hidden" name="action" value="update">';
|
||||
print '<table class="tablefuser" border="1" cellpadding="3" cellspacing="0">';
|
||||
print '<table class="border" border="1" cellpadding="3" cellspacing="0">';
|
||||
|
||||
print "<tr>".'<td valign="top">Nom</td>';
|
||||
print '<td><input size="30" type="text" name="nom" value="'.$fuser->nom.'"></td></tr>';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user