feature 2679 : allow to change creation time

git-svn-id: http://piwigo.org/svn/trunk@28500 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
mistic100
2014-05-18 10:58:53 +00:00
parent 914b6d96d2
commit 97ffdb2edc
51 changed files with 3107 additions and 71 deletions

View File

@@ -292,7 +292,7 @@ DELETE
}
else
{
$date_creation = $_POST['date_creation'].' 00:00:00';
$date_creation = $_POST['date_creation'];
}
$datas = array();
@@ -565,7 +565,7 @@ if (count($page['cat_elements_id']) > 0)
// creation date
$template->assign('DATE_CREATION',
empty($_POST['date_creation']) ? date('y-n-j') : $_POST['date_creation']
empty($_POST['date_creation']) ? date('Y-m-d').' 00:00:00' : $_POST['date_creation']
);
// image level options