entity.php 490 B

1234567891011121314
  1. <?php
  2. $params = array();
  3. $params['menu'] = array();
  4. $params['menu']['default'] = array();
  5. $params['menu']['default'][] = new ElggMenuItem(1, "Public", false);
  6. $params['menu']['default'][] = new ElggMenuItem(2, "Edit", "#");
  7. $params['menu']['default'][] = new ElggMenuItem(3, elgg_view_icon('thumbs-up'), "#");
  8. $params['name'] = 'entity';
  9. $params['class'] = 'elgg-menu-hz';
  10. echo '<div class="theme-sandbox-demo-sidebar">';
  11. echo elgg_view('navigation/menu/default', $params);
  12. echo '</div>';