Signed-off-by: Peter Spicer <[email protected]>
@@ -893,7 +893,7 @@ function template_show_settings()
else
{
// Figure out the exact type - use "number" for "float" and "int".
- $type = in_array($config_var['type'], $txt_types) ? $config_var['type'] : ($config_var['type'] == 'int' || $config_var['type'] == 'float' ? 'number' : 'text');
+ $type = in_array($config_var['type'], $text_types) ? $config_var['type'] : ($config_var['type'] == 'int' || $config_var['type'] == 'float' ? 'number' : 'text');
echo '
<input type="', $type ,'"', $javascript, $disabled, ' name="', $config_var['name'], '" id="', $config_var['name'], '" value="', $config_var['value'], '"', ($config_var['size'] ? ' size="' . $config_var['size'] . '"' : ''), ' class="input_text">';