summaryrefslogtreecommitdiff
path: root/modules/akismet/views
diff options
context:
space:
mode:
authorAndy Staudacher <andy.st@gmail.com>2009-11-15 19:44:47 -0800
committerAndy Staudacher <andy.st@gmail.com>2009-11-15 19:44:47 -0800
commit0733dc37fda27a5ba35f9020edf3c66aa41a95a0 (patch)
tree6877946232f1b01b1c8709054c689f6658cef34f /modules/akismet/views
parent218493c50be9362d4abed6900a816308fee5d978 (diff)
parent9379308f91a476f790fb8d444536719535c584e4 (diff)
Merge commit 'upstream/master'
Conflicts: modules/gallery/tests/xss_data.txt
Diffstat (limited to 'modules/akismet/views')
-rw-r--r--modules/akismet/views/admin_akismet.html.php17
-rw-r--r--modules/akismet/views/admin_akismet_stats.html.php6
2 files changed, 12 insertions, 11 deletions
diff --git a/modules/akismet/views/admin_akismet.html.php b/modules/akismet/views/admin_akismet.html.php
index 009d8810..399053d8 100644
--- a/modules/akismet/views/admin_akismet.html.php
+++ b/modules/akismet/views/admin_akismet.html.php
@@ -1,17 +1,18 @@
<?php defined("SYSPATH") or die("No direct script access.") ?>
-<div id="gAdminAkismet">
- <h1> <?= t("Akismet Spam Filtering") ?> </h1>
+<div id="g-admin-akismet" class="g-block">
+ <h1> <?= t("Akismet spam filtering") ?> </h1>
<p>
<?= t("Akismet is a free, automated spam filtering service. In order to use it, you need to sign up for a <a href=\"%api_key_url\">Wordpress.com API Key</a>, which is also free. Your comments will be automatically relayed to <a href=\"%akismet_url\">Akismet.com</a> where they'll be scanned for spam. Spam messages will be flagged accordingly and hidden from your vistors until you approve or delete them.",
array("api_key_url" => "http://wordpress.com/api-keys",
"akismet_url" => "http://akismet.com")) ?>
</p>
+ <div class="g-block-content">
+ <? if ($valid_key): ?>
+ <div class="g-module-status g-success">
+ <?= t("Your API key is valid. Your comments will be filtered!") ?>
+ </div>
+ <? endif ?>
- <? if ($valid_key): ?>
- <div class="gModuleStatus gSuccess">
- <?= t("Your API Key is valid. Your comments will be filtered!") ?>
+ <?= $form ?>
</div>
- <? endif ?>
-
- <?= $form ?>
</div>
diff --git a/modules/akismet/views/admin_akismet_stats.html.php b/modules/akismet/views/admin_akismet_stats.html.php
index 41bad15b..32908ba0 100644
--- a/modules/akismet/views/admin_akismet_stats.html.php
+++ b/modules/akismet/views/admin_akismet_stats.html.php
@@ -1,11 +1,11 @@
<?php defined("SYSPATH") or die("No direct script access.") ?>
<script type="text/javscript">
$(document).ready(function() {
- $("#gAkismetExternalStats").css("height", "600");
+ $("#g-akismet-external-stats").css("height", "600");
});
</script>
-<div id="gAkismetStats">
- <iframe id="gAkismetExternalStats" width="100%" height="500" frameborder="0"
+<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>