Changeset 1883425
- Timestamp:
- 05/29/2018 03:01:31 PM (8 years ago)
- Location:
- oi-yamaps/trunk
- Files:
-
- 4 edited
-
Readme.md (modified) (3 diffs)
-
include/console.php (modified) (2 diffs)
-
oi-yamaps.php (modified) (4 diffs)
-
readme.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
oi-yamaps/trunk/Readme.md
r1883358 r1883425 18 18 19 19 ## Frequently Asked Questions 20 21 ### I have problems with activation 22 23 If you see something like this 'Plugin has not correct header', just reactivate the plugin. This issue comes because of renaming file to correct naming. 20 24 21 25 ### How can I add Stretchy Icons? … … 43 47 ## Changelog 44 48 45 ### 3.1.149 ### 3.1.2 (29.05.2018) 46 50 * new: design; 47 51 * refactoring; 48 ### 2.5052 ### 2.50 (18.03.2016) 49 53 * new: address coordinates caching added; 50 54 * fix: refactoring coordinates getting function; 51 55 * fix: only one field left for address or coordinates; 52 ### 2.4256 ### 2.42 (21.10.2015) 53 57 * fix: coordinates print deleted; 54 ### 2.41 =58 ### 2.41 (21.10.2015) 55 59 * fix: map center normalized; 56 ### 2.460 ### 2.4 (21.10.2015) 57 61 * fix notices; 58 62 * form view; 59 63 * shortcode making; 60 64 * plugin url; 61 ### 2.365 ### 2.3 (08.12.2014) 62 66 * fix: showmap coordinates missing; 63 67 * fix: fixed error when showmap doesn't contain coordinates; … … 65 69 * new: added custom placemark image 66 70 * new: map center depends on placemarks 67 ### 2.271 ### 2.2 (16.09.2014) 68 72 * fix: fixed error when coordinates used 69 73 * fix: fixed error whith map center 70 74 * new: added shortcode button 71 75 * new: localization: russian language added 72 ### 2.176 ### 2.1 (22.07.2014) 73 77 * fix: fix html in placemark 74 78 * new: center parametr added 75 79 * new: curl enable check 76 ### 2.080 ### 2.0 (21.07.2014) 77 81 * fix: Some fixes. 78 82 * new: Option page added. 79 83 * new: Language support added. 80 84 * new: Multi Placemarks support added. 81 ### 1.285 ### 1.2 (20.05.2014) 82 86 * fix: Placemark ID numbers fixed 83 87 * new: iconcontent attribute added - Stretchy Icons support 84 ### 1.188 ### 1.1 (02.05.2014) 85 89 * fix: Maps ID numbers fixed 86 ### 1.090 ### 1.0 (25.04.2014) 87 91 * Initial release 92 88 93 89 94 ## Upgrade Notice -
oi-yamaps/trunk/include/console.php
r1883283 r1883425 195 195 'label_class' => 'oiyamaps-form__label', 196 196 'html' => '%label%' 197 . '<div class="oiyamaps-form__multiselect">'197 . '<div class="oiyamaps-form__multiselect">' 198 198 . multiselect( array( 199 199 'key' => 'controls', 200 200 'class' => 'oiyamaps-form', 201 'values' => implode( ',', get_match_list( get_api_names( 'controls' ) )),201 'values' => get_default_api_names( 'controls' ), 202 202 ) ) 203 203 . '</div>', … … 209 209 'label_class' => 'oiyamaps-form__label', 210 210 'html' => '%label%' 211 . '<div class="oiyamaps-form__multiselect">'211 . '<div class="oiyamaps-form__multiselect">' 212 212 . multiselect( array( 213 213 'key' => 'behaviors', 214 214 'class' => 'oiyamaps-form', 215 'values' => implode( ',', get_match_list( get_api_names( 'behaviors' ) )),215 'values' => get_default_api_names( 'behaviors' ), 216 216 ) ) 217 217 . '</div>', -
oi-yamaps/trunk/oi-yamaps.php
r1883358 r1883425 5 5 Description: The plugin allows you to use Yandex.Maps on your site pages and put the placemarks on the map. Without an API key. <strong>Don't forget to reactivate the plugin!</strong> 6 6 Author: Alexei Isaenko 7 Version: 3.1. 17 Version: 3.1.2 8 8 Author URI: https://oiplug.com/members/isaenkoalexei 9 9 */ … … 61 61 } 62 62 63 deactivate_plugins( array( '/oi-yamaps/oi-ya-maps.php', ) );63 // deactivate_plugins( array( '/oi-yamaps/oi-ya-maps.php', ) ); 64 64 } 65 65 … … 166 166 } 167 167 168 function get_default_api_names( $key ) { 169 $names = get_api_names( $key ); 170 $values = array(); 171 foreach ( $names as $key => $value ) { 172 if ( $value['default'] == true ) { 173 $values[] = $key; 174 } 175 } 176 $values = implode( ',', $values ); 177 178 return $values; 179 } 168 180 169 181 /** … … 195 207 'iconoffset' => '', 196 208 'iconrect' => '', 197 'controls' => implode( ',', get_match_list( get_api_names( 'controls' ) )),198 'behaviors' => implode( ',', get_match_list( get_api_names( 'behaviors' ) )),209 'controls' => get_default_api_names( 'controls' ), 210 'behaviors' => get_default_api_names( 'behaviors' ), 199 211 ); 200 212 -
oi-yamaps/trunk/readme.txt
r1883358 r1883425 5 5 Requires at least: 3.2 6 6 Tested up to: 4.9.6 7 Stable tag: 3.1. 17 Stable tag: 3.1.2 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 28 28 == Frequently Asked Questions == 29 29 30 = I have problems with activation = 31 32 If you see something like this 'Plugin has not correct header', just reactivate the plugin. This issue comes because of renaming file to correct naming. 33 30 34 = How can I add Stretchy Icons? = 31 35 … … 48 52 == Changelog == 49 53 50 = 3.1. 1=54 = 3.1.2 (29.05.2018) = 51 55 * new: design; 52 56 * refactoring; 53 = 2.50 =57 = 2.50 (18.03.2016) = 54 58 * new: address coordinates caching added; 55 59 * fix: refactoring coordinates getting function; 56 60 * fix: only one field left for address or coordinates; 57 = 2.42 =61 = 2.42 (21.10.2015) = 58 62 * fix: coordinates print deleted; 59 = 2.41 =63 = 2.41 (21.10.2015) = 60 64 * fix: map center normalized; 61 = 2.4 =65 = 2.4 (21.10.2015) = 62 66 * fix notices; 63 67 * form view; 64 68 * shortcode making; 65 69 * plugin url; 66 = 2.3 =70 = 2.3 (08.12.2014) = 67 71 * fix: showmap coordinates missing; 68 72 * fix: fixed error when showmap doesn't contain coordinates; … … 70 74 * new: added custom placemark image 71 75 * new: map center depends on placemarks 72 = 2.2 =76 = 2.2 (16.09.2014) = 73 77 * fix: fixed error when coordinates used 74 78 * fix: fixed error whith map center 75 79 * new: added shortcode button 76 80 * new: localization: russian language added 77 = 2.1 =81 = 2.1 (22.07.2014) = 78 82 * fix: fix html in placemark 79 83 * new: center parametr added 80 84 * new: curl enable check 81 = 2.0 =85 = 2.0 (21.07.2014) = 82 86 * fix: Some fixes. 83 87 * new: Option page added. 84 88 * new: Language support added. 85 89 * new: Multi Placemarks support added. 86 = 1.2 =90 = 1.2 (20.05.2014) = 87 91 * fix: Placemark ID numbers fixed 88 92 * new: iconcontent attribute added - Stretchy Icons support 89 = 1.1 =93 = 1.1 (02.05.2014) = 90 94 * fix: Maps ID numbers fixed 91 = 1.0 =95 = 1.0 (25.04.2014) = 92 96 * Initial release 93 97
Note: See TracChangeset
for help on using the changeset viewer.