[geeklog-cvs] geeklog-1.3/public_html/admin/plugins/spamx install.php,1.7,1.8
dhaun at iowaoutdoors.org
dhaun at iowaoutdoors.org
Tue Mar 29 11:48:53 EST 2005
- Previous message (by thread): [geeklog-cvs] geeklog-1.3/plugins/spamx/language english.php,1.9,1.10 french_canada.php,1.2,1.3 french_france.php,1.2,1.3 italian.php,1.1,1.2
- Next message (by thread): [geeklog-cvs] geeklog-1.3/language english.php,1.144,1.145
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/cvs/geeklog-1.3/public_html/admin/plugins/spamx
In directory www:/tmp/cvs-serv1117/public_html/admin/plugins/spamx
Modified Files:
install.php
Log Message:
Varios minor changes: Check blacklists case-insensitive, added simple statistics, upgrade function.
Index: install.php
===================================================================
RCS file: /var/cvs/geeklog-1.3/public_html/admin/plugins/spamx/install.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** install.php 2 Oct 2004 13:35:23 -0000 1.7
--- install.php 29 Mar 2005 16:48:51 -0000 1.8
***************
*** 61,67 ****
//
! $pi_name = 'spamx'; // Plugin name Must be 15 chars or less
! $pi_version = '1.0.1'; // Plugin Version
! $gl_version = '1.3.10'; // GL Version plugin for
$pi_url = 'http://www.pigstye.net/gplugs/staticpages/index.php/spamx'; // Plugin Homepage
--- 61,67 ----
//
! $pi_name = 'spamx'; // Plugin name Must be 15 chars or less
! $pi_version = $_SPX_CONF['version']; // Plugin Version
! $gl_version = '1.3.10'; // min. GL Version the plugin is for
$pi_url = 'http://www.pigstye.net/gplugs/staticpages/index.php/spamx'; // Plugin Homepage
***************
*** 90,94 ****
$DEFVALUES[]="INSERT INTO {$_TABLES['spamx']} VALUES ('Examine','BlackList')";
$DEFVALUES[]="INSERT INTO {$_TABLES['spamx']} VALUES ('Examine','MTBlackList')";
! $DEFVALUES[]="INSERT INTO {$_TABLES['spamx']} VALUES ('Personal','zaraz.com')";
//
--- 90,95 ----
$DEFVALUES[]="INSERT INTO {$_TABLES['spamx']} VALUES ('Examine','BlackList')";
$DEFVALUES[]="INSERT INTO {$_TABLES['spamx']} VALUES ('Examine','MTBlackList')";
!
! $DEFVALUES[] = "INSERT INTO {$_TABLES['vars']} VALUES ('spamx.counter', '0')";
//
***************
*** 102,111 ****
$NEWFEATURE = array();
! $NEWFEATURE['spamx.admin']="spamx Admin";
// Only let Root users access this page
if (!SEC_inGroup('Root')) {
// Someone is trying to illegally access this page
! COM_errorLog("Someone has tried to illegally access the spamx install/uninstall page. User id: {$_USER['uid']}, Username: {$_USER['username']}, IP: {$HTTP_SERVER_VARS['REMOTE_ADDR']}",1);
$display = COM_siteHeader();
$display .= COM_startBlock($LANG_SX00['access_denied']);
--- 103,112 ----
$NEWFEATURE = array();
! $NEWFEATURE['spamx.admin']='spamx Admin';
// Only let Root users access this page
if (!SEC_inGroup('Root')) {
// Someone is trying to illegally access this page
! COM_errorLog("Someone has tried to illegally access the spamx install/uninstall page. User id: {$_USER['uid']}, Username: {$_USER['username']}, IP: {$_SERVER['REMOTE_ADDR']}",1);
$display = COM_siteHeader();
$display .= COM_startBlock($LANG_SX00['access_denied']);
***************
*** 245,249 ****
$T->set_var('plugin_name', $LANG_SX00['plugin_name']);
! if ($HTTP_POST_VARS['action'] == 'install') {
if (plugin_install_spamx()) {
$T->set_var('installmsg1',$LANG_SX00['install_success']);
--- 246,250 ----
$T->set_var('plugin_name', $LANG_SX00['plugin_name']);
! if ($_POST['action'] == 'install') {
if (plugin_install_spamx()) {
$T->set_var('installmsg1',$LANG_SX00['install_success']);
***************
*** 251,255 ****
$T->set_var('installmsg1',$LANG_SX00['install_failed']);
}
! } else if ($HTTP_POST_VARS['action'] == "uninstall") {
plugin_uninstall_spamx('installed');
$T->set_var('installmsg1',$LANG_SX00['uninstall_msg']);
--- 252,256 ----
$T->set_var('installmsg1',$LANG_SX00['install_failed']);
}
! } else if ($_POST['action'] == "uninstall") {
plugin_uninstall_spamx('installed');
$T->set_var('installmsg1',$LANG_SX00['uninstall_msg']);
- Previous message (by thread): [geeklog-cvs] geeklog-1.3/plugins/spamx/language english.php,1.9,1.10 french_canada.php,1.2,1.3 french_france.php,1.2,1.3 italian.php,1.1,1.2
- Next message (by thread): [geeklog-cvs] geeklog-1.3/language english.php,1.144,1.145
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the geeklog-cvs
mailing list