mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-26 19:29:58 +03:00
parent
c0447de24c
commit
4b7608ec2e
1 changed files with 1 additions and 3 deletions
|
@ -606,7 +606,7 @@ $metadata_showable = trigger_change(
|
||||||
$picture['current']
|
$picture['current']
|
||||||
);
|
);
|
||||||
|
|
||||||
if ( $metadata_showable and pwg_get_session_var('show_metadata') )
|
if ( isset($_GET['metadata']) )
|
||||||
{
|
{
|
||||||
$page['meta_robots']=array('noindex'=>1, 'nofollow'=>1);
|
$page['meta_robots']=array('noindex'=>1, 'nofollow'=>1);
|
||||||
}
|
}
|
||||||
|
@ -676,12 +676,10 @@ SELECT *
|
||||||
|
|
||||||
$format['filesize'] = sprintf('%.1fMB', $format['filesize']/1024);
|
$format['filesize'] = sprintf('%.1fMB', $format['filesize']/1024);
|
||||||
}
|
}
|
||||||
|
|
||||||
$template->append('current', array('formats' => $formats), true);
|
$template->append('current', array('formats' => $formats), true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if ($page['slideshow'])
|
if ($page['slideshow'])
|
||||||
{
|
{
|
||||||
$tpl_slideshow = array();
|
$tpl_slideshow = array();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue