summaryrefslogtreecommitdiff
path: root/modules/akismet
diff options
context:
space:
mode:
authorChad Kieffer <ckieffer@gmail.com>2009-10-04 00:27:22 -0600
committerChad Kieffer <ckieffer@gmail.com>2009-10-04 00:27:22 -0600
commit3e6ba7acc3291f2268cbe9c9bef0a492b557babb (patch)
tree079c1bd09ab1cfcf35524f2e541c586a95f205e4 /modules/akismet
parent9145331fd420ec3fe86833a7b9567ec42f1d84e8 (diff)
Renamed most, if not all css selectors from gName to g-name. Moved a few shared images from wind to lib. Deleted unused images in the admin_wind. This will likely break a few ajax features.
Diffstat (limited to 'modules/akismet')
-rw-r--r--modules/akismet/helpers/akismet.php2
-rw-r--r--modules/akismet/views/admin_akismet.html.php4
-rw-r--r--modules/akismet/views/admin_akismet_stats.html.php6
3 files changed, 6 insertions, 6 deletions
diff --git a/modules/akismet/helpers/akismet.php b/modules/akismet/helpers/akismet.php
index acd5cb3e..43549ffa 100644
--- a/modules/akismet/helpers/akismet.php
+++ b/modules/akismet/helpers/akismet.php
@@ -21,7 +21,7 @@ class akismet_Core {
public static $test_mode = TEST_MODE;
static function get_configure_form() {
- $form = new Forge("admin/akismet", "", "post", array("id" => "gConfigureAkismetForm"));
+ $form = new Forge("admin/akismet", "", "post", array("id" => "g-configure-akismet-form"));
$group = $form->group("configure_akismet")->label(t("Configure Akismet"));
$group->input("api_key")->label(t("API Key"))->value(module::get_var("akismet", "api_key"));
$group->api_key->error_messages("invalid", t("The API key you provided is invalid."));
diff --git a/modules/akismet/views/admin_akismet.html.php b/modules/akismet/views/admin_akismet.html.php
index 009d8810..22c60c97 100644
--- a/modules/akismet/views/admin_akismet.html.php
+++ b/modules/akismet/views/admin_akismet.html.php
@@ -1,5 +1,5 @@
<?php defined("SYSPATH") or die("No direct script access.") ?>
-<div id="gAdminAkismet">
+<div id="g-admin-akismet">
<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.",
@@ -8,7 +8,7 @@
</p>
<? if ($valid_key): ?>
- <div class="gModuleStatus gSuccess">
+ <div class="g-module-status g-success">
<?= t("Your API Key is valid. Your comments will be filtered!") ?>
</div>
<? endif ?>
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>