Changeset 8367


Ignore:
Timestamp:
Dec 29, 2010, 7:08:04 AM (10 years ago)
Author:
rvelices
Message:

rv_gmaps compatible with piwigo trunk (future 2.2)

Location:
extensions/rv_gmaps/trunk/admin
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • extensions/rv_gmaps/trunk/admin/admin_config.php

    r3447 r8367  
    44include_once( dirname(__FILE__).'/../include/functions_map.php' );
    55
    6 if ( isset($_POST['submit']) and !is_adviser() )
     6if ( isset($_POST['submit']) )
    77{
    88  $query = '
  • extensions/rv_gmaps/trunk/admin/admin_edit.php

    r6472 r8367  
    1111$template->concat('TABSHEET_TITLE', ' '.l10n_dec('%d image', '%d images', count($page['cat_elements_id'])).' - '.$page['title']);
    1212
    13 if ( isset($_POST['submit']) and !is_adviser() )
     13if ( isset($_POST['submit']) )
    1414{
    1515  $collection = array();
  • extensions/rv_gmaps/trunk/admin/admin_sync.php

    r7033 r8367  
    1919if ( isset($_POST['submit']) )
    2020  $sync_options = array(
    21     'simulate' => is_adviser() ? true : isset($_POST['simulate']),
     21    'simulate' => isset($_POST['simulate']),
    2222                'use_high' => isset($_POST['use_high']),
    2323    'cat_id' => isset($_POST['cat_id']) ? (int)$_POST['cat_id'] : 0,
Note: See TracChangeset for help on using the changeset viewer.