Works on templates implementation for mutualized code
This commit is contained in:
parent
add1bb0023
commit
950e6511f4
@ -1443,7 +1443,9 @@ if ($id > 0 || ! empty($ref))
|
|||||||
/*
|
/*
|
||||||
* Form to add new line
|
* Form to add new line
|
||||||
*/
|
*/
|
||||||
if ($propal->statut == 0 && $user->rights->propale->creer && $_GET["action"] <> 'editline')
|
if ($propal->statut == 0 && $user->rights->propale->creer)
|
||||||
|
{
|
||||||
|
if (! preg_match('/editline|edit_/',$_GET["action"]))
|
||||||
{
|
{
|
||||||
$var=true;
|
$var=true;
|
||||||
|
|
||||||
@ -1463,6 +1465,7 @@ if ($id > 0 || ! empty($ref))
|
|||||||
formAddMilestone($propal);
|
formAddMilestone($propal);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
print '</table>';
|
print '</table>';
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user