Ignore:
Timestamp:
Mar 1, 2011, 4:43:51 PM (13 years ago)
Author:
Eric
Message:

Add compatibility for Piwigo 2.1 and 2.2 - LCAS can be used on both Piwigo version without changing Smarty's header (that's for Lucmorizur ;-))

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/LCAS/trunk/admin/template/global.tpl

    r9384 r9454  
    1 {known_script id="jquery" src=$ROOT_URL|@cat:"themes/default/js/jquery.packed.js"}
    2 {known_script id="jquery.cluetip" src=$ROOT_URL|@cat:"themes/default/js/plugins/jquery.cluetip.packed.js"}
    3 {known_script id="jquery.tablesorter" src=$LCAS_PATH|@cat:"admin/template/js/jquery.tablesorter.js"}
    4 {known_script id="jquery.tablesorter.pager" src=$LCAS_PATH|@cat:"admin/template/js/jquery.tablesorter.pager.js"}
    5 {*
    6 {combine_script id="jquery" path=$ROOT_URL|@cat:"themes/default/js/jquery.js"}
    7 {combine_script id="jquery.cluetip" path=$ROOT_URL|@cat:"themes/default/js/plugins/jquery.cluetip.packed.js"}
    8 {combine_script id="jquery.tablesorter" path=$LCAS_PATH|@cat:"admin/template/js/jquery.tablesorter.js"}
    9 {combine_script id="jquery.tablesorter.pager" path=$LCAS_PATH|@cat:"admin/template/js/jquery.tablesorter.pager.js"}
    10 *}
    11 
    12 {html_head}<link rel="stylesheet" type="text/css" href="{$LCAS_PATH}admin/template/lcas.css">{/html_head}
     1{html_head}
     2{if PHPWG_VERSION < 2.2 }
     3  {include file= $LCAS_PATH_ABS|@cat:'template/header21.tpl'}
     4{else}
     5  {include file= $LCAS_PATH_ABS|@cat:'template/header22.tpl'}
     6{/if}
     7
     8<link rel="stylesheet" type="text/css" href="{$LCAS_PATH}admin/template/lcas.css">
     9{/html_head}
    1310
    1411<script type="text/javascript">
Note: See TracChangeset for help on using the changeset viewer.