[geeklog-cvs] geeklog-1.3/plugins/spamx BlackList.Examine.class.php,1.3,1.4 EditBlackList.Admin.class.php,1.2,1.3 LogView.Admin.class.php,1.2,1.3 MTBlackList.Examine.class.php,1.3,1.4 MailAdmin.Action.class.php,1.4,1.5 MassDelete.Admin.class.php,1.1,1.2
dhaun at iowaoutdoors.org
dhaun at iowaoutdoors.org
Tue Dec 14 08:15:22 EST 2004
- Previous message (by thread): [geeklog-cvs] geeklog-1.3/public_html/docs theme.html,1.41,1.42
- Next message (by thread): [geeklog-cvs] MVCnPHP/contactmanager/commands DeleteContact.class.php,1.2.2.1,NONE SaveContact.class.php,1.2.2.1,NONE SearchContacts.class.php,1.2.2.1,NONE ValidateContact.class.php,1.2.2.1,NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/cvs/geeklog-1.3/plugins/spamx
In directory www:/tmp/cvs-serv20487
Modified Files:
BlackList.Examine.class.php EditBlackList.Admin.class.php
LogView.Admin.class.php MTBlackList.Examine.class.php
MailAdmin.Action.class.php MassDelete.Admin.class.php
Log Message:
Cosmetics; fixed a few comments
Index: EditBlackList.Admin.class.php
===================================================================
RCS file: /var/cvs/geeklog-1.3/plugins/spamx/EditBlackList.Admin.class.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** EditBlackList.Admin.class.php 3 Oct 2004 18:41:18 -0000 1.2
--- EditBlackList.Admin.class.php 14 Dec 2004 13:15:20 -0000 1.3
***************
*** 22,37 ****
function display()
{
! global $_CONF, $HTTP_GET_VARS, $HTTP_POST_VARS, $_TABLES, $LANG_SX00;
require_once $_CONF['path'] . 'plugins/spamx/rss.inc.php';
! $action = COM_applyFilter($HTTP_GET_VARS['action']);
if (empty($action)) {
! $action = COM_applyFilter($HTTP_POST_VARS['paction']);
}
! $entry = COM_applyFilter($HTTP_GET_VARS['entry']);
if (empty($entry)) {
! $entry = COM_applyFilter($HTTP_POST_VARS['pentry']);
}
--- 22,37 ----
function display()
{
! global $_CONF, $_GET, $_POST, $_TABLES, $LANG_SX00;
require_once $_CONF['path'] . 'plugins/spamx/rss.inc.php';
! $action = COM_applyFilter($_GET['action']);
if (empty($action)) {
! $action = COM_applyFilter($_POST['paction']);
}
! $entry = COM_applyFilter($_GET['entry']);
if (empty($entry)) {
! $entry = COM_applyFilter($_POST['pentry']);
}
***************
*** 75,77 ****
}
! ?>
\ No newline at end of file
--- 75,77 ----
}
! ?>
Index: BlackList.Examine.class.php
===================================================================
RCS file: /var/cvs/geeklog-1.3/plugins/spamx/BlackList.Examine.class.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** BlackList.Examine.class.php 3 Oct 2004 18:39:31 -0000 1.3
--- BlackList.Examine.class.php 14 Dec 2004 13:15:20 -0000 1.4
***************
*** 30,34 ****
function execute($comment)
{
! global $_CONF, $result, $_USER, $_TABLES, $REMOTE_ADDR, $LANG_SX00;
/**
--- 30,34 ----
function execute($comment)
{
! global $_CONF, $result, $_USER, $_TABLES, $_SERVER, $LANG_SX00;
/**
***************
*** 44,48 ****
if (preg_match("#$val#", $comment)) {
$ans = 1; // quit on first positive match
! SPAMX_log($LANG_SX00['foundspam'] . $val . $LANG_SX00['foundspam2'] . $_USER['uid'] . $LANG_SX00['foundspam3'] . $REMOTE_ADDR);
break;
}
--- 44,48 ----
if (preg_match("#$val#", $comment)) {
$ans = 1; // quit on first positive match
! SPAMX_log($LANG_SX00['foundspam'] . $val . $LANG_SX00['foundspam2'] . $_USER['uid'] . $LANG_SX00['foundspam3'] . $_SERVER['REMOTE_ADDR']);
break;
}
***************
*** 52,54 ****
}
! ?>
\ No newline at end of file
--- 52,54 ----
}
! ?>
Index: MassDelete.Admin.class.php
===================================================================
RCS file: /var/cvs/geeklog-1.3/plugins/spamx/MassDelete.Admin.class.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** MassDelete.Admin.class.php 9 Oct 2004 18:23:52 -0000 1.1
--- MassDelete.Admin.class.php 14 Dec 2004 13:15:20 -0000 1.2
***************
*** 1,9 ****
<?php
/**
! * file: Import.Admin.class.php
! * MTBlacklist refresh module
*
- * Updates Sites MT Blacklist via Master MT Blacklist rss feed
- *
* Copyright (C) 2004 by the following authors:
*
--- 1,7 ----
<?php
/**
! * file: MassDelete.Admin.class.php
! * Mass delete comment spam
*
* Copyright (C) 2004 by the following authors:
*
***************
*** 12,18 ****
* Licensed under GNU General Public License
*
- * Based on MT-Blacklist Updater by
- * Cheah Chu Yeow (http://blog.codefront.net/)
- *
*/
--- 10,13 ----
***************
*** 26,35 ****
*/
function display(){
! global $_CONF, $HTTP_POST_VARS, $_TABLES, $LANG_SX00;
$display = $LANG_SX00['masshead'];
! $act = $HTTP_POST_VARS['action'];
! $lmt = $HTTP_POST_VARS['limit'];
if (($act == $LANG_SX00['deletespam']) && ($lmt>0)) {
--- 21,30 ----
*/
function display(){
! global $_CONF, $_POST, $_TABLES, $LANG_SX00;
$display = $LANG_SX00['masshead'];
! $act = $_POST['action'];
! $lmt = $_POST['limit'];
if (($act == $LANG_SX00['deletespam']) && ($lmt>0)) {
***************
*** 99,103 ****
function delcomment ($cid, $sid, $type)
{
! global $_CONF, $_TABLES, $_USER, $REMOTE_ADDR;
$retval = '';
--- 94,98 ----
function delcomment ($cid, $sid, $type)
{
! global $_CONF, $_TABLES, $_USER;
$retval = '';
***************
*** 136,138 ****
}
! ?>
\ No newline at end of file
--- 131,133 ----
}
! ?>
Index: MailAdmin.Action.class.php
===================================================================
RCS file: /var/cvs/geeklog-1.3/plugins/spamx/MailAdmin.Action.class.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** MailAdmin.Action.class.php 19 Oct 2004 10:47:28 -0000 1.4
--- MailAdmin.Action.class.php 14 Dec 2004 13:15:20 -0000 1.5
***************
*** 1,6 ****
<?php
/**
! * File: DeleteComment.Action.class.php
! * This is the Delete Comment Action for the Geeklog SpamX Plug-in!
*
* Copyright (C) 2004 by the following authors:
--- 1,6 ----
<?php
/**
! * File: MailAdmin.Action.class.php
! * This is the Mail Admin Action for the Geeklog SpamX Plug-in!
*
* Copyright (C) 2004 by the following authors:
Index: MTBlackList.Examine.class.php
===================================================================
RCS file: /var/cvs/geeklog-1.3/plugins/spamx/MTBlackList.Examine.class.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** MTBlackList.Examine.class.php 3 Oct 2004 18:41:18 -0000 1.3
--- MTBlackList.Examine.class.php 14 Dec 2004 13:15:20 -0000 1.4
***************
*** 33,37 ****
function execute($comment)
{
! global $_CONF, $_USER, $_TABLES, $REMOTE_ADDR, $LANG_SX00;
/**
--- 33,37 ----
function execute($comment)
{
! global $_CONF, $_USER, $_TABLES, $_SERVER, $LANG_SX00;
/**
***************
*** 47,51 ****
if (@preg_match("#$val#", $comment)) {
$ans = 1; // quit on first positive match
! SPAMX_log($LANG_SX00['fsc'] . $val . $LANG_SX00['fsc1'] . $_USER['uid'] . $LANG_SX00['fsc2'] . $REMOTE_ADDR);
break;
}
--- 47,51 ----
if (@preg_match("#$val#", $comment)) {
$ans = 1; // quit on first positive match
! SPAMX_log($LANG_SX00['fsc'] . $val . $LANG_SX00['fsc1'] . $_USER['uid'] . $LANG_SX00['fsc2'] . $_SERVER['REMOTE_ADDR']);
break;
}
***************
*** 55,57 ****
}
! ?>
\ No newline at end of file
--- 55,57 ----
}
! ?>
Index: LogView.Admin.class.php
===================================================================
RCS file: /var/cvs/geeklog-1.3/plugins/spamx/LogView.Admin.class.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** LogView.Admin.class.php 3 Oct 2004 18:41:18 -0000 1.2
--- LogView.Admin.class.php 14 Dec 2004 13:15:20 -0000 1.3
***************
*** 18,24 ****
function display()
{
! global $_CONF, $HTTP_POST_VARS, $LANG_SX00;
! $action = COM_applyFilter($HTTP_POST_VARS['action']);
$path = $_CONF['site_admin_url'] . '/plugins/spamx/index.php?command=LogView';
$log = 'spamx.log';
--- 18,24 ----
function display()
{
! global $_CONF, $_POST, $LANG_SX00;
! $action = COM_applyFilter($_POST['action']);
$path = $_CONF['site_admin_url'] . '/plugins/spamx/index.php?command=LogView';
$log = 'spamx.log';
***************
*** 46,48 ****
}
! ?>
\ No newline at end of file
--- 46,48 ----
}
! ?>
- Previous message (by thread): [geeklog-cvs] geeklog-1.3/public_html/docs theme.html,1.41,1.42
- Next message (by thread): [geeklog-cvs] MVCnPHP/contactmanager/commands DeleteContact.class.php,1.2.2.1,NONE SaveContact.class.php,1.2.2.1,NONE SearchContacts.class.php,1.2.2.1,NONE ValidateContact.class.php,1.2.2.1,NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the geeklog-cvs
mailing list