Commits

Doug Stewart committed b90468f

Intermediate debug save.

Comments (0)

Files changed (1)

includes/functions/options.php

 				break;
 				case 'subhead':
 				break;
+				case 'imageradio':
+				//$stripped_opts[$key] = ;
+				echo '$std: ';
+				print_r($value['std']);
+				break;
 				default:
 				$stripped_opts[$key] = $value['std'];
 				break;
 function lblg_sanitize_options( $input ){
 	global $lblg_shortname, $lblg_default_options, $lblg_options, $lblg_defaults;
 
+	//var_dump($input);
+	//var_dump($lblg_options);
+	var_dump($lblg_defaults);
 	$submit = ( ! empty( $input['save']) ? true : false );
 	$reset = ( ! empty( $input['reset']) ? true : false );
 	$tabbed = ( !empty( $input['tab']) ? true : false );
 
 					case 'select':
 					case 'radio':
-					case 'imageradio':
+					//case 'imageradio':
+					print_r($input[$key]);
+					echo $key;
 						if( isset($input[$key]) ){
 							$valid_input[$key] = ( in_array( $input[$key], $lblg_default_options[$key]['options']) ? $input[$key] : $valid_input[$key] );
 						}