[geeklog-cvs] geeklog: List $_CONF['site_url'] as a non-editable entry in the ...

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Sat Jan 30 14:03:48 EST 2010


changeset 7682:6ed5a15203ec
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/6ed5a15203ec
user: Dirk Haun <dirk at haun-online.de>
date: Sat Jan 30 18:09:25 2010 +0100
description:
List $_CONF['site_url'] as a non-editable entry in the SLV whitelist to indicate that the site's URL is whitelisted automatically

diffstat:

 plugins/spamx/SLVwhitelist.Admin.class.php |  3 ++-
 public_html/docs/history                   |  5 +++++
 2 files changed, 7 insertions(+), 1 deletions(-)

diffs (35 lines):

diff -r 7f999eeb2311 -r 6ed5a15203ec plugins/spamx/SLVwhitelist.Admin.class.php
--- a/plugins/spamx/SLVwhitelist.Admin.class.php	Sat Jan 30 15:36:55 2010 +0100
+++ b/plugins/spamx/SLVwhitelist.Admin.class.php	Sat Jan 30 18:09:25 2010 +0100
@@ -4,7 +4,7 @@
 * File: SLVwhitelist.Admin.class.php
 * This is the SLV Whitelist Module for the Geeklog Spam-X plugin
 *
-* Copyright (C) 2004-2009 by the following authors:
+* Copyright (C) 2004-2010 by the following authors:
 * Author   Tom Willett     tomw AT pigstye DOT net
 *          Dirk Haun       dirk AT haun-online DOT de
 *
@@ -66,6 +66,7 @@
         $display = '<hr' . XHTML . '>' . LB . '<p><b>';
         $display .= $LANG_SX00['slvwhitelist'];
         $display .= '</b></p>' . LB . '<ul>' . LB;
+        $display .= '<li>' . $_CONF['site_url'] . '</li>' . LB;
         $result = DB_query("SELECT value FROM {$_TABLES['spamx']} WHERE name = 'SLVwhitelist'");
         $nrows = DB_numRows($result);
         for ($i = 0; $i < $nrows; $i++) {
diff -r 7f999eeb2311 -r 6ed5a15203ec public_html/docs/history
--- a/public_html/docs/history	Sat Jan 30 15:36:55 2010 +0100
+++ b/public_html/docs/history	Sat Jan 30 18:09:25 2010 +0100
@@ -63,6 +63,11 @@
 - Hide meta tag entry fields from Polls editor when meta tag support is
   disabled [Dirk]
 
+Spam-X Plugin
+-------------
+- List $_CONF['site_url'] as a non-editable entry in the SLV whitelist to
+  indicate that the site's URL is whitelisted automatically [Dirk]
+
 Static Pages Plugin 1.6.2
 -------------------
 - Added clickjacking protection for the printer-friendly version [Dirk]



More information about the geeklog-cvs mailing list