Works on templates implementation for mutualized code

This commit is contained in:
Regis Houssin 2010-08-05 15:33:28 +00:00
parent add1bb0023
commit 950e6511f4

View File

@ -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>';