Registrations to Open-AudIT forums are now closed. To ask any new questions please visit Opmantek Community Questions.

Open-AudIT

What's on your network?
It is currently Thu Mar 28, 2024 7:30 pm

All times are UTC + 10 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
PostPosted: Mon Feb 09, 2015 7:52 pm 
Offline
Newbie

Joined: Mon Dec 15, 2014 5:49 pm
Posts: 10
Hi everybody,

is there a (easy) way to display the last logged in "Windows User" on the
PC Summary Screen.

lock at my modified attached Screenshot.

Cheers Brick


Attachments:
Bereich.png
Bereich.png [ 69.95 KiB | Viewed 3527 times ]
Top
 Profile  
Reply with quote  
PostPosted: Tue Feb 10, 2015 11:32 am 
Offline
Site Admin
User avatar

Joined: Mon Jun 07, 2004 11:48 am
Posts: 1964
Location: Brisbane, Australia
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.


Top
 Profile  
Reply with quote  
PostPosted: Tue Feb 10, 2015 6:03 pm 
Offline
Newbie

Joined: Mon Dec 15, 2014 5:49 pm
Posts: 10
Hi Mark

works great !! Thank's a lot !!

Cheers Brick


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC + 10 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group