* new: history details by month,day

git-svn-id: http://piwigo.org/svn/trunk@894 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
volcom
2005-10-17 07:21:30 +00:00
parent c31f150276
commit 889b1240cd
7 changed files with 202 additions and 2 deletions
+3
View File
@@ -354,6 +354,8 @@ function pwg_log( $file, $category, $picture = '' )
if ($conf['log'])
{
if ( ($conf['history_admin'] ) or ( (! $conf['history_admin']) and ($user['status'] != 'admin') ) )
{
$login = ($user['id'] == $conf['guest_id'])
? 'guest' : addslashes($user['username']);
@@ -370,6 +372,7 @@ INSERT INTO '.HISTORY_TABLE.'
;';
pwg_query($query);
}
}
}
// format_date returns a formatted date for display. The date given in