aboutsummaryrefslogtreecommitdiff
path: root/views/default/input
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/input')
-rw-r--r--views/default/input/checkboxes.php2
-rw-r--r--views/default/input/radio.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/views/default/input/checkboxes.php b/views/default/input/checkboxes.php
index ff3ab8523..2b9970aaa 100644
--- a/views/default/input/checkboxes.php
+++ b/views/default/input/checkboxes.php
@@ -14,7 +14,7 @@
* @uses $vars['value'] The current value, if any
* @uses $vars['js'] Any Javascript to enter into the input tag
* @uses $vars['internalname'] The name of the input field
- * @uses $vars['options'] An array of strings representing the options for the checkbox field
+ * @uses $vars['options'] An array of strings representing the label => options for the checkbox field
*
*/
diff --git a/views/default/input/radio.php b/views/default/input/radio.php
index 4ddbdf77f..be5554e8b 100644
--- a/views/default/input/radio.php
+++ b/views/default/input/radio.php
@@ -14,14 +14,14 @@
* @uses $vars['value'] The current value, if any
* @uses $vars['js'] Any Javascript to enter into the input tag
* @uses $vars['internalname'] The name of the input field
- * @uses $vars['options'] An array of strings representing the options for the radio field
+ * @uses $vars['options'] An array of strings representing the options for the radio field as "label" => option
*
*/
$class = $vars['class'];
if (!$class) $class = "input-radio";
- foreach($vars['options'] as $option => $label) {
+ foreach($vars['options'] as $label => $option) {
if ($option != $vars['value']) {
$selected = "";
} else {