summaryrefslogtreecommitdiff
path: root/src/views/pages/users/index.html.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/views/pages/users/index.html.php')
-rw-r--r--src/views/pages/users/index.html.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/views/pages/users/index.html.php b/src/views/pages/users/index.html.php
index c268c87..ade4dea 100644
--- a/src/views/pages/users/index.html.php
+++ b/src/views/pages/users/index.html.php
@@ -23,6 +23,8 @@ foreach ($users as $user) {
$t->openTag('tr');
foreach ($attribs as $attrib) {
+ $t->openTag('td');
+
$props = $user[$attrib['key']];
$value = $props['value'];
@@ -36,6 +38,7 @@ foreach ($users as $user) {
if ($bool) $arr['disabled'] = $disabled;
}
if ($bool) {
+ $t->tag('input', array('type'=>'hidden', 'name'=>$post_key, 'value'=>'false'));
if ($value==true) {
$arr['checked'] = 'checked';
}
@@ -46,7 +49,6 @@ foreach ($users as $user) {
$arr['type'] = 'text';
}
- $t->openTag('td');
$t->tag('input', $arr);
$t->closeTag('td');
}