mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 00:04:37 +02:00
2012-11-03 Miguel de Dios <miguel.dedios@artica.es>
* godmode/users/configure_user.php: cleaned source code style. * include/styles/pandora.css, godmode/users/user_list.php: improved the row aspect of disabled users in the list. Pending task: #3540077 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7121 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
41ca6b430c
commit
027920182e
@ -1,3 +1,12 @@
|
||||
2012-11-03 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* godmode/users/configure_user.php: cleaned source code style.
|
||||
|
||||
* include/styles/pandora.css, godmode/users/user_list.php: improved
|
||||
the row aspect of disabled users in the list.
|
||||
|
||||
Pending task: #3540077
|
||||
|
||||
2012-11-02 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* include/functions_reporting.php, extensions/update_manager.php:
|
||||
|
@ -45,11 +45,14 @@ if (! check_acl ($config['id_user'], 0, "UM")) {
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
* Disabled at the moment.
|
||||
if (!check_referer()) {
|
||||
require ("general/noaccess.php");
|
||||
|
||||
return;
|
||||
}
|
||||
*/
|
||||
|
||||
$tab = get_parameter('tab', 'user');
|
||||
|
||||
|
@ -220,6 +220,9 @@ foreach ($info as $user_id => $user_info) {
|
||||
else
|
||||
$table->rowclass[$iterator] = 'rowOdd';
|
||||
$rowPair = !$rowPair;
|
||||
if ($user_info['disabled']) {
|
||||
$table->rowclass[$iterator] .= ' disabled_row_user';
|
||||
}
|
||||
$iterator++;
|
||||
|
||||
$data[0] = '<a href="index.php?sec=gusuarios&sec2=godmode/users/configure_user&id='.$user_id.'">'.$user_id.'</a>';
|
||||
@ -289,6 +292,4 @@ else {
|
||||
echo '<i>'.__('The current authentication scheme doesn\'t support creating users from Pandora FMS').'</i>';
|
||||
}
|
||||
echo '</div>';
|
||||
|
||||
|
||||
?>
|
@ -556,12 +556,19 @@ tr.rowOdd {
|
||||
tr.rowPair:hover {
|
||||
background-color: #E0E0E0;
|
||||
}
|
||||
|
||||
tr.rowOdd:hover {
|
||||
background-color: #E0E0E0
|
||||
}
|
||||
|
||||
tr.disabled_row_user * {
|
||||
color: grey;
|
||||
}
|
||||
|
||||
.bg { /* op menu */
|
||||
background-color: #567953;
|
||||
}
|
||||
|
||||
.bg2 { /* main page */
|
||||
background-color: #0A160C;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user