Changeset 380
- Timestamp:
- 01/20/05 11:57:41 (8 years ago)
- Location:
- trunk/wifidog-auth/wifidog/admin
- Files:
-
- 2 modified
-
templates/user_log.html (modified) (2 diffs)
-
user_log.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wifidog-auth/wifidog/admin/templates/user_log.html
r379 r380 20 20 <th>Email</th> 21 21 <th>Registered On</th> 22 <th>Account Status</th> 22 23 </tr> 23 24 {section name=i loop=$users_array} … … 25 26 <td><a href="?user_id={$users_array[i].user_id}">{$users_array[i].user_id}</a></td> 26 27 <td>{$users_array[i].email}</td> 27 <td>{$users_array[i].reg_date|date_format:"%Y/%m/%d"}</td> 28 <td></td> 28 <td>{$users_array[i].reg_date|date_format:"%Y/%m/%d"}</td> 29 {* hack, need to put info in variable before we can use $account_status_to_text *} 30 {assign var="info" value="$users_array[i]"} 31 <td>{$account_status_to_text[$info.account_status]}</td> 29 32 </tr> 30 33 {/section} -
trunk/wifidog-auth/wifidog/admin/user_log.php
r379 r380 78 78 } 79 79 80 $db->ExecSql("SELECT user_id,email,reg_date FROM users ORDER BY $sort $direction LIMIT $per_page OFFSET $offset", $users_res);80 $db->ExecSql("SELECT user_id,email,reg_date,account_status FROM users ORDER BY $sort $direction LIMIT $per_page OFFSET $offset", $users_res); 81 81 if ($users_res) { 82 82 $smarty->assign("users_array", $users_res); … … 85 85 } 86 86 87 $smarty->assign("account_status_to_text", $account_status_to_text); 87 88 $smarty->display("admin/templates/user_log.html"); 88 89 }
