summaryrefslogtreecommitdiff
path: root/modules/akismet
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-10-19 06:27:18 -0700
committerTim Almdal <tnalmdal@shaw.ca>2009-10-19 06:27:18 -0700
commit1b530e4680b09391d7f99e91f1b0b1eb6b2069fc (patch)
tree9beee9ad047c5efa41dae7f64a0195b304770b61 /modules/akismet
parent9a6a404a3239c964528b501d3c187ead84b1f7a0 (diff)
parentb2d0b3ebbb1764593e387a2e07e0d4e67f4f5474 (diff)
Merge branch 'master' into talmdal_dev
Conflicts: modules/user/views/admin_users.html.php
Diffstat (limited to 'modules/akismet')
-rw-r--r--modules/akismet/views/admin_akismet.html.php15
1 files changed, 8 insertions, 7 deletions
diff --git a/modules/akismet/views/admin_akismet.html.php b/modules/akismet/views/admin_akismet.html.php
index 22c60c97..d273be5b 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="g-admin-akismet">
+<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="g-module-status g-success">
- <?= t("Your API Key is valid. Your comments will be filtered!") ?>
+ <?= $form ?>
</div>
- <? endif ?>
-
- <?= $form ?>
</div>