コード例 #1
0
        <?php 
#tpl_link(wl(),$conf['title'],'name="top" accesskey="h" title="[ALT+H]"')
?>
        <!-- <div class="searchform"> <?php 
#tpl_searchform()
?>
 </div> -->
      </div>

			<div class="MenuContainer">
				<?php 
tpl_renderMenu();
?>
			</div>

			<? if ( true == tpl_isEditMenu() ) { ?>
			<div style="clear: both;"></div>	
			<div class="MenuContainer">
				<?php 
tpl_editMenu();
?>
			</div>
			<? } ?>

		</div> 
    <?php 
flush();
?>
	
		<div class="Content">
		<?php 
コード例 #2
0
function tpl_editMenu()
{
    if (true == tpl_isEditMenu()) {
        // Menu1
        $menu1Output = _getMenu("menu1", true);
        if ($menu1Output != "") {
            print '<div class="Menu" id="level1">';
            print $menu1Output;
            print '</div>';
        }
        $menu2Output = _getMenu("menu2", true);
        if ($menu2Output != "") {
            print '<div class="Menu" id="level2">';
            print $menu2Output;
            print '</div>';
        }
    }
}