content.php 421 B

12345678910111213141516171819
  1. <?php
  2. /**
  3. * Welcome widget for admins
  4. */
  5. // section => string replacements.
  6. $sections = array(
  7. 'intro' => array(),
  8. 'admin_overview' => array(),
  9. 'outro' => array()
  10. );
  11. // don't use longtext because it filters output.
  12. // that's annoying.
  13. echo '<div class="elgg-output">';
  14. foreach ($sections as $section => $strings) {
  15. echo '<p>' . elgg_echo("admin:widget:admin_welcome:$section", $strings) . '</p>';
  16. }
  17. echo '</div>';