Location: PHPKode > projects > ZompLog > plugins/lightbox/plugin.php
<?php
/*
This plugin displays images in LIGHTBOX2 - written by Lokesh Dhakar
http://www.lokeshdhakar.com/projects/lightbox2/
version 1.0 of this plugin is the adjusted original, edited by frankma
*/

//main configuration
$plugin_name = "lightbox";
$plugin_author = "Gerben Schmidt";
$plugin_description = "This plugin allows you to generate instant image galleries based on the images you add to a post or page.";
$plugin_version = "1.0";



if($hook == 'theme-head'){
?>
<script type="text/javascript" src="<?php echo ROOT?>plugins/lightbox/js/prototype.js"></script>
<script type="text/javascript" src="<?php echo ROOT?>plugins/lightbox/js/scriptaculous.js?load=effects"></script>
<script type="text/javascript">
var fileLoadingImage = "<?php echo ROOT?>plugins/lightbox/images/loading.gif";		
var fileBottomNavCloseImage = "<?php echo ROOT?>plugins/lightbox/images/closelabel.gif";
</script>
<script type="text/javascript" src="<?php echo ROOT?>plugins/lightbox/js/lightbox.js"></script>
<link rel="stylesheet" href="<?php echo ROOT?>plugins/lightbox/css/lightbox.css" type="text/css" media="screen" />

<?php
}


?>
Return current item: ZompLog