From d2daed331747544a3957dddbeacdba4d7803511d Mon Sep 17 00:00:00 2001 From: Sebastian Grewe Date: Mon, 10 Jun 2013 20:21:42 +0200 Subject: [PATCH] Fixing montoring checkboxes This will fix #163 --- public/include/pages/account/notifications.inc.php | 1 + .../mmcFE/account/notifications/default.tpl | 12 ++++++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/public/include/pages/account/notifications.inc.php b/public/include/pages/account/notifications.inc.php index 2ab9c0d0..03294bb7 100644 --- a/public/include/pages/account/notifications.inc.php +++ b/public/include/pages/account/notifications.inc.php @@ -5,6 +5,7 @@ if (!defined('SECURITY')) die('Hacking attempt'); if (!$_SESSION['AUTHENTICATED']) header('Location: index.php?page=home'); if ($_REQUEST['do'] == 'save') { + var_dump($_REQUEST['data']); if ($notification->updateSettings($_SESSION['USERDATA']['id'], $_REQUEST['data'])) { $_SESSION['POPUP'][] = array('CONTENT' => 'Updated notification settings'); } else { diff --git a/public/templates/mmcFE/account/notifications/default.tpl b/public/templates/mmcFE/account/notifications/default.tpl index 676807d3..1d54729b 100644 --- a/public/templates/mmcFE/account/notifications/default.tpl +++ b/public/templates/mmcFE/account/notifications/default.tpl @@ -12,28 +12,32 @@ IDLE Worker - + + New Blocks - + + Auto Payout - + + Manual Payout - + +