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:
rvelices 2014-01-17 22:19:44 +00:00
parent 998cc9c1ac
commit 50927b3569
5 changed files with 128 additions and 54 deletions

View file

@ -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)