Ignore:
Timestamp:
Jan 28, 2011, 2:12:43 PM (13 years ago)
Author:
cljosse
Message:

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

File:
1 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() )
Note: See TracChangeset for help on using the changeset viewer.