$action = ''; $socid = $user->societe_id; } /* * View */ $help_url='EN:Module_Agenda_En|FR:Module_Agenda|ES:M&omodulodulo_Agenda'; llxHeader('',$langs->trans("Agenda"),$help_url); $act = new ActionComm($db); $act->fetch($_GET["id"]); $act->info($_GET["id"]); $head=actions_prepare_head($act); dol_fiche_head($head, 'info', $langs->trans("Action"),0,'action'); print '<table width="100%"><tr><td>'; dol_print_object_info($act); print '</td></tr></table>'; print '</div>'; $db->close(); llxFooter('$Date: 2011/07/31 22:23:21 $ - $Revision: 1.20 $'); ?>
*/ require '../../main.inc.php'; require_once DOL_DOCUMENT_ROOT . '/core/lib/agenda.lib.php'; require_once DOL_DOCUMENT_ROOT . '/core/lib/functions2.lib.php'; require_once DOL_DOCUMENT_ROOT . '/contact/class/contact.class.php'; require_once DOL_DOCUMENT_ROOT . '/comm/action/class/cactioncomm.class.php'; require_once DOL_DOCUMENT_ROOT . '/comm/action/class/actioncomm.class.php'; $langs->load("commercial"); $id = GETPOST('id', 'int'); // Security check if ($user->societe_id > 0) { $action = ''; $socid = $user->societe_id; } $result = restrictedArea($user, 'agenda', $id, 'actioncomm&societe', 'myactions|allactions', 'fk_soc', 'id'); /* * View */ $help_url = 'EN:Module_Agenda_En|FR:Module_Agenda|ES:M&omodulodulo_Agenda'; llxHeader('', $langs->trans("Agenda"), $help_url); $act = new ActionComm($db); $act->fetch($id); $act->info($act->id); $head = actions_prepare_head($act); dol_fiche_head($head, 'info', $langs->trans("Action"), 0, 'action'); print '<table width="100%"><tr><td>'; dol_print_object_info($act); print '</td></tr></table>'; print '</div>'; $db->close(); llxFooter();