Ajout droits
This commit is contained in:
parent
d3cf169325
commit
fb09d5b6fd
@ -25,10 +25,10 @@ require("../lib/webcal.class.php3");
|
|||||||
require("../cactioncomm.class.php3");
|
require("../cactioncomm.class.php3");
|
||||||
require("../actioncomm.class.php3");
|
require("../actioncomm.class.php3");
|
||||||
|
|
||||||
|
|
||||||
llxHeader();
|
llxHeader();
|
||||||
|
$user->getrights('propale');
|
||||||
$db = new Db();
|
$user->getrights('projet');
|
||||||
|
//$db = new Db();
|
||||||
|
|
||||||
if ($sortorder == "") {
|
if ($sortorder == "") {
|
||||||
$sortorder="ASC";
|
$sortorder="ASC";
|
||||||
@ -150,9 +150,11 @@ if ($socid > 0) {
|
|||||||
print "<td align=\"center\"><a href=\"../compta/fiche.php3?socid=$objsoc->idp\">Compta</a></td>";
|
print "<td align=\"center\"><a href=\"../compta/fiche.php3?socid=$objsoc->idp\">Compta</a></td>";
|
||||||
print "<td align=\"center\"><a href=\"docsoc.php?socid=$objsoc->idp\">Documents</a></td>";
|
print "<td align=\"center\"><a href=\"docsoc.php?socid=$objsoc->idp\">Documents</a></td>";
|
||||||
print "<td align=\"center\"><a href=\"index.php3?socidp=$objsoc->idp&action=add_bookmark\">[Bookmark]</a></td>";
|
print "<td align=\"center\"><a href=\"index.php3?socidp=$objsoc->idp&action=add_bookmark\">[Bookmark]</a></td>";
|
||||||
|
if ($user->rights->projet->creer)
|
||||||
print "<td align=\"center\"><a href=\"projet/fiche.php3?socidp=$objsoc->idp&action=create\">[Projet]</a></td>";
|
print "<td align=\"center\"><a href=\"projet/fiche.php3?socidp=$objsoc->idp&action=create\">[Projet]</a></td>";
|
||||||
if (defined("MAIN_MODULE_PROPALE") && MAIN_MODULE_PROPALE)
|
if (defined("MAIN_MODULE_PROPALE") && MAIN_MODULE_PROPALE)
|
||||||
{
|
{
|
||||||
|
if ($user->rights->propale->creer)
|
||||||
print "<td align=\"center\"><a href=\"addpropal.php3?socidp=$objsoc->idp&action=create\">[Propal]</a></td>";
|
print "<td align=\"center\"><a href=\"addpropal.php3?socidp=$objsoc->idp&action=create\">[Propal]</a></td>";
|
||||||
}
|
}
|
||||||
if (defined("MAIN_MODULE_FICHEINTER") && MAIN_MODULE_FICHEINTER)
|
if (defined("MAIN_MODULE_FICHEINTER") && MAIN_MODULE_FICHEINTER)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user