Commit bbd1d8a1 authored by Daniel Haag's avatar Daniel Haag
Browse files

Merge branch 'uibk' into 'uibk'

Uibk



See merge request !70
parents 41108ba2 3765f564
......@@ -127,7 +127,7 @@ function F_list_online_users($wherequery, $order_field, $orderdir, $firstrow, $r
}
echo '</td>';
echo '<td>'.$this_session['session_user_level'].'</td>';
echo '<td>'.$this_session['session_user_ip'].'</td>';
echo '<td>'.ip6toip4($this_session['session_user_ip']).'</td>';
echo '</tr>'.K_NEWLINE;
}
} else {
......
......@@ -40,6 +40,10 @@
* Administrator level.
*/
define ('K_AUTH_ADMINISTRATOR', 10);
/**
* backoffice level.
*/
define ('K_AUTH_BACKOFFICE', 8);
/**
* Operator level.
......@@ -201,13 +205,6 @@ define ('K_AUTH_SSL_LEVEL', false);
define ('K_AUTH_SSLIDS', '');
/**
* Lowercase user names for login screen
* if true, all characters in user names will be converted to lowercase
*/
define ('K_AUTH_LOWERCASE_USERNAMES', true);
//============================================================+
// END OF FILE
//============================================================+
......@@ -257,10 +257,19 @@ define('K_EXTEND_TIME_MINUTES', 5);
/**
* Default IP range, e.g. if dedicated exam room is used
*/
define('K_DEFAULT_IP_RANGE', '*.*.*.*');
*/
define('K_DEFAULT_IP_RANGE', '*.*.*.*');
/**
* Lowercase user names for login screen
* if true, all characters in user names will be converted to lowercase
*/
define ('K_AUTH_LOWERCASE_USERNAMES', true);
// ---------- * ---------- * ---------- * ---------- * ----------
/**
* Error handlers.
*/
......@@ -351,4 +360,4 @@ function addSlashesArray($data) {
}
//============================================================+
// END OF FILE
//============================================================+
\ No newline at end of file
//============================================================+
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment