comparison index.php @ 22:ccfddd7fba1b

Cleanup.
author Tom Fredrik "BFG" Klaussen <bfg@blenning.no>
date Wed, 19 Sep 2012 16:15:38 +0200
parents 5dc5cc27471d
children 814296ea84a9
comparison
equal deleted inserted replaced
21:5dc5cc27471d 22:ccfddd7fba1b
43 } 43 }
44 } 44 }
45 } 45 }
46 } 46 }
47 47
48 function getParam($param) { 48 function getParam($param)
49 {
49 $param_type=$param->getAttribute("type"); 50 $param_type=$param->getAttribute("type");
50 $param_value; 51 $param_value;
51 if (!$param_type) 52 if (!$param_type)
52 $param_type="scalar"; 53 $param_type="scalar";
53 54
72 } 73 }
73 } 74 }
74 return $param_value; 75 return $param_value;
75 } 76 }
76 77
77 function getInput($master, $param) { 78 function getInput($master, $param)
79 {
78 $out=''; 80 $out='';
79 81
80 $lang=$GLOBALS['lang']; 82 $lang=$GLOBALS['lang'];
81 $name=$param->getAttribute("id"); 83 $name=$param->getAttribute("id");
82 $conf=$_GET[$name]; 84 $conf=$_GET[$name];