Edit the file (Windows) c:\xampplite\open-audit\code_igniter\application\views\theme-tango\v_display_device.php (Linux) /usr/local/open-audit/code_igniter/application/views/theme-tango/v_display_device.php
At about line 250, insert the below:
[code] if (isset($windows[0]->windows_user_name)) { echo "<p><label for='windows_user'>Last Logged In User: </label><span id='windows_user'>" . $windows[0]->windows_user_name . "</span></p>"; echo "</div>\n"; }[/code]
This should go immediately before:
[code] </div> <?php echo display_custom_field('system_details', $additional_fields_data, $edit); ?> </fieldset>[/code]
And make sure it's inside the PHP code (ie, before the closing ?>).
Let us know if it works for you!
_________________ Support and Development hours available from [url=https://opmantek.com]Opmantek[/url]. Please consider a purchase to help make Open-AudIT better for everyone.
|