Ignore:
Timestamp:
Dec 10, 2010, 12:02:59 PM (13 years ago)
Author:
cljosse
Message:

[Autosize][beta] fix bug whith pamooramic


File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Autosize/autosize.inc.php

    r8057 r8070  
    4040                load_language('lang', AUTOSIZE_PATH);
    4141                $my_path = dirname(__FILE__).'/';
     42
     43
     44
     45                 if (isset( $page['body_id']) && $page['body_id']=='thePicturePage'  ) {
     46                        if ( isset($picture['current'])){       
     47                                       
     48                       
    4249       
    43                  if (isset( $page['body_id']) && $page['body_id']=='thePicturePage'  ) {
    44                         if ( isset($picture['current'])){                               
     50                               
    4551                                $autosize_parametres = cl_autosize_Get_Options();
    4652                                include (AUTOSIZE_PATH."include/affiche.php"); 
     
    6672                                                                                                       
    6773                                return $template->parse( 'autosize_content', false);
    68      
    69                   }
     74                                  }
    7075                }
     76
    7177        } //public function cl_autosize_affiche
    7278        /*
     
    137143                /* cl_autosize_script_3 */
    138144                var DEBUG=\"".$DEBUG."\" ;
    139                 if (fade_in !=0) jQuery('#theImage').css({opacity:'0.0'});
     145                if (fade_in !=0) jQuery('#theImage').css({opacity:'0.0'});
     146                if (fade_in !=0) jQuery('#theImage').css({opacity:'1.0'});
     147         
    140148</script>";
    141149
    142                 $template->append('footer_elements',"\n".$autocss);
    143 
     150        //      $template->append('footer_elements',"\n".$autocss);
     151 
    144152                if ( !empty($content) )   {  return $content;  }       
    145153                if ($ThePicture['is_picture'] <> 1 )    {
Note: See TracChangeset for help on using the changeset viewer.