Merge branch '3.2' of git+ssh://git@github.com/Dolibarr/dolibarr.git into 3.2.1

This commit is contained in:
Regis Houssin
2012-07-05 15:41:22 +02:00

View File

@@ -98,10 +98,10 @@ if (($conf->propal->enabled && $user->rights->propale->lire) ||
}
// Recherche Propal
if ($conf->propal->enabled && $user->rights->propale->lire)
if ($conf->propal->enabled && $user->rights->propal->lire)
{
$var=false;
print '<form method="post" action="'.DOL_URL_ROOT.'/comm/propal.php">';
print '<form method="post" action="'.DOL_URL_ROOT.'/comm/propal/list.php">';
print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
print '<table class="noborder" width="100%">';
print '<tr class="liste_titre"><td colspan="3">'.$langs->trans("SearchAProposal").'</td></tr>';
@@ -136,7 +136,7 @@ if ($conf->contrat->enabled && $user->rights->contrat->lire)
/*
* Draft proposals
*/
if ($conf->propal->enabled && $user->rights->propale->lire)
if ($conf->propal->enabled && $user->rights->propal->lire)
{
$sql = "SELECT p.rowid, p.ref, p.total_ht, s.rowid as socid, s.nom as name, s.client, s.canvas";
$sql.= " FROM ".MAIN_DB_PREFIX."propal as p";
@@ -188,7 +188,7 @@ if ($conf->propal->enabled && $user->rights->propale->lire)
}
}
print "</table><br>";
$db->free($resql);
}
else
@@ -251,7 +251,7 @@ if ($conf->commande->enabled && $user->rights->commande->lire)
}
}
print "</table><br>";
$db->free($resql);
}
}
@@ -467,7 +467,7 @@ if ($conf->contrat->enabled && $user->rights->contrat->lire && 0) // TODO A REFA
/*
* Opened proposals
*/
if ($conf->propal->enabled && $user->rights->propale->lire)
if ($conf->propal->enabled && $user->rights->propal->lire)
{
$langs->load("propal");
@@ -551,4 +551,4 @@ llxFooter();
$db->close();
?>
?>