actions.php 487 B

12345678910111213141516171819202122232425
  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:actions') . "</th>";
  9. echo "<th>" . elgg_echo('developers:inspect:file_location') . "</th>";
  10. echo "<th>" . elgg_echo('access') . "</th>";
  11. echo "</tr>";
  12. foreach ($data as $key => $arr) {
  13. echo "<tr>";
  14. echo "<td>$key</td>";
  15. echo "<td>{$arr[0]}</td>";
  16. echo "<td>{$arr[1]}</td>";
  17. echo "</tr>";
  18. }
  19. echo "</table>";