|
9 | 9 | <h4>System Info</h4>
|
10 | 10 | <table class="table table-condensed table-responsive table-striped">
|
11 | 11 | <tbody>
|
| 12 | + |
12 | 13 | <tr>
|
13 | 14 | <th scope="row"><?xjs write(_sill.label_sysop); ?></th>
|
14 | 15 | <td><?xjs write(system.operator); ?></td>
|
15 | 16 | </tr>
|
| 17 | + |
16 | 18 | <tr>
|
17 | 19 | <th scope="row"><?xjs write(_sill.label_location); ?></th>
|
18 | 20 | <td><?xjs write(system.location); ?></td>
|
19 | 21 | </tr>
|
| 22 | + |
20 | 23 | <tr>
|
21 | 24 | <th scope="row"><?xjs write(_sill.label_users); ?></th>
|
22 | 25 | <td><?xjs write(system.stats.total_users); ?></td>
|
23 | 26 | </tr>
|
| 27 | + |
24 | 28 | <tr>
|
25 | 29 | <th scope="row"><?xjs write(_sill.label_nodes); ?></th>
|
26 | 30 | <td>
|
|
30 | 34 | <span title="Available" class="text-success sb-nodes-available"><?xjs write(system.nodes - _sb_niu); ?></span>)
|
31 | 35 | </td>
|
32 | 36 | </tr>
|
| 37 | + |
33 | 38 | <tr>
|
34 | 39 | <th scope="row"><?xjs write(_sill.label_uptime); ?></th>
|
35 | 40 | <td><?xjs write(system.secondstr(time() - system.uptime)); ?></td>
|
36 | 41 | </tr>
|
| 42 | + |
37 | 43 | <tr>
|
38 | 44 | <th scope="row"><?xjs write(_sill.label_calls_total); ?></th>
|
39 | 45 | <td><?xjs write(system.stats.total_logons); ?></td>
|
40 | 46 | </tr>
|
41 |
| - <tr> |
42 |
| - <th scope="row"><?xjs write(_sill.label_calls_today); ?></th> |
43 |
| - <td><?xjs write(system.stats.logons_today); ?></td> |
44 |
| - </tr> |
45 |
| - <tr> |
46 |
| - <th scope="row"><?xjs write(_sill.label_files_total); ?></th> |
47 |
| - <td><?xjs write(system.stats.total_files); ?></td> |
48 |
| - </tr> |
49 |
| - <tr> |
50 |
| - <th scope="row"><?xjs write(_sill.label_files_uploaded_today); ?></th> |
51 |
| - <td> |
52 |
| - <?xjs write(system.stats.files_uploaded_today); ?> |
53 |
| - <?xjs write(_sill.stat_suffix_files); ?> |
54 |
| - <br> |
55 |
| - (<?xjs write(system.stats.bytes_uploaded_today); ?> |
56 |
| - <?xjs write(_sill.stat_suffix_bytes); ?>) |
57 |
| - </td> |
58 |
| - </tr> |
59 |
| - <tr> |
60 |
| - <th scope="row"><?xjs write(_sill.label_files_downloaded_today); ?></th> |
61 |
| - <td> |
62 |
| - <?xjs write(system.stats.files_downloaded_today); ?> |
63 |
| - <?xjs write(_sill.stat_suffix_files); ?> |
64 |
| - <br> |
65 |
| - (<?xjs write(system.stats.bytes_downloaded_today); ?> |
66 |
| - <?xjs write(_sill.stat_suffix_bytes); ?>) |
67 |
| - </td> |
68 |
| - </tr> |
69 |
| - <tr> |
70 |
| - <th scope="row"><?xjs write(_sill.label_messages_total); ?></th> |
71 |
| - <td><?xjs write(system.stats.total_messages); ?></td> |
72 |
| - </tr> |
73 |
| - <tr> |
74 |
| - <th scope="row"><?xjs write(_sill.label_messages_posted_today); ?></th> |
75 |
| - <td><?xjs write(system.stats.messages_posted_today); ?></td> |
76 |
| - </tr> |
| 47 | + |
| 48 | + <?xjs if (!settings.hide_empty_stats || system.stats.logons_today) { ?> |
| 49 | + <tr> |
| 50 | + <th scope="row"><?xjs write(_sill.label_calls_today); ?></th> |
| 51 | + <td><?xjs write(system.stats.logons_today); ?></td> |
| 52 | + </tr> |
| 53 | + <?xjs } ?> |
| 54 | + |
| 55 | + <?xjs if (!settings.hide_empty_stats || system.stats.total_files) { ?> |
| 56 | + <tr> |
| 57 | + <th scope="row"><?xjs write(_sill.label_files_total); ?></th> |
| 58 | + <td><?xjs write(system.stats.total_files); ?></td> |
| 59 | + </tr> |
| 60 | + <?xjs } ?> |
| 61 | + |
| 62 | + <?xjs if (!settings.hide_empty_stats || system.stats.files_uploaded_today) { ?> |
| 63 | + <tr> |
| 64 | + <th scope="row"><?xjs write(_sill.label_files_uploaded_today); ?></th> |
| 65 | + <td> |
| 66 | + <?xjs write(system.stats.files_uploaded_today); ?> |
| 67 | + <?xjs write(_sill.stat_suffix_files); ?> |
| 68 | + <br> |
| 69 | + (<?xjs write(system.stats.bytes_uploaded_today); ?> |
| 70 | + <?xjs write(_sill.stat_suffix_bytes); ?>) |
| 71 | + </td> |
| 72 | + </tr> |
| 73 | + <?xjs } ?> |
| 74 | + |
| 75 | + <?xjs if (!settings.hide_empty_stats || system.stats.files_downloaded_today) { ?> |
| 76 | + <tr> |
| 77 | + <th scope="row"><?xjs write(_sill.label_files_downloaded_today); ?></th> |
| 78 | + <td> |
| 79 | + <?xjs write(system.stats.files_downloaded_today); ?> |
| 80 | + <?xjs write(_sill.stat_suffix_files); ?> |
| 81 | + <br> |
| 82 | + (<?xjs write(system.stats.bytes_downloaded_today); ?> |
| 83 | + <?xjs write(_sill.stat_suffix_bytes); ?>) |
| 84 | + </td> |
| 85 | + </tr> |
| 86 | + <?xjs } ?> |
| 87 | + |
| 88 | + <?xjs if (!settings.hide_empty_stats || system.stats.total_messages) { ?> |
| 89 | + <tr> |
| 90 | + <th scope="row"><?xjs write(_sill.label_messages_total); ?></th> |
| 91 | + <td><?xjs write(system.stats.total_messages); ?></td> |
| 92 | + </tr> |
| 93 | + <?xjs } ?> |
| 94 | + |
| 95 | + <?xjs if (!settings.hide_empty_stats || system.stats.messages_posted_today) { ?> |
| 96 | + <tr> |
| 97 | + <th scope="row"><?xjs write(_sill.label_messages_posted_today); ?></th> |
| 98 | + <td><?xjs write(system.stats.messages_posted_today); ?></td> |
| 99 | + </tr> |
| 100 | + <?xjs } ?> |
| 101 | + |
77 | 102 | </tbody>
|
78 | 103 | </table>
|
0 commit comments