<?php if ($modules): ?>
<li id="menu_custom_title">
    <a><?php echo $heading_title; ?></a>
    <div id="menu_custom_block">
        <?php foreach ($modules as $module) { ?>
        <?php echo $module; ?>
        <?php } ?>
    </div>
</li>
<?php endif; ?>
