From 4e5d14ee2638dd6c9b22baf67d880787fa6085e4 Mon Sep 17 00:00:00 2001 From: ewinslow Date: Fri, 25 Feb 2011 18:54:05 +0000 Subject: Updated input/checkboxes code in installation viewtype git-svn-id: http://code.elgg.org/elgg/trunk@8467 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/installation/input/checkbox.php | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 views/installation/input/checkbox.php (limited to 'views/installation/input/checkbox.php') diff --git a/views/installation/input/checkbox.php b/views/installation/input/checkbox.php new file mode 100644 index 000000000..898fe8458 --- /dev/null +++ b/views/installation/input/checkbox.php @@ -0,0 +1,33 @@ + 'elgg-input-checkbox', + 'default' => 0, +); + +$vars = array_merge($defaults, $vars); + +$default = $vars['default']; +unset($vars['default']); + +if (isset($vars['name']) && $default !== false) { + echo ""; +} + +?> + + /> \ No newline at end of file -- cgit v1.2.3