summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2011-09-28 20:51:26 -0700
committerLuke Shumaker <lukeshu@sbcglobal.net>2011-09-28 20:51:26 -0700
commitbe0d789259019c406f923ad81b2307c78e0deedc (patch)
treed9f037e582aa4e2222c09d0fcce2299d942cf6d7 /src
parent76a6bad6b5015a0b25c0739ac86b7ca0e0620be6 (diff)
On the user index page, add field names to the bottom of the table,
and a save botton to the top.
Diffstat (limited to 'src')
-rw-r--r--src/views/pages/users/index.html.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/views/pages/users/index.html.php b/src/views/pages/users/index.html.php
index ade4dea..c56d0b3 100644
--- a/src/views/pages/users/index.html.php
+++ b/src/views/pages/users/index.html.php
@@ -10,6 +10,9 @@ $t->paragraph($t->link($t->url('users.csv'), "Download this as a spreadsheet."))
$t->openTag('form', array('action'=>$t->url('users/index'),
'method'=>'post'));
+$t->tag('input', array('type'=>'submit',
+ 'value'=>'Save/Update'));
+
$t->openTag('table');
$t->openTag('tr');
@@ -60,6 +63,13 @@ foreach ($users as $user) {
$t->closeTag('tr');
}
+$t->openTag('tr');
+foreach ($attribs as $attrib) {
+ $t->tag('th', array(), $attrib['name']);
+}
+$t->tag('th');
+$t->closeTag('tr');
+
$t->closeTag('table');
$t->tag('input', array('type'=>'submit',