Commit f6fefa65 authored by Nigel McNie's avatar Nigel McNie
Browse files

A bunch of sideblocks now have IDs, making them easier to style.

(cherry picked from commit 088781c740c0cf821a9abea1a2d6bfad263c2d09)
parent 9b3d3d8a
......@@ -422,12 +422,14 @@ EOF;
if($USER->is_logged_in()) {
$SIDEBLOCKS[] = array(
'name' => 'profile',
'id' => 'sb_profile',
'weight' => -20,
'data' => profile_sideblock()
);
if (get_config('showonlineuserssideblock')) {
$SIDEBLOCKS[] = array(
'name' => 'onlineusers',
'id' => 'sb_onlineusers',
'weight' => -10,
'data' => onlineusers_sideblock(),
);
......@@ -446,7 +448,7 @@ EOF;
$SIDEBLOCKS[] = array(
'name' => 'login',
'weight' => -10,
'id' => 'loginbox',
'id' => 'sb_loginbox',
'data' => array(
'loginform' => auth_generate_login_form(),
),
......
......@@ -793,7 +793,7 @@ div.sidebar ul.sidebar-ul-title ul a {
font-weight: bold;
}
/* Online users sideblock */
ul#onlineusers {
#sb_onlineusers ul {
list-style-type: none;
}
#lastminutes {
......
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