Fix: Switch mytask-alltasks

This commit is contained in:
Laurent Destailleur 2010-06-07 17:39:19 +00:00
parent b6964b5617
commit f50c69f600

View File

@ -275,13 +275,9 @@ else
print '<table width="100%"><tr><td align="right">';
if ($_REQUEST["mode"] == 'mine')
{
if ($user->rights->projet->all->lire)
{
print '<a href="'.$_SERVER["PHP_SELF"].'?id='.$project->id.'">'.$langs->trans("DoNotShowMyTasksOnly").'</a>';
//print ' - ';
//print $langs->trans("ShowMyTaskOnly");
}
//else print '<a href="#">'.$langs->trans("DoNotShowMyTasksOnly").'</a>';
print '<a href="'.$_SERVER["PHP_SELF"].'?id='.$project->id.'">'.$langs->trans("DoNotShowMyTasksOnly").'</a>';
//print ' - ';
//print $langs->trans("ShowMyTaskOnly");
}
else
{