summaryrefslogtreecommitdiff
path: root/modules/akismet/views
diff options
context:
space:
mode:
Diffstat (limited to 'modules/akismet/views')
-rw-r--r--modules/akismet/views/admin_akismet_stats.html.php15
1 files changed, 10 insertions, 5 deletions
diff --git a/modules/akismet/views/admin_akismet_stats.html.php b/modules/akismet/views/admin_akismet_stats.html.php
index a7431a18..d82704cd 100644
--- a/modules/akismet/views/admin_akismet_stats.html.php
+++ b/modules/akismet/views/admin_akismet_stats.html.php
@@ -1,6 +1,11 @@
<?php defined("SYSPATH") or die("No direct script access.") ?>
-<iframe width="100%"
- height="100%"
- style="border: 0px"
- src="http://<?= $api_key ?>.web.akismet.com/1.0/user-stats.php?blog=<?= urlencode($blog_url) ?>">
-</iframe>
+<script type="text/javscript">
+ $(document).ready(function() {
+ $("#gAkismetExternalStats").css("height", "600");
+ });
+</script>
+<div id="gAkismetStats">
+ <iframe id="gAkismetExternalStats" width="100%" height="100%" frameborder="0"
+ src="http://<?= $api_key ?>.web.akismet.com/1.0/user-stats.php?blog=<?= urlencode($blog_url) ?>">
+ </iframe>
+</div>