support cvs (avec quotes)

This commit is contained in:
beedauchon 2003-09-16 03:01:56 +00:00
parent 32ba833493
commit beed87bd02
8 changed files with 29 additions and 28 deletions

View File

@ -182,7 +182,7 @@ if ($action=='create')
print '<input type="hidden" name="contactid" value="'.$contactid.'">';
print '<input type="hidden" name="socid" value="'.$socid.'">';
print '<table width="100%" border="1" cellspacing="0" cellpadding="3">';
print '<table class="tablefsoc" width="100%" border="1" cellspacing="0" cellpadding="3">';
print '<tr><td colspan="2"><div class="titre">Rendez-vous</div></td></tr>';
print '<tr><td width="10%">Société</td><td width="40%">';
@ -220,7 +220,7 @@ if ($action=='create')
{
print_titre ("Action effectuée");
print '<table width="100%" border="1" cellspacing="0" cellpadding="3">';
print '<table class="tablefsoc" width="100%" border="1" cellspacing="0" cellpadding="3">';
print '<tr><td width="10%">Action</td><td>'.$caction->libelle.'</td></tr>';
print '<tr><td width="10%">Société</td><td width="40%">';
@ -236,7 +236,7 @@ if ($action=='create')
print_titre ("Prochaine Action à faire");
print '<table width="100%" border="1" cellspacing="0" cellpadding="3">';
print '<table class="tablefsoc" width="100%" border="1" cellspacing="0" cellpadding="3">';
if($afaire <> 1)
{
print '<tr><td width="10%">Ajouter</td><td><input type="checkbox" name="todo"></td></tr>';
@ -280,7 +280,7 @@ if ($id)
{
print '<form method="post" action="'.$PHP_SELF.'?id='.$id.'">';
print '<input type="hidden" name="action" value="confirm_delete">';
print '<table cellspacing="0" border="1" width="100%" cellpadding="3">';
print '<table class="tableab" cellspacing="0" border="1" width="100%" cellpadding="3">';
print '<tr><td colspan="3">Supprimer l\'action</td></tr>';
@ -308,7 +308,7 @@ if ($id)
print_titre ("Edition de la fiche action");
print '<form action="fiche.php?id='.$id.'" method="post">';
print '<input type="hidden" name="action" value="update">';
print '<table width="100%" border="1" cellspacing="0" cellpadding="3">';
print '<table class="tablefsoc" width="100%" border="1" cellspacing="0" cellpadding="3">';
print '<tr><td width="20%">Type</td><td colspan="3">'.$act->type.'</td></tr>';
print '<tr><td width="20%">Société</td>';
print '<td width="30%"><a href="../fiche.php?socid='.$act->societe->id.'">'.$act->societe->nom.'</a></td>';
@ -337,7 +337,7 @@ if ($id)
{
print_titre ("Action commerciale");
print '<table width="100%" border="1" cellspacing="0" cellpadding="3">';
print '<table class="tablefsoc" width="100%" border="1" cellspacing="0" cellpadding="3">';
print '<tr><td width="20%">Type</td><td colspan="3">'.$act->type.'</td></tr>';
print '<tr><td width="20%">Société</td>';
print '<td width="30%"><a href="../fiche.php?socid='.$act->societe->id.'">'.$act->societe->nom.'</a></td>';
@ -362,7 +362,7 @@ if ($id)
/*
*
*/
print '<br><table border="1" cellspadding="3" cellspacing="0" width="100%"><tr>';
print '<br><table class="tableab" border="1" cellspadding="3" cellspacing="0" width="100%"><tr>';
print '<td align="center" width="20%">';
if ($action=='edit')
{

View File

@ -69,7 +69,7 @@ if ($action == 'create')
print "<form action=\"propal.php?socidp=$socidp\" method=\"post\">";
print "<input type=\"hidden\" name=\"action\" value=\"add\">";
print '<table class=tablefsoc border="1" cellspacing="0" cellpadding="3" width="100%">';
print '<table class="tablefsoc" border="1" cellspacing="0" cellpadding="3" width="100%">';
print '<tr><td>Société</td><td><a href="fiche.php?socid='.$socidp.'">'.$objsoc->nom.'</a></td>';

View File

@ -168,7 +168,7 @@ if ($socid > 0) {
print "<table width=\"100%\" border=0><tr>\n";
print "<td valign=\"top\">";
print "<table class=tablefsoc cellspacing=\"0\" border=\"1\" width=\"100%\">";
print "<table class=\"tablefsoc\" cellspacing=\"0\" border=\"1\" width=\"100%\">";
print "<tr><td>Type</td><td> $objsoc->typent</td><td>Effectif</td><td>$objsoc->effectif</td></tr>";
print "<tr><td>Tel</td><td> $objsoc->tel&nbsp;</td><td>fax</td><td>$objsoc->fax&nbsp;</td></tr>";
@ -270,7 +270,7 @@ if ($socid > 0) {
*
*
*/
print '<table class=tableab border="1" cellspadding="3" cellspacing="0" width="100%"><tr>';
print '<table class="tableab" border="1" cellspadding="3" cellspacing="0" width="100%"><tr>';
print '<td align="center" width="20%">-</td>';
if (defined("MAIN_MODULE_PROPALE") && MAIN_MODULE_PROPALE && $user->rights->propale->creer)
{

View File

@ -117,7 +117,7 @@ if ($socid > 0)
print $db->error();
}
print "<P><table class=tablefuser width=\"100%\" cellspacing=0 border=1 cellpadding=2>";
print "<P><table class=\"tablefuser\" width=\"100%\" cellspacing=0 border=1 cellpadding=2>";
print "<tr><td><b>Prénom Nom</b></td>";
print "<td><b>Poste</b></td><td><b>Tel</b></td>";
@ -168,7 +168,7 @@ 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=\"tablefuser\" 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>";
@ -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="tablefuser" 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>";

View File

@ -165,7 +165,7 @@ if ($action == 'create')
print '<input type="hidden" name="type" value="'.$type.'">'."\n";
print '<div class="titre">Nouveau '.$types[$type].'</div><br>'."\n";
print '<table class=tablefprod border="1" width="100%" cellspacing="0" cellpadding="4">';
print '<table class="tablefprod" border="1" width="100%" cellspacing="0" cellpadding="4">';
print '<tr>';
print '<td>Référence</td><td><input name="ref" size="20" value=""></td></tr>';
print "<tr>".'<td>Libellé</td><td><input name="libelle" size="40" value=""></td></tr>';
@ -374,7 +374,7 @@ else
/* */
/* ************************************************************************** */
print '<br><table class=tableab width="100%" border="1" cellspacing="0" cellpadding="3">';
print '<br><table class="tableab" width="100%" border="1" cellspacing="0" cellpadding="3">';
if ($action == '')
{
if ($user->rights->produit->modifier || $user->rights->produit->creer)
@ -505,7 +505,7 @@ if ($id && $action == '' && $product->envente)
{
$num = $db->num_rows();
$i = 0;
print '<table class=tableab border="0" width="100%" cellspacing="0" cellpadding="4">';
print '<table class="tableab" border="0" width="100%" cellspacing="0" cellpadding="4">';
$var=True;
while ($i < $num)
{

View File

@ -47,7 +47,7 @@ if ($action == 'delete')
print '<form method="post" action="'.$PHP_SELF.'?id='.$id.'">';
print '<input type="hidden" name="action" value="confirm_delete">';
print '<table cellspacing="0" border="1" width="100%" cellpadding="3">';
print '<table class="tableab" cellspacing="0" border="1" width="100%" cellpadding="3">';
print '<tr><td colspan="3">Supprimer le projet</td></tr>';
@ -70,7 +70,7 @@ if ($action == 'create')
print '<form action="index.php?socidp='.$socidp.'" method="post">';
?>
<table border="1" cellpadding="4" cellspacing="0">
<table class="tablefsoc" border="1" cellpadding="4" cellspacing="0">
<input type="hidden" name="action" value="create">
<tr><td>Société</td><td>
<?PHP
@ -109,7 +109,7 @@ if ($action == 'create')
{
print '<form method="post" action="fiche.php?id='.$id.'">';
print '<input type="hidden" name="action" value="update">';
print '<table border="1" cellpadding="4" cellspacing="0">';
print '<table class="tablefsoc" border="1" cellpadding="4" cellspacing="0">';
print '<tr><td>Société</td><td>'.$projet->societe->nom.'</td></tr>';
print '<tr><td>Ref</td><td><input name="ref" value="'.$projet->ref.'"></td></tr>';
print '<tr><td>Titre</td><td><input name="title" value="'.$projet->title.'"></td></tr>';
@ -117,7 +117,7 @@ if ($action == 'create')
}
else
{
print '<table border="1" cellpadding="4" cellspacing="0" width="100%">';
print '<table class="tablefsoc" border="1" cellpadding="4" cellspacing="0" width="100%">';
print '<tr><td>Société</td><td><a href="../comm/fiche.php?socid='.$projet->societe->id.'">'.$projet->societe->nom.'</a></td></tr>';
print '<tr><td width="20%">Réf</td><td>'.$projet->ref.'</td></tr>';
@ -164,7 +164,7 @@ if ($action == 'create')
}
print "<p><TABLE border=\"1\" width=\"100%\" cellspacing=\"0\" cellpadding=\"4\"><tr>";
print "<p><TABLE class=\"tableab\" border=\"1\" width=\"100%\" cellspacing=\"0\" cellpadding=\"4\"><tr>";
if ($action == "edit")
{

View File

@ -1,4 +1,5 @@
/* Copyright (C) 2002-2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2003 Antoine Cuvellard <antoine@wifi-connexion.com>
*
* 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

View File

@ -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="tablefuser" 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="tablefuser" 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="tablefuser" 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>';
@ -223,7 +223,7 @@ else
/*
* Droits
*/
print '<table class=tablefuser width="100%" border="0" cellpadding="2" cellspacing="0">';
print '<table class="tablefuser" 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="tablefuser" 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>';
@ -321,7 +321,7 @@ else
print '</table>';
print '<br><table class=tableab width="100%" border="1" cellspacing="0" cellpadding="2">'."<tr>";
print '<br><table class="tableab" width="100%" border="1" cellspacing="0" cellpadding="2">'."<tr>";
if ($user->admin)
{
@ -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="tablefuser" 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>';