2009-01-07 16:13:16 +01:00
|
|
|
<?php if($GLOBALS['enableAdminColors']!=false && isset($userid) && $userservice->isAdmin($userid)): ?>
|
|
|
|
<div id="sidebar" class="adminBackground">
|
|
|
|
<?php else: ?>
|
2007-12-12 17:29:16 +01:00
|
|
|
<div id="sidebar">
|
2009-01-07 16:13:16 +01:00
|
|
|
<?php endif ?>
|
|
|
|
|
|
|
|
|
|
|
|
<?php
|
|
|
|
|
|
|
|
$size = count($sidebar_blocks);
|
|
|
|
for ($i = 0; $i < $size; $i++) {
|
|
|
|
$this->includeTemplate('sidebar.block.'. $sidebar_blocks[$i]);
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
|
|
|
|
</div>
|