Last change
on this file since 2655 was
2488,
checked in by rvelices, 16 years ago
|
- based on test_menu by grum (thanks to you) - integration of dynamic menu bar to pwg
- the menubar is composed now of dynamic blocks that can be ordered/hidden
- plugins can add their own blocks
|
-
Property svn:eol-style set to
LF
-
Property svn:keywords set to
Author Date Id Revision
|
File size:
330 bytes
|
Line | |
---|
1 | {if !empty($blocks) } |
---|
2 | <div id="menubar"> |
---|
3 | {foreach from=$blocks key=id item=block} |
---|
4 | {if ( not empty($block->template) or not empty($block->raw_content) )} |
---|
5 | <dl id="{$id}"> |
---|
6 | {if not empty($block->template)} |
---|
7 | {include file=$block->template } |
---|
8 | {else} |
---|
9 | {$block->raw_content|@default} |
---|
10 | {/if} |
---|
11 | </dl> |
---|
12 | {/if} |
---|
13 | {/foreach} |
---|
14 | </div> |
---|
15 | {/if} |
---|
Note: See
TracBrowser
for help on using the repository browser.