mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-05-08 09:15:50 +03:00
admin rating improvements
- use web service for deletion - use datatables for rating by user - use fontello icons git-svn-id: http://piwigo.org/svn/trunk@26837 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
998cc9c1ac
commit
50927b3569
5 changed files with 128 additions and 54 deletions
|
@ -271,6 +271,10 @@ DELETE FROM '. RATE_TABLE .'
|
|||
{
|
||||
$query .= ' AND anonymous_id=\''.$params['anonymous_id'].'\'';
|
||||
}
|
||||
if (!empty($params['image_id']))
|
||||
{
|
||||
$query .= ' AND element_id='.$params['image_id'];
|
||||
}
|
||||
|
||||
$changes = pwg_db_changes(pwg_query($query));
|
||||
if ($changes)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue