summaryrefslogtreecommitdiffstats
path: root/private/templates/checkthemes.tpl
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-07-23 09:39:10 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-07-23 09:39:10 -0400
commit841681579bda0934296ab828abef792f1ce509f7 (patch)
tree2a481d0a10955448ab69eb214237e42eef9f5ab3 /private/templates/checkthemes.tpl
parentd564f9002e831d3e8a0dd3539e1a14689d34b624 (diff)
downloadthemesite-841681579bda0934296ab828abef792f1ce509f7.tar.gz
themesite-841681579bda0934296ab828abef792f1ce509f7.zip
don't run checkallwps() within www context.
instead schedule it to be run as part of the site update cron
Diffstat (limited to 'private/templates/checkthemes.tpl')
-rw-r--r--private/templates/checkthemes.tpl35
1 files changed, 0 insertions, 35 deletions
diff --git a/private/templates/checkthemes.tpl b/private/templates/checkthemes.tpl
deleted file mode 100644
index 4ab7d43..0000000
--- a/private/templates/checkthemes.tpl
+++ /dev/null
@@ -1,35 +0,0 @@
-{assign var="parent" value="admin.php|Admin frontpage"}
-{assign var="self" value="Check themes"}
-{include file="header.tpl" title="Admin - $self"}
-
-<h1>Checking all themes</h1>
-
-{include file="breadcrumbs.tpl"}
-
-<table class="rockbox">
-{section name=i loop=$checkwpsresults}
- <tr> <td>
- {if $checkwpsresults[i].summary.pass}
- <tt style="color: green">pass</tt>
- {else}
- <tt style="color: red">fail</tt>
- {/if}
- </td> <td>
- {$checkwpsresults[i].theme.mainlcd}/{$checkwpsresults[i].theme.shortname}/{$checkwpsresults[i].theme.zipfile} ({$checkwpsresults[i].summary.duration|string_format:'%0.3f'} seconds)
- </td>
- {foreach from=$checkwpsresults[i].result key=version item=result}
- {foreach from=$result key=target item=res}
- <td>
- {if $res.pass}
- <tt style="color: green">{$target} {$version} </tt>
- {else}
- <tt style="color: red">{$target} {$version} </tt>
- {/if}
- </td>
- {/foreach}
- {/foreach}
- </tr>
-{/section}
-</table>
-
-{include file="footer.tpl"}