Changeset 2481968
- Timestamp:
- 02/26/2021 04:17:43 AM (5 years ago)
- Location:
- shmapper-by-teplitsa
- Files:
-
- 244 added
- 14 edited
-
tags/1.4.0/assets/css/ShMapperDrive.css (added)
-
tags/1.4.0/assets/google-sheets (added)
-
tags/1.4.0/assets/google-sheets/composer.json (added)
-
tags/1.4.0/assets/google-sheets/composer.lock (added)
-
tags/1.4.0/assets/google-sheets/google-sheets.php (added)
-
tags/1.4.0/assets/google-sheets/vendor (added)
-
tags/1.4.0/assets/google-sheets/vendor/autoload.php (added)
-
tags/1.4.0/assets/google-sheets/vendor/composer (added)
-
tags/1.4.0/assets/google-sheets/vendor/composer/ClassLoader.php (added)
-
tags/1.4.0/assets/google-sheets/vendor/composer/LICENSE (added)
-
tags/1.4.0/assets/google-sheets/vendor/composer/autoload_classmap.php (added)
-
tags/1.4.0/assets/google-sheets/vendor/composer/autoload_files.php (added)
-
tags/1.4.0/assets/google-sheets/vendor/composer/autoload_namespaces.php (added)
-
tags/1.4.0/assets/google-sheets/vendor/composer/autoload_psr4.php (added)
-
tags/1.4.0/assets/google-sheets/vendor/composer/autoload_real.php (added)
-
tags/1.4.0/assets/google-sheets/vendor/composer/autoload_static.php (added)
-
tags/1.4.0/assets/google-sheets/vendor/composer/installed.json (added)
-
tags/1.4.0/assets/google-sheets/vendor/league (added)
-
tags/1.4.0/assets/google-sheets/vendor/league/csv (added)
-
tags/1.4.0/assets/google-sheets/vendor/league/csv/CHANGELOG.md (added)
-
tags/1.4.0/assets/google-sheets/vendor/league/csv/LICENSE (added)
-
tags/1.4.0/assets/google-sheets/vendor/league/csv/autoload.php (added)
-
tags/1.4.0/assets/google-sheets/vendor/league/csv/composer.json (added)
-
tags/1.4.0/assets/google-sheets/vendor/league/csv/src (added)
-
tags/1.4.0/assets/google-sheets/vendor/league/csv/src/AbstractCsv.php (added)
-
tags/1.4.0/assets/google-sheets/vendor/league/csv/src/ByteSequence.php (added)
-
tags/1.4.0/assets/google-sheets/vendor/league/csv/src/CannotInsertRecord.php (added)
-
tags/1.4.0/assets/google-sheets/vendor/league/csv/src/CharsetConverter.php (added)
-
tags/1.4.0/assets/google-sheets/vendor/league/csv/src/ColumnConsistency.php (added)
-
tags/1.4.0/assets/google-sheets/vendor/league/csv/src/EncloseField.php (added)
-
tags/1.4.0/assets/google-sheets/vendor/league/csv/src/EscapeFormula.php (added)
-
tags/1.4.0/assets/google-sheets/vendor/league/csv/src/Exception.php (added)
-
tags/1.4.0/assets/google-sheets/vendor/league/csv/src/HTMLConverter.php (added)
-
tags/1.4.0/assets/google-sheets/vendor/league/csv/src/InvalidArgument.php (added)
-
tags/1.4.0/assets/google-sheets/vendor/league/csv/src/MapIterator.php (added)
-
tags/1.4.0/assets/google-sheets/vendor/league/csv/src/Polyfill (added)
-
tags/1.4.0/assets/google-sheets/vendor/league/csv/src/Polyfill/EmptyEscapeParser.php (added)
-
tags/1.4.0/assets/google-sheets/vendor/league/csv/src/RFC4180Field.php (added)
-
tags/1.4.0/assets/google-sheets/vendor/league/csv/src/Reader.php (added)
-
tags/1.4.0/assets/google-sheets/vendor/league/csv/src/ResultSet.php (added)
-
tags/1.4.0/assets/google-sheets/vendor/league/csv/src/Statement.php (added)
-
tags/1.4.0/assets/google-sheets/vendor/league/csv/src/Stream.php (added)
-
tags/1.4.0/assets/google-sheets/vendor/league/csv/src/SyntaxError.php (added)
-
tags/1.4.0/assets/google-sheets/vendor/league/csv/src/UnavailableFeature.php (added)
-
tags/1.4.0/assets/google-sheets/vendor/league/csv/src/Writer.php (added)
-
tags/1.4.0/assets/google-sheets/vendor/league/csv/src/XMLConverter.php (added)
-
tags/1.4.0/assets/google-sheets/vendor/league/csv/src/functions.php (added)
-
tags/1.4.0/assets/google-sheets/vendor/league/csv/src/functions_include.php (added)
-
tags/1.4.0/assets/js/ShMapper.yandex_old.js (added)
-
tags/1.4.0/assets/js/ShMapperDrive.admin.js (added)
-
tags/1.4.0/assets/js/ShMapperDrive.front.js (added)
-
tags/1.4.0/assets/js/region-selector.min.js (added)
-
tags/1.4.0/class/ShMapperDrive.class.php (added)
-
tags/1.4.0/class/ShMapperDrive_ajax.class.php (added)
-
tags/1.4.0/class/ShMapperDriverPreview.class.php (added)
-
tags/1.4.0/class/ShMapperPointMessage.class.php (added)
-
tags/1.4.0/shortcode/shmMapFeed.shortcode.php (added)
-
tags/1.4.1 (added)
-
tags/1.4.1/LICENSE.txt (added)
-
tags/1.4.1/README.md (added)
-
tags/1.4.1/README.txt (added)
-
tags/1.4.1/assets (added)
-
tags/1.4.1/assets/css (added)
-
tags/1.4.1/assets/css/MarkerCluster.Default.css (added)
-
tags/1.4.1/assets/css/MarkerCluster.css (added)
-
tags/1.4.1/assets/css/ShMapper.css (added)
-
tags/1.4.1/assets/css/ShMapperDrive.css (added)
-
tags/1.4.1/assets/css/easyGeocoder.css (added)
-
tags/1.4.1/assets/css/layerSwitcher.css (added)
-
tags/1.4.1/assets/google-sheets (added)
-
tags/1.4.1/assets/google-sheets/composer.json (added)
-
tags/1.4.1/assets/google-sheets/composer.lock (added)
-
tags/1.4.1/assets/google-sheets/google-sheets.php (added)
-
tags/1.4.1/assets/google-sheets/vendor (added)
-
tags/1.4.1/assets/google-sheets/vendor/autoload.php (added)
-
tags/1.4.1/assets/google-sheets/vendor/composer (added)
-
tags/1.4.1/assets/google-sheets/vendor/composer/ClassLoader.php (added)
-
tags/1.4.1/assets/google-sheets/vendor/composer/LICENSE (added)
-
tags/1.4.1/assets/google-sheets/vendor/composer/autoload_classmap.php (added)
-
tags/1.4.1/assets/google-sheets/vendor/composer/autoload_files.php (added)
-
tags/1.4.1/assets/google-sheets/vendor/composer/autoload_namespaces.php (added)
-
tags/1.4.1/assets/google-sheets/vendor/composer/autoload_psr4.php (added)
-
tags/1.4.1/assets/google-sheets/vendor/composer/autoload_real.php (added)
-
tags/1.4.1/assets/google-sheets/vendor/composer/autoload_static.php (added)
-
tags/1.4.1/assets/google-sheets/vendor/composer/installed.json (added)
-
tags/1.4.1/assets/google-sheets/vendor/league (added)
-
tags/1.4.1/assets/google-sheets/vendor/league/csv (added)
-
tags/1.4.1/assets/google-sheets/vendor/league/csv/CHANGELOG.md (added)
-
tags/1.4.1/assets/google-sheets/vendor/league/csv/LICENSE (added)
-
tags/1.4.1/assets/google-sheets/vendor/league/csv/autoload.php (added)
-
tags/1.4.1/assets/google-sheets/vendor/league/csv/composer.json (added)
-
tags/1.4.1/assets/google-sheets/vendor/league/csv/src (added)
-
tags/1.4.1/assets/google-sheets/vendor/league/csv/src/AbstractCsv.php (added)
-
tags/1.4.1/assets/google-sheets/vendor/league/csv/src/ByteSequence.php (added)
-
tags/1.4.1/assets/google-sheets/vendor/league/csv/src/CannotInsertRecord.php (added)
-
tags/1.4.1/assets/google-sheets/vendor/league/csv/src/CharsetConverter.php (added)
-
tags/1.4.1/assets/google-sheets/vendor/league/csv/src/ColumnConsistency.php (added)
-
tags/1.4.1/assets/google-sheets/vendor/league/csv/src/EncloseField.php (added)
-
tags/1.4.1/assets/google-sheets/vendor/league/csv/src/EscapeFormula.php (added)
-
tags/1.4.1/assets/google-sheets/vendor/league/csv/src/Exception.php (added)
-
tags/1.4.1/assets/google-sheets/vendor/league/csv/src/HTMLConverter.php (added)
-
tags/1.4.1/assets/google-sheets/vendor/league/csv/src/InvalidArgument.php (added)
-
tags/1.4.1/assets/google-sheets/vendor/league/csv/src/MapIterator.php (added)
-
tags/1.4.1/assets/google-sheets/vendor/league/csv/src/Polyfill (added)
-
tags/1.4.1/assets/google-sheets/vendor/league/csv/src/Polyfill/EmptyEscapeParser.php (added)
-
tags/1.4.1/assets/google-sheets/vendor/league/csv/src/RFC4180Field.php (added)
-
tags/1.4.1/assets/google-sheets/vendor/league/csv/src/Reader.php (added)
-
tags/1.4.1/assets/google-sheets/vendor/league/csv/src/ResultSet.php (added)
-
tags/1.4.1/assets/google-sheets/vendor/league/csv/src/Statement.php (added)
-
tags/1.4.1/assets/google-sheets/vendor/league/csv/src/Stream.php (added)
-
tags/1.4.1/assets/google-sheets/vendor/league/csv/src/SyntaxError.php (added)
-
tags/1.4.1/assets/google-sheets/vendor/league/csv/src/UnavailableFeature.php (added)
-
tags/1.4.1/assets/google-sheets/vendor/league/csv/src/Writer.php (added)
-
tags/1.4.1/assets/google-sheets/vendor/league/csv/src/XMLConverter.php (added)
-
tags/1.4.1/assets/google-sheets/vendor/league/csv/src/functions.php (added)
-
tags/1.4.1/assets/google-sheets/vendor/league/csv/src/functions_include.php (added)
-
tags/1.4.1/assets/img (added)
-
tags/1.4.1/assets/img/camera.png (added)
-
tags/1.4.1/assets/img/check_checked.png (added)
-
tags/1.4.1/assets/img/check_unchecked.png (added)
-
tags/1.4.1/assets/img/close.svg (added)
-
tags/1.4.1/assets/img/csv_icon.png (added)
-
tags/1.4.1/assets/img/easyGeocoder-marker.svg (added)
-
tags/1.4.1/assets/img/empty.png (added)
-
tags/1.4.1/assets/img/fullscreen.png (added)
-
tags/1.4.1/assets/img/fullscreen@2x.png (added)
-
tags/1.4.1/assets/img/loader.gif (added)
-
tags/1.4.1/assets/img/marker-shadow.png (added)
-
tags/1.4.1/assets/img/pin.svg (added)
-
tags/1.4.1/assets/img/shmapper.svg (added)
-
tags/1.4.1/assets/img/shmapper_32x32.svg (added)
-
tags/1.4.1/assets/img/shmapper_32x32_white.svg (added)
-
tags/1.4.1/assets/img/source-icons (added)
-
tags/1.4.1/assets/img/source-icons/easyGeocoder-result-icon.svg (added)
-
tags/1.4.1/assets/img/source-icons/easyGeocoder-search-icon.svg (added)
-
tags/1.4.1/assets/img/source-icons/easyGeocoder-throbber.svg (added)
-
tags/1.4.1/assets/img/ym_default.png (added)
-
tags/1.4.1/assets/js (added)
-
tags/1.4.1/assets/js/Leaflet.fullscreen.min.js (added)
-
tags/1.4.1/assets/js/Leaflet.layerSwitcher.js (added)
-
tags/1.4.1/assets/js/ShMapper.admin.js (added)
-
tags/1.4.1/assets/js/ShMapper.front.js (added)
-
tags/1.4.1/assets/js/ShMapper.js (added)
-
tags/1.4.1/assets/js/ShMapper.yandex.js (added)
-
tags/1.4.1/assets/js/ShMapperDrive.admin.js (added)
-
tags/1.4.1/assets/js/ShMapperDrive.front.js (added)
-
tags/1.4.1/assets/js/ShMapper_osm.js (added)
-
tags/1.4.1/assets/js/easyGeocoder.js (added)
-
tags/1.4.1/assets/js/esri-leaflet.js (added)
-
tags/1.4.1/assets/js/leaflet.js (added)
-
tags/1.4.1/assets/js/leaflet.markercluster-src.js (added)
-
tags/1.4.1/assets/recaptcha-php (added)
-
tags/1.4.1/assets/recaptcha-php/example-captcha.php (added)
-
tags/1.4.1/assets/recaptcha-php/example-mailhide.php (added)
-
tags/1.4.1/assets/recaptcha-php/recaptcha.class.php (added)
-
tags/1.4.1/assets/recaptcha-php/recaptchalib.php (added)
-
tags/1.4.1/class (added)
-
tags/1.4.1/class/SMC_Object_type.php (added)
-
tags/1.4.1/class/SMC_Post.php (added)
-
tags/1.4.1/class/ShMapPointType.class.php (added)
-
tags/1.4.1/class/ShMapper.class.php (added)
-
tags/1.4.1/class/ShMapperDrive.class.php (added)
-
tags/1.4.1/class/ShMapperDrive_ajax.class.php (added)
-
tags/1.4.1/class/ShMapperDriverPreview.class.php (added)
-
tags/1.4.1/class/ShMapperPointMessage.class.php (added)
-
tags/1.4.1/class/ShMapperRequest.class.php (added)
-
tags/1.4.1/class/ShMapper_Assistants.class.php (added)
-
tags/1.4.1/class/ShMapper_ajax.class.php (added)
-
tags/1.4.1/class/ShmAdminPage.class.php (added)
-
tags/1.4.1/class/ShmForm.class.php (added)
-
tags/1.4.1/class/ShmMap.class.php (added)
-
tags/1.4.1/class/ShmPoint.class.php (added)
-
tags/1.4.1/languages (added)
-
tags/1.4.1/languages/shmapper-by-teplitsa-de_DE.mo (added)
-
tags/1.4.1/languages/shmapper-by-teplitsa-de_DE.po (added)
-
tags/1.4.1/languages/shmapper-by-teplitsa-ru_RU.mo (added)
-
tags/1.4.1/languages/shmapper-by-teplitsa-ru_RU.po (added)
-
tags/1.4.1/languages/shmapper-by-teplitsa.pot (added)
-
tags/1.4.1/shmapper.php (added)
-
tags/1.4.1/shortcode (added)
-
tags/1.4.1/shortcode/shmMap.shortcode.php (added)
-
tags/1.4.1/shortcode/shmMapFeed.shortcode.php (added)
-
tags/1.4.1/shortcode/shm_shortcodes.php (added)
-
tags/1.4.1/tpl (added)
-
tags/1.4.1/tpl/input_file_form.php (added)
-
tags/1.4.1/tpl/shmMap.php (added)
-
tags/1.4.1/unistall.php (added)
-
tags/1.4.1/widget (added)
-
tags/1.4.1/widget/ShMap.widget.php (added)
-
trunk/README.txt (modified) (1 diff)
-
trunk/assets/css/ShMapper.css (modified) (49 diffs)
-
trunk/assets/css/ShMapperDrive.css (added)
-
trunk/assets/google-sheets (added)
-
trunk/assets/google-sheets/composer.json (added)
-
trunk/assets/google-sheets/composer.lock (added)
-
trunk/assets/google-sheets/google-sheets.php (added)
-
trunk/assets/google-sheets/vendor (added)
-
trunk/assets/google-sheets/vendor/autoload.php (added)
-
trunk/assets/google-sheets/vendor/composer (added)
-
trunk/assets/google-sheets/vendor/composer/ClassLoader.php (added)
-
trunk/assets/google-sheets/vendor/composer/LICENSE (added)
-
trunk/assets/google-sheets/vendor/composer/autoload_classmap.php (added)
-
trunk/assets/google-sheets/vendor/composer/autoload_files.php (added)
-
trunk/assets/google-sheets/vendor/composer/autoload_namespaces.php (added)
-
trunk/assets/google-sheets/vendor/composer/autoload_psr4.php (added)
-
trunk/assets/google-sheets/vendor/composer/autoload_real.php (added)
-
trunk/assets/google-sheets/vendor/composer/autoload_static.php (added)
-
trunk/assets/google-sheets/vendor/composer/installed.json (added)
-
trunk/assets/google-sheets/vendor/league (added)
-
trunk/assets/google-sheets/vendor/league/csv (added)
-
trunk/assets/google-sheets/vendor/league/csv/CHANGELOG.md (added)
-
trunk/assets/google-sheets/vendor/league/csv/LICENSE (added)
-
trunk/assets/google-sheets/vendor/league/csv/autoload.php (added)
-
trunk/assets/google-sheets/vendor/league/csv/composer.json (added)
-
trunk/assets/google-sheets/vendor/league/csv/src (added)
-
trunk/assets/google-sheets/vendor/league/csv/src/AbstractCsv.php (added)
-
trunk/assets/google-sheets/vendor/league/csv/src/ByteSequence.php (added)
-
trunk/assets/google-sheets/vendor/league/csv/src/CannotInsertRecord.php (added)
-
trunk/assets/google-sheets/vendor/league/csv/src/CharsetConverter.php (added)
-
trunk/assets/google-sheets/vendor/league/csv/src/ColumnConsistency.php (added)
-
trunk/assets/google-sheets/vendor/league/csv/src/EncloseField.php (added)
-
trunk/assets/google-sheets/vendor/league/csv/src/EscapeFormula.php (added)
-
trunk/assets/google-sheets/vendor/league/csv/src/Exception.php (added)
-
trunk/assets/google-sheets/vendor/league/csv/src/HTMLConverter.php (added)
-
trunk/assets/google-sheets/vendor/league/csv/src/InvalidArgument.php (added)
-
trunk/assets/google-sheets/vendor/league/csv/src/MapIterator.php (added)
-
trunk/assets/google-sheets/vendor/league/csv/src/Polyfill (added)
-
trunk/assets/google-sheets/vendor/league/csv/src/Polyfill/EmptyEscapeParser.php (added)
-
trunk/assets/google-sheets/vendor/league/csv/src/RFC4180Field.php (added)
-
trunk/assets/google-sheets/vendor/league/csv/src/Reader.php (added)
-
trunk/assets/google-sheets/vendor/league/csv/src/ResultSet.php (added)
-
trunk/assets/google-sheets/vendor/league/csv/src/Statement.php (added)
-
trunk/assets/google-sheets/vendor/league/csv/src/Stream.php (added)
-
trunk/assets/google-sheets/vendor/league/csv/src/SyntaxError.php (added)
-
trunk/assets/google-sheets/vendor/league/csv/src/UnavailableFeature.php (added)
-
trunk/assets/google-sheets/vendor/league/csv/src/Writer.php (added)
-
trunk/assets/google-sheets/vendor/league/csv/src/XMLConverter.php (added)
-
trunk/assets/google-sheets/vendor/league/csv/src/functions.php (added)
-
trunk/assets/google-sheets/vendor/league/csv/src/functions_include.php (added)
-
trunk/assets/js/ShMapper.admin.js (modified) (1 diff)
-
trunk/assets/js/ShMapper.yandex.js (modified) (10 diffs)
-
trunk/assets/js/ShMapperDrive.admin.js (added)
-
trunk/assets/js/ShMapperDrive.front.js (added)
-
trunk/class/ShMapPointType.class.php (modified) (3 diffs)
-
trunk/class/ShMapper.class.php (modified) (7 diffs)
-
trunk/class/ShMapperDrive.class.php (added)
-
trunk/class/ShMapperDrive_ajax.class.php (added)
-
trunk/class/ShMapperDriverPreview.class.php (added)
-
trunk/class/ShMapperPointMessage.class.php (added)
-
trunk/class/ShmMap.class.php (modified) (4 diffs)
-
trunk/class/ShmPoint.class.php (modified) (1 diff)
-
trunk/languages/shmapper-by-teplitsa-ru_RU.mo (modified) (previous)
-
trunk/languages/shmapper-by-teplitsa-ru_RU.po (modified) (36 diffs)
-
trunk/languages/shmapper-by-teplitsa.pot (modified) (33 diffs)
-
trunk/shmapper.php (modified) (6 diffs)
-
trunk/shortcode/shmMapFeed.shortcode.php (added)
-
trunk/tpl/input_file_form.php (modified) (1 diff)
-
trunk/tpl/shmMap.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
shmapper-by-teplitsa/trunk/README.txt
r2380712 r2481968 59 59 == Changelog == 60 60 61 = 1.4.0 = 62 * Added support for importing data from Google Sheets. 63 61 64 = 1.3.6 = 62 65 * WordPress 5.5 compatibility. -
shmapper-by-teplitsa/trunk/assets/css/ShMapper.css
r2380712 r2481968 44 44 { 45 45 text-overflow: ellipsis; 46 overflow: hidden;47 white-space: nowrap;46 overflow: hidden; 47 white-space: nowrap; 48 48 } 49 49 .shmw-100 … … 77 77 .leaflet-osm-point:after 78 78 { 79 content: "";80 width: 35px;81 height: 35px;82 background-image: url(../img/marker-shadow.png);83 background-size: cover;84 position: absolute;85 top: -5px;86 left: 5px;87 z-index: -100;79 content: ""; 80 width: 35px; 81 height: 35px; 82 background-image: url(../img/marker-shadow.png); 83 background-size: cover; 84 position: absolute; 85 top: -5px; 86 left: 5px; 87 z-index: -100; 88 88 } 89 89 @keyframes wobblehor … … 135 135 .shm_wizzard_closed 136 136 { 137 position: absolute;138 z-index: 20000;139 left: 160px;140 width: 25px;141 height: 25px;142 cursor: pointer;143 background: rgba(0,0,0,0);137 position: absolute; 138 z-index: 20000; 139 left: 160px; 140 width: 25px; 141 height: 25px; 142 cursor: pointer; 143 background: rgba(0,0,0,0); 144 144 display:none; 145 145 } … … 147 147 .shm_wizzard_closed:before 148 148 { 149 left: -12px;150 border: 12px solid transparent;151 content: " ";152 position: absolute;153 pointer-events: none;154 border-right-color: #0073aa;155 top: 8px;156 margin-top: -8px;157 width: 0;158 height: 1px;149 left: -12px; 150 border: 12px solid transparent; 151 content: " "; 152 position: absolute; 153 pointer-events: none; 154 border-right-color: #0073aa; 155 top: 8px; 156 margin-top: -8px; 157 width: 0; 158 height: 1px; 159 159 } 160 160 .shm_wizzard_closed:after 161 161 { 162 left: 12px;163 border: 12px solid transparent;164 content: " ";165 height: 0;166 width: 0;167 position: absolute;168 pointer-events: none;169 border-left-color: #0073aa;170 top: 8px;171 margin-top: -8px;172 width: 0;173 height: 1px;162 left: 12px; 163 border: 12px solid transparent; 164 content: " "; 165 height: 0; 166 width: 0; 167 position: absolute; 168 pointer-events: none; 169 border-left-color: #0073aa; 170 top: 8px; 171 margin-top: -8px; 172 width: 0; 173 height: 1px; 174 174 } 175 175 .shm_wizzard 176 176 { 177 position: absolute;178 z-index: 20000;179 top: 17px;180 right: -297px;181 padding: 20px 20px 35px 20px;182 --border-right: 6px solid #0073aa;183 background: #0073aa;184 color: #ddf1fb;185 font-family: Open Sans, Arial, sans serif;186 -webkit-box-shadow: 0 3px 5px 1px rgba(0,0,0,0.5);187 box-shadow: 0 3px 5px 1px rgba(0,0,0,0.5);188 width: 250px;189 margin-top: -25px;190 -webkit-border-radius: 6px;191 border-radius: 6px;177 position: absolute; 178 z-index: 20000; 179 top: 17px; 180 right: -297px; 181 padding: 20px 20px 35px 20px; 182 --border-right: 6px solid #0073aa; 183 background: #0073aa; 184 color: #ddf1fb; 185 font-family: Open Sans, Arial, sans serif; 186 -webkit-box-shadow: 0 3px 5px 1px rgba(0,0,0,0.5); 187 box-shadow: 0 3px 5px 1px rgba(0,0,0,0.5); 188 width: 250px; 189 margin-top: -25px; 190 -webkit-border-radius: 6px; 191 border-radius: 6px; 192 192 animation-name: wobblehor; 193 animation-duration: 1s;193 animation-duration: 1s; 194 194 } 195 195 .shm_wizzard:before 196 196 { 197 left: -16px;198 border: 8px solid transparent;199 content: " ";200 height: 0;201 width: 0;202 position: absolute;203 pointer-events: none;204 border-right-color: #0073aa;205 top: 25px;206 margin-top: -8px;197 left: -16px; 198 border: 8px solid transparent; 199 content: " "; 200 height: 0; 201 width: 0; 202 position: absolute; 203 pointer-events: none; 204 border-right-color: #0073aa; 205 top: 25px; 206 margin-top: -8px; 207 207 } 208 208 .shm_wizzard:after 209 209 { 210 210 z-index: -1; 211 left: 50%;212 bottom: -20px;213 content: " ";214 height: 60px;215 width: 60px;216 background: #0073aa;217 position: absolute;218 pointer-events: none;219 margin-left: -30px;220 border-radius: 100%;221 -webkit-border-radius: 100%;211 left: 50%; 212 bottom: -20px; 213 content: " "; 214 height: 60px; 215 width: 60px; 216 background: #0073aa; 217 position: absolute; 218 pointer-events: none; 219 margin-left: -30px; 220 border-radius: 100%; 221 -webkit-border-radius: 100%; 222 222 } 223 223 .shm_wizzard_close … … 227 227 right:2px; 228 228 padding:3px; 229 -webkit-border-radius: 4px;230 border-radius: 4px;229 -webkit-border-radius: 4px; 230 border-radius: 4px; 231 231 background:transparent; 232 232 } … … 252 252 font-size:0.6rem; 253 253 font-weight:500; 254 text-align: right;254 text-align: right; 255 255 } 256 256 .shm_wizzard_footer a … … 262 262 { 263 263 position: absolute; 264 text-align: right;265 right: 25px;264 text-align: right; 265 right: 25px; 266 266 } 267 267 .shm_wizzard_footer a[name='shm_wcurrent'] 268 268 { 269 269 position: absolute; 270 text-align: right;271 left: 25px;270 text-align: right; 271 left: 25px; 272 272 } 273 273 .shm_wizzard_footer a.dashicons-controls-play 274 274 { 275 font-size: 2rem;276 position: absolute;277 left: 50%;278 margin-left: -15px;279 margin-top: 15px;275 font-size: 2rem; 276 position: absolute; 277 left: 50%; 278 margin-left: -15px; 279 margin-top: 15px; 280 280 } 281 281 … … 283 283 { 284 284 display: flex; 285 position: relative;286 padding: 15px 2px;287 justify-content: space-between;285 position: relative; 286 padding: 15px 2px; 287 justify-content: space-between; 288 288 } 289 289 .shm_wizzard_line:before … … 299 299 .shm_wizzard_line>div 300 300 { 301 display: inline-flex;302 position: relative;303 width: 30px;304 height: 30px;305 background-color: #0073aa;306 border: 1px solid #aad9fb;307 text-align: center;308 border-radius: 100%;309 -webkit-border-radius: 100%;301 display: inline-flex; 302 position: relative; 303 width: 30px; 304 height: 30px; 305 background-color: #0073aa; 306 border: 1px solid #aad9fb; 307 text-align: center; 308 border-radius: 100%; 309 -webkit-border-radius: 100%; 310 310 } 311 311 .shm_wizzard_line>div>div … … 315 315 left:0%; 316 316 margin-top:-10px; 317 color: #0073aa;317 color: #0073aa; 318 318 font-weight:900; 319 color: #ddf1fb;319 color: #ddf1fb; 320 320 width:100%; 321 321 text-align:center; … … 327 327 .shm_wizzard_line>div.active>div 328 328 { 329 color: #0073aa;329 color: #0073aa; 330 330 } 331 331 .shm_warrow, .shm_warrow2 332 332 { 333 overflow: visible;334 display: inline-block;335 width: 30px;336 height: 30px;337 font-size: 30px;338 line-height: 1;339 font-family: dashicons;340 text-decoration: inherit;341 font-weight: 400;342 font-style: normal;343 vertical-align: top;344 text-align: center;345 transition: color .1s ease-in;346 -webkit-font-smoothing: antialiased;347 position: absolute;348 background-color: #EEE;349 padding: 5px;350 color: #0073aa;351 border-radius: 40px;352 -webkit-border-radius: 40px;333 overflow: visible; 334 display: inline-block; 335 width: 30px; 336 height: 30px; 337 font-size: 30px; 338 line-height: 1; 339 font-family: dashicons; 340 text-decoration: inherit; 341 font-weight: 400; 342 font-style: normal; 343 vertical-align: top; 344 text-align: center; 345 transition: color .1s ease-in; 346 -webkit-font-smoothing: antialiased; 347 position: absolute; 348 background-color: #EEE; 349 padding: 5px; 350 color: #0073aa; 351 border-radius: 40px; 352 -webkit-border-radius: 40px; 353 353 animation-name: roll; 354 animation-duration: 1s;354 animation-duration: 1s; 355 355 animation-iteration-count:infinite; 356 356 text-shadow: 0px 2px 3px #4A4A4A; … … 377 377 .shm-clr 378 378 { 379 width: 20px;380 height: 20px;381 position: relative;382 background: #777;383 position: absolute;384 top: 15px;385 left: 15px;379 width: 20px; 380 height: 20px; 381 position: relative; 382 background: #777; 383 position: absolute; 384 top: 15px; 385 left: 15px; 386 386 -webkit-border-radius: 20px; 387 387 border-radius: 20px; … … 389 389 .shm-clr-little 390 390 { 391 width: 19px;392 height: 19px;393 position: relative;394 background: #777;395 position: absolute;396 top: 3px;397 left: 3px;391 width: 19px; 392 height: 19px; 393 position: relative; 394 background: #777; 395 position: absolute; 396 top: 3px; 397 left: 3px; 398 398 -webkit-border-radius: 19px; 399 399 border-radius: 19px; … … 402 402 { 403 403 width: 20px; 404 height: 20px;405 background: #777;406 --position: absolute;407 --top: 6px;408 --left: 6px;404 height: 20px; 405 background: #777; 406 --position: absolute; 407 --top: 6px; 408 --left: 6px; 409 409 margin: 6px; 410 -webkit-border-radius: 20px;411 border-radius: 20px;410 -webkit-border-radius: 20px; 411 border-radius: 20px; 412 412 } 413 413 .shm-csv-icon 414 414 { 415 width: 30px;416 height: 30px;417 background-image: url(../img/csv_icon.png);418 background-size: cover;419 background-position: center;420 background-repeat: no-repeat;421 position: relative;422 display: block;423 float: right;424 border: 0!important;425 z-index: 2;415 width: 30px; 416 height: 30px; 417 background-image: url(../img/csv_icon.png); 418 background-size: cover; 419 background-position: center; 420 background-repeat: no-repeat; 421 position: relative; 422 display: block; 423 float: right; 424 border: 0!important; 425 z-index: 2; 426 426 opacity:0.9; 427 427 } … … 432 432 .shm-map-panel 433 433 { 434 z-index: 3;435 height: 30px;434 z-index: 3; 435 height: 30px; 436 436 text-align:right; 437 437 } … … 548 548 { 549 549 padding:0 10px 0 0!important; 550 margin: 0px;551 background: #333;552 color: #FFF;553 font-size: 10px;554 display: inline-block;555 position: relative;550 margin: 0px; 551 background: #333; 552 color: #FFF; 553 font-size: 10px; 554 display: inline-block; 555 position: relative; 556 556 text-shadow: 1px 1px 1px #000000; 557 557 … … 655 655 { 656 656 display: -ms-flexbox; 657 display: flex;658 -ms-flex-wrap: wrap;659 flex-wrap: wrap;660 margin-right: -15px;661 margin-left: -15px;657 display: flex; 658 -ms-flex-wrap: wrap; 659 flex-wrap: wrap; 660 margin-right: -15px; 661 margin-left: -15px; 662 662 } 663 663 .sh, .shm-1, .shm-10, .shm-11, .shm-12, .shm-2, .shm-3, .shm-4, .shm-5, .shm-6, .shm-7, .shm-8, .shm-9, .shm-auto, .shm-lg, .shm-lg-1, .shm-lg-10, .shm-lg-11, .shm-lg-12, .shm-lg-2, .shm-lg-3, .shm-lg-4, .shm-lg-5, .shm-lg-6, .shm-lg-7, .shm-lg-8, .shm-lg-9, .shm-lg-auto, .shm-md, .shm-md-1, .shm-md-10, .shm-md-11, .shm-md-12, .shm-md-2, .shm-md-3, .shm-md-4, .shm-md-5, .shm-md-6, .shm-md-7, .shm-md-8, .shm-md-9, .shm-md-auto, .shm-sm, .shm-sm-1, .shm-sm-10, .shm-sm-11, .shm-sm-12, .shm-sm-2, .shm-sm-3, .shm-sm-4, .shm-sm-5, .shm-sm-6, .shm-sm-7, .shm-sm-8, .shm-sm-9, .shm-sm-auto, .shm-xl, .shm-xl-1, .shm-xl-10, .shm-xl-11, .shm-xl-12, .shm-xl-2, .shm-xl-3, .shm-xl-4, .shm-xl-5, .shm-xl-6, .shm-xl-7, .shm-xl-8, .shm-xl-9, .shm-xl-auto 664 664 { 665 position: relative;666 width: 100%;667 min-height: 1px;668 padding-right: 15px;669 padding-left: 15px;665 position: relative; 666 width: 100%; 667 min-height: 1px; 668 padding-right: 15px; 669 padding-left: 15px; 670 670 box-sizing: border-box; 671 671 } … … 674 674 -ms-flex: 0 0 100%; 675 675 flex: 0 0 100%; 676 max-width: 100%;676 max-width: 100%; 677 677 } 678 678 .shm-11 679 679 { 680 -ms-flex: 0 0 91.666667%;681 flex: 0 0 91.666667%;682 max-width: 91.666667%;680 -ms-flex: 0 0 91.666667%; 681 flex: 0 0 91.666667%; 682 max-width: 91.666667%; 683 683 } 684 684 .shm-10 685 685 { 686 -ms-flex: 0 0 83.333333%;687 flex: 0 0 83.333333%;688 max-width: 83.333333%;686 -ms-flex: 0 0 83.333333%; 687 flex: 0 0 83.333333%; 688 max-width: 83.333333%; 689 689 } 690 690 .shm-9 691 691 { 692 -ms-flex: 0 0 75%;693 flex: 0 0 75%;694 max-width: 75%;692 -ms-flex: 0 0 75%; 693 flex: 0 0 75%; 694 max-width: 75%; 695 695 } 696 696 .shm-8 697 697 { 698 -ms-flex: 0 0 66.666667%;699 flex: 0 0 66.666667%;700 max-width: 66.666667%;698 -ms-flex: 0 0 66.666667%; 699 flex: 0 0 66.666667%; 700 max-width: 66.666667%; 701 701 } 702 702 .shm-7 703 703 { 704 -ms-flex: 0 0 58.3333333%;705 flex: 0 0 58.3333333%;706 max-width: 58.3333333%;704 -ms-flex: 0 0 58.3333333%; 705 flex: 0 0 58.3333333%; 706 max-width: 58.3333333%; 707 707 } 708 708 .shm-6 … … 710 710 -ms-flex: 0 0 50%; 711 711 flex: 0 0 50%; 712 max-width: 50%;712 max-width: 50%; 713 713 } 714 714 .shm-5 715 715 { 716 -ms-flex: 0 0 41.666667%;717 flex: 0 0 41.666667%;718 max-width: 41.666667%;716 -ms-flex: 0 0 41.666667%; 717 flex: 0 0 41.666667%; 718 max-width: 41.666667%; 719 719 } 720 720 .shm-4 721 721 { 722 722 -ms-flex: 0 0 33.333333%; 723 flex: 0 0 33.333333%;724 max-width: 33.333333%;723 flex: 0 0 33.333333%; 724 max-width: 33.333333%; 725 725 } 726 726 .shm-3 727 727 { 728 -ms-flex: 0 0 25%;729 flex: 0 0 25%;730 max-width: 25%;728 -ms-flex: 0 0 25%; 729 flex: 0 0 25%; 730 max-width: 25%; 731 731 } 732 732 .shm-2 733 733 { 734 -ms-flex: 0 0 16.666667%;735 flex: 0 0 16.666667%;736 max-width: 16.666667%;734 -ms-flex: 0 0 16.666667%; 735 flex: 0 0 16.666667%; 736 max-width: 16.666667%; 737 737 } 738 738 .shm-1 739 739 { 740 -ms-flex: 0 0 8.333333%;741 flex: 0 0 8.333333%;742 max-width: 8.333333%;740 -ms-flex: 0 0 8.333333%; 741 flex: 0 0 8.333333%; 742 max-width: 8.333333%; 743 743 } 744 744 … … 783 783 .sh-form 784 784 { 785 width: 100%;786 margin-bottom: 3px;787 flex-direction: column;788 display: flex;789 justify-content: center;790 background-color: rgba(0,0,0,0.05);791 border: 1px solid rgba(0,0,0,0.025);792 padding: 7px;785 width: 100%; 786 margin-bottom: 3px; 787 flex-direction: column; 788 display: flex; 789 justify-content: center; 790 background-color: rgba(0,0,0,0.05); 791 border: 1px solid rgba(0,0,0,0.025); 792 padding: 7px; 793 793 } 794 794 .sh-form:disabled 795 795 { 796 796 color:#555; 797 background: rgba(0, 0, 0, 0.05);797 background: rgba(0, 0, 0, 0.05); 798 798 } 799 799 select.sh-form … … 808 808 .shm-form-file 809 809 { 810 padding: 5px 5px;811 position: relative;812 border: 1px solid rgba(162, 159, 159, 0.25);813 background-color: rgba(0, 0, 0, 0.125);814 margin: 0 0 5px 0;815 font-size: 1rem;816 color: #a5a2a2;817 height: 63px;818 display: flex;810 padding: 5px 5px; 811 position: relative; 812 border: 1px solid rgba(162, 159, 159, 0.25); 813 background-color: rgba(0, 0, 0, 0.125); 814 margin: 0 0 5px 0; 815 font-size: 1rem; 816 color: #a5a2a2; 817 height: 63px; 818 display: flex; 819 819 overflow:hidden; 820 820 width:100%; … … 832 832 { 833 833 opacity: 0; 834 width: 100%;835 height: 100%;836 position: absolute;837 top: 0;838 left: 0;834 width: 100%; 835 height: 100%; 836 position: absolute; 837 top: 0; 838 left: 0; 839 839 } 840 840 .shm-form-element … … 854 854 { 855 855 opacity: 0.7; 856 font-size: 0.75rem;857 margin-bottom: 15px;858 vertical-align: top;859 margin-top: -5px;856 font-size: 0.75rem; 857 margin-bottom: 15px; 858 vertical-align: top; 859 margin-top: -5px; 860 860 } 861 861 ul.shm-card … … 866 866 { 867 867 padding: 15px; 868 border-bottom: 1px solid rgba(0, 0, 0, 0.14);869 flex-direction: column;870 background-color: rgba(0, 0, 0, 0.1);871 display: flex;872 justify-content: center;873 margin: 0;868 border-bottom: 1px solid rgba(0, 0, 0, 0.14); 869 flex-direction: column; 870 background-color: rgba(0, 0, 0, 0.1); 871 display: flex; 872 justify-content: center; 873 margin: 0; 874 874 } 875 875 .my_image_delete 876 876 { 877 877 padding: 3px!important; 878 margin: 3px!important;878 margin: 3px!important; 879 879 } 880 880 ul.shm-card li:nth-of-type(even) … … 897 897 { 898 898 flex-direction: column; 899 display: flex;900 justify-content: center;899 display: flex; 900 justify-content: center; 901 901 } 902 902 .shm_container … … 905 905 position:relative; 906 906 height:400px; 907 border:1px solid # 111;907 border:1px solid #ccc; 908 908 } 909 909 .column-type, … … 937 937 { 938 938 content: attr(title); 939 position: absolute;940 top: -66px;941 left: 50%;942 margin-left: -20px;943 width: 100px;944 text-align: left;945 font-size: 12px;946 font-family: sans-serif;939 position: absolute; 940 top: -66px; 941 left: 50%; 942 margin-left: -20px; 943 width: 100px; 944 text-align: left; 945 font-size: 12px; 946 font-family: sans-serif; 947 947 color: #6c757d; 948 948 pointer-events: none; … … 995 995 { 996 996 display: inline-block; 997 padding: 5px 0 0 0 ;998 position: relative;997 padding: 5px 0 0 0 ; 998 position: relative; 999 999 } 1000 1000 .shm-type-icon … … 1065 1065 font-weight:100; 1066 1066 font-family:sans-serif; 1067 max-height: 380px; 1068 overflow-y: auto; 1067 1069 } 1068 1070 .shm_modal_close … … 1094 1096 display:block; 1095 1097 z-index:1; 1096 --width: 100%;1098 --width: 100%; 1097 1099 } 1098 1100 .shm-inline … … 1104 1106 display:inline-block; 1105 1107 padding:2px; 1106 line-height: 1;1108 line-height: 1; 1107 1109 min-width:23px; 1108 1110 } … … 1155 1157 pointer-events:none; 1156 1158 animation-name: wobble; 1157 animation-duration: 1s;1159 animation-duration: 1s; 1158 1160 } 1159 1161 .shm-alert … … 1235 1237 input[type=radio].radio:not(checked) + label:after 1236 1238 { 1237 content: '';1238 position: absolute;1239 top: 10px;1240 left: 5px;1241 width: 14px;1242 height: 14px;1243 -webkit-border-radius: 14px;1244 border-radius: 14px;1245 background: #8ca0ce;1246 box-shadow: inset 0 1px 1px rgba(0,0,0,.5);1247 opacity: 0;1248 transition: all .2s;1239 content: ''; 1240 position: absolute; 1241 top: 10px; 1242 left: 5px; 1243 width: 14px; 1244 height: 14px; 1245 -webkit-border-radius: 14px; 1246 border-radius: 14px; 1247 background: #8ca0ce; 1248 box-shadow: inset 0 1px 1px rgba(0,0,0,.5); 1249 opacity: 0; 1250 transition: all .2s; 1249 1251 } 1250 1252 input[type=radio].radio:checked + label:after … … 1293 1295 input[type=checkbox].checkbox:not(checked) + label:after 1294 1296 { 1295 content: '';1296 position: absolute;1297 top: 10px;1298 left: 5px;1299 width: 14px;1300 height: 14px;1301 -webkit-border-radius: 14px;1302 border-radius: 14px;1303 background: #8ca0ce;1304 box-shadow: inset 0 1px 1px rgba(0,0,0,.5);1305 opacity: 0;1306 transition: all .2s;1297 content: ''; 1298 position: absolute; 1299 top: 10px; 1300 left: 5px; 1301 width: 14px; 1302 height: 14px; 1303 -webkit-border-radius: 14px; 1304 border-radius: 14px; 1305 background: #8ca0ce; 1306 box-shadow: inset 0 1px 1px rgba(0,0,0,.5); 1307 opacity: 0; 1308 transition: all .2s; 1307 1309 } 1308 1310 input[type=checkbox].checkbox:checked + label:after … … 1318 1320 { 1319 1321 position: absolute; 1320 opacity: 0;1321 width: 0;1322 min-width: 0px;1323 height: 0;1324 pointer-events: none;1322 opacity: 0; 1323 width: 0; 1324 min-width: 0px; 1325 height: 0; 1326 pointer-events: none; 1325 1327 } 1326 1328 input[type=checkbox].ganre_checkbox:not(.checked) + label , … … 1334 1336 input[type=radio].ganre_checkbox2:not(checked) + label 1335 1337 { 1336 position: relative;1337 padding: 0 0 0 56px;1338 height: 55px;1339 vertical-align: middle;1340 display: table-cell;1341 margin-bottom: 2px;1338 position: relative; 1339 padding: 0 0 0 56px; 1340 height: 55px; 1341 vertical-align: middle; 1342 display: table-cell; 1343 margin-bottom: 2px; 1342 1344 } 1343 1345 /* Оформление первой части чекбокса в выключенном состоянии (фон). */ … … 1390 1392 left:15px; 1391 1393 -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */ 1392 filter: grayscale(100%);1394 filter: grayscale(100%); 1393 1395 opacity:0.5; 1394 1396 -webkit-transition: all 300ms ease-out; … … 1406 1408 { 1407 1409 -webkit-filter: grayscale(0%); /* Safari 6.0 - 9.0 */ 1408 filter: grayscale(0%);1410 filter: grayscale(0%); 1409 1411 opacity:1; 1410 1412 } … … 1414 1416 input[type=radio].ganre_checkbox2:not(checked) + label 1415 1417 { 1416 padding: 0 0 0 28px;1417 height: 33px;1418 padding: 0 0 0 28px; 1419 height: 33px; 1418 1420 -webkit-border-radius: 0px; 1419 1421 border-radius: 0px; … … 1440 1442 { 1441 1443 -webkit-filter: grayscale(90%); /* Safari 6.0 - 9.0 */ 1442 filter: grayscale(90%);1444 filter: grayscale(90%); 1443 1445 opacity:0.6; 1444 1446 } … … 1448 1450 text-decoration:none!important; 1449 1451 border-bottom: none!important; 1450 position: absolute;1451 bottom: 4px;1452 left: 4px;1452 position: absolute; 1453 bottom: 4px; 1454 left: 4px; 1453 1455 } 1454 1456 .ballon_header … … 1467 1469 .leaflet-pane 1468 1470 { 1469 z-index: 1!important;1471 z-index: 1!important; 1470 1472 } 1471 1473 #tagsdiv-shm_point_type … … 1475 1477 .leaflet-top, .leaflet-bottom 1476 1478 { 1477 z-index: 3!important;1479 z-index: 3!important; 1478 1480 } 1479 1481 .the-content p, … … 1481 1483 .the-content blockquote 1482 1484 { 1483 margin-bottom: 0.5rem!important;1485 margin-bottom: 0.5rem!important; 1484 1486 } 1485 1487 .ymaps-2-1-68-balloon__close+.ymaps-2-1-68-balloon__content … … 1501 1503 } 1502 1504 .leaflet-touch .leaflet-control-fullscreen a { 1503 background-position: 2px 2px;1504 }1505 background-position: 2px 2px; 1506 } 1505 1507 .leaflet-fullscreen-on .leaflet-control-fullscreen a { 1506 background-position:0 -26px;1507 }1508 background-position:0 -26px; 1509 } 1508 1510 .leaflet-touch.leaflet-fullscreen-on .leaflet-control-fullscreen a { 1509 background-position: 2px -24px;1510 }1511 background-position: 2px -24px; 1512 } 1511 1513 1512 1514 /* Do not combine these two rules; IE will break. */ … … 1536 1538 (min-resolution:192dpi) 1537 1539 { 1538 .leaflet-control-fullscreen a1540 .leaflet-control-fullscreen a 1539 1541 { 1540 background-image:url(../img/fullscreen@2x.png);1541 }1542 background-image:url(../img/fullscreen@2x.png); 1543 } 1542 1544 } 1543 1545 /* … … 1599 1601 1600 1602 .shm-type-icon.shmapperMarkerSelected { 1601 border: 1px solid #111111;1603 border: 1px solid #111111; 1602 1604 } 1603 1605 … … 1610 1612 1611 1613 .shm_container .leaflet-popup .leaflet-popup-content-wrapper .leaflet-popup-content { 1612 overflow: hidden;1614 overflow: hidden; 1613 1615 } 1614 1616 1615 1617 .shm_container .leaflet-popup .leaflet-popup-content-wrapper .leaflet-popup-content .shml-body { 1616 overflow: auto;1617 padding-right: 5px;1618 overflow: auto; 1619 padding-right: 5px; 1618 1620 } 1619 1621 1620 1622 .leaflet-popup-content .shml-popup-scroll::-webkit-scrollbar-track 1621 1623 { 1622 -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);1623 border-radius: 6px;1624 background-color: #F5F5F5;1624 -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); 1625 border-radius: 6px; 1626 background-color: #F5F5F5; 1625 1627 } 1626 1628 1627 1629 .leaflet-popup-content .shml-popup-scroll::-webkit-scrollbar 1628 1630 { 1629 width: 8px;1630 background-color: #F5F5F5;1631 width: 8px; 1632 background-color: #F5F5F5; 1631 1633 } 1632 1634 1633 1635 .leaflet-popup-content .shml-popup-scroll::-webkit-scrollbar-thumb 1634 1636 { 1635 border-radius: 6px;1636 -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);1637 background-color: #888888;1637 border-radius: 6px; 1638 -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3); 1639 background-color: #888888; 1638 1640 } 1639 1641 1640 1642 /* admin footer */ 1641 1643 .shmapper-admin-footer { 1642 display: block;1643 margin-top: 16px;1644 margin-bottom: 8px;1644 display: block; 1645 margin-top: 16px; 1646 margin-bottom: 8px; 1645 1647 } 1646 1648 … … 1649 1651 .post-type-shm_request #footer-upgrade, 1650 1652 .shmapper_page_shm_settings_page #footer-upgrade { 1651 margin-top: 40px; 1652 } 1653 margin-top: 40px; 1654 } 1655 1656 /** Range Control */ 1657 .shm-range[type=range] { 1658 display: block; 1659 -webkit-appearance: none; 1660 background-color: #bdc3c7; 1661 width: calc( 100% - 30px ); 1662 height: 5px; 1663 border-radius: 5px; 1664 margin: 0; 1665 outline: 0; 1666 } 1667 .shm-range[type=range]::-webkit-slider-thumb { 1668 -webkit-appearance: none; 1669 background-color: #007cba; 1670 width: 17px; 1671 height: 17px; 1672 border-radius: 50%; 1673 border: 1px solid #005a87; 1674 cursor: pointer; 1675 transition: 0.3s ease-in-out; 1676 } 1677 .shm-range[type=range]::-webkit-slider-thumb:hover { 1678 background-color: #006799; 1679 border: 2px solid #0085ba; 1680 } 1681 .shm-range[type=range]::-webkit-slider-thumb:active { 1682 transform: scale(1.2); 1683 } 1684 .shm-admin-block .shm-range { 1685 margin-top: 12px; 1686 position: relative; 1687 } 1688 .shm-admin-block .shm-range + .description { 1689 margin-top: 20px; 1690 } 1691 .shm-admin-block .shm-range:after { 1692 content: attr(value); 1693 position: absolute; 1694 display: block; 1695 top: -8px; 1696 left: calc( 100% + 10px ); 1697 } -
shmapper-by-teplitsa/trunk/assets/js/ShMapper.admin.js
r2433792 r2481968 156 156 } 157 157 }); 158 159 $('[name="overlay_color"], [name="border_color"]').wpColorPicker({ 160 'defaultColor': '#d1d1d1' 161 }); 162 163 $('.shm-range').on('input', function(){ 164 $(this).attr('value', this.value); 165 }); 166 158 167 }); 159 168 -
shmapper-by-teplitsa/trunk/assets/js/ShMapper.yandex.js
r2433792 r2481968 123 123 var addr = $this.val(); 124 124 console.log(addr); 125 125 126 126 var $selectedMarker = $this.closest('.shm-form-request').find('.shm-form-placemarks .shm-type-icon.shmapperMarkerSelected'); 127 127 128 128 if(!$selectedMarker.length) { 129 129 $selectedMarker = $this.closest('.shm-form-request').find('.shm-form-placemarks .shm-type-icon').first(); … … 133 133 ymaps.geocode(addr).then(function (res) { 134 134 var firstGeoObject = res.geoObjects.get(0); 135 // console.log("decoded"); 136 135 137 136 new_mark_coords = firstGeoObject.geometry.getCoordinates(); 138 // console.log(new_mark_coords); 139 137 140 138 var $map_id = $selectedMarker.parents("form.shm-form-request").attr("form_id"); 141 139 map = shm_maps[$map_id]; … … 145 143 146 144 }, function (err) { 147 // console.log("error"); 148 console.log(err); 145 console.log(err); 149 146 }); 150 147 } … … 155 152 }); 156 153 $addrInput.keydown(function(e){ 157 if(e.keyCode == 13){158 e.preventDefault();154 if(e.keyCode == 13){ 155 e.preventDefault(); 159 156 shm_place_marker_by_addr($(this)); 160 }157 } 161 158 }); 162 159 160 var isDraggable = false; 161 if ( shmYa.isAdmin == 'true' ) { 162 isDraggable = true; 163 } 164 165 console.log(isDraggable); 166 console.log(shmYa.isAdmin); 167 163 168 // 164 169 init_map = function(mData, points) 165 170 { 171 172 var restrinctArea = [[-85, -179], [85, 179]]; 173 if ( shmYa.isAdmin == 'true' ) { 174 restrinctArea = false; 175 } 176 166 177 var i=0, paramet; 167 var myMap = new ymaps.Map(mData.uniq, 168 { 169 center: [ mData.latitude, mData.longitude], 170 controls: [ ], 171 zoom: mData.zoom, 172 type: 'yandex#' + mData.mapType 178 var myMap = new ymaps.Map( mData.uniq, 179 { 180 center: [ mData.latitude, mData.longitude], 181 controls: [ ], 182 zoom: mData.zoom, 183 type: 'yandex#' + mData.mapType 184 }, { 185 restrictMapArea: restrinctArea 173 186 }); 174 187 188 if ( mData.country && mData.overlay ) { 189 190 var map = myMap; 191 192 if ( mData.country === 'RU' ) { 193 194 ymaps.regions.load( 'RU', { 195 lang: shmYa.langIso, 196 quality: 3, 197 disputedBorders: '' 198 }).then(function (result) { 199 var background = new ymaps.Polygon([ 200 [ 201 [85, -179.99], 202 [85, 179.99], 203 [-85, 179.99], 204 [-85, -179.99], 205 [85, -179.99] 206 ] 207 ], {}, { 208 fillColor: mData.overlay, 209 strokeWidth: 1, 210 strokeColor: mData.border, 211 opacity: mData.overlayOpacity, 212 coordRendering: 'straightPath' 213 }); 214 215 var regions = result.geoObjects; 216 217 regions.each(function (reg) { 218 var masks = reg.geometry._coordPath._coordinates; 219 if ( reg.properties.get('osmId') != '151231' ) { 220 masks.forEach(function(mask){ 221 background.geometry.insert(1, mask); 222 }); 223 } 224 }); 225 226 map.geoObjects.add( background ); 227 }); 228 229 } else { 230 231 // Load Countries. 232 ymaps.borders.load( '001' , { 233 lang: shmYa.langIso, 234 quality: 3, 235 } ).then( function( result ) { 236 237 var background = new ymaps.Polygon([ 238 [ 239 [85, -179.99], 240 [85, 179.99], 241 [-85, 179.99], 242 [-85, -179.99], 243 [85, -179.99] 244 ] 245 ], {}, { 246 fillColor: mData.overlay, 247 strokeWidth: 1, 248 strokeColor: mData.border, 249 opacity: mData.overlayOpacity, 250 coordRendering: 'straightPath' 251 }); 252 253 // Find country by iso. 254 var region = result.features.filter(function (feature) { 255 return feature.properties.iso3166 == mData.country; })[0]; 256 257 // Add world overlay. 258 var masks = region.geometry.coordinates; 259 masks.forEach( function( mask ){ 260 background.geometry.insert(1, mask); 261 }); 262 map.geoObjects.add( background ); 263 264 }); 265 266 } 267 } 268 175 269 //search 176 270 if(mData.isSearch) … … 215 309 myMap.behaviors.disable('scrollZoom'); 216 310 myMap.behaviors.disable('drag'); 217 } 311 } 312 218 313 // add to global array 219 314 shm_maps[mData.uniq] = myMap; … … 271 366 term_id:elem.term_id, 272 367 type:'point', 273 draggable: true368 draggable: isDraggable 274 369 }; 275 370 } … … 286 381 term_id:-1, 287 382 type:'point', 288 draggable: true383 draggable: isDraggable 289 384 }; 290 385 … … 293 388 { 294 389 paramet = { 295 draggable: true,296 390 balloonMaxWidth: 250, 297 391 balloonItemContentLayout: customItemContentLayout, … … 301 395 term_id:elem.term_id, 302 396 type:'point', 303 draggable: true397 draggable: isDraggable 304 398 } 305 399 } … … 313 407 coordinates: [elem.latitude, elem.longitude] // координаты точки 314 408 }, 315 draggable: true,409 draggable: false, 316 410 balloonContentHeader: elem.post_title, 317 411 balloonContentBody: elem.post_content, -
shmapper-by-teplitsa/trunk/class/ShMapPointType.class.php
r2433792 r2481968 38 38 'singular_name' => __("Map marker type", SHMAPPER), 39 39 'search_items' => __("Search Map marker type", SHMAPPER), 40 'all_items' => __(" all Map marker types", SHMAPPER),41 'view_item ' => __(" view Map marker type", SHMAPPER),42 'parent_item' => __(" parent Map marker type", SHMAPPER),43 'parent_item_colon' => __(" parent Map marker type:", SHMAPPER),44 'edit_item' => __(" edit Map marker type", SHMAPPER),45 'update_item' => __(" update Map marker type", SHMAPPER),46 'add_new_item' => __(" add Map marker type", SHMAPPER),47 'new_item_name' => __(" new Map marker type name", SHMAPPER),40 'all_items' => __("All Map marker types", SHMAPPER), 41 'view_item ' => __("View Map marker type", SHMAPPER), 42 'parent_item' => __("Parent Map marker type", SHMAPPER), 43 'parent_item_colon' => __("Parent Map marker type:", SHMAPPER), 44 'edit_item' => __("Edit Map marker type", SHMAPPER), 45 'update_item' => __("Update Map marker type", SHMAPPER), 46 'add_new_item' => __("Add Map marker type", SHMAPPER), 47 'new_item_name' => __("New Map marker type name", SHMAPPER), 48 48 'menu_name' => __("Map marker type", SHMAPPER), 49 49 ); … … 355 355 $after"; 356 356 } 357 358 if( isset($params['default_none']) ) 359 { 357 358 if ( isset( $params['default_none'] ) ) { 360 359 if ( ! isset( $class ) ) { 361 $class = ' ';360 $class = 'ganre_checkbox'; 362 361 } 363 362 $html .= " … … 377 376 "</label> 378 377 </div>"; 379 } 380 378 } 379 381 380 $html .= " 382 381 <input type='hidden' id='".$params['prefix']."pointtype' name='".(empty($params['name']) ? '' : $params['name'])."' point='' value='".(is_array($params['selected']) ? implode(",", $params['selected']) : $params['selected']) . "' /> -
shmapper-by-teplitsa/trunk/class/ShMapper.class.php
r2433792 r2481968 198 198 static function add_admin_js_script() 199 199 { 200 $locale = get_locale(); 200 201 //css 201 202 wp_register_style("ShMapper", SHM_URLPATH . 'assets/css/ShMapper.css', array(), SHMAPPER_VERSION); … … 204 205 wp_register_script("ShMapper", plugins_url( '../assets/js/ShMapper.js', __FILE__ ), array('inline-edit-post')); 205 206 wp_enqueue_script("ShMapper"); 207 wp_enqueue_media(); 208 wp_enqueue_style( 'wp-color-picker'); 209 wp_enqueue_script( 'wp-color-picker' ); 206 210 wp_register_script("ShMapper.admin", plugins_url( '../assets/js/ShMapper.admin.js', __FILE__ ), array()); 207 211 wp_enqueue_script("ShMapper.admin"); … … 212 216 $ymap_key = ShMapper::$options['shm_yandex_maps_api_key']; 213 217 } 214 wp_register_script("api-maps", "https://api-maps.yandex.ru/2.1/?apikey=" . esc_attr( $ymap_key ) . "&load=package.full&lang= ru_RU", array());215 wp_enqueue_script("api-maps"); 218 wp_register_script("api-maps", "https://api-maps.yandex.ru/2.1/?apikey=" . esc_attr( $ymap_key ) . "&load=package.full&lang=" . $locale, array()); 219 wp_enqueue_script("api-maps"); 216 220 wp_register_script("ShMapper.yandex", plugins_url( '../assets/js/ShMapper.yandex.js', __FILE__ ), array()); 217 221 wp_enqueue_script("ShMapper.yandex"); … … 284 288 'Are you shure?' => __( "Are you shure?", SHMAPPER ), 285 289 ) 286 ); 290 ); 291 292 $is_admin = 'false'; 293 if ( is_admin() ) { 294 $is_admin = 'true'; 295 } 296 297 wp_localize_script( 298 'ShMapper.yandex', 299 'shmYa', 300 array( 301 'locale' => get_locale(), 302 'language' => get_bloginfo( 'language' ), 303 'langIso' => substr( get_bloginfo ( 'language' ), 0, 2 ), 304 'isAdmin' => $is_admin, 305 ) 306 ); 287 307 } 288 308 static function add_frons_js_script() 289 309 { 310 $locale = get_locale(); 290 311 $ymap_key = ''; 291 312 if ( isset( ShMapper::$options['shm_yandex_maps_api_key'] ) ) { … … 303 324 if( static::$options['map_api'] == 1 ) 304 325 { 305 wp_register_script("api-maps", "https://api-maps.yandex.ru/2.1/?apikey=" . esc_attr( $ymap_key ) . "&load=package.full&lang= ru_RU", array());306 wp_enqueue_script("api-maps"); 326 wp_register_script("api-maps", "https://api-maps.yandex.ru/2.1/?apikey=" . esc_attr( $ymap_key ) . "&load=package.full&lang=" . $locale, array()); 327 wp_enqueue_script("api-maps"); 307 328 wp_register_script("ShMapper.yandex", plugins_url( '../assets/js/ShMapper.yandex.js', __FILE__ ), array()); 308 329 wp_enqueue_script("ShMapper.yandex"); 309 330 } 310 else if( static::$options['map_api'] == 2 )331 else if( static::$options['map_api'] == 2 ) 311 332 { 312 333 //css … … 375 396 'Error: no map' => __( "Error: the form is not associated with the card. To link a map and a form, there should be 2 shortcodes on one page (map - [shmMap id = '6' map = 'true' uniq = 'for example, 777'] and form - [shmMap id = '94' form = 'true' uniq = 'for example, 777']), in which the uniq parameter will match", SHMAPPER ), 376 397 ) 377 ); 398 ); 399 400 $is_admin = 'false'; 401 if ( is_admin() ) { 402 $is_admin = 'true'; 403 } 404 405 wp_localize_script( 406 'ShMapper.yandex', 407 'shmYa', 408 array( 409 'locale' => get_locale(), 410 'language' => get_bloginfo( 'language' ), 411 'langIso' => substr( get_bloginfo ( 'language' ), 0, 2 ), 412 'isAdmin' => $is_admin, 413 ) 414 ); 415 378 416 } 379 417 static function set_styles() … … 701 739 <div class='shm-1'></div> 702 740 </div> 703 </li> 741 </li>" . apply_filters( 'shmapper_admin', '' ) . " 704 742 <li> 705 743 <div class='shm-row' id='shm_vocabulary_cont'> -
shmapper-by-teplitsa/trunk/class/ShmMap.class.php
r2433792 r2481968 223 223 { 224 224 require_once( SHM_REAL_PATH . "tpl/input_file_form.php" ); 225 $height = $obj->get_meta("height") ? $obj->get_meta("height") : 400; 226 $latitude = $obj->get_meta("latitude"); 227 $longitude = $obj->get_meta("longitude"); 228 $zoom = $obj->get_meta("zoom"); 229 $width = $obj->get_meta("width"); 230 $is_search = $obj->get_meta("is_search"); 231 $is_zoomer = $obj->get_meta("is_zoomer"); 232 $is_layer_switcher = $obj->get_meta("is_layer_switcher"); 233 $is_fullscreen = $obj->get_meta("is_fullscreen"); 234 $is_csv = $obj->get_meta("is_csv"); 235 $is_legend = $obj->get_meta("is_legend"); 236 $is_filtered = $obj->get_meta("is_filtered"); 237 $default_icon_id = $obj->get_meta("default_icon_id"); 238 $is_clustered = $obj->get_meta("is_clustered"); 239 $is_lock = $obj->get_meta("is_lock"); 240 $form_title = $obj->get_meta("form_title"); 225 $map_source = ShmMap::get_map_types()[ ShMapper::$options['map_api'] ][0]; 226 $height = $obj->get_meta( 'height' ) ? $obj->get_meta( 'height' ) : 400; 227 $latitude = $obj->get_meta( 'latitude' ); 228 $longitude = $obj->get_meta( 'longitude' ); 229 $zoom = $obj->get_meta( 'zoom' ); 230 $width = $obj->get_meta( 'width' ); 231 $is_search = $obj->get_meta( 'is_search' ); 232 $is_zoomer = $obj->get_meta( 'is_zoomer' ); 233 $is_layer_switcher = $obj->get_meta( 'is_layer_switcher' ); 234 $is_fullscreen = $obj->get_meta( 'is_fullscreen' ); 235 $is_csv = $obj->get_meta( 'is_csv' ); 236 $is_legend = $obj->get_meta( 'is_legend' ); 237 $is_filtered = $obj->get_meta( 'is_filtered' ); 238 $default_icon_id = $obj->get_meta( 'default_icon_id' ); 239 $is_clustered = $obj->get_meta( 'is_clustered' ); 240 $is_lock = $obj->get_meta( 'is_lock' ); 241 $form_title = $obj->get_meta( 'form_title' ); 242 $highlight_country = $obj->get_meta( 'highlight_country' ); 243 $overlay_color = $obj->get_meta( 'overlay_color' ) ? $obj->get_meta( 'overlay_color' ) : '#d1d1d1'; 244 $border_color = $obj->get_meta( 'border_color' ) ? $obj->get_meta( 'border_color' ) : '#d1d1d1'; 245 $overlay_opacity = $obj->get_meta( 'overlay_opacity' ) ? $obj->get_meta( 'overlay_opacity' ) : '0.8'; 246 241 247 $html = " 242 248 <div class='shm-row'> … … 343 349 <input type='checkbox' value='1' ". checked(1, $is_filtered, false) ."' name='is_filtered' id='is_filtered'/> 344 350 <label for='is_filtered'>" . __("Filters exists", SHMAPPER) . "</albel> 345 346 351 </div> 347 352 </div> … … 358 363 "</p> 359 364 </div>"; 360 365 366 if ( $map_source === 'map' ) { 367 $html .= " 368 <div class='spacer-5'></div> 369 <hr/> 370 <div class='spacer-5'></div> 371 <div class='shm-row'> 372 373 <h3 class='shm-12'>". __( "1.8. Highlight the country on the map", SHMAPPER ) . "</h3> 374 375 <div class='shm-12'> 376 <select class='small-text' name='highlight_country' data-value='" . esc_attr( $highlight_country ) . "'> 377 <option>" . esc_html__( "Loading countries ... ", SHMAPPER ) . "</option> 378 </select> 379 <p class='description'>". 380 __("Select country", SHMAPPER) . 381 "</p> 382 <div class='spacer-5'></div> 383 <div class='spacer-5'></div> 384 </div> 385 <div class='shm-12'> 386 <div class='shm-admin-block'> 387 <input type='text' name='overlay_color' value='" . esc_attr( $overlay_color ) . "'> 388 <p class='description'>". 389 __("Choose map overlay color", SHMAPPER) . 390 "</p> 391 </div> 392 <div class='shm-admin-block'> 393 <input type='text' name='border_color' value='" . esc_attr( $border_color ) . "'> 394 <p class='description'>". 395 __("Choose country border color", SHMAPPER) . 396 "</p> 397 </div> 398 <div class='shm-admin-block'> 399 <input type='range' min='0.1' max='1' step='0.1' class='shm-range' name='overlay_opacity' value='" . esc_attr( $overlay_opacity ) . "'> 400 <p class='description'>". 401 __("Overlay opacity", SHMAPPER) . 402 "</p> 403 </div> 404 </div> 405 406 </div> 407 "; 408 } 409 361 410 return $html; 362 411 } … … 504 553 "width" => sanitize_text_field($_POST['width']), 505 554 "height" => sanitize_text_field($_POST['height']), 555 556 'highlight_country' => sanitize_text_field( $_POST['highlight_country'] ), 557 'overlay_color' => sanitize_hex_color( $_POST['overlay_color'] ), 558 'border_color' => sanitize_hex_color( $_POST['border_color'] ), 559 'overlay_opacity' => sanitize_text_field( $_POST['overlay_opacity'] ), 506 560 507 561 "is_form" => empty($_POST['is_form']) ? 0 : 1, -
shmapper-by-teplitsa/trunk/class/ShmPoint.class.php
r2433792 r2481968 446 446 p.post_id = '" . esc_attr( $point->ID ) . "'; 447 447 p.post_title = '" . esc_html( $post_title ) . "'; 448 p.post_content = '" . wp_kses_post( $post_content) . " <a href=\"" .get_permalink($point->ID) . "\" class=\"shm-no-uline\"> <span class=\"dashicons dashicons-location\"></span></a><div class=\"shm_ya_footer\">" . esc_html( $location ) . "</div>';448 p.post_content = '" . wp_kses_post( wp_slash( $post_content ) ) . " <a href=\"" .get_permalink($point->ID) . "\" class=\"shm-no-uline\"> <span class=\"dashicons dashicons-location\"></span></a><div class=\"shm_ya_footer\">" . esc_html( $location ) . "</div>'; 449 449 p.latitude = '" . esc_attr( $latitude ) . "'; 450 450 p.longitude = '" . esc_attr( $longitude ) . "'; -
shmapper-by-teplitsa/trunk/languages/shmapper-by-teplitsa-ru_RU.po
r2433792 r2481968 4 4 msgstr "" 5 5 "Project-Id-Version: Plugins - shMapper by Teplitsa - Development (trunk)\n" 6 "POT-Creation-Date: 202 0-12-07 21:25+0200\n"7 "PO-Revision-Date: 202 0-12-07 21:35+0200\n"6 "POT-Creation-Date: 2021-02-26 06:06+0200\n" 7 "PO-Revision-Date: 2021-02-26 06:07+0200\n" 8 8 "Last-Translator: \n" 9 9 "Language-Team: \n" … … 17 17 18 18 #: class/SMC_Post.php:372 class/ShMapper.class.php:174 19 #: class/ShmMap.class.php:109 class/ShmMap.class.php:6 0119 #: class/ShmMap.class.php:109 class/ShmMap.class.php:655 20 20 #: class/ShmPoint.class.php:319 21 21 msgid "Title" 22 22 msgstr "Название" 23 23 24 #: class/SMC_Post.php:498 class/ShmMap.class.php:5 2724 #: class/SMC_Post.php:498 class/ShmMap.class.php:581 25 25 msgid "Double" 26 26 msgstr "Дублировать" … … 57 57 58 58 #: class/ShMapPointType.class.php:40 59 msgid " all Map marker types"60 msgstr " все Типы маркеров"59 msgid "All Map marker types" 60 msgstr "Все Типы маркеров" 61 61 62 62 #: class/ShMapPointType.class.php:41 63 msgid " view Map marker type"64 msgstr " смотреть Тип маркера"63 msgid "View Map marker type" 64 msgstr "Смотреть Тип маркера" 65 65 66 66 #: class/ShMapPointType.class.php:42 67 msgid " parent Map marker type"68 msgstr " родительский Тип маркера"67 msgid "Parent Map marker type" 68 msgstr "Родительский Тип маркера" 69 69 70 70 #: class/ShMapPointType.class.php:43 71 msgid " parent Map marker type:"72 msgstr " тип маркера родительской карты:"71 msgid "Parent Map marker type:" 72 msgstr "Тип маркера родительской карты:" 73 73 74 74 #: class/ShMapPointType.class.php:44 75 msgid " edit Map marker type"76 msgstr " редактировать Тип маркера"75 msgid "Edit Map marker type" 76 msgstr "Редактировать Тип маркера" 77 77 78 78 #: class/ShMapPointType.class.php:45 79 msgid " update Map marker type"80 msgstr " обновить Тип маркера"79 msgid "Update Map marker type" 80 msgstr "Обновить Тип маркера" 81 81 82 82 #: class/ShMapPointType.class.php:46 83 msgid " add Map marker type"83 msgid "Add Map marker type" 84 84 msgstr "Добавить новый" 85 85 86 86 #: class/ShMapPointType.class.php:47 87 msgid " new Map marker type name"88 msgstr " название нового Типа маркеров"87 msgid "New Map marker type name" 88 msgstr "Название нового Типа маркеров" 89 89 90 90 #: class/ShMapPointType.class.php:54 … … 110 110 111 111 #: class/ShMapPointType.class.php:133 class/ShMapPointType.class.php:185 112 #: class/ShMapper.class.php:145 class/ShmMap.class.php:2 58112 #: class/ShMapper.class.php:145 class/ShmMap.class.php:264 113 113 #: widget/ShMap.widget.php:84 114 114 msgid "Height" … … 116 116 117 117 #: class/ShMapPointType.class.php:139 class/ShMapPointType.class.php:195 118 #: class/ShMapper.class.php:144 class/ShmMap.class.php:26 3118 #: class/ShMapper.class.php:144 class/ShmMap.class.php:269 119 119 msgid "Width" 120 120 msgstr "Ширина" 121 121 122 #: class/ShMapPointType.class.php:37 5122 #: class/ShMapPointType.class.php:374 123 123 msgid "None" 124 124 msgstr "Никакой" … … 142 142 msgstr "Неизвестная ошибка." 143 143 144 #: class/ShMapper.class.php:82 class/ShMapper.class.php: 393145 #: class/ShMapper.class.php: 394144 #: class/ShMapper.class.php:82 class/ShMapper.class.php:431 145 #: class/ShMapper.class.php:432 146 146 msgid "Shmapper" 147 147 msgstr "shMapper" … … 163 163 #: class/ShMapperRequest.class.php:35 164 164 msgid "all Map Requests" 165 msgstr " все запросы на карту"165 msgstr "Все запросы на карту" 166 166 167 167 #: class/ShMapper.class.php:130 class/ShMapper.class.php:178 168 #: class/ShMapperRequest.class.php:93 class/ShmMap.class.php:6 01168 #: class/ShMapperRequest.class.php:93 class/ShmMap.class.php:655 169 169 #: class/ShmPoint.class.php:265 170 170 msgid "Location" … … 172 172 173 173 #: class/ShMapper.class.php:131 class/ShMapper.class.php:138 174 #: class/ShMapper.class.php:176 class/ShMapper.class.php: 599175 #: class/ShMapperRequest.class.php:89 class/ShmMap.class.php:6 01174 #: class/ShMapper.class.php:176 class/ShMapper.class.php:637 175 #: class/ShMapperRequest.class.php:89 class/ShmMap.class.php:655 176 176 #: class/ShmPoint.class.php:261 177 177 msgid "Latitude" … … 179 179 180 180 #: class/ShMapper.class.php:132 class/ShMapper.class.php:139 181 #: class/ShMapper.class.php:177 class/ShMapper.class.php: 597182 #: class/ShMapperRequest.class.php:91 class/ShmMap.class.php:6 01181 #: class/ShMapper.class.php:177 class/ShMapper.class.php:635 182 #: class/ShMapperRequest.class.php:91 class/ShmMap.class.php:655 183 183 #: class/ShmPoint.class.php:263 184 184 msgid "Longitude" … … 186 186 187 187 #: class/ShMapper.class.php:133 class/ShMapper.class.php:140 188 #: class/ShMapper.class.php:6 01188 #: class/ShMapper.class.php:639 189 189 msgid "Zoom" 190 190 msgstr "Увеличение" 191 191 192 192 #: class/ShMapper.class.php:141 class/ShmMap.class.php:118 193 #: class/ShmMap.class.php:33 3193 #: class/ShmMap.class.php:339 194 194 msgid "Legend exists" 195 195 msgstr "Легенда присутствует" 196 196 197 #: class/ShMapper.class.php:142 class/ShmMap.class.php:3 44197 #: class/ShMapper.class.php:142 class/ShmMap.class.php:350 198 198 msgid "Filters exists" 199 199 msgstr "Панель фильтров присутствует" 200 200 201 201 #: class/ShMapper.class.php:143 class/ShmMap.class.php:113 202 #: class/ShmMap.class.php:32 2202 #: class/ShmMap.class.php:328 203 203 msgid "Export csv" 204 204 msgstr "Загрузка сводки в формате csv" 205 205 206 #: class/ShMapper.class.php:146 class/ShmMap.class.php:2 79206 #: class/ShMapper.class.php:146 class/ShmMap.class.php:285 207 207 msgid "Map search" 208 208 msgstr "Поиск по карте" 209 209 210 #: class/ShMapper.class.php:147 class/ShmMap.class.php:29 3210 #: class/ShMapper.class.php:147 class/ShmMap.class.php:299 211 211 msgid "Map full screen" 212 212 msgstr "Полноэкранный режим" … … 216 216 msgstr "Слайдер масштаба" 217 217 218 #: class/ShMapper.class.php:149 class/ShmMap.class.php:2 87218 #: class/ShMapper.class.php:149 class/ShmMap.class.php:293 219 219 msgid "Map layer switcher" 220 220 msgstr "Переключатель слоев карты" 221 221 222 #: class/ShMapper.class.php:150 class/ShmMap.class.php:30 1222 #: class/ShMapper.class.php:150 class/ShmMap.class.php:307 223 223 msgid "Lock zoom and drag" 224 224 msgstr "" 225 225 "Заблокировать перетаскивание карты и изменение размера средним колёсиком мышы" 226 226 227 #: class/ShMapper.class.php:151 class/ShmMap.class.php: 297227 #: class/ShMapper.class.php:151 class/ShmMap.class.php:303 228 228 msgid "Formating Marker to cluster" 229 229 msgstr "Укладывать маркеры карты в кластеры" … … 238 238 239 239 #: class/ShMapper.class.php:155 class/ShmMap.class.php:128 240 #: class/ShmMap.class.php:4 07240 #: class/ShmMap.class.php:456 241 241 msgid "Notify owner of Map" 242 242 msgstr "Присылать уведомления о новых картах автору" … … 250 250 msgstr "Генератор форм" 251 251 252 #: class/ShMapper.class.php:158 class/ShmMap.class.php:4 27252 #: class/ShMapper.class.php:158 class/ShmMap.class.php:476 253 253 msgid "Users can leave their contact details for feedback." 254 254 msgstr "Пользователи могут оставлять свои контактные данные для обратной связи" … … 258 258 msgstr "Включить личное имя" 259 259 260 #: class/ShMapper.class.php:160 class/ShmMap.class.php:4 40260 #: class/ShMapper.class.php:160 class/ShmMap.class.php:489 261 261 msgid "Personal name" 262 262 msgstr "Имя" … … 282 282 msgstr "Включить личный телефон" 283 283 284 #: class/ShMapper.class.php:166 class/ShmMap.class.php: 472284 #: class/ShMapper.class.php:166 class/ShmMap.class.php:521 285 285 msgid "Personal phone" 286 286 msgstr "Телефон" … … 290 290 msgstr "Требуется личный телефон" 291 291 292 #: class/ShMapper.class.php:173 class/ShmMap.class.php:76 293 #: class/ShmMap.class.php:77 widget/ShMap.widget.php:72 292 #: class/ShMapper.class.php:173 class/ShMapperDrive.class.php:178 293 #: class/ShmMap.class.php:76 class/ShmMap.class.php:77 294 #: widget/ShMap.widget.php:72 294 295 msgid "Map" 295 296 msgstr "Карта" … … 297 298 #: class/ShMapper.class.php:175 class/ShmForm.class.php:229 298 299 #: class/ShmForm.class.php:301 class/ShmForm.class.php:374 299 #: class/ShmMap.class.php:6 01class/ShmPoint.class.php:323300 #: class/ShmMap.class.php:655 class/ShmPoint.class.php:323 300 301 msgid "Description" 301 302 msgstr "Описание" … … 331 332 msgstr "Доступ пользователя" 332 333 333 #: class/ShMapper.class.php:280 class/ShMapper.class.php:372 334 #: class/ShMapper.class.php:284 class/ShMapper.class.php:393 335 #: class/ShMapperDrive.class.php:125 334 336 msgid "Attantion" 335 337 msgstr "Внимание" 336 338 337 #: class/ShMapper.class.php:28 1 class/ShMapper.class.php:373339 #: class/ShMapper.class.php:285 class/ShMapper.class.php:394 338 340 msgid "Send" 339 341 msgstr "Послать" 340 342 341 #: class/ShMapper.class.php:28 2 class/ShMapper.class.php:374343 #: class/ShMapper.class.php:286 class/ShMapper.class.php:395 342 344 msgid "Close" 343 345 msgstr "Закрыть" 344 346 345 #: class/ShMapper.class.php:28 3 class/ShMapper.class.php:375347 #: class/ShMapper.class.php:287 class/ShMapper.class.php:396 346 348 msgid "" 347 349 "Error: the form is not associated with the card. To link a map and a form, " … … 355 357 "777']), у которых параметр uniq будет совпадать" 356 358 357 #: class/ShMapper.class.php:28 4359 #: class/ShMapper.class.php:288 358 360 msgid "Are you shure?" 359 361 msgstr "Вы уверены?" 360 362 361 #: class/ShMapper.class.php:4 06 class/ShMapper.class.php:407362 #: class/ShMapper.class.php:4 35363 #: class/ShMapper.class.php:444 class/ShMapper.class.php:445 364 #: class/ShMapper.class.php:473 class/ShMapperDrive.class.php:439 363 365 msgid "Settings" 364 366 msgstr "Настройки" 365 367 366 #: class/ShMapper.class.php:4 44368 #: class/ShMapper.class.php:482 367 369 msgid "Map API" 368 370 msgstr "API карт" 369 371 370 #: class/ShMapper.class.php:4 57372 #: class/ShMapper.class.php:495 371 373 msgid "OpenStreetMap" 372 374 msgstr "Open Street Карта" 373 375 374 #: class/ShMapper.class.php: 465376 #: class/ShMapper.class.php:503 375 377 msgid "Yandex.Maps API Key" 376 378 msgstr "Ключ API Яндекс.Карт" 377 379 378 #: class/ShMapper.class.php: 467380 #: class/ShMapper.class.php:505 379 381 msgid "ATTENTION: you must specify a key for working with the Yandex.Maps API." 380 382 msgstr "ВНИМАНИЕ: необходимо указать ключ для работы с API Яндекс.Карт." 381 383 382 #: class/ShMapper.class.php: 467384 #: class/ShMapper.class.php:505 383 385 msgid "Learn more here:" 384 386 msgstr "Подробнее здесь:" 385 387 386 #: class/ShMapper.class.php: 478388 #: class/ShMapper.class.php:516 387 389 msgid "Interactive" 388 390 msgstr "Интерактив" 389 391 390 #: class/ShMapper.class.php: 486392 #: class/ShMapper.class.php:524 391 393 msgid "Enable global mode for non-interactive maps" 392 394 msgstr "Включить глобальный режим неинтерактивных карт" 393 395 394 #: class/ShMapper.class.php: 490396 #: class/ShMapper.class.php:528 395 397 msgid "" 396 398 "users will not be able to add posts to any map. If the checkbox is enabled, " … … 400 402 "включена у карт даже не появляется блок интерактивности." 401 403 402 #: class/ShMapper.class.php: 498404 #: class/ShMapper.class.php:536 403 405 msgid "Pre-modertion from Map owner." 404 406 msgstr "Премодерация со стороны владельца Карты." 405 407 406 #: class/ShMapper.class.php:5 02408 #: class/ShMapper.class.php:540 407 409 msgid "all messages will be added in the Draft status" 408 410 msgstr "все сообщения будут добавляться в статусе Черновик" 409 411 410 #: class/ShMapper.class.php:5 06412 #: class/ShMapper.class.php:544 411 413 msgid "" 412 414 "ATTENTION: disable this option only at your own peril and risk, because " … … 416 418 "угроза спам-атаки" 417 419 418 #: class/ShMapper.class.php:5 14420 #: class/ShMapper.class.php:552 419 421 msgid "Reload page after User send request." 420 422 msgstr "Перегрузить страницу после того, как юзер отправил форму запроса" 421 423 422 #: class/ShMapper.class.php:5 26424 #: class/ShMapper.class.php:564 423 425 msgid "Protection" 424 426 msgstr "Защита" 425 427 426 #: class/ShMapper.class.php:5 33428 #: class/ShMapper.class.php:571 427 429 msgid "Include captcha in form (plugin uses only reCAPTCHA v2 keys)" 428 430 msgstr "Включать капчу в форме (плагин использует только ключи reCAPTCHA v2)" 429 431 430 #: class/ShMapper.class.php:5 42432 #: class/ShMapper.class.php:580 431 433 #, php-format 432 434 msgid "" … … 437 439 "инстукцию%s." 438 440 439 #: class/ShMapper.class.php:5 46441 #: class/ShMapper.class.php:584 440 442 msgid "" 441 443 "Your reCAPTCHA doesn't work yet. In order to make it work, please get the " … … 445 447 "на google.com/recaptch" 446 448 447 #: class/ShMapper.class.php:5 58449 #: class/ShMapper.class.php:596 448 450 msgid "Vocabulary" 449 451 msgstr "Словарь" 450 452 451 #: class/ShMapper.class.php: 562453 #: class/ShMapper.class.php:600 452 454 msgid "Save personal data garantee" 453 455 msgstr "Гарантия сохранения персональных данных" 454 456 455 #: class/ShMapper.class.php: 568457 #: class/ShMapper.class.php:606 456 458 msgid "Successful send map request" 457 459 msgstr "Сообщение об успешной регистрации запроса на Маркер" 458 460 459 #: class/ShMapper.class.php: 574461 #: class/ShMapper.class.php:612 460 462 msgid "Error send map request" 461 463 msgstr "Сообщение об ошибки регистрации запроса на Маркер" 462 464 463 #: class/ShMapper.class.php:588 class/ShMapper.class.php:611 465 #: class/ShMapper.class.php:626 class/ShMapper.class.php:649 466 #: class/ShMapper.class.php:689 464 467 msgid "Coordinates" 465 468 msgstr "Координаты" 466 469 467 #: class/ShMapper.class.php: 595470 #: class/ShMapper.class.php:633 468 471 msgid "Set default coordinates" 469 472 msgstr "Установить координаты по умолчанию" 470 473 471 #: class/ShMapper.class.php: 695474 #: class/ShMapper.class.php:745 472 475 msgid "Wizzard" 473 476 msgstr "Мастер" 474 477 475 #: class/ShMapper.class.php: 698478 #: class/ShMapper.class.php:748 476 479 msgid "Restart wizzard" 477 480 msgstr "Перезапустить Мастер" 478 481 479 #: class/ShMapper.class.php:7 45 class/ShMapper.class.php:753482 #: class/ShMapper.class.php:795 class/ShMapper.class.php:803 480 483 msgid "Close wizzard" 481 484 msgstr "Закрыть навсегда" 482 485 483 #: class/ShMapper.class.php:7 46 class/ShMapper.class.php:752486 #: class/ShMapper.class.php:796 class/ShMapper.class.php:802 484 487 msgid "Go to current page" 485 488 msgstr "На текущую страницу" 486 489 487 #: class/ShMapper.class.php:7 49 class/ShMapper_ajax.class.php:172490 #: class/ShMapper.class.php:799 class/ShMapper_ajax.class.php:172 488 491 msgid "Next step" 489 492 msgstr "Следующий шаг" 490 493 491 #: class/ShMapper.class.php: 751494 #: class/ShMapper.class.php:801 492 495 msgid "Prevous step" 493 496 msgstr "Предыдущий шаг" 494 497 495 #: class/ShMapper.class.php:8 03498 #: class/ShMapper.class.php:853 496 499 msgid "Welcome to the Shmapper Configuration Wizard" 497 500 msgstr "Приветствуем Вас в Мастере конфигурации Shmapper" 498 501 499 #: class/ShMapper.class.php:8 04502 #: class/ShMapper.class.php:854 500 503 msgid "" 501 504 "First, you need to specify the general settings. Click on the button <span " … … 507 510 "раздел" 508 511 509 #: class/ShMapper.class.php:8 10512 #: class/ShMapper.class.php:860 510 513 msgid "Configure Shmapper" 511 514 msgstr "Настройте Shmapper" 512 515 513 #: class/ShMapper.class.php:8 11516 #: class/ShMapper.class.php:861 514 517 msgid "" 515 518 "Change the settings that do not suit you. To connect reCAPTCHA, you need to " … … 519 522 "необходимо создать учётную запись на Google.com" 520 523 521 #: class/ShMapper.class.php:8 17524 #: class/ShMapper.class.php:867 522 525 msgid "Create your first map" 523 526 msgstr "Создайте вашу первую карту" 524 527 525 #: class/ShMapper.class.php:8 18528 #: class/ShMapper.class.php:868 526 529 msgid "Click the \"Add Map\" button at the very top of the page" 527 530 msgstr "Нажмите кнопку \"Добавить карту\" в самом верху страницы" 528 531 529 #: class/ShMapper.class.php:8 24 class/ShMapper.class.php:832532 #: class/ShMapper.class.php:874 class/ShMapper.class.php:882 530 533 msgid "New map" 531 534 msgstr "Новая карта" 532 535 533 #: class/ShMapper.class.php:8 25536 #: class/ShMapper.class.php:875 534 537 msgid "" 535 538 "Select a visible area on the map. <p> Create the first Marker by pointing to " … … 541 544 "\"Создать\"." 542 545 543 #: class/ShMapper.class.php:8 33546 #: class/ShMapper.class.php:883 544 547 msgid "" 545 548 "Fill in the provided fields in sequence. In the \"Request Form\" section, " … … 553 556 "кнопку \"Опубликовать\"." 554 557 558 #: class/ShMapperDrive.class.php:98 559 msgid "Point" 560 msgstr "Точка" 561 562 #: class/ShMapperDrive.class.php:100 class/ShMapperDrive.class.php:105 563 msgid "Google Table ID source" 564 msgstr "Источник идентификатора таблицы Google" 565 566 #: class/ShMapperDrive.class.php:120 567 msgid "Export from Google Sheet" 568 msgstr "Экспорт из таблицы Google" 569 570 #: class/ShMapperDrive.class.php:128 571 msgid "Rules for Google snapshot structure." 572 msgstr "Правила для структуры снимков Google." 573 574 #: class/ShMapperDrive.class.php:130 575 msgid "" 576 "Google-table must have access rights 'For everyone on the Internet' or 'For " 577 "everyone who has a link'" 578 msgstr "" 579 "Гугл-таблица должна иметь права доступа 'Для всех в интернете' или 'Для всех " 580 "у кого есть ссылка" 581 582 #: class/ShMapperDrive.class.php:131 583 msgid "In file must be only one screen." 584 msgstr "В файле должна быть только одна вкладка." 585 586 #: class/ShMapperDrive.class.php:132 587 msgid "First row must have only legends of columns." 588 msgstr "Первая строка таблицы должна включать только легенды колонок." 589 590 #: class/ShMapperDrive.class.php:133 591 msgid "" 592 "If Points are have different Point types you must reserve one column for " 593 "Point type and fill it ID of this types." 594 msgstr "" 595 "Если Маркеры, которые Вы хотите создать должны иметь разные типы, необходимо " 596 "зарезервировать одну из колонок под тип Маркера и заполнять ячейки ID " 597 "необходимого типа." 598 599 #: class/ShMapperDrive.class.php:134 600 msgid "" 601 "If you want to have geo position you must reserve one column for adress or 2 " 602 "columns for longitude and latitude." 603 msgstr "" 604 "Если Вы хотите получить точную геопозицию Маркеров, необходимо " 605 "зарезервировать одну колонку под адрес или 2 колонки - для широты и долготы" 606 607 #: class/ShMapperDrive.class.php:140 608 msgid "" 609 "Google table document ID. For example: <b class='shm-color-" 610 "danger'>1dQupQpiGjPqIbVHCTRvpybr-cmk5zs8U</b> in https://docs.google.com/" 611 "spreadsheets/d/1dQupQpiGjPqIbVHCTRvpybr-cmk5zs8U/edit#gid=7101094" 612 msgstr "" 613 "ID Табоицы Google. Например: <b class='shm-color-" 614 "danger'>1dQupQpiGjPqIbVHCTRvpybr-cmk5zs8U</b> у документа по url-адресу " 615 "https://docs.google.com/spreadsheets/d/<b>1dQupQpiGjPqIbVHCTRvpybr-cmk5zs8U</" 616 "b>/edit#gid=7101094" 617 618 #: class/ShMapperDrive.class.php:159 619 msgid "Skip first rows count" 620 msgstr "Пропустить первые строки? Сколько?" 621 622 #: class/ShMapperDrive.class.php:171 623 msgid "Execute next rows count. Empty for all." 624 msgstr "" 625 "Работать со следующими строками? Укажите число строк или оставьте поле пустым" 626 627 #: class/ShMapperDrive.class.php:191 628 msgid "Column for unique id" 629 msgstr "Столбец для уникального идентификатора" 630 631 #: class/ShMapperDrive.class.php:203 632 msgid "Point title column" 633 msgstr "Столбец заголовка маркера" 634 635 #: class/ShMapperDrive.class.php:214 636 msgid "Point description column" 637 msgstr "Столбец описания маркера" 638 639 #: class/ShMapperDrive.class.php:225 640 msgid "Post date column" 641 msgstr "Столбец даты публикации" 642 643 #: class/ShMapperDrive.class.php:238 644 msgid "Is fix post date?" 645 msgstr "Исправить дату публикации?" 646 647 #: class/ShMapperDrive.class.php:250 648 msgid "Select marker type" 649 msgstr "Выберите тип маркера" 650 651 #: class/ShMapperDrive.class.php:252 652 msgid "Add new marker" 653 msgstr "Добавить новый маркер" 654 655 #: class/ShMapperDrive.class.php:268 656 msgid "Select method and columns for generate Points's geo position." 657 msgstr "Выберите метод и колонку для генерации геопозиции Маркеров." 658 659 #: class/ShMapperDrive.class.php:281 660 msgid "Latitude and Longitude" 661 msgstr "Широта и долгота" 662 663 #: class/ShMapperDrive.class.php:310 664 msgid "Adress" 665 msgstr "Адрес" 666 667 #: class/ShMapperDrive.class.php:326 668 msgid "Select columns for choose Points's different types." 669 msgstr "Выберите столбцы для выбора разных типов точек." 670 671 #: class/ShMapperDrive.class.php:339 672 msgid "Select column with marker type" 673 msgstr "Выберите столбец с типом маркера" 674 675 #: class/ShMapperDrive.class.php:355 676 msgid "" 677 "List of columns in google table that need to parse to Point's description" 678 msgstr "" 679 "Список столбцов в таблице Google, которые необходимо разобрать для описанием " 680 "точек." 681 682 #: class/ShMapperDrive.class.php:360 683 msgid "Column" 684 msgstr "Колонка" 685 686 #: class/ShMapperDrive.class.php:363 687 msgid "Include?" 688 msgstr "Включить?" 689 690 #: class/ShMapperDrive.class.php:364 class/ShMapperDrive.class.php:370 691 msgid "necessarily" 692 msgstr "обязательное поле" 693 694 #: class/ShMapperDrive.class.php:369 695 msgid "Field name by latin" 696 msgstr "Название поля по латыни" 697 698 #: class/ShMapperDrive.class.php:375 699 msgid "Sub title for decription section" 700 msgstr "Подзаголовок для секции в описании Маркера" 701 702 #: class/ShMapperDrive.class.php:378 703 msgid "Order" 704 msgstr "Порядковый номер" 705 706 #: class/ShMapperDrive.class.php:390 707 msgid "If your Google spreadsheet has one text in the specified column" 708 msgstr "Если в нескольких полях в данной колонке будет одинаковое содержимое" 709 710 #: class/ShMapperDrive.class.php:403 711 msgid "" 712 "Use only first row for creation new Point or updating included Point and " 713 "ignore over." 714 msgstr "" 715 "Использовать только первую строку для создания нового Маркера или " 716 "редактирования уже существующего и игнорировать остальные строки." 717 718 #: class/ShMapperDrive.class.php:416 719 msgid "" 720 "Use only last row for creation new Point or updating included Point and " 721 "ignore over." 722 msgstr "" 723 "Использовать только последнюю строку для создания нового Маркера или " 724 "редактирования уже существующего и игнорировать остальные строки." 725 726 #: class/ShMapperDrive.class.php:429 727 msgid "" 728 "Use only first row for creation new Point or updating included Point. Over " 729 "some rows use for creation new Message or updating included Messages for " 730 "Point" 731 msgstr "" 732 "Использовать только первую строку для создания нового Маркера или " 733 "редактирования уже существующего. Остальные строки использовать для создания " 734 "или редактирования Сообщений для этого Маркера" 735 736 #: class/ShMapperDrive.class.php:442 737 msgid "Preview results" 738 msgstr "Предпросмотр результата импора" 739 740 #: class/ShMapperDrive.class.php:445 741 msgid "Create or update Poins and Messages" 742 msgstr "Создать или обновить Маркеры и Сообщения" 743 744 #: class/ShMapperDrive_ajax.class.php:77 745 msgid "Update successful!" 746 msgstr "Обновление успешно завершено!" 747 748 #: class/ShMapperDrive_ajax.class.php:109 749 msgid "Success load Google Table." 750 msgstr "Успешная загрузка Google Table." 751 752 #: class/ShMapperDrive_ajax.class.php:120 753 msgid "Error load Google Table." 754 msgstr "Ошибка загрузки Google Table." 755 756 #: class/ShMapperPointMessage.class.php:19 757 #: class/ShMapperPointMessage.class.php:20 758 msgid "Map marker message" 759 msgstr "Сообщение к Маркеру" 760 761 #: class/ShMapperPointMessage.class.php:21 762 #: class/ShMapperPointMessage.class.php:22 763 #: class/ShMapperPointMessage.class.php:24 764 msgid "Add Map marker message" 765 msgstr "Добавить новое Сообщение к Маркер" 766 767 #: class/ShMapperPointMessage.class.php:23 768 msgid "Edit Map marker message" 769 msgstr "Редактировать новое Сообщение к Маркеру" 770 771 #: class/ShMapperPointMessage.class.php:25 772 msgid "All Map marker messages" 773 msgstr "Все сообщения к Маркерам" 774 775 #: class/ShMapperPointMessage.class.php:26 776 msgid "view Map marker message" 777 msgstr "смотреть Сообщение к Маркер" 778 779 #: class/ShMapperPointMessage.class.php:27 780 msgid "Search Map marker message" 781 msgstr "искать Сообщение к Маркеру" 782 783 #: class/ShMapperPointMessage.class.php:28 784 msgid "Map marker message not found" 785 msgstr "Сообщение к Маркеру не найдено" 786 787 #: class/ShMapperPointMessage.class.php:29 788 msgid "No found Map marker message in trash" 789 msgstr "Сообщение к Маркеру в корзине не найдено" 790 791 #: class/ShMapperPointMessage.class.php:30 792 msgid "Map marker messages" 793 msgstr "Сообщения к Маркерам" 794 555 795 #: class/ShMapperRequest.class.php:24 class/ShMapperRequest.class.php:25 556 796 msgid "Map Request" … … 608 848 msgstr "Вы можете посмотреть его здесь %s" 609 849 610 #: class/ShMapperRequest.class.php:363 850 #: class/ShMapperRequest.class.php:361 851 msgid "Visitor" 852 msgstr "Посетитель" 853 854 #: class/ShMapperRequest.class.php:374 611 855 msgid "Approve" 612 856 msgstr "Одобрить" 613 857 614 #: class/ShMapperRequest.class.php:3 65858 #: class/ShMapperRequest.class.php:376 615 859 msgid "Trash" 616 860 msgstr "Корзина" … … 710 954 711 955 #: class/ShmForm.class.php:49 712 msgid "W hrite description"713 msgstr "Напишите комментарий"956 msgid "Write description" 957 msgstr "Напишите описание" 714 958 715 959 #: class/ShmForm.class.php:62 … … 883 1127 #: class/ShmMap.class.php:192 884 1128 msgid "Including Map to post" 885 msgstr "Вставка карты в з впись"1129 msgstr "Вставка карты в запись" 886 1130 887 1131 #: class/ShmMap.class.php:204 … … 895 1139 "Шаг 2. Смогут ли другие пользователи добавлять информацию на Вашу карту?" 896 1140 897 #: class/ShmMap.class.php:24 31141 #: class/ShmMap.class.php:249 898 1142 msgid "1.1. Pan map and choose zoom" 899 1143 msgstr "1.1. Отцентрируйте карту и выберите масштаб" 900 1144 901 #: class/ShmMap.class.php:2 551145 #: class/ShmMap.class.php:261 902 1146 msgid "1.2. Set size for map's div (per pixels)" 903 1147 msgstr "1.2. Установите размер окна карты (в пикселях)" 904 1148 905 #: class/ShmMap.class.php:26 0 class/ShmMap.class.php:2651149 #: class/ShmMap.class.php:266 class/ShmMap.class.php:271 906 1150 msgid "Empty for " 907 1151 msgstr "Оставьте пустым, чтобы было " 908 1152 909 #: class/ShmMap.class.php:2 751153 #: class/ShmMap.class.php:281 910 1154 msgid "1.3. Include interface" 911 1155 msgstr "1.3. Какие элементы управления картой должны присутствовать?" 912 1156 913 #: class/ShmMap.class.php:28 31157 #: class/ShmMap.class.php:289 914 1158 msgid "Map zoom slider enabled" 915 1159 msgstr "Ползунок масштаба" 916 1160 917 #: class/ShmMap.class.php:3 051161 #: class/ShmMap.class.php:311 918 1162 msgid "Choose layers" 919 1163 msgstr "Выбор типа визуализации слоя" 920 1164 921 #: class/ShmMap.class.php:3 191165 #: class/ShmMap.class.php:325 922 1166 msgid "1.4. May User download data in *.csv?" 923 1167 msgstr "1.4. Можно ли скачать данные карты в формате .csv?" 924 1168 925 #: class/ShmMap.class.php:33 01169 #: class/ShmMap.class.php:336 926 1170 msgid "1.5. Will the legend be displayed?" 927 1171 msgstr "1.5. Будет ли отображаться легенда?" 928 1172 929 #: class/ShmMap.class.php:34 11173 #: class/ShmMap.class.php:347 930 1174 msgid "1.6. Will Marker type filter be displayed?" 931 1175 msgstr "1.6. Будет ли отображаться панель фильтрации по типам Маркеров?" 932 1176 933 #: class/ShmMap.class.php:35 21177 #: class/ShmMap.class.php:357 934 1178 msgid "1.7. Default Marker icon" 935 1179 msgstr "1.7. Иконка маркера по умолчанию" 936 1180 937 #: class/ShmMap.class.php:3 571181 #: class/ShmMap.class.php:362 938 1182 msgid "Recommended size is 64х64 px, format is .png" 939 1183 msgstr "Рекомендуемый размер: 64х64 pxб формат .png" 940 1184 1185 #: class/ShmMap.class.php:373 1186 msgid "1.8. Highlight the country on the map" 1187 msgstr "1.8. Выделение страны на карте" 1188 1189 #: class/ShmMap.class.php:377 1190 msgid "Loading countries ... " 1191 msgstr "Загрузка стран ... " 1192 1193 #: class/ShmMap.class.php:380 1194 msgid "Select country" 1195 msgstr "Выберите страну" 1196 941 1197 #: class/ShmMap.class.php:389 1198 msgid "Choose map overlay color" 1199 msgstr "Выберите цвет наложения карты" 1200 1201 #: class/ShmMap.class.php:395 1202 msgid "Choose country border color" 1203 msgstr "Выберите цвет границы страны" 1204 1205 #: class/ShmMap.class.php:401 1206 msgid "Overlay opacity" 1207 msgstr "Прозрачность наложения" 1208 1209 #: class/ShmMap.class.php:438 942 1210 msgid "Enable crowdsourcing function (free add Users new Markers)" 943 1211 msgstr "" … … 945 1213 "Маркеров) " 946 1214 947 #: class/ShmMap.class.php: 3941215 #: class/ShmMap.class.php:443 948 1216 msgid "2.1. What is the name of your information form?" 949 1217 msgstr "2.1. Как называется Ваша форма сбора информации?" 950 1218 951 #: class/ShmMap.class.php: 3981219 #: class/ShmMap.class.php:447 952 1220 msgid "For example «All beaches by the river»" 953 1221 msgstr "Например «Все пляжи у реки»" 954 1222 955 #: class/ShmMap.class.php:4 041223 #: class/ShmMap.class.php:453 956 1224 msgid "2.2. Will I notify the author about new posts?" 957 1225 msgstr "2.2. Оповещать ли автора Карты о новых сообщениях?" 958 1226 959 #: class/ShmMap.class.php:4 121227 #: class/ShmMap.class.php:461 960 1228 msgid "2.3. What information can users enter?" 961 1229 msgstr "2.3. Какую информацию могут вводить пользователи?" 962 1230 963 #: class/ShmMap.class.php:4 151231 #: class/ShmMap.class.php:464 964 1232 msgid "" 965 1233 "You can create your own forms using form elements: & laquo; Text line & " … … 971 1239 "файлов», «Категории Маркеров»" 972 1240 973 #: class/ShmMap.class.php:4 241241 #: class/ShmMap.class.php:473 974 1242 msgid "2.4. Can users leave their contact information?" 975 1243 msgstr "2.4. Могут ли пользователи оставлять свою контактную информацию?" 976 1244 977 #: class/ShmMap.class.php:4 321245 #: class/ShmMap.class.php:481 978 1246 msgid "2.5. What data users will have to put?" 979 1247 msgstr "2.5. Какие данные пользователи должны будут ставить?" 980 1248 981 #: class/ShmMap.class.php:4 35 class/ShmMap.class.php:451982 #: class/ShmMap.class.php: 4671249 #: class/ShmMap.class.php:484 class/ShmMap.class.php:500 1250 #: class/ShmMap.class.php:516 983 1251 msgid "Include" 984 1252 msgstr "Включать" 985 1253 986 #: class/ShmMap.class.php:4 45 class/ShmMap.class.php:461987 #: class/ShmMap.class.php: 4771254 #: class/ShmMap.class.php:494 class/ShmMap.class.php:510 1255 #: class/ShmMap.class.php:526 988 1256 msgid "Required" 989 1257 msgstr "Обязателен" 990 1258 991 #: class/ShmMap.class.php: 4561259 #: class/ShmMap.class.php:505 992 1260 msgid "Personal email" 993 1261 msgstr "Адрес электронной почты" 994 1262 995 #: class/ShmMap.class.php: 6701263 #: class/ShmMap.class.php:724 996 1264 msgid "What do with placemarks of deleting Map?" 997 1265 msgstr "Что делать с Маркерами удаляемой Карты?" 998 1266 999 #: class/ShmMap.class.php: 6751267 #: class/ShmMap.class.php:729 1000 1268 msgid "Delete all Points" 1001 1269 msgstr "Удалить все Маркеры" 1002 1270 1003 #: class/ShmMap.class.php: 6811271 #: class/ShmMap.class.php:735 1004 1272 msgid "Escape all Points without Owner Map" 1005 1273 msgstr "Оставить все Маркеры без родительской Карты" 1006 1274 1007 #: class/ShmMap.class.php: 6871275 #: class/ShmMap.class.php:741 1008 1276 msgid "Switch all Points to anover Map" 1009 1277 msgstr "Перенести все Маркеры на другую Карту" 1010 1278 1011 #: class/ShmMap.class.php:7 031279 #: class/ShmMap.class.php:757 1012 1280 msgid "delete" 1013 1281 msgstr "удалить" 1014 1282 1015 #: class/ShmMap.class.php: 7821283 #: class/ShmMap.class.php:836 1016 1284 #, php-format 1017 1285 msgid "Succesfuly delete map width %s points" 1018 1286 msgstr "Карта успешно удалена с %s точками" 1019 1287 1020 #: class/ShmMap.class.php: 7871288 #: class/ShmMap.class.php:841 1021 1289 #, php-format 1022 1290 msgid "Succesfuly delete map and %s points are orphans now" 1023 1291 msgstr "Карта успешно удалена и %s точек сейчас не привязаны ни к какой карте" 1024 1292 1025 #: class/ShmMap.class.php: 7941293 #: class/ShmMap.class.php:848 1026 1294 #, php-format 1027 1295 msgid "Succesfuly delete map and %s points migrates to %s" 1028 1296 msgstr "Карта успешно удалена и %s точек перенесено в %s" 1029 1297 1030 #: class/ShmMap.class.php:8 261298 #: class/ShmMap.class.php:880 1031 1299 msgid "Yandex Map" 1032 1300 msgstr "Яндекс карты" 1033 1301 1034 #: class/ShmMap.class.php: 8481302 #: class/ShmMap.class.php:902 1035 1303 msgid "Open Street Map" 1036 1304 msgstr "Open Street Карта" … … 1081 1349 msgstr "Адрес" 1082 1350 1083 #: shortcode/shmMap.shortcode.php:25 1351 #: shortcode/shmMap.shortcode.php:25 shortcode/shmMapFeed.shortcode.php:17 1084 1352 msgid "No map on ID " 1085 1353 msgstr "Не указан ID карты" … … 1129 1397 msgstr "Отправить" 1130 1398 1131 #: tpl/shmMap.php: 881399 #: tpl/shmMap.php:93 1132 1400 #, php-format 1133 1401 msgid "download %s.csv" … … 1169 1437 msgid "https://te-st.ru" 1170 1438 msgstr "https://te-st.ru" 1439 1440 #~ msgid "Add marker type" 1441 #~ msgstr "Добавить тип маркера" 1442 1443 #~ msgid "Use different Point Types for Points?" 1444 #~ msgstr "Использовать различные типы маркеров для точек?" 1445 1446 #~ msgid "add Map marker type" 1447 #~ msgstr "Добавить новый" 1448 1449 #~ msgid "Columns of table parse to meta-fields" 1450 #~ msgstr "Столбцы таблицы разбора на мета-поля" 1451 1452 #~ msgid "" 1453 #~ "Use column as unique for update Point or add Messages for included Points" 1454 #~ msgstr "" 1455 #~ "Использовать одну из колонок как уникальный идентификатор при создании " 1456 #~ "или обновлении Маркера или Сообщения к Маркеру" 1171 1457 1172 1458 #~ msgid "" -
shmapper-by-teplitsa/trunk/languages/shmapper-by-teplitsa.pot
r2433792 r2481968 4 4 "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" 5 5 "Project-Id-Version: ShMapper by Teplitsa\n" 6 "POT-Creation-Date: 202 0-12-07 21:25+0200\n"6 "POT-Creation-Date: 2021-02-26 06:06+0200\n" 7 7 "PO-Revision-Date: 2020-06-18 05:16+0300\n" 8 8 "Last-Translator: \n" … … 22 22 23 23 #: class/SMC_Post.php:372 class/ShMapper.class.php:174 24 #: class/ShmMap.class.php:109 class/ShmMap.class.php:6 0124 #: class/ShmMap.class.php:109 class/ShmMap.class.php:655 25 25 #: class/ShmPoint.class.php:319 26 26 msgid "Title" 27 27 msgstr "" 28 28 29 #: class/SMC_Post.php:498 class/ShmMap.class.php:5 2729 #: class/SMC_Post.php:498 class/ShmMap.class.php:581 30 30 msgid "Double" 31 31 msgstr "" … … 62 62 63 63 #: class/ShMapPointType.class.php:40 64 msgid " all Map marker types"64 msgid "All Map marker types" 65 65 msgstr "" 66 66 67 67 #: class/ShMapPointType.class.php:41 68 msgid " view Map marker type"68 msgid "View Map marker type" 69 69 msgstr "" 70 70 71 71 #: class/ShMapPointType.class.php:42 72 msgid " parent Map marker type"72 msgid "Parent Map marker type" 73 73 msgstr "" 74 74 75 75 #: class/ShMapPointType.class.php:43 76 msgid " parent Map marker type:"76 msgid "Parent Map marker type:" 77 77 msgstr "" 78 78 79 79 #: class/ShMapPointType.class.php:44 80 msgid " edit Map marker type"80 msgid "Edit Map marker type" 81 81 msgstr "" 82 82 83 83 #: class/ShMapPointType.class.php:45 84 msgid " update Map marker type"84 msgid "Update Map marker type" 85 85 msgstr "" 86 86 87 87 #: class/ShMapPointType.class.php:46 88 msgid " add Map marker type"88 msgid "Add Map marker type" 89 89 msgstr "" 90 90 91 91 #: class/ShMapPointType.class.php:47 92 msgid " new Map marker type name"92 msgid "New Map marker type name" 93 93 msgstr "" 94 94 … … 115 115 116 116 #: class/ShMapPointType.class.php:133 class/ShMapPointType.class.php:185 117 #: class/ShMapper.class.php:145 class/ShmMap.class.php:2 58117 #: class/ShMapper.class.php:145 class/ShmMap.class.php:264 118 118 #: widget/ShMap.widget.php:84 119 119 msgid "Height" … … 121 121 122 122 #: class/ShMapPointType.class.php:139 class/ShMapPointType.class.php:195 123 #: class/ShMapper.class.php:144 class/ShmMap.class.php:26 3123 #: class/ShMapper.class.php:144 class/ShmMap.class.php:269 124 124 msgid "Width" 125 125 msgstr "" 126 126 127 #: class/ShMapPointType.class.php:37 5127 #: class/ShMapPointType.class.php:374 128 128 msgid "None" 129 129 msgstr "" … … 144 144 msgstr "" 145 145 146 #: class/ShMapper.class.php:82 class/ShMapper.class.php: 393147 #: class/ShMapper.class.php: 394146 #: class/ShMapper.class.php:82 class/ShMapper.class.php:431 147 #: class/ShMapper.class.php:432 148 148 msgid "Shmapper" 149 149 msgstr "" … … 168 168 169 169 #: class/ShMapper.class.php:130 class/ShMapper.class.php:178 170 #: class/ShMapperRequest.class.php:93 class/ShmMap.class.php:6 01170 #: class/ShMapperRequest.class.php:93 class/ShmMap.class.php:655 171 171 #: class/ShmPoint.class.php:265 172 172 msgid "Location" … … 174 174 175 175 #: class/ShMapper.class.php:131 class/ShMapper.class.php:138 176 #: class/ShMapper.class.php:176 class/ShMapper.class.php: 599177 #: class/ShMapperRequest.class.php:89 class/ShmMap.class.php:6 01176 #: class/ShMapper.class.php:176 class/ShMapper.class.php:637 177 #: class/ShMapperRequest.class.php:89 class/ShmMap.class.php:655 178 178 #: class/ShmPoint.class.php:261 179 179 msgid "Latitude" … … 181 181 182 182 #: class/ShMapper.class.php:132 class/ShMapper.class.php:139 183 #: class/ShMapper.class.php:177 class/ShMapper.class.php: 597184 #: class/ShMapperRequest.class.php:91 class/ShmMap.class.php:6 01183 #: class/ShMapper.class.php:177 class/ShMapper.class.php:635 184 #: class/ShMapperRequest.class.php:91 class/ShmMap.class.php:655 185 185 #: class/ShmPoint.class.php:263 186 186 msgid "Longitude" … … 188 188 189 189 #: class/ShMapper.class.php:133 class/ShMapper.class.php:140 190 #: class/ShMapper.class.php:6 01190 #: class/ShMapper.class.php:639 191 191 msgid "Zoom" 192 192 msgstr "" 193 193 194 194 #: class/ShMapper.class.php:141 class/ShmMap.class.php:118 195 #: class/ShmMap.class.php:33 3195 #: class/ShmMap.class.php:339 196 196 msgid "Legend exists" 197 197 msgstr "" 198 198 199 #: class/ShMapper.class.php:142 class/ShmMap.class.php:3 44199 #: class/ShMapper.class.php:142 class/ShmMap.class.php:350 200 200 msgid "Filters exists" 201 201 msgstr "" 202 202 203 203 #: class/ShMapper.class.php:143 class/ShmMap.class.php:113 204 #: class/ShmMap.class.php:32 2204 #: class/ShmMap.class.php:328 205 205 msgid "Export csv" 206 206 msgstr "" 207 207 208 #: class/ShMapper.class.php:146 class/ShmMap.class.php:2 79208 #: class/ShMapper.class.php:146 class/ShmMap.class.php:285 209 209 msgid "Map search" 210 210 msgstr "" 211 211 212 #: class/ShMapper.class.php:147 class/ShmMap.class.php:29 3212 #: class/ShMapper.class.php:147 class/ShmMap.class.php:299 213 213 msgid "Map full screen" 214 214 msgstr "" … … 218 218 msgstr "" 219 219 220 #: class/ShMapper.class.php:149 class/ShmMap.class.php:2 87220 #: class/ShMapper.class.php:149 class/ShmMap.class.php:293 221 221 msgid "Map layer switcher" 222 222 msgstr "" 223 223 224 #: class/ShMapper.class.php:150 class/ShmMap.class.php:30 1224 #: class/ShMapper.class.php:150 class/ShmMap.class.php:307 225 225 msgid "Lock zoom and drag" 226 226 msgstr "" 227 227 228 #: class/ShMapper.class.php:151 class/ShmMap.class.php: 297228 #: class/ShMapper.class.php:151 class/ShmMap.class.php:303 229 229 msgid "Formating Marker to cluster" 230 230 msgstr "" … … 239 239 240 240 #: class/ShMapper.class.php:155 class/ShmMap.class.php:128 241 #: class/ShmMap.class.php:4 07241 #: class/ShmMap.class.php:456 242 242 msgid "Notify owner of Map" 243 243 msgstr "" … … 251 251 msgstr "" 252 252 253 #: class/ShMapper.class.php:158 class/ShmMap.class.php:4 27253 #: class/ShMapper.class.php:158 class/ShmMap.class.php:476 254 254 msgid "Users can leave their contact details for feedback." 255 255 msgstr "" … … 259 259 msgstr "" 260 260 261 #: class/ShMapper.class.php:160 class/ShmMap.class.php:4 40261 #: class/ShMapper.class.php:160 class/ShmMap.class.php:489 262 262 msgid "Personal name" 263 263 msgstr "" … … 283 283 msgstr "" 284 284 285 #: class/ShMapper.class.php:166 class/ShmMap.class.php: 472285 #: class/ShMapper.class.php:166 class/ShmMap.class.php:521 286 286 msgid "Personal phone" 287 287 msgstr "" … … 291 291 msgstr "" 292 292 293 #: class/ShMapper.class.php:173 class/ShmMap.class.php:76 294 #: class/ShmMap.class.php:77 widget/ShMap.widget.php:72 293 #: class/ShMapper.class.php:173 class/ShMapperDrive.class.php:178 294 #: class/ShmMap.class.php:76 class/ShmMap.class.php:77 295 #: widget/ShMap.widget.php:72 295 296 msgid "Map" 296 297 msgstr "" … … 298 299 #: class/ShMapper.class.php:175 class/ShmForm.class.php:229 299 300 #: class/ShmForm.class.php:301 class/ShmForm.class.php:374 300 #: class/ShmMap.class.php:6 01class/ShmPoint.class.php:323301 #: class/ShmMap.class.php:655 class/ShmPoint.class.php:323 301 302 msgid "Description" 302 303 msgstr "" … … 332 333 msgstr "" 333 334 334 #: class/ShMapper.class.php:280 class/ShMapper.class.php:372 335 #: class/ShMapper.class.php:284 class/ShMapper.class.php:393 336 #: class/ShMapperDrive.class.php:125 335 337 msgid "Attantion" 336 338 msgstr "" 337 339 338 #: class/ShMapper.class.php:28 1 class/ShMapper.class.php:373340 #: class/ShMapper.class.php:285 class/ShMapper.class.php:394 339 341 msgid "Send" 340 342 msgstr "" 341 343 342 #: class/ShMapper.class.php:28 2 class/ShMapper.class.php:374344 #: class/ShMapper.class.php:286 class/ShMapper.class.php:395 343 345 msgid "Close" 344 346 msgstr "" 345 347 346 #: class/ShMapper.class.php:28 3 class/ShMapper.class.php:375348 #: class/ShMapper.class.php:287 class/ShMapper.class.php:396 347 349 msgid "" 348 350 "Error: the form is not associated with the card. To link a map and a form, " … … 352 354 msgstr "" 353 355 354 #: class/ShMapper.class.php:28 4356 #: class/ShMapper.class.php:288 355 357 msgid "Are you shure?" 356 358 msgstr "" 357 359 358 #: class/ShMapper.class.php:4 06 class/ShMapper.class.php:407359 #: class/ShMapper.class.php:4 35360 #: class/ShMapper.class.php:444 class/ShMapper.class.php:445 361 #: class/ShMapper.class.php:473 class/ShMapperDrive.class.php:439 360 362 msgid "Settings" 361 363 msgstr "" 362 364 363 #: class/ShMapper.class.php:4 44365 #: class/ShMapper.class.php:482 364 366 msgid "Map API" 365 367 msgstr "" 366 368 367 #: class/ShMapper.class.php:4 57369 #: class/ShMapper.class.php:495 368 370 msgid "OpenStreetMap" 369 371 msgstr "" 370 372 371 #: class/ShMapper.class.php: 465373 #: class/ShMapper.class.php:503 372 374 msgid "Yandex.Maps API Key" 373 375 msgstr "" 374 376 375 #: class/ShMapper.class.php: 467377 #: class/ShMapper.class.php:505 376 378 msgid "ATTENTION: you must specify a key for working with the Yandex.Maps API." 377 379 msgstr "" 378 380 379 #: class/ShMapper.class.php: 467381 #: class/ShMapper.class.php:505 380 382 msgid "Learn more here:" 381 383 msgstr "" 382 384 383 #: class/ShMapper.class.php: 478385 #: class/ShMapper.class.php:516 384 386 msgid "Interactive" 385 387 msgstr "" 386 388 387 #: class/ShMapper.class.php: 486389 #: class/ShMapper.class.php:524 388 390 msgid "Enable global mode for non-interactive maps" 389 391 msgstr "" 390 392 391 #: class/ShMapper.class.php: 490393 #: class/ShMapper.class.php:528 392 394 msgid "" 393 395 "users will not be able to add posts to any map. If the checkbox is enabled, " … … 395 397 msgstr "" 396 398 397 #: class/ShMapper.class.php: 498399 #: class/ShMapper.class.php:536 398 400 msgid "Pre-modertion from Map owner." 399 401 msgstr "" 400 402 401 #: class/ShMapper.class.php:5 02403 #: class/ShMapper.class.php:540 402 404 msgid "all messages will be added in the Draft status" 403 405 msgstr "" 404 406 405 #: class/ShMapper.class.php:5 06407 #: class/ShMapper.class.php:544 406 408 msgid "" 407 409 "ATTENTION: disable this option only at your own peril and risk, because " … … 409 411 msgstr "" 410 412 411 #: class/ShMapper.class.php:5 14413 #: class/ShMapper.class.php:552 412 414 msgid "Reload page after User send request." 413 415 msgstr "" 414 416 415 #: class/ShMapper.class.php:5 26417 #: class/ShMapper.class.php:564 416 418 msgid "Protection" 417 419 msgstr "" 418 420 419 #: class/ShMapper.class.php:5 33421 #: class/ShMapper.class.php:571 420 422 msgid "Include captcha in form (plugin uses only reCAPTCHA v2 keys)" 421 423 msgstr "" 422 424 423 #: class/ShMapper.class.php:5 42425 #: class/ShMapper.class.php:580 424 426 #, php-format 425 427 msgid "" … … 428 430 msgstr "" 429 431 430 #: class/ShMapper.class.php:5 46432 #: class/ShMapper.class.php:584 431 433 msgid "" 432 434 "Your reCAPTCHA doesn't work yet. In order to make it work, please get the " … … 434 436 msgstr "" 435 437 436 #: class/ShMapper.class.php:5 58438 #: class/ShMapper.class.php:596 437 439 msgid "Vocabulary" 438 440 msgstr "" 439 441 440 #: class/ShMapper.class.php: 562442 #: class/ShMapper.class.php:600 441 443 msgid "Save personal data garantee" 442 444 msgstr "" 443 445 444 #: class/ShMapper.class.php: 568446 #: class/ShMapper.class.php:606 445 447 msgid "Successful send map request" 446 448 msgstr "" 447 449 448 #: class/ShMapper.class.php: 574450 #: class/ShMapper.class.php:612 449 451 msgid "Error send map request" 450 452 msgstr "" 451 453 452 #: class/ShMapper.class.php:588 class/ShMapper.class.php:611 454 #: class/ShMapper.class.php:626 class/ShMapper.class.php:649 455 #: class/ShMapper.class.php:689 453 456 msgid "Coordinates" 454 457 msgstr "" 455 458 456 #: class/ShMapper.class.php: 595459 #: class/ShMapper.class.php:633 457 460 msgid "Set default coordinates" 458 461 msgstr "" 459 462 460 #: class/ShMapper.class.php: 695463 #: class/ShMapper.class.php:745 461 464 msgid "Wizzard" 462 465 msgstr "" 463 466 464 #: class/ShMapper.class.php: 698467 #: class/ShMapper.class.php:748 465 468 msgid "Restart wizzard" 466 469 msgstr "" 467 470 468 #: class/ShMapper.class.php:7 45 class/ShMapper.class.php:753471 #: class/ShMapper.class.php:795 class/ShMapper.class.php:803 469 472 msgid "Close wizzard" 470 473 msgstr "" 471 474 472 #: class/ShMapper.class.php:7 46 class/ShMapper.class.php:752475 #: class/ShMapper.class.php:796 class/ShMapper.class.php:802 473 476 msgid "Go to current page" 474 477 msgstr "" 475 478 476 #: class/ShMapper.class.php:7 49 class/ShMapper_ajax.class.php:172479 #: class/ShMapper.class.php:799 class/ShMapper_ajax.class.php:172 477 480 msgid "Next step" 478 481 msgstr "" 479 482 480 #: class/ShMapper.class.php: 751483 #: class/ShMapper.class.php:801 481 484 msgid "Prevous step" 482 485 msgstr "" 483 486 484 #: class/ShMapper.class.php:8 03487 #: class/ShMapper.class.php:853 485 488 msgid "Welcome to the Shmapper Configuration Wizard" 486 489 msgstr "" 487 490 488 #: class/ShMapper.class.php:8 04491 #: class/ShMapper.class.php:854 489 492 msgid "" 490 493 "First, you need to specify the general settings. Click on the button <span " … … 493 496 msgstr "" 494 497 495 #: class/ShMapper.class.php:8 10498 #: class/ShMapper.class.php:860 496 499 msgid "Configure Shmapper" 497 500 msgstr "" 498 501 499 #: class/ShMapper.class.php:8 11502 #: class/ShMapper.class.php:861 500 503 msgid "" 501 504 "Change the settings that do not suit you. To connect reCAPTCHA, you need to " … … 503 506 msgstr "" 504 507 505 #: class/ShMapper.class.php:8 17508 #: class/ShMapper.class.php:867 506 509 msgid "Create your first map" 507 510 msgstr "" 508 511 509 #: class/ShMapper.class.php:8 18512 #: class/ShMapper.class.php:868 510 513 msgid "Click the \"Add Map\" button at the very top of the page" 511 514 msgstr "" 512 515 513 #: class/ShMapper.class.php:8 24 class/ShMapper.class.php:832516 #: class/ShMapper.class.php:874 class/ShMapper.class.php:882 514 517 msgid "New map" 515 518 msgstr "" 516 519 517 #: class/ShMapper.class.php:8 25520 #: class/ShMapper.class.php:875 518 521 msgid "" 519 522 "Select a visible area on the map. <p> Create the first Marker by pointing to " … … 522 525 msgstr "" 523 526 524 #: class/ShMapper.class.php:8 33527 #: class/ShMapper.class.php:883 525 528 msgid "" 526 529 "Fill in the provided fields in sequence. In the \"Request Form\" section, " … … 530 533 msgstr "" 531 534 535 #: class/ShMapperDrive.class.php:98 536 msgid "Point" 537 msgstr "" 538 539 #: class/ShMapperDrive.class.php:100 class/ShMapperDrive.class.php:105 540 msgid "Google Table ID source" 541 msgstr "" 542 543 #: class/ShMapperDrive.class.php:120 544 msgid "Export from Google Sheet" 545 msgstr "" 546 547 #: class/ShMapperDrive.class.php:128 548 msgid "Rules for Google snapshot structure." 549 msgstr "" 550 551 #: class/ShMapperDrive.class.php:130 552 msgid "" 553 "Google-table must have access rights 'For everyone on the Internet' or 'For " 554 "everyone who has a link'" 555 msgstr "" 556 557 #: class/ShMapperDrive.class.php:131 558 msgid "In file must be only one screen." 559 msgstr "" 560 561 #: class/ShMapperDrive.class.php:132 562 msgid "First row must have only legends of columns." 563 msgstr "" 564 565 #: class/ShMapperDrive.class.php:133 566 msgid "" 567 "If Points are have different Point types you must reserve one column for " 568 "Point type and fill it ID of this types." 569 msgstr "" 570 571 #: class/ShMapperDrive.class.php:134 572 msgid "" 573 "If you want to have geo position you must reserve one column for adress or 2 " 574 "columns for longitude and latitude." 575 msgstr "" 576 577 #: class/ShMapperDrive.class.php:140 578 msgid "" 579 "Google table document ID. For example: <b class='shm-color-" 580 "danger'>1dQupQpiGjPqIbVHCTRvpybr-cmk5zs8U</b> in https://docs.google.com/" 581 "spreadsheets/d/1dQupQpiGjPqIbVHCTRvpybr-cmk5zs8U/edit#gid=7101094" 582 msgstr "" 583 584 #: class/ShMapperDrive.class.php:159 585 msgid "Skip first rows count" 586 msgstr "" 587 588 #: class/ShMapperDrive.class.php:171 589 msgid "Execute next rows count. Empty for all." 590 msgstr "" 591 592 #: class/ShMapperDrive.class.php:191 593 msgid "Column for unique id" 594 msgstr "" 595 596 #: class/ShMapperDrive.class.php:203 597 msgid "Point title column" 598 msgstr "" 599 600 #: class/ShMapperDrive.class.php:214 601 msgid "Point description column" 602 msgstr "" 603 604 #: class/ShMapperDrive.class.php:225 605 msgid "Post date column" 606 msgstr "" 607 608 #: class/ShMapperDrive.class.php:238 609 msgid "Is fix post date?" 610 msgstr "" 611 612 #: class/ShMapperDrive.class.php:250 613 msgid "Select marker type" 614 msgstr "" 615 616 #: class/ShMapperDrive.class.php:252 617 msgid "Add new marker" 618 msgstr "" 619 620 #: class/ShMapperDrive.class.php:268 621 msgid "Select method and columns for generate Points's geo position." 622 msgstr "" 623 624 #: class/ShMapperDrive.class.php:281 625 msgid "Latitude and Longitude" 626 msgstr "" 627 628 #: class/ShMapperDrive.class.php:310 629 msgid "Adress" 630 msgstr "" 631 632 #: class/ShMapperDrive.class.php:326 633 msgid "Select columns for choose Points's different types." 634 msgstr "" 635 636 #: class/ShMapperDrive.class.php:339 637 msgid "Select column with marker type" 638 msgstr "" 639 640 #: class/ShMapperDrive.class.php:355 641 msgid "" 642 "List of columns in google table that need to parse to Point's description" 643 msgstr "" 644 645 #: class/ShMapperDrive.class.php:360 646 msgid "Column" 647 msgstr "" 648 649 #: class/ShMapperDrive.class.php:363 650 msgid "Include?" 651 msgstr "" 652 653 #: class/ShMapperDrive.class.php:364 class/ShMapperDrive.class.php:370 654 msgid "necessarily" 655 msgstr "" 656 657 #: class/ShMapperDrive.class.php:369 658 msgid "Field name by latin" 659 msgstr "" 660 661 #: class/ShMapperDrive.class.php:375 662 msgid "Sub title for decription section" 663 msgstr "" 664 665 #: class/ShMapperDrive.class.php:378 666 msgid "Order" 667 msgstr "" 668 669 #: class/ShMapperDrive.class.php:390 670 msgid "If your Google spreadsheet has one text in the specified column" 671 msgstr "" 672 673 #: class/ShMapperDrive.class.php:403 674 msgid "" 675 "Use only first row for creation new Point or updating included Point and " 676 "ignore over." 677 msgstr "" 678 679 #: class/ShMapperDrive.class.php:416 680 msgid "" 681 "Use only last row for creation new Point or updating included Point and " 682 "ignore over." 683 msgstr "" 684 685 #: class/ShMapperDrive.class.php:429 686 msgid "" 687 "Use only first row for creation new Point or updating included Point. Over " 688 "some rows use for creation new Message or updating included Messages for " 689 "Point" 690 msgstr "" 691 692 #: class/ShMapperDrive.class.php:442 693 msgid "Preview results" 694 msgstr "" 695 696 #: class/ShMapperDrive.class.php:445 697 msgid "Create or update Poins and Messages" 698 msgstr "" 699 700 #: class/ShMapperDrive_ajax.class.php:77 701 msgid "Update successful!" 702 msgstr "" 703 704 #: class/ShMapperDrive_ajax.class.php:109 705 msgid "Success load Google Table." 706 msgstr "" 707 708 #: class/ShMapperDrive_ajax.class.php:120 709 msgid "Error load Google Table." 710 msgstr "" 711 712 #: class/ShMapperPointMessage.class.php:19 713 #: class/ShMapperPointMessage.class.php:20 714 msgid "Map marker message" 715 msgstr "" 716 717 #: class/ShMapperPointMessage.class.php:21 718 #: class/ShMapperPointMessage.class.php:22 719 #: class/ShMapperPointMessage.class.php:24 720 msgid "Add Map marker message" 721 msgstr "" 722 723 #: class/ShMapperPointMessage.class.php:23 724 msgid "Edit Map marker message" 725 msgstr "" 726 727 #: class/ShMapperPointMessage.class.php:25 728 msgid "All Map marker messages" 729 msgstr "" 730 731 #: class/ShMapperPointMessage.class.php:26 732 msgid "view Map marker message" 733 msgstr "" 734 735 #: class/ShMapperPointMessage.class.php:27 736 msgid "Search Map marker message" 737 msgstr "" 738 739 #: class/ShMapperPointMessage.class.php:28 740 msgid "Map marker message not found" 741 msgstr "" 742 743 #: class/ShMapperPointMessage.class.php:29 744 msgid "No found Map marker message in trash" 745 msgstr "" 746 747 #: class/ShMapperPointMessage.class.php:30 748 msgid "Map marker messages" 749 msgstr "" 750 532 751 #: class/ShMapperRequest.class.php:24 class/ShMapperRequest.class.php:25 533 752 msgid "Map Request" … … 585 804 msgstr "" 586 805 587 #: class/ShMapperRequest.class.php:363 806 #: class/ShMapperRequest.class.php:361 807 msgid "Visitor" 808 msgstr "" 809 810 #: class/ShMapperRequest.class.php:374 588 811 msgid "Approve" 589 812 msgstr "" 590 813 591 #: class/ShMapperRequest.class.php:3 65814 #: class/ShMapperRequest.class.php:376 592 815 msgid "Trash" 593 816 msgstr "" … … 687 910 688 911 #: class/ShmForm.class.php:49 689 msgid "W hrite description"912 msgid "Write description" 690 913 msgstr "" 691 914 … … 868 1091 msgstr "" 869 1092 870 #: class/ShmMap.class.php:24 31093 #: class/ShmMap.class.php:249 871 1094 msgid "1.1. Pan map and choose zoom" 872 1095 msgstr "" 873 1096 874 #: class/ShmMap.class.php:2 551097 #: class/ShmMap.class.php:261 875 1098 msgid "1.2. Set size for map's div (per pixels)" 876 1099 msgstr "" 877 1100 878 #: class/ShmMap.class.php:26 0 class/ShmMap.class.php:2651101 #: class/ShmMap.class.php:266 class/ShmMap.class.php:271 879 1102 msgid "Empty for " 880 1103 msgstr "" 881 1104 882 #: class/ShmMap.class.php:2 751105 #: class/ShmMap.class.php:281 883 1106 msgid "1.3. Include interface" 884 1107 msgstr "" 885 1108 886 #: class/ShmMap.class.php:28 31109 #: class/ShmMap.class.php:289 887 1110 msgid "Map zoom slider enabled" 888 1111 msgstr "" 889 1112 890 #: class/ShmMap.class.php:3 051113 #: class/ShmMap.class.php:311 891 1114 msgid "Choose layers" 892 1115 msgstr "" 893 1116 894 #: class/ShmMap.class.php:3 191117 #: class/ShmMap.class.php:325 895 1118 msgid "1.4. May User download data in *.csv?" 896 1119 msgstr "" 897 1120 898 #: class/ShmMap.class.php:33 01121 #: class/ShmMap.class.php:336 899 1122 msgid "1.5. Will the legend be displayed?" 900 1123 msgstr "" 901 1124 902 #: class/ShmMap.class.php:34 11125 #: class/ShmMap.class.php:347 903 1126 msgid "1.6. Will Marker type filter be displayed?" 904 1127 msgstr "" 905 1128 906 #: class/ShmMap.class.php:35 21129 #: class/ShmMap.class.php:357 907 1130 msgid "1.7. Default Marker icon" 908 1131 msgstr "" 909 1132 910 #: class/ShmMap.class.php:3 571133 #: class/ShmMap.class.php:362 911 1134 msgid "Recommended size is 64х64 px, format is .png" 912 1135 msgstr "" 913 1136 1137 #: class/ShmMap.class.php:373 1138 msgid "1.8. Highlight the country on the map" 1139 msgstr "" 1140 1141 #: class/ShmMap.class.php:377 1142 msgid "Loading countries ... " 1143 msgstr "" 1144 1145 #: class/ShmMap.class.php:380 1146 msgid "Select country" 1147 msgstr "" 1148 914 1149 #: class/ShmMap.class.php:389 1150 msgid "Choose map overlay color" 1151 msgstr "" 1152 1153 #: class/ShmMap.class.php:395 1154 msgid "Choose country border color" 1155 msgstr "" 1156 1157 #: class/ShmMap.class.php:401 1158 msgid "Overlay opacity" 1159 msgstr "" 1160 1161 #: class/ShmMap.class.php:438 915 1162 msgid "Enable crowdsourcing function (free add Users new Markers)" 916 1163 msgstr "" 917 1164 918 #: class/ShmMap.class.php: 3941165 #: class/ShmMap.class.php:443 919 1166 msgid "2.1. What is the name of your information form?" 920 1167 msgstr "" 921 1168 922 #: class/ShmMap.class.php: 3981169 #: class/ShmMap.class.php:447 923 1170 msgid "For example «All beaches by the river»" 924 1171 msgstr "" 925 1172 926 #: class/ShmMap.class.php:4 041173 #: class/ShmMap.class.php:453 927 1174 msgid "2.2. Will I notify the author about new posts?" 928 1175 msgstr "" 929 1176 930 #: class/ShmMap.class.php:4 121177 #: class/ShmMap.class.php:461 931 1178 msgid "2.3. What information can users enter?" 932 1179 msgstr "" 933 1180 934 #: class/ShmMap.class.php:4 151181 #: class/ShmMap.class.php:464 935 1182 msgid "" 936 1183 "You can create your own forms using form elements: & laquo; Text line & " … … 939 1186 msgstr "" 940 1187 941 #: class/ShmMap.class.php:4 241188 #: class/ShmMap.class.php:473 942 1189 msgid "2.4. Can users leave their contact information?" 943 1190 msgstr "" 944 1191 945 #: class/ShmMap.class.php:4 321192 #: class/ShmMap.class.php:481 946 1193 msgid "2.5. What data users will have to put?" 947 1194 msgstr "" 948 1195 949 #: class/ShmMap.class.php:4 35 class/ShmMap.class.php:451950 #: class/ShmMap.class.php: 4671196 #: class/ShmMap.class.php:484 class/ShmMap.class.php:500 1197 #: class/ShmMap.class.php:516 951 1198 msgid "Include" 952 1199 msgstr "" 953 1200 954 #: class/ShmMap.class.php:4 45 class/ShmMap.class.php:461955 #: class/ShmMap.class.php: 4771201 #: class/ShmMap.class.php:494 class/ShmMap.class.php:510 1202 #: class/ShmMap.class.php:526 956 1203 msgid "Required" 957 1204 msgstr "" 958 1205 959 #: class/ShmMap.class.php: 4561206 #: class/ShmMap.class.php:505 960 1207 msgid "Personal email" 961 1208 msgstr "" 962 1209 963 #: class/ShmMap.class.php: 6701210 #: class/ShmMap.class.php:724 964 1211 msgid "What do with placemarks of deleting Map?" 965 1212 msgstr "" 966 1213 967 #: class/ShmMap.class.php: 6751214 #: class/ShmMap.class.php:729 968 1215 msgid "Delete all Points" 969 1216 msgstr "" 970 1217 971 #: class/ShmMap.class.php: 6811218 #: class/ShmMap.class.php:735 972 1219 msgid "Escape all Points without Owner Map" 973 1220 msgstr "" 974 1221 975 #: class/ShmMap.class.php: 6871222 #: class/ShmMap.class.php:741 976 1223 msgid "Switch all Points to anover Map" 977 1224 msgstr "" 978 1225 979 #: class/ShmMap.class.php:7 031226 #: class/ShmMap.class.php:757 980 1227 msgid "delete" 981 1228 msgstr "" 982 1229 983 #: class/ShmMap.class.php: 7821230 #: class/ShmMap.class.php:836 984 1231 #, php-format 985 1232 msgid "Succesfuly delete map width %s points" 986 1233 msgstr "" 987 1234 988 #: class/ShmMap.class.php: 7871235 #: class/ShmMap.class.php:841 989 1236 #, php-format 990 1237 msgid "Succesfuly delete map and %s points are orphans now" 991 1238 msgstr "" 992 1239 993 #: class/ShmMap.class.php: 7941240 #: class/ShmMap.class.php:848 994 1241 #, php-format 995 1242 msgid "Succesfuly delete map and %s points migrates to %s" 996 1243 msgstr "" 997 1244 998 #: class/ShmMap.class.php:8 261245 #: class/ShmMap.class.php:880 999 1246 msgid "Yandex Map" 1000 1247 msgstr "" 1001 1248 1002 #: class/ShmMap.class.php: 8481249 #: class/ShmMap.class.php:902 1003 1250 msgid "Open Street Map" 1004 1251 msgstr "" … … 1049 1296 msgstr "" 1050 1297 1051 #: shortcode/shmMap.shortcode.php:25 1298 #: shortcode/shmMap.shortcode.php:25 shortcode/shmMapFeed.shortcode.php:17 1052 1299 msgid "No map on ID " 1053 1300 msgstr "" … … 1097 1344 msgstr "" 1098 1345 1099 #: tpl/shmMap.php: 881346 #: tpl/shmMap.php:93 1100 1347 #, php-format 1101 1348 msgid "download %s.csv" -
shmapper-by-teplitsa/trunk/shmapper.php
r2433792 r2481968 4 4 * Plugin URI: http://genagl.ru/?p=652 5 5 * Description: Location and logistics services for NKO 6 * Version: 1.4. 06 * Version: 1.4.1 7 7 * Requires at least: 5.0 8 8 * Requires PHP: 5.6 … … 48 48 } 49 49 } 50 add_action( 'plugins_loaded', 'init_textdomain_shmapper');50 add_action( 'plugins_loaded', 'init_textdomain_shmapper' ); 51 51 52 52 // Paths. … … 54 54 define( 'SHM_REAL_PATH', WP_PLUGIN_DIR . '/' . plugin_basename(dirname(__FILE__) ) . '/' ); 55 55 define( 'SHMAPPER', 'shmapper-by-teplitsa' ); 56 define('SHMAPPERD', 'shmapper-drive' ); 56 57 define( 'SHM_MAP', 'shm_map' ); 57 58 define( 'SHM_POINT', 'shm_point' ); 58 59 define( 'SHM_POINT_TYPE', 'shm_point_type' ); 60 define( 'SHMAPPER_POINT_MESSAGE', 'shm_point_msg' ); 59 61 define( 'SHM_REQUEST', 'shm_request' ); 60 62 define( 'SHMAPPER_PLAIN_TEXT_TYPE_ID', 1 ); … … 70 72 define( 'SHM_CSV_ROW_SEPARATOR', ' 71 73 '); 72 define( 'SHMAPPER_VERSION', '1.3.3' );74 define( 'SHMAPPER_VERSION', '1.4.1' ); 73 75 74 76 require_once SHM_REAL_PATH . 'class/ShMapper.class.php'; … … 90 92 require_once SHM_REAL_PATH . 'widget/ShMap.widget.php'; 91 93 94 require_once SHM_REAL_PATH . 'class/ShMapperDrive.class.php'; 95 92 96 register_activation_hook( __FILE__, array( 'ShMapper', 'activate' ) ); 97 register_activation_hook( __FILE__, array( 'ShMapperDrive', 'activate' ) ); 93 98 94 99 if ( function_exists( 'register_deactivation_hook' ) ) { 95 100 register_deactivation_hook(__FILE__, array( 'ShMapper', 'deactivate' ) ); 101 register_deactivation_hook(__FILE__, array( 'ShMapperDrive', 'deactivate' ) ); 96 102 } 97 103 … … 108 114 } 109 115 add_action( 'init', 'init_shmapper', 1 ); 116 117 /** Shamapper Drive init */ 118 function init_shmapper_drive() { 119 require_once SHM_REAL_PATH . 'class/ShMapperDrive_ajax.class.php'; 120 require_once SHM_REAL_PATH . 'class/ShMapperPointMessage.class.php'; 121 ShMapperDrive::get_instance(); 122 ShMapperDrive_ajax::get_instance(); 123 ShMapperPointMessage::init(); 124 } 125 add_action( 'init', 'init_shmapper_drive', 2 ); 110 126 111 127 /** Is session */ -
shmapper-by-teplitsa/trunk/tpl/input_file_form.php
r2433792 r2481968 117 117 } 118 118 119 function recurse_copy($src, $dst) 120 { 121 $dir = opendir($src); 122 @mkdir($dst); 123 while(false !== ( $file = readdir($dir)) ) { 124 if (( $file != '.' ) && ( $file != '..' )) { 125 if ( is_dir($src . '/' . $file) ) { 126 recurse_copy($src . '/' . $file, $dst . '/' . $file); 127 } 128 else { 129 copy($src . '/' . $file, $dst . '/' . $file); 130 } 131 } 132 } 133 closedir($dir); 119 function recurse_copy( $src, $dst ) { 120 $dir = opendir($src); 121 @mkdir($dst); 122 while(false !== ( $file = readdir($dir)) ) { 123 if (( $file != '.' ) && ( $file != '..' )) { 124 if ( is_dir($src . '/' . $file) ) { 125 recurse_copy($src . '/' . $file, $dst . '/' . $file); 126 } 127 else { 128 copy($src . '/' . $file, $dst . '/' . $file); 129 } 130 } 131 } 132 closedir($dir); 134 133 } -
shmapper-by-teplitsa/trunk/tpl/shmMap.php
r2433792 r2481968 42 42 $zoom = $zoom ? $zoom : 4; 43 43 $leg = ""; 44 $highlight_country = $map->get_meta( 'highlight_country' ); 45 $overlay_color = $map->get_meta( 'overlay_color' ); 46 $border_color = $map->get_meta( 'border_color' ); 47 $overlay_opacity = $map->get_meta( 'overlay_opacity' ); 48 44 49 if( $is_legend ) 45 50 { … … 54 59 55 60 $term = get_term($term_id); 56 if( !is_wp_error($term) ) { // echo '<pre>HERE: '.print_r($include, 1).'</pre>';61 if( !is_wp_error($term) ) { 57 62 58 63 $color = get_term_meta($term_id, "color", true); … … 162 167 isAdmin : ". (is_admin() ? 1 : 0). ", 163 168 isMap : true, 164 default_icon : '$icon' 169 default_icon : '$icon', 170 country : '$highlight_country', 171 overlay : '$overlay_color', 172 border : '$border_color', 173 overlayOpacity : '$overlay_opacity', 165 174 }; 166 /* 167 var clear_form = new CustomEvent( 168 'init_map', 169 { 170 bubbles : true, 171 cancelable : true, 172 detail : {mData:mData, points:points} 173 } 174 ); 175 document.documentElement.dispatchEvent(clear_form); 176 */ 177 178 if(map_type == 1) 179 ymaps.ready( function(){ init_map( mData, points ) } ); 180 else if (map_type == 2) 175 176 if ( map_type == 1 ) { 177 178 ymaps.ready( function(){ 179 180 init_map( mData, points ); 181 182 ymaps.borders.load( '001' , { 183 lang: shmYa.langIso, 184 quality: 1 185 }).then(function (result) { 186 187 let selectOption = '<option>...</option>'; 188 let optionValue = ''; 189 let optionLabel = ''; 190 let optionSelected = ''; 191 let optionCurrent = mData.country; 192 let allCountries = []; 193 let allOptions = []; 194 195 for (var i = 0; i < result.features.length; i++) { 196 optionValue = result.features[i].properties.iso3166; 197 optionLabel = result.features[i].properties.name; 198 allOptions[ optionLabel ] = optionValue; 199 allCountries.push( optionLabel ); 200 } 201 202 // Sort countries alphabetically 203 allCountries.sort(); 204 205 // Create html options 206 allCountries.forEach( function( value, index ){ 207 optionValue = allOptions[ value ]; 208 optionSelected = ''; 209 if ( optionCurrent == optionValue ) { 210 optionSelected = 'selected'; 211 } 212 selectOption += '<option value=\"' + optionValue + '\" ' + optionSelected + '>' + value + '</option>'; 213 }); 214 215 // Add options to admin select 216 if ( $( '[name=highlight_country]' ).length ) { 217 $( '[name=highlight_country]' ).html( selectOption ); 218 } 219 220 }); 221 222 } ); 223 224 } else if (map_type == 2) { 181 225 init_map( mData, points ); 226 } 182 227 183 228 // Disable submit post form on this page. … … 191 236 }); 192 237 193 jQuery(\"<style type='text/css'>.shm_container .leaflet-popup .leaflet-popup-content-wrapper .leaflet-popup-content .shml-body {max-height: ".round($height * 1.5)."px !important;} </style>\").appendTo('head');238 jQuery(\"<style type='text/css'>.shm_container .leaflet-popup .leaflet-popup-content-wrapper .leaflet-popup-content .shml-body {max-height: ".round($height * 1.5)."px !important;} </style>\").appendTo('head'); 194 239 195 240 </script>";
Note: See TracChangeset
for help on using the changeset viewer.