2011-08-17 18:16:50 +02:00
|
|
|
<?php if ($GLOBALS['enableAdminColors'] != false
|
|
|
|
&& isset($userid) && $userservice->isAdmin($userid)
|
|
|
|
): ?>
|
2009-01-07 16:13:16 +01:00
|
|
|
<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
|
2009-03-15 16:52:37 +01:00
|
|
|
echo $GLOBALS['sidebarTopMessage'].' ';
|
2009-01-07 16:13:16 +01:00
|
|
|
|
2011-08-17 18:16:50 +02:00
|
|
|
if (isset($sidebar_blocks) && count($sidebar_blocks)) {
|
|
|
|
$size = count($sidebar_blocks);
|
|
|
|
for ($i = 0; $i < $size; $i++) {
|
|
|
|
$this->includeTemplate('sidebar.block.'. $sidebar_blocks[$i]);
|
|
|
|
}
|
2009-01-07 16:13:16 +01:00
|
|
|
}
|
2009-03-15 16:52:37 +01:00
|
|
|
|
|
|
|
echo $GLOBALS['sidebarBottomMessage'];
|
2009-01-07 16:13:16 +01:00
|
|
|
?>
|
|
|
|
|
2009-03-15 16:52:37 +01:00
|
|
|
</div>
|