mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-09 13:06:14 +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',
|
'id'=>'presetexpdate',
|
||||||
'name'=>'presetexpdate',
|
'name'=>'presetexpdate',
|
||||||
'options'=>$options
|
'options'=>$options
|
||||||
|
),
|
||||||
|
array(
|
||||||
|
'help'=>getMLText('set_expiration_date_help')
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
$this->formField(
|
$this->formField(
|
||||||
getMLText("expires"),
|
getMLText("expires"),
|
||||||
$this->getDateChooser($expdate, "expdate", $this->params['session']->getLanguage())
|
$this->getDateChooser($expdate, "expdate", $this->params['session']->getLanguage(), '', '+1d')
|
||||||
);
|
);
|
||||||
$this->contentContainerEnd();
|
$this->contentContainerEnd();
|
||||||
$this->formSubmit("<i class=\"fa fa-save\"></i> ".getMLText('save'));
|
$this->formSubmit("<i class=\"fa fa-save\"></i> ".getMLText('save'));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user