Changeset 167b39cafe372dd6d781a5befc846040b0538361
- Timestamp:
- 01/05/07 18:59:59
(2 years ago)
- Author:
- Christopher Jung <bktheg@web.de>
- git-committer:
- Christopher Jung <bktheg@web.de> 1168019999 +0100
- git-parent:
[e1f219efd40a8ca53bb6c4670f4d90a9af5dfff9]
- git-author:
- Christopher Jung <bktheg@web.de> 1168019999 +0100
- Message:
Die Spielerliste zeigt nun auch Admin-Infos an
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| rdf6912e |
r167b39c |
|
| 36 | 36 | */ |
|---|
| 37 | 37 | public class PlayerList { |
|---|
| | 38 | /** |
|---|
| | 39 | * Gibt die Spielerliste im angegebenen Kontext aus |
|---|
| | 40 | * @param context Der Kontext |
|---|
| | 41 | */ |
|---|
| 38 | 42 | public static void draw(Context context) { |
|---|
| 39 | 43 | String ord = context.getRequest().getParameter("ord"); |
|---|
| … | … | |
| 229 | 233 | // Ally |
|---|
| 230 | 234 | echo.append("<td class=\"noBorderX\">"+ally+"</td>\n"); |
|---|
| | 235 | |
|---|
| | 236 | // Die Spezial-Admin-Infos anzeigen |
|---|
| | 237 | if( (user != null) && (user.getAccessLevel() > 20) ) { |
|---|
| | 238 | echo.append("<td class=\"noBorderX\">"+aUser.getInactivity()+"</td>\n"); |
|---|
| | 239 | if( !asticount.containsKey(aUser.getID()) ) { |
|---|
| | 240 | asticount.put(aUser.getID(), 0); |
|---|
| | 241 | } |
|---|
| | 242 | echo.append("<td class=\"noBorderX\" style=\"text-align:center\">"+asticount.get(aUser.getID())+"</td>\n"); |
|---|
| | 243 | |
|---|
| | 244 | if( !shipcount.containsKey(aUser.getID()) ) { |
|---|
| | 245 | shipcount.put(aUser.getID(), 0); |
|---|
| | 246 | } |
|---|
| | 247 | echo.append("<td class=\"noBorderX\" style=\"text-align:center\">"+Common.ln(shipcount.get(aUser.getID()))+"</td>\n"); |
|---|
| | 248 | } |
|---|
| 231 | 249 | } |
|---|
| 232 | 250 | else { |
|---|