diff options
| author | czaks <marcin@6irc.net> | 2013-11-11 21:54:35 +0100 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2013-11-11 21:54:35 +0100 |
| commit | f5657caf24753ed7c25d56659ae8dfe79d48b99a (patch) | |
| tree | 989f1149070194f18f6250c851159dda813151fe /templates/mod/debug/apc.html | |
| parent | 0a58973631626879abeea4956b33cc2b56dea453 (diff) | |
| parent | 9fb63b053fbb552a2a8bbde1e230a8b73296fb6d (diff) | |
Merge branch 'master' of https://github.com/savetheinternet/Tinyboard into vichan-devel-4.5
Conflicts:
inc/config.php
install.php
post.php
stylesheets/style.css
Diffstat (limited to 'templates/mod/debug/apc.html')
| -rw-r--r-- | templates/mod/debug/apc.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/templates/mod/debug/apc.html b/templates/mod/debug/apc.html new file mode 100644 index 00000000..e8733af8 --- /dev/null +++ b/templates/mod/debug/apc.html @@ -0,0 +1,18 @@ +<table class="modlog"> + <tr> + <th class="minimal">Key</th> + <th class="minimal">Hits</th> + <th class="minimal">Created</th> + <th class="minimal">Expires</th> + <th class="minimal">Size</th> + </tr> + {% for var in cached_vars if (var.ctime is defined ? var.ctime : var.creation_time) + var.ttl > time() %} + <tr> + <td class="minimal">{{ var.key is defined ? var.key : var.info }}</td> + <td class="minimal">{{ var.nhits is defined ? var.nhits : var.num_hits }}</td> + <td class="minimal">{{ (var.ctime is defined ? var.ctime : var.creation_time)|ago }} ago</td> + <td class="minimal">{{ ((var.ctime is defined ? var.ctime : var.creation_time) + var.ttl)|until }} (ttl: {{ (time() + var.ttl)|until }})</td> + <td class="minimal">{{ var.mem_size }} bytes</td> + </tr> + {% endfor %} +</table>
\ No newline at end of file |
