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.

36 lines
946 B

  1. <div class="ContentBlockInner">
  2. <?php
  3. if($_CONTROL->ShowTitle)
  4. $_CONTROL->TitlePanel->Render();
  5. if($_CONTROL->ShowDescription)
  6. $_CONTROL->DescriptionPanel->Render();
  7. // Modules are rendered first, and one module alone without content is recommended.
  8. if( $_CONTROL->HasModules )
  9. foreach( $_CONTROL->aryModuleViews as $moduleView)
  10. $moduleView->Render();
  11. // Then menus - recommendation as above ..
  12. if($_CONTROL->HasMenus)
  13. foreach( $_CONTROL->aryMenuControllers as $menuView )
  14. $menuView->Render();
  15. // Note that child blocks are rendered after top level content for the block
  16. if($_CONTROL->HasContentItems)
  17. foreach( $_CONTROL->aryContentItemControllers as $contentItemView )
  18. $contentItemView->Render();
  19. if($_CONTROL->HasContentBlocks)
  20. foreach( $_CONTROL->aryChildContentBlockControllers as $childBlockView )
  21. $childBlockView->Render();
  22. ?>
  23. <div class="spacer"></div>
  24. </div>