only show preview icon in photo index when use_lightbox is set in the config
[phpfspot.git] / themes / default / templates / header.tpl
index 5d66f2d38ff97d45f2d91e85513f74539194d9d6..c233bb341a6ce0e54c13cbba88ca3de6ef8b6d36 100644 (file)
@@ -8,4 +8,10 @@
   <script type="text/javascript" src="phpfspot.js"></script>
   <link rel="shortcut icon" href="resources/gpl_16.png" type="image/png" />
   <link rel="icon" href="resources/gpl_16.png" type="image/png" />
+  { if $use_lightbox }
+  <script type="text/javascript" src="lightbox2/js/prototype.js"></script>
+  <script type="text/javascript" src="lightbox2/js/scriptaculous.js?load=effects,builder"></script>
+  <script type="text/javascript" src="lightbox2/js/lightbox.js"></script>
+  <link rel="stylesheet" href="lightbox2/css/lightbox.css" type="text/css" media="screen" />
+  { /if }
  </head>