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


<?php

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

</div>