merge -r1285 in from branch-1_6 to trunk

bug 359: transform rating html A links to FORM because some bots rate 
pictures (even if rel="nofollow" is set)

git-svn-id: http://piwigo.org/svn/trunk@1286 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rvelices
2006-04-28 04:38:36 +00:00
parent b0751afea2
commit 0510cfdc5a
8 changed files with 49 additions and 37 deletions
+2 -1
View File
@@ -165,7 +165,8 @@ UPDATE '.CATEGORIES_TABLE.'
case 'rate' :
{
include_once(PHPWG_ROOT_PATH.'include/functions_rate.inc.php');
rate_picture($page['image_id'], $_GET['rate']);
rate_picture($page['image_id'],
isset($_POST['rate']) ? $_POST['rate'] : $_GET['rate'] );
redirect($url_self);
}
case 'delete_comment' :