summaryrefslogtreecommitdiff
path: root/modules/akismet/views/admin_akismet_stats.html.php
diff options
context:
space:
mode:
authorTristan Zur <tzur@webserver.ccwn.org>2015-06-10 20:55:53 +0200
committerTristan Zur <tzur@webserver.ccwn.org>2015-06-10 20:55:53 +0200
commit406abd7c4df1ace2cd3e4e17159e8941a2e8c0c4 (patch)
treea324be16021f44f2fd6d55e609f47024e945b1db /modules/akismet/views/admin_akismet_stats.html.php
Initial import
Diffstat (limited to 'modules/akismet/views/admin_akismet_stats.html.php')
-rw-r--r--modules/akismet/views/admin_akismet_stats.html.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/modules/akismet/views/admin_akismet_stats.html.php b/modules/akismet/views/admin_akismet_stats.html.php
new file mode 100644
index 0000000..32908ba
--- /dev/null
+++ b/modules/akismet/views/admin_akismet_stats.html.php
@@ -0,0 +1,11 @@
+<?php defined("SYSPATH") or die("No direct script access.") ?>
+<script type="text/javscript">
+ $(document).ready(function() {
+ $("#g-akismet-external-stats").css("height", "600");
+ });
+</script>
+<div id="g-akismet-stats">
+ <iframe id="g-akismet-external-stats" width="100%" height="500" frameborder="0"
+ src="http://<?= $api_key ?>.web.akismet.com/1.0/user-stats.php?blog=<?= urlencode($blog_url) ?>">
+ </iframe>
+</div>