Open-AudIT
http://www.open-audit.org/phpBB3/

Broken image links on LDAP users & systems query
http://www.open-audit.org/phpBB3/viewtopic.php?f=8&t=4414
Page 1 of 1

Author:  smorloc [ Thu Feb 24, 2011 9:29 am ]
Post subject:  Broken image links on LDAP users & systems query

The images on the pages invoked by 'All LDAP Users' & 'All LDAP Systems' selection under 'Queries' appear to the use wrong URL for the umages.

As near as I can tell, this is a coding error and is fixed by changing the two occurances of "../images" to "images" in each of the following two files:

    openaudit\include_functions.php
    openaudit\index_data.php
This is an example of the original code:

Code:
      case "ldap_user_status":
         return "<img src='../images/user_".$myrow[$field["name"]].".gif'>";         
      case "ldap_computer_status":
         return "<img src='../images/computer_".$myrow[$field["name"]].".gif'>";         

Steve

Page 1 of 1 All times are UTC + 10 hours
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/