b374k
m1n1 1.01
Apache
Linux webd001.cluster107.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
uid=2234(oyaide) gid=100(users) groups=100(users)
server ip : 213.186.33.18 | your ip : 216.73.216.109
safemode OFF
 >  / home / oyaide / www / moycompany.com / piwigo2 / plugins / lightbox /
Filename/home/oyaide/www/moycompany.com/piwigo2/plugins/lightbox/main.inc.php
Size586
Permissionrw----r--
Owneroyaide : users
Create time03-Feb-2016 16:41
Last modified26-Sep-2014 15:29
Last accessed26-Sep-2014 15:29
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
<?php
/*
Plugin Name: Lightbox
Version: 2.7.a
Description: Display pictures in a lightbox.
Plugin URI: http://piwigo.org/ext/extension_view.php?eid=280
Author: P@t
Author URI: http://www.gauchon.com
*/

define('LIGHTBOX_PATH' , PHPWG_PLUGINS_PATH.basename(dirname(__FILE__)).'/');

add_event_handler('loc_end_index_thumbnails', 'lightbox_plugin', 40, 2);

function lightbox_plugin($tpl_thumbnails_var, $pictures)
{
include(LIGHTBOX_PATH . 'lightbox.php');
return $tpl_thumbnails_var;
}

if (script_basename() == 'admin')
include(dirname(__FILE__).'/admin/functions.inc.php');

?>