mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 15:14:58 +00:00
only dates in the future can be selected, add help message for expiration date
This commit is contained in:
parent
520515303a
commit
ede79bf40d
|
@ -85,11 +85,14 @@ $(document).ready( function() {
|
|||
'id'=>'presetexpdate',
|
||||
'name'=>'presetexpdate',
|
||||
'options'=>$options
|
||||
),
|
||||
array(
|
||||
'help'=>getMLText('set_expiration_date_help')
|
||||
)
|
||||
);
|
||||
$this->formField(
|
||||
getMLText("expires"),
|
||||
$this->getDateChooser($expdate, "expdate", $this->params['session']->getLanguage())
|
||||
$this->getDateChooser($expdate, "expdate", $this->params['session']->getLanguage(), '', '+1d')
|
||||
);
|
||||
$this->contentContainerEnd();
|
||||
$this->formSubmit("<i class=\"fa fa-save\"></i> ".getMLText('save'));
|
||||
|
|
Loading…
Reference in New Issue
Block a user