Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
contractor-progress.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tweaked "Switch Login" page
[contractor-progress.git]
/
su.php
diff --git
a/su.php
b/su.php
index
92b1b85
..
d777117
100644
(file)
--- a/
su.php
+++ b/
su.php
@@
-41,12
+41,13
@@
function _su_main() {
return './';
}
return './';
}
- $rows = db_get_rows('people', 'id,name', 'order by name');
+ $rows = db_get_rows('people', 'id,name,username', 'order by name');
if($rows) foreach($rows as $row) {
if($rows) foreach($rows as $row) {
- list($id, $name) = $row;
+ list($id, $name, $username) = $row;
tem_set('client_id', $id);
tem_set('client_name', $name);
tem_set('client_id', $id);
tem_set('client_name', $name);
+ tem_set('client_username', $username);
tem_show('su_row');
}
}
tem_show('su_row');
}
}