summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorChristian Fowler <spider@viovio.com>2005-12-29 17:23:05 +0000
committerChristian Fowler <spider@viovio.com>2005-12-29 17:23:05 +0000
commit4918af1a903bac5765cbf8709cfe2ce7f41ff082 (patch)
treebf3e229faa3fb3e6209aac40e15f2804c9a527af /index.php
parent4ef765eb33d8121228668bb4124a52c40ab5b980 (diff)
downloadnewsletters-4918af1a903bac5765cbf8709cfe2ce7f41ff082.tar.gz
newsletters-4918af1a903bac5765cbf8709cfe2ce7f41ff082.tar.bz2
newsletters-4918af1a903bac5765cbf8709cfe2ce7f41ff082.zip
add newsletter email read tracking
Diffstat (limited to 'index.php')
-rw-r--r--index.php15
1 files changed, 3 insertions, 12 deletions
diff --git a/index.php b/index.php
index eb52e8f..de5b43f 100644
--- a/index.php
+++ b/index.php
@@ -1,31 +1,22 @@
<?php
+// $Header: /cvsroot/bitweaver/_bit_newsletters/index.php,v 1.15 2005/12/29 17:22:47 spiderr Exp $
-// $Header: /cvsroot/bitweaver/_bit_newsletters/index.php,v 1.14 2005/12/29 15:31:32 spiderr Exp $
-
-// Copyright (c) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
+// Copyright (c) 2006 - bitweaver.org - Christian Fowler, Max Kremmel, et. al
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// Initialization
require_once( '../bit_setup_inc.php' );
-
include_once( NEWSLETTERS_PKG_PATH.'BitMailer.php' );
$gBitSystem->verifyPackage( 'newsletters' );
-$gBitSmarty->assign('confirm', 'n');
-if( isset( $_REQUEST["confirm_subscription"] ) ) {
- if( $conf = $gContent->confirmSubscription( $_REQUEST["confirm_subscription"] ) ) {
- $gBitSmarty->assign( 'confirm', 'y' );
- $gBitSmarty->assign( 'nl_info', $conf );
- }
-}
-
if( !$gBitUser->isRegistered() && !$gBitUser->hasPermission( 'bit_p_subscribe_newsletters' ) && empty( $_REQUEST["sub"] ) ) {
$gBitSystem->fatalError( tra("You must be logged in to subscribe to newsletters"));
}
require_once( NEWSLETTERS_PKG_PATH.'lookup_newsletter_inc.php' );
+
$feedback = array();
/* List newsletters */