extras.php 523 B

123456789101112131415161718
  1. <?php
  2. $params = array();
  3. $params['menu'] = array();
  4. $params['menu']['default'] = array();
  5. $params['menu']['default'][] = new ElggMenuItem(1, elgg_view_icon('push-pin-alt'), "#");
  6. $params['menu']['default'][] = new ElggMenuItem(2, elgg_view_icon('rss'), "#");
  7. $params['menu']['default'][] = new ElggMenuItem(3, elgg_view_icon('star-alt'), "#");
  8. $params['name'] = 'extras';
  9. $params['class'] = 'elgg-menu-hz';
  10. ?>
  11. <div class="theme-sandbox-demo-sidebar">
  12. <?php
  13. echo elgg_view('navigation/menu/default', $params);
  14. ?>
  15. </div>