Changeset 7872


Ignore:
Timestamp:
Nov 25, 2010, 12:48:36 PM (13 years ago)
Author:
cljosse
Message:

[Autosize][beta] fix compatiblity with theme stripped.

Location:
extensions/Autosize
Files:
5 edited

Legend:

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

    r7820 r7872  
    223223 }// function cl_autosize_script_2
    224224 //============================================================
    225         static public function cl_autosize_script()
     225 /*
     226  *
     227 */
     228 static public function cl_autosize_script()
    226229        {
    227            global  $template,$user,$conf,$picture ,$page;
    228            //userDefManage ??
     230           global  $template,$user,$conf,$picture ,$page,$cl_version;
    229231                $my_path =  basename(dirname(__FILE__)).'/' ;
    230232            $my_path = dirname(__FILE__).'/';
    231                         $debug = isset($conf['debug']) ? $conf['debug'] : false ;
    232                         $cl_conflit =  isset($conf['cl_conflit']) ? $conf['cl_conflit'] : 'true' ;
    233                         $template->set_filenames(
    234                      array('autosize_init'=>$my_path. "template/conflit.tpl" 
    235                          )
    236                       );               
    237                          
    238                        
    239                           $theme=$user['theme'];
     233                $template->set_filenames(array('autosize_init'=>$my_path. "template/conflit.tpl" ) );   
     234                $debug = isset($conf['debug']) ? $conf['debug'] : false ;
     235                $cl_conflit =  isset($conf['cl_conflit']) ? $conf['cl_conflit'] : 'true' ;                     
     236                $theme=$user['theme'];
    240237                         
    241238                $template->assign(
    242                                                 array(
     239                                                array( 'version' => $cl_version['version'] ,
    243240                                                'cl_conflit' => $cl_conflit  ,
    244241                                                'theme' => $theme  ,
     
    247244                                                 );
    248245
    249 if(     $page['body_id'] == 'theAdminPage' ) return ;
    250 
    251                    return $template->parse( 'autosize_init', false);
    252 
    253        
     246                if(     $page['body_id'] == 'theAdminPage' ) return ;
     247                return $template->parse( 'autosize_init', false);
    254248        }// function cl_autosize_script
    255         /*
    256         *
    257     */
    258         static public function cl_ajuste_data($content){
     249//===============================================================
     250/*
     251 *
     252*/
     253static public function cl_ajuste_data($content){
    259254           global  $template,$user,$conf,$picture ;
    260255                        $my_path = realpath(AUTOSIZE_PATH .'/');
     
    291286
    292287 
    293    return $content;
     288                return $content;
    294289   /*
    295  $template->assign(
     290                $template->assign(
    296291                                                array(
    297292                                                'AUTOSIZE_PATH' => $my_path,
    298 
    299293                                                                                        )
    300294                                                 );
    301295 
    302296                $template->parse( 'autosize_cl_init', false);
    303         return $content;
     297                return $content;
    304298        */
    305299
  • extensions/Autosize/js/Affiche_script.js

    r7867 r7872  
    2525function Wait_pamoorama() {
    2626     if (jQuery("#pamoorama").length) {
    27                          mypanorama = window.myPamoorama;
    28                         if (!mypanorama){
    29                                 setTimeout("Wait_pamoorama()", 500);
    30                                 return false ;
     27        mypanorama = window.myPamoorama;
     28        if (!mypanorama){
     29                         setTimeout("Wait_pamoorama()", 500);
     30                         return false ;
    3131                        }
    32                  if ( mypanorama.skipInit==false) {
     32        if ( mypanorama.skipInit==false) {
    3333                    setTimeout("Wait_pamoorama()", 500);
    3434                    return false ;
    3535               }
    36 
    37                      info_pamoorama = jQuery("#pamoorama").infos();
    38                     new_width= info_pamoorama.width ;
    39                
    40                  if (  Math.abs(new_width - myPamoorama.options.width)>10  ) {
     36        info_pamoorama = jQuery("#pamoorama").infos();
     37         new_width= info_pamoorama.width ;
     38         if (  Math.abs(new_width - myPamoorama.options.width)>10  ) {
    4139                 setTimeout("Wait_pamoorama()", 500);
    4240                 return false ;
     
    4644             jQuery('#pamoorama').trigger('ON');
    4745           
    48                 }
    49             }
    50             nu_img = 0;
     46      }
     47  }
     48nu_img = 0;
    5149
    5250//==========================================================================
    53             function Wait_Affichage() {
    54                 jQuery("#theImage").css({
    55                     opacity: 0
    56 
    57                 }
    58                  )
    59        if(!jQuery().newResize()) {
     51function Wait_Affichage() {
     52    if(!jQuery().newResize()) {
    6053                 setTimeout("Wait_Affichage()", 500);
    61                  return
    62     }
    63 
    64       fade_in = parseInt(fade_in);
     54                 return
     55             }
     56
     57             fade_in = parseInt(fade_in);
     58
     59             jQuery(Parent).animate(
     60                         { opacity: 1 }, fade_in, "swing"
     61                       , function (i) {
     62                 if (DEBUG == "true") {
     63                     bp1 = jQuery('.debug').get(nu_img);
     64                     if (!bp1) nu_img = 0;
     65                     bp1 = jQuery('.debug').get(nu_img);
     66                     jQuery(bp1).trigger('ON');
     67                 }
     68             }
     69              );
     70
     71             return;
    6572            if (fade_in==0 )
    6673                 {
    67                  jQuery("#theImage").css({
     74                 jQuery(Parent).css({
    6875                         opacity: 1
    6976                         
     
    7178                 )
    7279                                 }else{
    73                  jQuery("#theImage").animate(
     80                 jQuery(Parent).animate(
    7481                         { opacity: 1 }, fade_in   , "swing"
    7582                        );
    7683             }
    77              nu_img += 1;
    78 
    79              bp1 = jQuery('.debug').get(nu_img);
    80              if (!bp1) nu_img = 0;
    81              bp1 = jQuery('.debug').get(nu_img);
    82 
    83              jQuery(bp1).trigger('ON');
     84
     85
     86
    8487}
    8588 
     
    142145
    143146             Info_the_page = jQuery("#the_page").infos();
    144              Zone_Affichage = jQuery("#theImage").infos();
    145 
    146 
     147
     148             Parent = "#theImage";
     149             Zone_Affichage = jQuery(Parent).infos();
     150             if (Zone_Affichage.width == 0)
     151                 Parent = Parent + "Box";
     152             Zone_Affichage = jQuery(Parent).infos();
    147153             //   
    148154             var old_window = { width: 0, height: 0 };
    149              if (Info_description("theImage")) {
    150                  Bandeau_bas = Info_description("theImage");
     155
     156             if (Info_description(Parent)) {
     157                 Bandeau_bas = Info_description(Parent);
    151158                 Bandeau = Bandeau_bas.top;
     159             } else {
     160
    152161             }
    153162             Wait_Affichage();
     
    162171             jQuery(window).resize(
    163172               function (event, ui) {
    164 
    165 
    166                    event = event || window.event;
    167 
    168                    if (event.type == "resize") {
    169                        myevent = arguments[0] = jQuery.event.fix(event || window.event);
    170                        myevent.currentTarget = this;
    171                        // Namespaced event handlers
    172                        var namespaces = myevent.type.split(".");
    173                        myevent.type = namespaces.shift();
    174                    }
    175                    if (typeof (init_resize) == "undefined") init_resize = false;
    176 
    177                    new_window = jQuery(window).infos();
    178                    init_resize = (new_window.width == old_window.width);
    179                    if (init_resize == false) {
    180                        init_resize = Resize();
    181                    }
    182                    init_resize = (new_window.height == old_window.height)
    183                    if (init_resize == false)
    184                        init_resize = Resize(); ;
    185 
    186 
    187 
     173                   jQuery().newResize();
    188174               });
    189175
     
    192178             var pos;
    193179             var set_p = false;
    194              function Resize() {
    195 
    196                  jQuery().newResize();
    197 
    198 
    199              }
    200 
    201180
    202181
     
    239218             newResize: function () {
    240219                 // 
     220                 if (DEBUG == "true") {
     221                     nu_img += 1;
     222
     223                     bp1 = jQuery('.debug').get(nu_img);
     224                     if (!bp1) nu_img = 0;
     225                     bp1 = jQuery('.debug').get(nu_img);
     226
     227                     jQuery(bp1).trigger('ON');
     228                 }
    241229                 var chk = eval(user_status + "_enabled");
    242230                 if (!cl_visible == true) { return true; }
     
    252240
    253241
    254 
    255                  var Cadre = jQuery("#theImage").get(0);
     242                 Parent = "#theImage";
     243                 var Cadre = jQuery(Parent).get(0);
     244                 if (Cadre == null) {
     245                     Parent = "#theImageBox";
     246                     Cadre = jQuery(Parent).get(0);
     247                 }
     248
    256249                 var info_Cadre = jQuery(Cadre).infos();
    257250                 //===============  Information cadre ======
     
    267260
    268261
    269                  var Zone_Affichage = jQuery("#theImage").infos();
    270 
    271                  var info_ToolBar = jQuery("#imageToolBar").infos();
     262
     263
     264
    272265                 var info_imageInfoBar = jQuery("#imageInfoBar").infos();
    273266                 var info_theHeader = jQuery("#theHeader").infos();
    274267
    275 
     268                 var Zone_Affichage = jQuery(Parent).infos();
     269                 var info_ToolBar = jQuery("#imageToolBar").infos();
    276270                 var marge = 0;
    277271                 if (info_ToolBar.width > 0)
     
    283277                 if (info_content.width > 100) {
    284278                     marge_left = 0;
    285                      marge_right = info_imageInfoBar.margin.left + info_imageInfoBar.margin.right;
     279                     marge_right = (info_imageInfoBar.margin.left + info_imageInfoBar.margin.right);
    286280                     winwidth = info_content.width;
    287281                     marge_right = info_imageInfoBar.width + marge_right;
     
    290284                 else
    291285                     winwidth = Zone_Affichage.width;
     286
     287
     288                 marge_right -= Zone_Affichage.borderwidth.right;
     289                 marge_left += Zone_Affichage.borderwidth.left;
    292290                 winwidth -= (marge_right + marge_left);
    293291                 if (Type_Img == "pamoorama") {
     
    349347                     case "img":
    350348
    351                          if (!TheImg) return;
     349                         if (!TheImg) return true;
    352350                         if (theme.match(RegExp("luciano", "g"))) {
    353351                             TheImg = jQuery("#the_page #theImg");
     
    359357                         break
    360358                     case "img_autre":
    361                          if (!TheImg) return;
     359                         if (!TheImg) {
     360                             if (DEBUG == "true") alert("TheImg=null");
     361                             return true;
     362
     363                         }
    362364                         info_theImage = jQuery(TheImg).infos();
    363365                         info_the_page = jQuery("#the_page").infos();
     
    458460                 info_Licence = jQuery(".licencetag").infos();
    459461
    460                  jQuery("#theImage #theImg IMG").css("marginTop", "0px")
     462                 jQuery(Parent + " #theImg IMG").css("marginTop", "0px")
    461463                 //========== Correction en fonction du thème =============================
    462464                 var correction = 0;
     
    464466
    465467                     //   correction = -info_Licence.padding.top;
    466                      if (Type_Img == 'img')
    467                   {
    468                      if (msie == true) correction = 20;
    469                      else correction = 30;
    470                      }
     468                     if (Type_Img == 'img') {
     469                         if (msie == true) correction = 20;
     470                         else correction = 30;
     471                     }
    471472
    472473                 } else if (theme.match(RegExp("Pure", "g"))) {
     
    489490
    490491                 Bandeau = Bandeau_t.bottom;
    491 
    492492                 Zone_Affichage.height = winheight - Bandeau - Marge_Basse - correction;
    493                  var Image_height = Zone_Affichage.height - Bandeau_bas.height - Bandeau_bas.marge.top - Bandeau_bas.marge.bottom;
     493                 if (typeof (Bandeau_bas) != "undefined") {
     494                     var Image_height = Zone_Affichage.height - Bandeau_bas.height - Bandeau_bas.marge.top - Bandeau_bas.marge.bottom;
     495
     496
     497                 } else {
     498                     var Image_height = Zone_Affichage.height;
     499                 }
     500
     501
    494502
    495503                 //=============================================================
     
    534542                         widthmin = parseInt(width_user);
    535543                     var marges = marges_llgbo;
    536                      widthmin -= info_img.borderwidth.left;
    537                      widthmin -= info_img.borderwidth.right;
    538 
     544                     if (typeof(info_img)!="undefined")
     545                     {
     546                     widthmin -= info_img.borderwidth.left||0;
     547                     widthmin -= info_img.borderwidth.right || 0;
     548                     }
    539549                     widthmin -= marges;
    540550                     if (Image_width > widthmin) {
     
    620630
    621631                         }
    622                          //  jQuery("#" + Parent + " p:not(:contains(' ')) ").remove();
     632                         //  jQuery(Parent + " p:not(:contains(' ')) ").remove();
    623633                         a0 = jQuery("area[rel!=up][rel!=prev][rel!=next]");
    624634                         a1 = jQuery("area[rel=prev]");
     
    789799
    790800                     info_frame = jQuery(myPamoorama.frame).infos();
    791                      /*   myPamoorama.ratio = new_width / 200;
    792                      jQuery("#pamoorama_frame").width(myPamoorama.ratio);
    793                      jQuery("#pamoorama_frame").css("width", myPamoorama.ratio + "px");
    794                      jQuery("#pamoorama_footer img").width(200)
    795                      jQuery("#pamoorama_footer img").css({ width: "200px", height: info_pamoorama_footer.height+"px" });
    796                      jQuery("#pamoorama_footer").width(new_width) ;
    797                      jQuery("#pamoorama_footer").css({width:new_width+"px"})
    798 
    799                      jQuery(TheImg).height(img_finale.height);
    800                      jQuery(TheImg).width(img_finale.width);
    801                      jQuery(TheImg).css("height", img_finale.height + "px ");
    802                      jQuery(TheImg).css("width", img_finale.width + "px ");
    803                      */
     801
    804802                     zoom = Image_height / img_height;
    805 
    806803
    807804
     
    823820                 }
    824821
    825 
    826                  jQuery("#navThumbPrev").css({ overflow: "hidden"
    827                  });
    828                  jQuery("#navThumbNext").css({
    829                      overflow: "hidden"
    830                  });
     822                 info_frame = Zone_Affichage;
     823
     824                 jQuery("#navThumbPrev").css({ overflow: "hidden" });
     825                 jQuery("#navThumbNext").css({ overflow: "hidden" });
    831826                 try {
    832827                     if (theme.match(RegExp("gally", "gi"))) {
     
    878873                     jQuery(".navThumb img").css({ height: "80px", width: "", overflow: "hidden" });
    879874                 }
    880 
     875                 if (DEBUG == "true") {
     876                     //  jQuery(Parent).height(info_frame.height +info_description.height   +"px");
     877                     //  info_Cadre = jQuery(Parent).infos();
     878
     879                     //  jQuery("#Debug3").css({ top: info_Cadre.top + "px", height: info_Cadre.height + "px" }); //blue
     880                     jQuery("#Debug5").css({ left: info_frame.left + "px", width: info_frame.width + "px", height: info_frame.height + "px" }); //red
     881                     jQuery("#Debug4").css({ top: info_frame.bottom - info_description.height + "px" }); //green
     882                 }
    881883
    882884                 return true;
     
    936938                     }
    937939
    938                      info_theImage = jQuery("#theImage").infos();
     940                     info_theImage = jQuery(Parent).infos();
    939941
    940942
    941943                     if (info_theImage.position == "relative") {
    942944                         //--- passage relative ==> static ===/
    943                          jQuery("#theImage").css("position", "static");
    944                          info_theImage = jQuery("#theImage").infos();
     945                         jQuery(Parent).css("position", "static");
     946                         info_theImage = jQuery(Parent).infos();
    945947
    946948                     }
    947949                     if (info_theImage.position == "absolute") {
    948950                         //--- passage absolute ==> static ===/
    949                          jQuery("#theImage").css("position", "static");
    950                          info_theImage = jQuery("#theImage").infos();
     951                         jQuery(Parent).css("position", "static");
     952                         info_theImage = jQuery(Parent).infos();
    951953
    952954                     }
     
    974976function Info_description(Parent) {
    975977
    976                      //  jQuery("#" + Parent + " p:not(:contains(' ')) ").remove();
     978                     //  jQuery(Parent + " p:not(:contains(' ')) ").remove();
    977979                     //=============================================================================
    978980                     info_description = { top: 0, bottom: 0, height: 0 };
     
    984986                     } else if (jQuery("#pamoorama").length) {
    985987                         Type_Img = "pamoorama";
    986                      } else if (jQuery("#theImage embed").length > 0) {
     988                     } else if (jQuery(Parent +" embed").length > 0) {
    987989                         Type_Img = "embed";
    988990                     } else if (jQuery("#map").length) {
     
    991993                     } else if (jQuery("#Panorama").length) {
    992994                         Type_Img = "panorama";
    993                      } else if (jQuery("#theImage").find("img").length > 0) {
     995                     } else if (jQuery(Parent).find("img").length > 0) {
    994996                         Type_Img = "img";
     997                       } else if (jQuery(Parent+"Box").find("img").length > 0) {
     998                         Type_Img = "img";
     999                         Parent = Parent + "Box";
    9951000                     } else if (jQuery("img").length > 0) {
    9961001                         Type_Img = "img_autre";
     
    10011006
    10021007
    1003                      Bandeau_t = Info_entete("theImage")
     1008                     Bandeau_t = Info_entete(Parent)
    10041009                     Bandeau = Bandeau_t.img_top;
    10051010                     llgboframe = jQuery("#gbo div:first");
     
    10171022
    10181023                     if (theme.match(RegExp("simple", "gi"))) {
    1019                          jQuery("#" + Parent).css({ padding: "0px",
     1024                         jQuery(Parent).css({ padding: "0px",
    10201025                             marginLeft: "0px",
    10211026                             marginRight: "auto",
     
    10301035                     }
    10311036
    1032                      //   jQuery("#" + Parent + " p").css({ padding: "0px", margin: "0px "    });
     1037                     //   jQuery(Parent + " p").css({ padding: "0px", margin: "0px "    });
    10331038                     if (theme.match(RegExp("luciano", "g"))) {
    1034                          TheImg = jQuery("#" + Parent + " #theImg img");
     1039                         TheImg = jQuery(Parent + " #theImg img");
    10351040                         info_img = jQuery(TheImg).infos();
    10361041
     
    10621067
    10631068
    1064                      } else if (jQuery("#theImage embed").length > 0) {
     1069                     } else if (jQuery(Parent +" embed").length > 0) {
    10651070 
    1066                          TheImg = jQuery("#theImage embed");
     1071                         TheImg = jQuery(Parent +" embed");
    10671072                         info_img = jQuery(TheImg).infos();
    10681073                     
     
    10831088
    10841089                     } else {
    1085                          TheImg = jQuery("#" + Parent + " img");
     1090                         TheImg = jQuery(Parent + " img");
    10861091                         TheImg = Get_Img_Maxi(TheImg);
    10871092                         info_img = jQuery(TheImg).infos();
     
    11281133
    11291134
    1130                      jQuery("#" + Parent + " p").each(function (i) {
     1135                     jQuery(Parent + " p").each(function (i) {
    11311136                         para = jQuery(this).infos();
    11321137                         if (para.height > 0) {
     
    11401145                     });
    11411146                     //===================== Recherche lmt Bas =====(bleu debug3)====================
    1142                      info_licencetag = jQuery("#" + Parent + ".licencetag").infos();
     1147                     info_licencetag = jQuery(Parent + ".licencetag").infos();
    11431148                     jQuery(".licencetag").css("position", "static");
    11441149
     
    11611166
    11621167                     //========================================================
    1163                      info_table = jQuery("#" + Parent + " Table").infos();
     1168                     info_table = jQuery(Parent + " Table").infos();
    11641169                     if (info_table.height > 0) {
    11651170                         info_table.bottom += info_table.margin.top + info_table.margin.bottom;
     
    12291234                     css: {
    12301235                     color:"black",
    1231                         opacity: 0.5,
    1232                         filter: 'alpha(opacity:50)',
     1236                        opacity: "0.5",                     
    12331237                        position: "absolute",
    12341238                        height: infos.height||100 +"px",
     
    12881292         jQuery('#pamoorama').live('ON', function (e) {
    12891293             jQuery(jQuery('.debug').get(1)).trigger('ON');
    1290              Bandeau_bas = Info_description('theImage');
     1294             Bandeau_bas = Info_description(Parent);
    12911295             Bandeau = Bandeau_bas.top;
    12921296         });
     
    13261330
    13271331         // Add 10 testing debugs to start with
    1328 
     1332   
    13291333         if (DEBUG == "true") {
    13301334             for (var i = 0; i < 10; i++) {
    13311335                 jQuery('#adddebugs').click();
    13321336             }
    1333              jQuery(jQuery('.light').get(8)).click();
     1337             jQuery(jQuery('.debug').get(8)).click();
    13341338
    13351339         }
  • extensions/Autosize/js/conflit.js

    r7867 r7872  
    1515    // jQuery est chargé
    1616}
    17 
     17try {
     18    Conflit = { version: Version };
     19} catch (e) {
     20
     21}
    1822//===================================================
    1923var detect = navigator.userAgent.toLowerCase();
     
    544548function save_framework(page) {
    545549    $_ = $;
     550    Conflit = { version: Version };
    546551    return
    547552
  • extensions/Autosize/main.inc.php

    r7867 r7872  
    22/*
    33Plugin Name: AutoSize
    4 Version: 1.3.7.4
     4Version: 1.3.8
    55Description: Ajuste l'affichage des photos en fonction de la hauteur de la fenetre de navigation
    66Plugin URI: http://piwigo.org/ext/extension_view.php?eid=448
     
    1313define(  'AUTOSIZE_PATH',   PHPWG_PLUGINS_PATH.basename(dirname(__FILE__)).'/' );
    1414include_once(AUTOSIZE_PATH.'autosize.inc.php');
     15global $cl_version,$cl_plugin ;
     16//===================================================================
     17        $path = AUTOSIZE_PATH;
     18          $plg_data = implode( '', file($path.'main.inc.php') );
     19          if ( preg_match("|Plugin Name: (.*)|", $plg_data, $val) )
     20          {
     21            $plugin['name'] = trim( $val[1] );
     22          }
     23          if (preg_match("|Version: (.*)|", $plg_data, $val))
     24          {
     25            $plugin['version'] = trim($val[1]);
     26          }
     27          if ( preg_match("|Plugin URI: (.*)|", $plg_data, $val) )
     28          {
     29            $plugin['uri'] = trim($val[1]);
     30          }
     31          if ($desc = load_language('description.txt', $path.'/', array('return' => true)))
     32          {
     33            $plugin['description'] = trim($desc);
     34          }
     35          elseif ( preg_match("|Description: (.*)|", $plg_data, $val) )
     36          {
     37            $plugin['description'] = trim($val[1]);
     38          }
     39          if ( preg_match("|Author: (.*)|", $plg_data, $val) )
     40          {
     41            $plugin['author'] = trim($val[1]);
     42          }
     43          if ( preg_match("|Author URI: (.*)|", $plg_data, $val) )
     44          {
     45            $plugin['author uri'] = trim($val[1]);
     46          }
     47          if (!empty($plugin['uri']) and strpos($plugin['uri'] , 'extension_view.php?eid='))
     48          {
     49            list( , $extension) = explode('extension_view.php?eid=', $plugin['uri']);
     50            if (is_numeric($extension)) $plugin['extension'] = $extension;
     51          }
     52          // IMPORTANT SECURITY !
     53          $plugin = array_map('htmlspecialchars', $plugin);
     54                  $cl_version = $plugin;
     55//============================================================================
    1556$autosize_controler = new autosize_controler();
    1657
    1758add_event_handler('get_admin_plugin_menu_links', array(&$autosize_controler,'cl_autosize_admin')  );
    1859add_event_handler('loc_after_page_header', array(&$autosize_controler, 'cl_autosize_affiche'), 40 );
     60
    1961add_event_handler('loc_after_page_header', array(&$autosize_controler, 'cl_autosize_script'),  EVENT_HANDLER_PRIORITY_NEUTRAL+20 ,  2);
    2062
     
    2365 add_event_handler('render_element_content',
    2466  array(&$autosize_controler, 'cl_autosize_script_3'),  EVENT_HANDLER_PRIORITY_NEUTRAL-1,  2  );
     67
    2568 //add_event_handler('loc_end_index',array(&$autosize_controler, 'cl_autosize_script_3'),  EVENT_HANDLER_PRIORITY_NEUTRAL );
    2669 
  • extensions/Autosize/template/conflit.tpl

    r7805 r7872  
    11{html_head}
    22  <!--- Autosize/template/confilt.tpl (head) --->   
    3     {known_script id="jquery" src=$ROOT_URL|@cat:"themes/default/js/jquery.packed.js" now=1}
     3{known_script id="jquery" src=$ROOT_URL|@cat:"themes/default/js/jquery.packed.js" now=1}
    44{known_script id="dimensions" src=$AUTOSIZE_PATH|@cat:"js/jquery.dimensions.js"}
    55{if $cl_conflit == 'true'}
    6 
    76   {known_script id="conflit_script" src=$AUTOSIZE_PATH|@cat:"js/conflit.js"}
    8    {/if}
     7{/if}
    98
    109
     
    1211    var DEBUG = '{$DEBUG}';
    1312    var theme = '{$theme}';
     13    var Version = '{$version}';
    1414</script>
    1515<!---FIN Autosize/template/confilt.tpl (/head) --->     
    1616{/html_head}
    17   <!--- Autosize/template/confilt.tpl (body) ---> 
    18 
     17<!--- Autosize/template/confilt.tpl (body) ---> 
    1918<!---FIN Autosize/template/confilt.tpl (body) --->     
Note: See TracChangeset for help on using the changeset viewer.