Ignore:
Timestamp:
Jan 26, 2011, 12:52:35 PM (13 years ago)
Author:
cljosse
Message:

[Autosize][beta] compatibility whith piwigo 2.2


File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Autosize/template/autosize.tpl

    r8864 r8911  
    11{html_head}  {* $Id: autosize/template/autosize.tpl  *}
    2 <!-- autosize/template/autosize.tpl  -->
    3     {known_script id="jquery" src=$ROOT_URL|@cat:"themes/default/js/jquery.packed.js" now=1}
    4     {known_script id="jquery.cluetip" src=$ROOT_URL|@cat:"themes/default/js/plugins/jquery.cluetip.packed.js"}
    5     {known_script id="dimensions" src=$AUTOSIZE_PATH|@cat:"js/jquery.dimensions.js"}
    6 
     2<!-- autosize/template/autosize.tpl  -->
    73 <script type="text/javascript">
    84    var src_img = '{$SRC_IMG}';
     
    4743    var check_desc_v = '{$check_desc_v}';
    4844 </script>
    49 {known_script id="Affiche_script" src=$AUTOSIZE_PATH|@cat:"js/Affiche_script.js"}
     45{if PHPWG_VERSION < 2.2 }
     46 {include file=$AUTOSIZE_PATH_ABS|@cat:'template/picture_2_1.tpl'}
     47{else}
     48{include file= $AUTOSIZE_PATH_ABS|@cat:'template/picture_2_2.tpl'}
     49{/if}
    5050<link href="{$AUTOSIZE_PATH}css/autosize.css" rel="stylesheet" type="text/css" />
    5151 <!--  << autosize/template/autosize.tpl   -->
Note: See TracChangeset for help on using the changeset viewer.