Open-AudIT

What's on your network?
It is currently Sun Apr 22, 2018 10:42 pm

All times are UTC + 10 hours




Post new topic Reply to topic  [ 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 1079 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: 1944
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";
         }


This should go immediately before:

Code:
      </div>
      <?php echo display_custom_field('system_details', $additional_fields_data, $edit); ?>
   </fieldset>


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 Opmantek.
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  
Post new topic Reply to topic  [ 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:  
Powered by phpBB® Forum Software © phpBB Group