Changeset 17286


Ignore:
Timestamp:
Aug 1, 2012, 5:49:24 PM (12 years ago)
Author:
rvelices
Message:

rv_gmaps: photos are now geotagged in the batch manager instead of a special plugin page

Location:
extensions/rv_gmaps/trunk
Files:
1 added
2 deleted
4 edited

Legend:

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

    r12700 r17286  
    1414$tabsheet = new tabsheet();
    1515$tabsheet->add( 'config', 'Configuration', add_url_params( $my_base_url, array('tab'=>'config') ) );
    16 $tabsheet->add( 'edit', 'Edit', add_url_params( $my_base_url, array('tab'=>'edit') ) );
    1716$tabsheet->add( 'sync', 'Synchronize', add_url_params( $my_base_url, array('tab'=>'sync') ) );
    1817$tabsheet->select($page['tab']);
  • extensions/rv_gmaps/trunk/changelog.txt

    r15840 r17286  
     12.4.c
     2- photos are now geotagged in the batch manager instead of a special plugin page
     3
    142.4.b
    25- language updates
  • extensions/rv_gmaps/trunk/language/en_UK/lang.php

    r12706 r17286  
    2222
    2323$lang['More photos near this location']='More photos near this location';
     24
     25$lang['Geotagged']='Geotagged';
     26$lang['Not geotagged']='Not geotagged';
     27$lang['Geotag']='Geotag';
    2428?>
  • extensions/rv_gmaps/trunk/main.inc.php

    r15840 r17286  
    11<?php /*
    22Plugin Name: RV Maps&Earth
    3 Version: 2.4.b
     3Version: 2.4.c
    44Description: Extend your gallery with Google Maps and Google Earth ...
    55Plugin URI: http://piwigo.org/ext/extension_view.php?eid=122
     
    1515
    1616add_event_handler('picture_pictures_data', 'rvm_picture_pictures_data' );
    17 add_event_handler('get_admin_plugin_menu_links', 'rvm_plugin_admin_menu' );
    1817
    1918global $rvm_dir;
     
    125124}
    126125
    127 function rvm_plugin_admin_menu($menu)
    128 {
    129         include_once( dirname(__FILE__) .'/include/functions.php');
    130         add_event_handler('invalidate_user_cache', 'rvm_invalidate_cache' );
    131 
    132         array_push($menu,
    133                         array(
    134                                 'NAME' => 'Maps & Earth',
    135                                 'URL' => get_admin_plugin_menu_link(dirname(__FILE__).'/admin/admin.php')
    136                         )
    137                 );
    138         return $menu;
    139 }
    140 
    141126function rvm_format_exif($exif, $file, $map)
    142127{
     
    153138  return $exif;
    154139}
     140
     141if (defined('IN_ADMIN')) {
     142        include_once(dirname(__FILE__).'/admin/admin_boot.php');
     143}
    155144?>
Note: See TracChangeset for help on using the changeset viewer.