widgets.php 801 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. /**
  3. * Modbash Clean Elgg Theme
  4. *
  5. * Copyright (c) 2015 ModBash
  6. *
  7. * @author Shane Barron <admin@modbash.com>
  8. * @copyright 2015 SocialApparatus
  9. * @license GNU General Public License (GPL) version 2
  10. * @version 1
  11. * @link http://modbash.com
  12. */
  13. echo '<ul id="groups-tools" class="elgg-gallery elgg-gallery-fluid mtl clearfix well">';
  14. // enable tools to extend this area
  15. echo elgg_view("groups/tool_latest", $vars);
  16. // backward compatibility
  17. $right = elgg_view('groups/right_column', $vars);
  18. $left = elgg_view('groups/left_column', $vars);
  19. if ($right || $left) {
  20. elgg_deprecated_notice('The views groups/right_column and groups/left_column have been replaced by groups/tool_latest', 1.8);
  21. echo $left;
  22. echo $right;
  23. }
  24. echo "</ul>";