mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-11 03:03:01 +02:00
* 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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user