mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
type of conf vars of extension can be 'number'
This commit is contained in:
parent
4e8bb56821
commit
12c79d8773
|
@ -59,7 +59,7 @@ class SeedDMS_View_Settings extends SeedDMS_Theme_Style {
|
|||
$class = 'input-medium';
|
||||
else
|
||||
$class = 'input-small';
|
||||
$html .= '<input '.($type=='password' ? 'type="password"' : 'type="text"').' class="form-control '.$class.'" name="'.$name.'" value="'.$value.'" placeholder="'.$placeholder.'"/>';
|
||||
$html .= '<input '.($type=='password' ? 'type="password"' : ($type=='number' ? 'type="number"' : 'type="text"')).' class="form-control '.$class.'" name="'.$name.'" value="'.$value.'" placeholder="'.$placeholder.'"/>';
|
||||
}
|
||||
return $html;
|
||||
} /* }}} */
|
||||
|
|
Loading…
Reference in New Issue
Block a user