aboutsummaryrefslogtreecommitdiff
path: root/data/templates/sidebar.tpl.php
blob: e823af508543531f02ba256794a221f25f406912 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php if($GLOBALS['enableAdminColors']!=false && isset($userid) && $userservice->isAdmin($userid)): ?>
<div id="sidebar" class="adminBackground">
<?php else: ?>
<div id="sidebar">
<?php endif ?>


<?php
echo $GLOBALS['sidebarTopMessage'].' ';

$size = count($sidebar_blocks);
for ($i = 0; $i < $size; $i++) {
	$this->includeTemplate('sidebar.block.'. $sidebar_blocks[$i]);
}

echo $GLOBALS['sidebarBottomMessage'];
?>

</div>