aboutsummaryrefslogtreecommitdiff
path: root/mod/developers/views/default/theme_preview/components/table.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/developers/views/default/theme_preview/components/table.php')
-rw-r--r--mod/developers/views/default/theme_preview/components/table.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/mod/developers/views/default/theme_preview/components/table.php b/mod/developers/views/default/theme_preview/components/table.php
new file mode 100644
index 000000000..e9ef32143
--- /dev/null
+++ b/mod/developers/views/default/theme_preview/components/table.php
@@ -0,0 +1,12 @@
+<table class="elgg-table">
+<?php
+ echo "<thead><tr><th>column 1</th><th>column 2</th></tr></thead>";
+ for ($i = 1; $i < 5; $i++) {
+ echo '<tr>';
+ for ($j = 1; $j < 3; $j++) {
+ echo "<td>value $j</td>";
+ }
+ echo '</tr>';
+ }
+?>
+</table> \ No newline at end of file