A Qcodo based CMS/ecommerce framework
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
775 B

12 years ago
  1. <div class="MenuBlockInner">
  2. <ul>
  3. <?php
  4. if($_CONTROL->ShowTitle)
  5. print '<div class="MenuTitle">' . $_CONTROL->Title . '</div>';
  6. if($_CONTROL->MenuItemViews)
  7. foreach( $_CONTROL->aryMenuItemViews as $MenuItemView )
  8. {
  9. if($MenuItemView->UseDivs)
  10. $strTag = 'div';
  11. else
  12. $strTag = 'li';
  13. print '<' . $strTag . ' ' . $MenuItemView->GetAttributes() . '>';
  14. print $MenuItemView->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>