Changeset 8960


Ignore:
Timestamp:
01/28/11 14:12:43 (9 years ago)
Author:
cljosse
Message:

[edit_gmaps] compatibility with piwigo 2.2 (Add element_set.php)

Location:
extensions/edit_gmaps/admin
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • extensions/edit_gmaps/admin/admin_edit.php

    r8918 r8960  
    66 
    77 
     8 
    89if ( !isset($_GET['cat']) )   $_GET['cat'] = 'caddie'; 
    910$_GET['mode'] = 'map'; 
    10 include (PHPWG_ROOT_PATH.'admin/element_set.php'); 
     11if (PHPWG_VERSION < 2.2 )  
     12 include (PHPWG_ROOT_PATH.'admin/element_set.php'); 
     13else  
     14include (dirname(__FILE__).'\element_set.php'); 
     15 
    1116$template->concat('TABSHEET_TITLE', ' '.l10n_dec('%d image', '%d images', count($page['cat_elements_id'])).' - '.$page['title']); 
    1217if ( isset($_POST['submit']) and !is_adviser() ) 
  • extensions/edit_gmaps/admin/admin_edit.tpl

    r8918 r8960  
    44file=$EDIT_RV_ROOT_ABS|@cat:'header_2_1.tpl'} {else} {include file= $EDIT_RV_ROOT_ABS|@cat:'header_2_2.tpl'} 
    55{/if} 
    6  
    7  
    86 
    97 {assign var='visible' value = true } 
  • extensions/edit_gmaps/admin/header_2_1.tpl

    r8918 r8960  
    1 {known_script id="jquery" src=$ROOT_URL|@cat:"themes/default/js/jquery.js"}  
     1{known_script id="jquery" src=$ROOT_URL|@cat:"themes/default/js/jquery.packed.js" now=0}  
    22{known_script id="jquery.cluetip" src=$ROOT_URL|@cat:"themes/default/js/plugins/jquery.cluetip.packed.js"} 
    33{known_script id="jquery.ui" src=$ROOT_URL|@cat:"themes/default/js/ui/ui.core.js"} 
  • extensions/edit_gmaps/admin/header_2_2.tpl

    r8918 r8960  
    1 {combine_script id="jquery" load="header" path = $ROOT_URL|@cat:"themes/default/js/jquery.js"}  
     1{combine_script id="jquery" load="header" path = $ROOT_URL|@cat:"themes/default/js/jquery.js"}  
    22{combine_script id="jquery.cluetip" path = $ROOT_URL|@cat:"themes/default/js/plugins/jquery.cluetip.js" require="jquery" } 
    3  {combine_script id="conflit_script" path = $AUTOSIZE_PATH|@cat:"js/conflit.js" require="jquery"}  
    4  {combine_script id="dimensions" path = $AUTOSIZE_PATH|@cat:"js/jquery.dimensions.js" require="jquery"}  
    5   
    63{combine_script id="jquery.ui" path=$ROOT_URL|@cat:"themes/default/js/ui/ui.core.js" require="jquery"} 
    74{combine_script id="jquery.ui.resizable" path=$ROOT_URL|@cat:"themes/default/js/ui/ui.resizable.js" require="jquery,jquery.ui"} 
     
    107 
    118 
    12 {combine_script id="EDIT_RV_script" pathc=$EDIT_RV_ROOT|@cat:"js/JScript.js" require="jquery"}  
     9{combine_script id="EDIT_RV_script" path=$EDIT_RV_ROOT|@cat:"js/JScript.js" require="jquery"}  
    1310{combine_script id="fieldset" path=$EDIT_RV_ROOT|@cat:"js/fieldset.js" require="jquery"}  
Note: See TracChangeset for help on using the changeset viewer.