From 204f3f792e72f631b4f82d09f52dec22d05fb5c7 Mon Sep 17 00:00:00 2001 From: Jason Woofenden Date: Thu, 20 Nov 2008 21:41:27 -0500 Subject: [PATCH] Straightened out checkbox in metaform so it defaults to caption on the right with int storage. All combinations (of left/right and 01/yesno) now possible --- metaform.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/metaform.php b/metaform.php index 65343ea..9f0bfa6 100644 --- a/metaform.php +++ b/metaform.php @@ -46,9 +46,10 @@ $GLOBALS['types'] = array( 'html' => array('html', 'unix', 'text'), 'pulldown' => array('pulldown', 'options', 'varchar(100)'), 'radio' => array('radio', 'oneline', 'varchar(200)'), - 'leftcheck' => array('leftcheck', 'yesno', 'varchar(3)'), - 'checkbox' => array('checkbox', 'bool', 'int(1)'), - 'yesno' => array('checkbox', 'yesno', 'varchar(3)'), + 'checkbox' => array('leftcheck', 'bool', 'int(1)'), + 'rightcheck' => array('checkbox', 'bool', 'int(1)'), + 'rightyesno' => array('checkbox', 'yesno', 'varchar(3)'), + 'yesno' => array('leftcheck', 'yesno', 'varchar(3)'), 'delete' => array('checkbox', 'yesno', 'n/a'), 'image' => array('image', 'oneline', 'varchar(200)'), 'submit' => array('submit', 'oneline', 'n/a') -- 1.7.10.4