From 9c410238324db5e1d4f4ac0d097222ef1fe5fcfd Mon Sep 17 00:00:00 2001 From: e107steved Date: Fri, 22 Dec 2006 20:53:59 +0000 Subject: [PATCH] Bug #3565 - Hide email shortcode sorted --- e107_files/shortcode/batch/signup_shortcodes.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/e107_files/shortcode/batch/signup_shortcodes.php b/e107_files/shortcode/batch/signup_shortcodes.php index c0a7f7f5b..0de2f7c7e 100755 --- a/e107_files/shortcode/batch/signup_shortcodes.php +++ b/e107_files/shortcode/batch/signup_shortcodes.php @@ -11,9 +11,9 @@ | GNU General Public License (http://gnu.org). | | $Source: /cvs_backup/e107_0.8/e107_files/shortcode/batch/signup_shortcodes.php,v $ -| $Revision: 1.1.1.1 $ -| $Date: 2006-12-02 04:33:41 $ -| $Author: mcfly_e107 $ +| $Revision: 1.2 $ +| $Date: 2006-12-22 20:53:59 $ +| $Author: e107steved $ +----------------------------------------------------------------------------+ */ if (!defined('e107_INIT')) { exit; } @@ -121,7 +121,8 @@ SC_END SC_BEGIN SIGNUP_HIDE_EMAIL global $rs; -return $rs->form_radio("hideemail", 0, 1)." ".LAN_SIGNUP_10."  ".$rs->form_radio("hideemail", 0)." ".LAN_200; +$default_email_setting = 1; // Gives option of turning into a pref later if wanted +return $rs->form_radio("hideemail", 1, $default_email_setting==1)." ".LAN_SIGNUP_10."  ".$rs->form_radio("hideemail", 0,$default_email_setting==0)." ".LAN_200; SC_END