Location: PHPKode > projects > Blandware AtLeap Lite - CMS on PHP > atleaplite/smarty/templates/context_menu.tpl
{* Smarty template *}
<div id="{$contextMenuId}" class="contextMenu" style="display: none; z-index: 10000;">
{foreach from=$contextMenu item=link key=index}
    <div id="{$contextMenuId}_{$index}" class="contextMenuItem"
            onmouseover="this.className = 'highlightedContextMenuItem'"
            onmouseout="this.className = 'contextMenuItem'"
            onclick="{if $link.confirm}if (!confirm('{message escapeSingleQuotes=true key='common.confirm'}')) return false; {/if}window.top.location = '{$contextPath}/{$link.link}'"
            >{$link.text}</div>
{/foreach}
</div>
<script type="text/javascript">
    dropdownMenus[dropdownMenus.length] = new DropdownMenu('{$contextMenuId}', null);
</script>
Return current item: Blandware AtLeap Lite - CMS on PHP