Esempio n. 1
0
		}
		else
		{
			print '<tr '.$bc[$var].'><td colspan="2">'.$langs->trans("None").'</td></tr>';
		}
		print '</table><br>';
	}
}


/*
 * Last actions
 */
if ($user->rights->agenda->myactions->read)
{
	show_array_last_actions_done($max);
}


/*
 * Actions to do
 */
if ($user->rights->agenda->myactions->read)
{
	show_array_actions_to_do(10);
}


/*
 * Last contracts
 */
Esempio n. 2
0
        }
        print '</div>';
        print "<br>\n";
        print '<table width="100%"><tr><td width="50%" valign="top">';
        /*
         * Actions to do
         */
        if ($user->rights->agenda->myactions->read) {
            show_array_actions_to_do(10, $act->id);
        }
        print '</td><td width="50%" valign="top">';
        /*
         * Last actions
         */
        if ($user->rights->agenda->myactions->read) {
            show_array_last_actions_done(10, $act->id);
        }
        print '</td></tr></table>';
    }
}
$db->close();
llxFooter();
/**
 *  Ajoute une ligne de tableau a 2 colonnes pour avoir l'option synchro calendrier
 *
 *  @return     int     Retourne le nombre de lignes ajoutees
 */
function add_row_for_calendar_link()
{
    global $conf, $langs, $user;
    $nbtr = 0;