>Can you show me the few lines around line 84 in that file?  Also you
>could extract that file out from the tar and copy it over to fix it.
>I'm not sure why the patch wouldn't work as its just diff between the
>file versions.
> Line 84 is pretty simple setup really so it's rather strange.

-------------------------------------------
$client_id=0;
  if ($client_profile = profile("CUSTOMER"))
    $client_id = $client_profile; //fixed customer

  $colspan=3;

  // ToDo fix QueryString under POST
  $querystring = $_SERVER["QUERY_STRING"];
  $clean_url = $Sanitizer->get_url('');
  $presets_url = $Sanitizer->get_url('', 
array('name','use_interfaces','graph_type'))

  $shortcuts = array();

  if ($client_id > 0)
    $shortcuts[] = 
linktext(image('logoff.png',0,0,'Logout'),$jffnms_rel_path.'/?logout=1&OldAuth='.$GLOBALS['PHP_AUTH_USER'],'_top');
  $shortcuts[] = linktext(image('refresh.png',0,16,'Refresh Now'), 
$clean_url);
  $shortcuts[] = tag("img", "", "", "src='images/refresh2.png' alt='' 
OnClick=\"javascript: if (self.no_refresh!=1) ".
      "{ self.no_refresh = 1; this.style.display='none'; } else 
document.location = '".htmlspecialchars($clean_url)."';\"",false);

  if ($client_id == 0 && profile('ADMIN_HOSTS'))
  {
    $shortcuts[] = linktext(image('edit.png',0,0,'Edit'), 
$jffnms_rel_path.'/admin/adm/adm_interfaces.php?'.$querystring);
    $shortcuts[] = 
linktext(image('tool.png',0,0,'Tools'),$jffnms_rel_path.'/admin/tools.php?'.$querystring);
  }
-------------------------------------------

Where   $shortcuts = array(); is 84 line.

Thanks


------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
jffnms-users mailing list
jffnms-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jffnms-users

Reply via email to