Revision 1805
Added by Dietmar about 12 years ago
index.php | ||
---|---|---|
77 | 77 |
$template->set_var('STATUS', 'class="user-active"' ); |
78 | 78 |
$template->parse('list', 'list_block', true); |
79 | 79 |
// Loop through users |
80 |
while($user = $results->fetchRow()) { |
|
80 |
while($user = $results->fetchRow(MYSQL_ASSOC)) {
|
|
81 | 81 |
$template->set_var('VALUE',$admin->getIDKEY($user['user_id'])); |
82 | 82 |
$template->set_var('STATUS', ($user['active']==false ? 'class="user-inactive"' : 'class="user-active"') ); |
83 | 83 |
$template->set_var('NAME', $user['display_name'].' ('.$user['username'].')'); |
... | ... | |
141 | 141 |
while($aUser = $oRes->fetchRow(MYSQL_ASSOC)) { |
142 | 142 |
$template->set_var('VALUE',$admin->getIDKEY($aUser['user_id'])); |
143 | 143 |
$template->set_var('STATUS', '') ; |
144 |
$template->set_var('NAME', $aUser['display_name'].' ('.$aUser['username'].')'); |
|
144 |
$template->set_var('NAME', $aUser['display_name'].' ('.$aUser['username'].')'.' ['.$aUser['email'].']');
|
|
145 | 145 |
$template->parse('list_confirmed_activation', 'list_confirmed_activation_block', true); |
146 | 146 |
} |
147 | 147 |
$template->parse('show_confirmed_activation', 'show_confirmed_activation_block',true); |
148 | 148 |
} |
149 | 149 |
} else { $nNumRows = 0; } |
150 | 150 |
|
151 |
} else { |
|
152 |
$nNumRows = 0; |
|
151 | 153 |
} |
152 | 154 |
|
153 | 155 |
if ( $nNumRows == 0){ |
Also available in: Unified diff
! show more information in awaiting activation /admin/users
! set input passord to autocomplete off /admin/users and /admin/prfeferences
! add Timezone abbreviation to time format
! change time and date formats fill with leading zeros
! optimize REQUEST_METHOD to get page_id and section_id
! more request vars are possible by this method