A QCodo powered CMS
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
649 B

  1. <div class="MenuBlockInner">
  2. <ul>
  3. <?php
  4. if($_CONTROL->ShowTitle)
  5. print '<div class="MenuTitle">' . $_CONTROL->Title . '</div>';
  6. if($_CONTROL->MenuItemControllers)
  7. foreach( $_CONTROL->aryMenuItemControllers as $MenuItemController )
  8. {
  9. if($MenuItemController->UseDivs)
  10. $strTag = 'div';
  11. else
  12. $strTag = 'li';
  13. print '<' . $strTag . ' ' . $MenuItemController->GetAttributes() . '>';
  14. print $MenuItemController->GetControlHtml();
  15. print '</' . $strTag . '>';
  16. }
  17. ?>
  18. </ul>
  19. <!-- this pulls the div down below the list to make styling possible .. -->
  20. <!-- <div class="spacer"></div> -->
  21. </div>