summaryrefslogtreecommitdiff
path: root/themes/default_admin/views/users.html.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2008-12-15 01:48:34 +0000
committerBharat Mediratta <bharat@menalto.com>2008-12-15 01:48:34 +0000
commitc02d2554cfdf23a91b6b756ada91ab1ce1018280 (patch)
tree73cc4f8bfef0254e253a8724a74711e04392a83a /themes/default_admin/views/users.html.php
parent19e75b1e2ed73521b3cad01e55d546d3a6b55587 (diff)
Refactor admin dashboard.
o Copy all the assets from default to default_admin so that they're totally separate o Get rid of $item_theme o Rename list_users.html.php to users.html.php o use __call in admin controller to allow us to load any admin page
Diffstat (limited to 'themes/default_admin/views/users.html.php')
-rw-r--r--themes/default_admin/views/users.html.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/themes/default_admin/views/users.html.php b/themes/default_admin/views/users.html.php
new file mode 100644
index 00000000..409cacc5
--- /dev/null
+++ b/themes/default_admin/views/users.html.php
@@ -0,0 +1,12 @@
+<div class="gBlock">
+ <a href="" class="gClose">X</a>
+ <h2>User Administration</h2>
+ <div class="gBlockContent">
+ <p>These are the users in your system</p>
+ <table>
+ <? foreach ($users as $i => $user): ?>
+ <tr><td><?= $user->name ?></td></tr>
+ <? endforeach ?>
+ </table>
+ </div>
+</div>