From bbbbad20de5f318a099fb82ae56071073b0596a6 Mon Sep 17 00:00:00 2001 From: dave Date: Mon, 10 Mar 2008 15:13:39 +0000 Subject: some new views git-svn-id: https://code.elgg.org/elgg/trunk@137 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/input/radio.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 views/default/input/radio.php (limited to 'views/default/input/radio.php') diff --git a/views/default/input/radio.php b/views/default/input/radio.php new file mode 100644 index 000000000..6c60fab54 --- /dev/null +++ b/views/default/input/radio.php @@ -0,0 +1,12 @@ + $label) { + if ($option != $vars['value']) { + $selected = ""; + } else { + $selected = "checked = \"checked\""; + } + echo "
"; + } + +?> \ No newline at end of file -- cgit v1.2.3