summaryrefslogtreecommitdiff
path: root/modules/akismet
diff options
context:
space:
mode:
authorChad Kieffer <ckieffer@gmail.com>2009-10-18 20:22:10 -0600
committerChad Kieffer <ckieffer@gmail.com>2009-10-18 20:22:10 -0600
commit5f56cbf997c12ab1aaf14403873fd9dfc33690ef (patch)
tree0120ffbad2e7ac728fd830ccbb9d71db28ca48b1 /modules/akismet
parent91ab6f161fa1e118418922fbf0a42f1924d7df0e (diff)
Wrap all admin views in g-block and g-block content. This provides the means to visually separate the view's title and description from everything else. Primary admin view title should always be h1, and only one h1 per view. Removed some unused admin CSS id's.
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>