if (isset($_REQUEST['itemId'])) { global $trklib; require_once('lib/trackers/trackerlib.php'); global $auto_query_args; $auto_query_args_local = array('trackerId', 'tr_initial',"tr_sort_mode$iTRACKERLIST",'tr_user', 'filterfield', 'filtervalue', 'exactvalue', 'itemId'); $auto_query_args = empty($auto_query_args)? $auto_query_args_local: array_merge($auto_query_args, $auto_query_args_local); $smarty->assign('listTrackerId', $trackerId); $tracker_info = $trklib->get_tracker($trackerId); if ($t = $trklib->get_tracker_options($trackerId)) { $tracker_info = array_merge($tracker_info, $t); } $tracker_info = $trklib->get_tracker($trackerId); if ($t = $trklib->get_tracker_options($trackerId)) { $tracker_info = array_merge($tracker_info, $t); } if (!isset($showlastmodif)) { $showlastmodif = $tracker_info['showLastModif']; } //$smarty->assign_by_ref('showlastmodif', $showlastmodif); echo "
trackerId: "; echo $trackerId; echo "
tracker_info: "; echo $tracker_info; echo "
showlastmodif: "; echo $showlastmodif; }