mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
Merge branch 'seeddms-5.1.x' into seeddms-6.0.x
This commit is contained in:
commit
f0bdb0fda3
|
@ -178,9 +178,10 @@
|
|||
- allow inline editing of document name
|
||||
- import of users does not issue an error if a group column isn't set
|
||||
- removing a document version will not remove attachments of the document anymore
|
||||
- make document details page like like view document page
|
||||
- make document details page look like view document page
|
||||
- fix selection of documents/folders
|
||||
- new hooks SeedDMS_View_Document::[startRightColumn|extraVersionsViews|prePreviousVersionsTab|preLatestVersionTab]
|
||||
- add expiration of documents in 3 years
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
Changes in version 5.1.19
|
||||
|
|
|
@ -68,6 +68,10 @@ case "2y":
|
|||
$tmp = explode('-', date('Y-m-d'));
|
||||
$expires = mktime(0,0,0, $tmp[1], $tmp[2], $tmp[0]+2);
|
||||
break;
|
||||
case "3y":
|
||||
$tmp = explode('-', date('Y-m-d'));
|
||||
$expires = mktime(0,0,0, $tmp[1], $tmp[2], $tmp[0]+3);
|
||||
break;
|
||||
case "never":
|
||||
default:
|
||||
$expires = null;
|
||||
|
|
|
@ -74,6 +74,7 @@ $(document).ready( function() {
|
|||
$options[] = array('1m', getMLText('expire_in_1m'));
|
||||
$options[] = array('1y', getMLText('expire_in_1y'));
|
||||
$options[] = array('2y', getMLText('expire_in_2y'));
|
||||
$options[] = array('3y', getMLText('expire_in_3y'));
|
||||
$this->formField(
|
||||
getMLText("preset_expires"),
|
||||
array(
|
||||
|
|
Loading…
Reference in New Issue
Block a user