0): ?> "/> 1): return "#".str_replace("#","",$color); else: return $color; endif; } // cryout_color_clean() function cryout_color_field($id,$title,$value,$hint=""){ echo ''; echo '
'; if (strlen($hint)>0) echo "
".$hint."
"; } // cryout_color_field() function cryout_proto_field($settings,$type,$name,$values,$labels='',$cls='',$echo=true){ $data = ''; $len = 4; $san = 'str'; if (preg_match("/input(\d{1,3})([a-z]{3})?/i",$type,$ms)): $type = "input"; $len = $ms[1]; if (isset($ms[2])): $san = $ms[2]; endif; endif; switch ($type): case "checkbox": $data = " ". $data .= "\n"; break; case "select": $data = "\n"; break; case "textarea": break; case "input": default: $data = "$labels\n"; break; endswitch; if ($echo): echo $data; else: return $data; endif; } //cryout_proto_field() function cryout_proto_css(){ } //cryout_proto_css() ?>