diff --git a/views/bootstrap/class.Settings.php b/views/bootstrap/class.Settings.php index 0a5232c82..663fb2d02 100644 --- a/views/bootstrap/class.Settings.php +++ b/views/bootstrap/class.Settings.php @@ -59,7 +59,7 @@ class SeedDMS_View_Settings extends SeedDMS_Theme_Style { $class = 'input-medium'; else $class = 'input-small'; - $html .= ''; + $html .= ''; } return $html; } /* }}} */ @@ -685,6 +685,12 @@ if(($kkk = $this->callHook('getFullSearchEngine')) && is_array($kkk)) case 'hook': echo $this->callHook('showConfig', $confkey, $extname, $extconf); break; + case "date": + $this->formField( + null, + $this->getDateChooser((isset($settings->_extensions[$extname][$confkey]) ? getReadableDate($settings->_extensions[$extname][$confkey]) : ''), "extensions[".$extname."][".$confkey."]", $this->params['session']->getLanguage()) + ); + break; default: $this->showTextField("extensions[".$extname."][".$confkey."]", isset($settings->_extensions[$extname][$confkey]) ? $settings->_extensions[$extname][$confkey] : '', isset($conf['type']) ? $conf['type'] : '', isset($conf['placeholder']) ? $conf['placeholder'] : ''); }