Ignore:
Timestamp:
01/04/10 19:32:52 (10 years ago)
Author:
patdenice
Message:

[Plugin][Lightbox]
Update Colorbox to 1.3.5
Add grey2 theme.

Location:
extensions/lightbox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/lightbox

    • Property svn:ignore set to
      colorbox
  • extensions/lightbox/lightbox.php

    r3298 r4621  
    1010$template->func_known_script(array('id'=>'colorbox', 'src'=>get_root_url().'plugins/lightbox/jquery.colorbox.js'), $smarty); 
    1111$template->block_html_head('', ' 
    12 <link rel="stylesheet" href="'.get_root_url().'plugins/lightbox/colorbox.css" type="text/css" media="screen"> 
    13 <link rel="stylesheet" href="'.get_root_url().'plugins/lightbox/theme/'.$params['theme'].'/theme.css" type="text/css" media="screen"> 
    14 <!--[if IE]> 
    15   <link type="text/css" media="screen" rel="stylesheet" href="'.get_root_url().'plugins/lightbox/theme/'.$params['theme'].'/theme-ie.css" title="example" /> 
    16 <![endif]--> 
     12<link rel="stylesheet" href="'.get_root_url().'plugins/lightbox/theme/'.$params['theme'].'/colorbox.css" type="text/css" media="screen"> 
    1713<script type="text/javascript"> 
    1814$(document).ready(function(){ 
     
    2117}); 
    2218$(".thumbnails a").colorbox({ 
    23   contentCurrent: "", 
     19  current: "", 
    2420  transition: "'.$params['transition'].'", 
    25   transitionSpeed: "'.$params['transition_speed'].'", 
     21  speed: "'.$params['transition_speed'].'", 
    2622  initialWidth: "'.(!empty($params['initial_width']) ? $params['initial_width'] : $config_default['initial_width']).'", 
    2723  initialHeight: "'.(!empty($params['initial_height']) ? $params['initial_height'] : $config_default['initial_height']).'", 
    28   fixedWidth: '.(!empty($params['fixed_width']) ? '"'.$params['fixed_width'].'"' : 'false').', 
    29   fixedHeight: '.(!empty($params['fixed_height']) ? '"'.$params['fixed_height'].'"' : 'false').' 
     24  width: '.(!empty($params['fixed_width']) ? '"'.$params['fixed_width'].'"' : 'false').', 
     25  height: '.(!empty($params['fixed_height']) ? '"'.$params['fixed_height'].'"' : 'false').' 
    3026  }, 
    31   function(img) {  
     27  function() {  
    3228    $.post("'.get_root_url().'plugins/lightbox/save_history.php", { 
    33       imgid:   img.id, 
     29      imgid:   this.id, 
    3430      catid:   "'.@$page['category']['id'].'", 
    3531      section: "'.@$page['section'].'", 
Note: See TracChangeset for help on using the changeset viewer.