Changeset 206751
- Timestamp:
- 02/16/2010 09:39:49 PM (16 years ago)
- Location:
- google-maps-embed/trunk
- Files:
-
- 2 deleted
- 5 edited
-
cets_EmbedGmaps-config.php (deleted)
-
cets_EmbedGmaps.php (modified) (3 diffs)
-
readme.txt (modified) (2 diffs)
-
screenshot-1.png (modified) (previous)
-
tinymce/editor_plugin.js (modified) (1 diff)
-
tinymce/tinymce.php (modified) (1 diff)
-
tinymce/window.php (deleted)
Legend:
- Unmodified
- Added
- Removed
-
google-maps-embed/trunk/cets_EmbedGmaps.php
r178070 r206751 5 5 Description: This plugin adds an icon to the WYSIWYG editor that allows a user to embed a Google Map into a post or page. Cooperative Extension Technology Services does not provide support for Google services. 6 6 Author: Deanna Schneider 7 Version: 1. 3.17 Version: 1.4 8 8 Author URI: http://deannaschneider.wordpress.com/ 9 9 … … 64 64 'marginheight' => 0, 65 65 'marginwidth' => 0, 66 'scrolling' => 'no'); 66 'scrolling' => 'no', 67 'line' => 3); 67 68 68 69 add_option('cets_embedGmaps_src', $defaults['src']); … … 73 74 add_option('cets_embedGmaps_frameborder', $defaults['frameborder']); 74 75 add_option('cets_embedGmaps_scrolling', $defaults['scrolling']); 76 add_option('cets_embedGmaps_line', $defaults['line']); 75 77 76 78 -
google-maps-embed/trunk/readme.txt
r201817 r206751 24 24 1. Place the cets\_EmbedGmaps folder in the wp-content/plugins folder. 25 25 1. Activate via the plugin activation screens. 26 1. If upgrading from 1.3.1 to 1.4, you can delete the cets\_embedGmaps\_config.php file and the tinymce\window.php file. 26 27 27 28 … … 40 41 == Changelog == 41 42 43 1.4 - updated to make both the visual and html editor use the same popup, eliminating the need for wp-load. 44 42 45 1.3.1 - Updated project structure to work with Wordpress.org auto install/update. 43 46 -
google-maps-embed/trunk/tinymce/editor_plugin.js
r178070 r206751 18 18 19 19 20 ed.addCommand('mcecets_EmbedGmaps', function() {21 ed.windowManager.open({22 file : url + '/window.php',23 width : 500 + ed.getLang('cets_EmbedGmaps.delta_width', 0),24 height : 400 + ed.getLang('cets_EmbedGmaps.delta_height', 0),25 inline : 1,26 popup_css: url + '/dialog.css'27 }, {28 plugin_url : url // Plugin absolute URL29 });30 });31 32 20 // Register example button 33 21 ed.addButton('cets_EmbedGmaps', { 34 22 title : 'Embed a Google Map', 35 cmd : 'mcecets_EmbedGmaps', 36 image : url + '/cets_EmbedGmaps.png' 23 image : url + '/cets_EmbedGmaps.png', 24 onclick : function() { 25 cets_GEButtonClick('cetsEmbedGmap'); 26 } 37 27 }); 38 28 -
google-maps-embed/trunk/tinymce/tinymce.php
r178070 r206751 28 28 // add the button for wp2.5 in a new way 29 29 add_filter("mce_external_plugins", array (&$this, "add_tinymce_plugin" ), 5); 30 add_filter('mce_buttons', array (&$this, 'register_button' ), 5); 30 31 $line = get_option('cets_embedGmaps_line'); 32 if ( 1 == $line) 33 add_filter( 'mce_buttons', array(&$this, 'register_button') ); 34 else 35 add_filter( 'mce_buttons_' . $line, array(&$this, 'register_button') ); 36 37 31 38 } 32 39 }
Note: See TracChangeset
for help on using the changeset viewer.