webservices.php 449 B

123456789101112131415161718192021222324252627
  1. <?php
  2. $data = elgg_extract("data", $vars);
  3. if (empty($data)) {
  4. return;
  5. }
  6. echo "<table class='elgg-table-alt'>";
  7. echo "<tr>";
  8. echo "<th>" . elgg_echo('developers:inspect:webservices') . "</th>";
  9. echo "<th>&nbsp;</th>";
  10. echo "</tr>";
  11. foreach ($data as $key => $arr) {
  12. echo "<tr>";
  13. echo "<td>$key</td>";
  14. echo "<td><ul>";
  15. foreach ($arr as $subkey => $value) {
  16. echo "<li>$value</li>";
  17. }
  18. echo "</ul></td>";
  19. echo "</tr>";
  20. }
  21. echo "</table>";