Changeset 6445 for extensions/edit_gmaps/main.inc.php
- Timestamp:
- Jun 2, 2010, 8:57:34 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/edit_gmaps/main.inc.php
r5061 r6445 1 1 <?php /* 2 2 Plugin Name: Edit Maps&Earth 3 Version: 1.0.33 Version: 2.1.0 4 4 Description: Editor for rv gmaps 5 5 Plugin URI: http://piwigo.org/ext/extension_view.php?eid=330 … … 8 8 */ 9 9 10 define( 'ed_rvm_PLUGIN_VERSION', '2. 0.0');10 define( 'ed_rvm_PLUGIN_VERSION', '2.1.0'); 11 11 if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); 12 12 add_event_handler('get_admin_plugin_menu_links', 'ed_rvm_plugin_admin_menu' ); … … 14 14 global $ed_rvm_dir; 15 15 $ed_rvm_dir = basename( dirname(__FILE__) ); 16 16 17 17 18 … … 35 36 global $template,$page; 36 37 38 if (file_exists ( 'themes/default/js/jquery.packed.js')) 39 { 40 //version 2.1 37 41 42 $icon_path = 'themes/default/icon/help.png'; 43 $path_js= 'themes/default/js/' ; 44 45 } 46 else 47 { 48 // version < 1.9 49 $path_js= "template-common/lib/"; 50 $icon_path = "admin/template/goto/theme/clear/icon/help.png"; 51 } 38 52 if ( isset($_GET['map']) ) 39 53 { 54 //=================================================================================== 55 $template->assign( 56 array( 'path_js' => $path_js, 40 57 58 ) 59 ); 41 60 $template->set_filenames(array('cl_conflit' => dirname(__FILE__).'/template/cl_conflit.tpl')); 42 61 $template->parse('cl_conflit');
Note: See TracChangeset
for help on using the changeset viewer.