aboutsummaryrefslogtreecommitdiffstats
path: root/picture.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2012-02-07 21:00:11 +0000
committerrvelices <rv-github@modusoptimus.com>2012-02-07 21:00:11 +0000
commit6da9041c7f2f4714b931fc8553537d7fd59505ae (patch)
tree6f430ce77089c8ae8ac066726544ba41cdb4c330 /picture.php
parent366e0a9870b02ceb531c23124c8e3b05e55cc034 (diff)
feature 2368 : added link rel canonical on picture page
git-svn-id: http://piwigo.org/svn/trunk@13048 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--picture.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/picture.php b/picture.php
index dac560dfe..ee96083e8 100644
--- a/picture.php
+++ b/picture.php
@@ -947,6 +947,7 @@ if (isset($picture['next'])
$template->assign('U_PREFETCH', $picture['next']['derivatives'][pwg_get_session_var('picture_deriv', IMG_LARGE)]->get_url() );
}
+$template->assign('U_CANONICAL', make_picture_url( array('image_id'=>$picture['current']['id'], 'image_file'=>$picture['current']['file']) ) );
// +-----------------------------------------------------------------------+
// | sub pages |