aboutsummaryrefslogtreecommitdiffstats
path: root/picture.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2013-07-08 23:14:14 +0000
committerrvelices <rv-github@modusoptimus.com>2013-07-08 23:14:14 +0000
commitc3c807b553ab42d0486af45bae71aac411f48e7c (patch)
treef7ce2432d8030b79fbb4fd831e288c90a8e71146 /picture.php
parent571ebc12f7b6285cc7662c8901b9f2148d653287 (diff)
- on picture.php do not set the prefetch link if already set by a plugin
- picture.tpl set the derivative size checkbox id to the correct name git-svn-id: http://piwigo.org/svn/trunk@23882 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 e736373ba..d5050abcd 100644
--- a/picture.php
+++ b/picture.php
@@ -944,6 +944,7 @@ $template->assign( 'ELEMENT_CONTENT', $element_content );
if (isset($picture['next'])
and $picture['next']['src_image']->is_original()
+ and $template->get_template_vars('U_PREFETCH') == null
and strpos($_SERVER['HTTP_USER_AGENT'], 'Chrome/') === false)
{
$template->assign(