From c78e44eeab13be5a23fe9836303a4d6da2df4e2a Mon Sep 17 00:00:00 2001 From: Patrick Davison Date: Tue, 12 Mar 2013 17:32:11 -0700 Subject: Track unsubscribed status with mixpanel for future use. --- pages/cp.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pages/cp.php b/pages/cp.php index 97b715d..4f7b112 100644 --- a/pages/cp.php +++ b/pages/cp.php @@ -80,9 +80,11 @@ if (isset($_POST['updateSettings']) AND $_POST['updateSettings'] == 'true') { if ($_POST['emailOptOut'] == 'true') { setOptedOutOfEmails($userID, true); $r .= "
You are opted out of emails"; + $r .= ''; } else { setOptedOutOfEmails($userID, false); $r .= "
You are accepting emails"; + $r .= ''; } DoRedirect($r); exit; @@ -107,9 +109,9 @@ $displayName = $_SESSION['displayName']; Settings: Display Name: -

- > - Opt out of emails? We'll only send you important feature updates! I Promise! +

We'll only send you important feature updates! +
> + Opt out of emails?

-- cgit v1.2.3