2010-09-23 Raul Mateos <raulofpandora@gmail.com>

* extensions/users_connected.php: Show text to admin if no other
	user connected.
	TO DO: This extension gives non-accurate information due to the use 
	of timestamp in one hour since the login event. It should be
	improved to check logout events in table.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3287 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
raulmateos 2010-09-23 13:35:59 +00:00
parent 5d13aaaa9e
commit e84d4d981c
2 changed files with 11 additions and 2 deletions

View File

@ -1,3 +1,11 @@
2010-09-23 Raúl Mateos <raulofpandora@gmail.com>
* extensions/users_connected.php: Show text to admin if no other
user connected.
TO DO: This extension gives non-accurate information due to the use
of timestamp in one hour since the login event. It should be
improved to check logout events in table.
2010-09-23 Raúl Mateos <raulofpandora@gmail.com>
* godmode/users/user_list.php: Able to edit profiles.

View File

@ -27,8 +27,9 @@ function users_extension_main_god () {
$rows = get_db_all_rows_sql ($sql);
if (empty ($rows)) {
$rows = array ();
echo "<div class='nf'>".__('No other users connected')."</div>";
}
else {
$table->cellpadding = 4;
$table->cellspacing = 4;
$table->width = 600;
@ -61,7 +62,7 @@ function users_extension_main_god () {
}
print_table ($table);
}
}
add_godmode_menu_option (__('Users connected'), 'UM','gusuarios',"users/icon.png");