blob: 08cd62553b5996e79eaf4bc8645c3bb6a259536f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
<?php if ($content): ?>
<div class="<?php print $classes; ?>">
<?php switch ($region) {
case "navigation":
print art_menu_worker($content, true, 'b2-hmenu');
break;
case "vnavigation_left":
case "vnavigation_right":
foreach (array_keys($variables['elements']) as $name) {
$element = &$variables['elements'][$name];
if (is_array($element)
&& isset($element['#block']) && isset($element['#block']->subject)
&& isset($element['#children']) && is_string($element['#children']) && !empty($element['#children'])) {
$block_subject = $element['#block']->subject;
$block_content = $element['#children'];
art_vmenu_output($block_subject, $block_content); }
}
break;
default:
print $content;
break;
}?>
</div>
<?php endif; ?>
|