Ignore:
Timestamp:
Dec 26, 2010, 7:18:25 AM (13 years ago)
Author:
rvelices
Message:

rv_gmaps co;patible with piwigo trunk (future 2.2)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/rv_gmaps/trunk/include/picture_map.inc.php

    r8013 r8304  
    22global $page, $template, $conf, $rvm_dir;
    33
    4 $template->concat('PLUGIN_PICTURE_ACTIONS', '
    5   <a href="'.duplicate_picture_url().'" title="'.l10n('return to normal view mode').'"><img src="'.get_absolute_root_url(false).'plugins/'.$rvm_dir.'/icons/map_m.png" class="button" alt="map"></a>
    6   ');
     4$template->concat( 'PLUGIN_PICTURE_ACTIONS' , sprintf(RVM_ACTION_MODEL,
     5        duplicate_picture_url(), l10n('return to normal view mode'), '', 'map', 'map'
     6));
    77
    88$template->assign(
     
    1111    'GMAPS_API_KEY' => $conf['gmaps_api_key'],
    1212    'PLUGIN_ROOT_URL' => get_absolute_root_url().'plugins/'.$rvm_dir,
     13                'PLUGIN_LOCATION' => 'plugins/'.$rvm_dir,
    1314  )
    1415  );
Note: See TracChangeset for help on using the changeset viewer.