mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-06-01 22:47:19 +00:00
preset $placeholder to ''
This commit is contained in:
parent
fb065f1a61
commit
ee5d01a1ee
|
@ -31,7 +31,7 @@ require_once("class.Bootstrap.php");
|
||||||
*/
|
*/
|
||||||
class SeedDMS_View_Settings extends SeedDMS_Bootstrap_Style {
|
class SeedDMS_View_Settings extends SeedDMS_Bootstrap_Style {
|
||||||
|
|
||||||
protected function showTextField($name, $value, $type='', $placeholder) { /* {{{ */
|
protected function showTextField($name, $value, $type='', $placeholder='') { /* {{{ */
|
||||||
if($type != 'password' && strlen($value) > 80)
|
if($type != 'password' && strlen($value) > 80)
|
||||||
echo '<textarea class="input-xxlarge" name="'.$name.'">'.$value.'</textarea>';
|
echo '<textarea class="input-xxlarge" name="'.$name.'">'.$value.'</textarea>';
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user