32398ee61b
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@223 b3834d28-1941-0410-a4f8-b48e95affb8f
16 lines
345 B
PHP
16 lines
345 B
PHP
<?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>
|