From d3efed2f847ced2ecfaa536856f6a0acc4cddbfc Mon Sep 17 00:00:00 2001 From: ben Date: Mon, 4 Aug 2008 17:08:31 +0000 Subject: User settings git-svn-id: https://code.elgg.org/elgg/trunk@1689 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/notifications/settings/usersettings.php | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'views/default/notifications/settings') diff --git a/views/default/notifications/settings/usersettings.php b/views/default/notifications/settings/usersettings.php index edbaf5584..2792ccd4a 100644 --- a/views/default/notifications/settings/usersettings.php +++ b/views/default/notifications/settings/usersettings.php @@ -26,9 +26,17 @@ : - - $k) echo "checked=\"yes\" "; ?>/>
- $k) echo "checked=\"yes\" "; ?>/> + +k) { + $val = "yes"; + } else { + $val = "no"; + } + echo elgg_view('input/radio',array('internalname' => "method[{$k}]", 'options' => array('yes','no'), 'value' => $val)); + +?>