Plugin Directory

Changeset 2481968


Ignore:
Timestamp:
02/26/2021 04:17:43 AM (5 years ago)
Author:
teplosup
Message:

Add version 1.4.1

Location:
shmapper-by-teplitsa
Files:
244 added
14 edited

Legend:

Unmodified
Added
Removed
  • shmapper-by-teplitsa/trunk/README.txt

    r2380712 r2481968  
    5959== Changelog ==
    6060
     61= 1.4.0 =
     62* Added support for importing data from Google Sheets.
     63
    6164= 1.3.6 =
    6265* WordPress 5.5 compatibility.
  • shmapper-by-teplitsa/trunk/assets/css/ShMapper.css

    r2380712 r2481968  
    4444{
    4545    text-overflow: ellipsis;
    46     overflow: hidden;
    47     white-space: nowrap;
     46    overflow: hidden;
     47    white-space: nowrap;
    4848}
    4949.shmw-100
     
    7777.leaflet-osm-point:after
    7878{
    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;
    8888}
    8989@keyframes wobblehor
     
    135135.shm_wizzard_closed
    136136{
    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);
    144144    display:none;
    145145}
     
    147147.shm_wizzard_closed:before
    148148{
    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;
    159159}
    160160.shm_wizzard_closed:after
    161161{
    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;
    174174}
    175175.shm_wizzard
    176176{
    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;
    192192    animation-name: wobblehor;
    193     animation-duration: 1s;
     193    animation-duration: 1s;
    194194}
    195195.shm_wizzard:before
    196196{
    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;
    207207}
    208208.shm_wizzard:after
    209209{
    210210    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%;
    222222}
    223223.shm_wizzard_close
     
    227227    right:2px;
    228228    padding:3px;   
    229     -webkit-border-radius: 4px;
    230     border-radius: 4px;
     229    -webkit-border-radius: 4px;
     230    border-radius: 4px;
    231231    background:transparent;
    232232}
     
    252252    font-size:0.6rem;
    253253    font-weight:500;
    254     text-align: right;
     254    text-align: right;
    255255}
    256256.shm_wizzard_footer a
     
    262262{
    263263    position: absolute;
    264     text-align: right;
    265     right: 25px;
     264    text-align: right;
     265    right: 25px;
    266266}
    267267.shm_wizzard_footer a[name='shm_wcurrent']
    268268{
    269269    position: absolute;
    270     text-align: right;
    271     left: 25px;
     270    text-align: right;
     271    left: 25px;
    272272}
    273273.shm_wizzard_footer a.dashicons-controls-play
    274274{
    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;
    280280}
    281281
     
    283283{
    284284    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;
    288288}
    289289.shm_wizzard_line:before
     
    299299.shm_wizzard_line>div
    300300{
    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%;
    310310}
    311311.shm_wizzard_line>div>div
     
    315315    left:0%;
    316316    margin-top:-10px;
    317     color: #0073aa;
     317    color: #0073aa;
    318318    font-weight:900;
    319     color: #ddf1fb;
     319    color: #ddf1fb;
    320320    width:100%;
    321321    text-align:center;
     
    327327.shm_wizzard_line>div.active>div
    328328{
    329     color: #0073aa;
     329    color: #0073aa;
    330330}
    331331.shm_warrow, .shm_warrow2
    332332{
    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;
    353353    animation-name: roll;
    354     animation-duration: 1s;
     354    animation-duration: 1s;
    355355    animation-iteration-count:infinite;
    356356    text-shadow: 0px 2px 3px #4A4A4A;
     
    377377.shm-clr
    378378{
    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;
    386386    -webkit-border-radius: 20px;
    387387    border-radius: 20px;
     
    389389.shm-clr-little
    390390{
    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;
    398398    -webkit-border-radius: 19px;
    399399    border-radius: 19px;
     
    402402{
    403403    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;
    409409    margin: 6px;
    410     -webkit-border-radius: 20px;
    411     border-radius: 20px;
     410    -webkit-border-radius: 20px;
     411    border-radius: 20px;
    412412}
    413413.shm-csv-icon
    414414{
    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;
    426426    opacity:0.9;
    427427}
     
    432432.shm-map-panel
    433433{
    434     z-index: 3;
    435     height: 30px;
     434    z-index: 3;
     435    height: 30px;
    436436    text-align:right;
    437437}
     
    548548{
    549549    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;
    556556    text-shadow: 1px 1px 1px #000000;
    557557   
     
    655655{
    656656    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;
    662662}
    663663.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
    664664{
    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;
    670670    box-sizing: border-box;
    671671}
     
    674674    -ms-flex: 0 0 100%;
    675675    flex: 0 0 100%;
    676     max-width: 100%;
     676    max-width: 100%;
    677677}
    678678.shm-11
    679679{
    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%;
    683683}
    684684.shm-10
    685685{
    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%;
    689689}
    690690.shm-9
    691691{
    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%;
    695695}
    696696.shm-8
    697697{
    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%;
    701701}
    702702.shm-7
    703703{
    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%;
    707707}
    708708.shm-6
     
    710710    -ms-flex: 0 0 50%;
    711711    flex: 0 0 50%;
    712     max-width: 50%;
     712    max-width: 50%;
    713713}
    714714.shm-5
    715715{
    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%;
    719719}
    720720.shm-4
    721721{
    722722    -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%;
    725725}
    726726.shm-3
    727727{
    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%;
    731731}
    732732.shm-2
    733733{
    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%;
    737737}
    738738.shm-1
    739739{
    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%;
    743743}
    744744
     
    783783.sh-form
    784784{
    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;
    793793}
    794794.sh-form:disabled
    795795{
    796796    color:#555;
    797     background: rgba(0, 0, 0, 0.05);
     797    background: rgba(0, 0, 0, 0.05);
    798798}
    799799select.sh-form
     
    808808.shm-form-file
    809809{
    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;
    819819    overflow:hidden;
    820820    width:100%;
     
    832832{
    833833    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;
    839839}
    840840.shm-form-element
     
    854854{
    855855    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;
    860860}
    861861ul.shm-card
     
    866866{
    867867    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;
    874874}
    875875.my_image_delete
    876876{
    877877    padding: 3px!important;
    878     margin: 3px!important;
     878    margin: 3px!important;
    879879}
    880880ul.shm-card li:nth-of-type(even)
     
    897897{
    898898    flex-direction: column;
    899     display: flex;
    900     justify-content: center;
     899    display: flex;
     900    justify-content: center;
    901901}
    902902.shm_container
     
    905905    position:relative;
    906906    height:400px;
    907     border:1px solid #111;
     907    border:1px solid #ccc;
    908908}
    909909.column-type,
     
    937937{
    938938    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;
    947947    color: #6c757d;     
    948948    pointer-events: none;
     
    995995{   
    996996    display: inline-block;
    997     padding: 5px 0 0 0 ;
    998     position: relative;
     997    padding: 5px 0 0 0 ;
     998    position: relative;
    999999}
    10001000.shm-type-icon
     
    10651065    font-weight:100;
    10661066    font-family:sans-serif;
     1067    max-height: 380px;
     1068    overflow-y: auto;
    10671069}
    10681070.shm_modal_close
     
    10941096    display:block;
    10951097    z-index:1;
    1096     --width: 100%;
     1098    --width: 100%;
    10971099}
    10981100.shm-inline
     
    11041106    display:inline-block;
    11051107    padding:2px;   
    1106     line-height: 1;
     1108    line-height: 1;
    11071109    min-width:23px;
    11081110}
     
    11551157    pointer-events:none;
    11561158    animation-name: wobble;
    1157     animation-duration: 1s;
     1159    animation-duration: 1s;
    11581160}
    11591161.shm-alert
     
    12351237input[type=radio].radio:not(checked) + label:after
    12361238{
    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;
    12491251}
    12501252input[type=radio].radio:checked + label:after
     
    12931295input[type=checkbox].checkbox:not(checked) + label:after
    12941296{
    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;
    13071309}
    13081310input[type=checkbox].checkbox:checked + label:after
     
    13181320{
    13191321    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;
    13251327}
    13261328input[type=checkbox].ganre_checkbox:not(.checked) + label ,
     
    13341336input[type=radio].ganre_checkbox2:not(checked) + label
    13351337{
    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;
    13421344}
    13431345/* Оформление первой части чекбокса в выключенном состоянии (фон). */
     
    13901392    left:15px;
    13911393    -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    1392     filter: grayscale(100%);
     1394    filter: grayscale(100%);
    13931395    opacity:0.5;
    13941396    -webkit-transition: all 300ms ease-out;
     
    14061408{
    14071409    -webkit-filter: grayscale(0%); /* Safari 6.0 - 9.0 */
    1408     filter: grayscale(0%);
     1410    filter: grayscale(0%);
    14091411    opacity:1;
    14101412}
     
    14141416input[type=radio].ganre_checkbox2:not(checked) + label
    14151417{
    1416     padding: 0 0 0 28px;
    1417     height: 33px;
     1418    padding: 0 0 0 28px;
     1419    height: 33px;
    14181420    -webkit-border-radius: 0px;
    14191421    border-radius: 0px;
     
    14401442{
    14411443    -webkit-filter: grayscale(90%); /* Safari 6.0 - 9.0 */
    1442     filter: grayscale(90%);
     1444    filter: grayscale(90%);
    14431445    opacity:0.6;
    14441446}
     
    14481450    text-decoration:none!important;
    14491451    border-bottom: none!important;
    1450     position: absolute;
    1451     bottom: 4px;
    1452     left: 4px;
     1452    position: absolute;
     1453    bottom: 4px;
     1454    left: 4px;
    14531455}
    14541456.ballon_header
     
    14671469.leaflet-pane
    14681470{
    1469     z-index: 1!important;
     1471    z-index: 1!important;
    14701472}
    14711473#tagsdiv-shm_point_type
     
    14751477.leaflet-top, .leaflet-bottom
    14761478{
    1477     z-index: 3!important;
     1479    z-index: 3!important;
    14781480}
    14791481.the-content p,
     
    14811483.the-content blockquote
    14821484{
    1483     margin-bottom: 0.5rem!important;
     1485    margin-bottom: 0.5rem!important;
    14841486}
    14851487.ymaps-2-1-68-balloon__close+.ymaps-2-1-68-balloon__content
     
    15011503  }
    15021504  .leaflet-touch .leaflet-control-fullscreen a {
    1503     background-position: 2px 2px;
    1504     }
     1505    background-position: 2px 2px;
     1506    }
    15051507  .leaflet-fullscreen-on .leaflet-control-fullscreen a {
    1506     background-position:0 -26px;
    1507     }
     1508    background-position:0 -26px;
     1509    }
    15081510  .leaflet-touch.leaflet-fullscreen-on .leaflet-control-fullscreen a {
    1509     background-position: 2px -24px;
    1510     }
     1511    background-position: 2px -24px;
     1512    }
    15111513
    15121514/* Do not combine these two rules; IE will break. */
     
    15361538  (min-resolution:192dpi)
    15371539  {
    1538     .leaflet-control-fullscreen a
     1540    .leaflet-control-fullscreen a
    15391541    {
    1540       background-image:url(../img/fullscreen@2x.png);
    1541     }
     1542      background-image:url(../img/fullscreen@2x.png);
     1543    }
    15421544  }
    15431545/*
     
    15991601
    16001602.shm-type-icon.shmapperMarkerSelected {
    1601     border: 1px solid #111111;
     1603    border: 1px solid #111111;
    16021604}
    16031605
     
    16101612
    16111613.shm_container .leaflet-popup .leaflet-popup-content-wrapper .leaflet-popup-content {
    1612     overflow: hidden;
     1614    overflow: hidden;
    16131615}
    16141616
    16151617.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;
    16181620}
    16191621
    16201622.leaflet-popup-content .shml-popup-scroll::-webkit-scrollbar-track
    16211623{
    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;
    16251627}
    16261628
    16271629.leaflet-popup-content .shml-popup-scroll::-webkit-scrollbar
    16281630{
    1629     width: 8px;
    1630     background-color: #F5F5F5;
     1631    width: 8px;
     1632    background-color: #F5F5F5;
    16311633}
    16321634
    16331635.leaflet-popup-content .shml-popup-scroll::-webkit-scrollbar-thumb
    16341636{
    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;
    16381640}
    16391641
    16401642/* admin footer */
    16411643.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;
    16451647}
    16461648
     
    16491651.post-type-shm_request #footer-upgrade,
    16501652.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  
    156156        }
    157157    });
     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
    158167});
    159168
  • shmapper-by-teplitsa/trunk/assets/js/ShMapper.yandex.js

    r2433792 r2481968  
    123123        var addr = $this.val();
    124124        console.log(addr);
    125        
     125
    126126        var $selectedMarker = $this.closest('.shm-form-request').find('.shm-form-placemarks .shm-type-icon.shmapperMarkerSelected');
    127        
     127
    128128        if(!$selectedMarker.length) {
    129129            $selectedMarker = $this.closest('.shm-form-request').find('.shm-form-placemarks .shm-type-icon').first();
     
    133133        ymaps.geocode(addr).then(function (res) {
    134134            var firstGeoObject = res.geoObjects.get(0);
    135 //          console.log("decoded");
    136            
     135
    137136            new_mark_coords = firstGeoObject.geometry.getCoordinates();
    138 //          console.log(new_mark_coords);
    139            
     137
    140138            var $map_id = $selectedMarker.parents("form.shm-form-request").attr("form_id");
    141139            map = shm_maps[$map_id];
     
    145143           
    146144        }, function (err) {
    147 //          console.log("error");
    148             console.log(err);
     145            console.log(err);
    149146        });
    150147    }
     
    155152    });
    156153    $addrInput.keydown(function(e){
    157         if(e.keyCode == 13){
    158             e.preventDefault();
     154        if(e.keyCode == 13){
     155            e.preventDefault();
    159156            shm_place_marker_by_addr($(this));
    160         }
     157        }
    161158    });
    162159   
     160    var isDraggable = false;
     161    if ( shmYa.isAdmin == 'true' ) {
     162        isDraggable = true;
     163    }
     164
     165    console.log(isDraggable);
     166    console.log(shmYa.isAdmin);
     167
    163168    //
    164169    init_map = function(mData, points)
    165170    {
     171
     172        var restrinctArea = [[-85, -179], [85, 179]];
     173        if ( shmYa.isAdmin == 'true' ) {
     174            restrinctArea = false;
     175        }
     176
    166177        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
    173186        });
    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
    175269        //search
    176270        if(mData.isSearch)
     
    215309            myMap.behaviors.disable('scrollZoom');
    216310            myMap.behaviors.disable('drag');
    217         }   
     311        }
     312
    218313        // add to global array
    219314        shm_maps[mData.uniq] = myMap;
     
    271366                    term_id:elem.term_id,
    272367                    type:'point',
    273                     draggable: true
     368                    draggable: isDraggable
    274369                };
    275370            }
     
    286381                    term_id:-1,
    287382                    type:'point',
    288                     draggable: true
     383                    draggable: isDraggable
    289384                };
    290385               
     
    293388            {
    294389                paramet = {
    295                     draggable: true,
    296390                    balloonMaxWidth: 250,
    297391                    balloonItemContentLayout: customItemContentLayout,
     
    301395                    term_id:elem.term_id,
    302396                    type:'point',
    303                     draggable: true
     397                    draggable: isDraggable
    304398                }
    305399            }
     
    313407                        coordinates: [elem.latitude, elem.longitude] // координаты точки
    314408                    },
    315                     draggable: true,
     409                    draggable: false,
    316410                    balloonContentHeader: elem.post_title,
    317411                    balloonContentBody: elem.post_content,
  • shmapper-by-teplitsa/trunk/class/ShMapPointType.class.php

    r2433792 r2481968  
    3838            'singular_name'     => __("Map marker type", SHMAPPER),
    3939            '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),
    4848            'menu_name'         => __("Map marker type", SHMAPPER),
    4949        );
     
    355355                $after";
    356356        }
    357        
    358         if( isset($params['default_none'])  )
    359         {
     357
     358        if ( isset( $params['default_none'] ) ) {
    360359            if ( ! isset( $class ) ) {
    361                 $class = '';
     360                $class = 'ganre_checkbox';
    362361            }
    363362            $html .= "
     
    377376                "</label>
    378377            </div>";
    379         }   
    380        
     378        }
     379
    381380        $html .= "
    382381            <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  
    198198    static function add_admin_js_script()
    199199    {   
     200        $locale = get_locale();
    200201        //css
    201202        wp_register_style("ShMapper", SHM_URLPATH . 'assets/css/ShMapper.css', array(), SHMAPPER_VERSION);
     
    204205        wp_register_script("ShMapper", plugins_url( '../assets/js/ShMapper.js', __FILE__ ), array('inline-edit-post'));
    205206        wp_enqueue_script("ShMapper");
     207        wp_enqueue_media();
     208        wp_enqueue_style( 'wp-color-picker');
     209        wp_enqueue_script( 'wp-color-picker' );
    206210        wp_register_script("ShMapper.admin", plugins_url( '../assets/js/ShMapper.admin.js', __FILE__ ), array());
    207211        wp_enqueue_script("ShMapper.admin");
     
    212216                $ymap_key = ShMapper::$options['shm_yandex_maps_api_key'];
    213217            }
    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");
    216220            wp_register_script("ShMapper.yandex", plugins_url( '../assets/js/ShMapper.yandex.js', __FILE__ ), array());
    217221            wp_enqueue_script("ShMapper.yandex");
     
    284288                'Are you shure?' => __( "Are you shure?", SHMAPPER ),
    285289            )
    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        );
    287307    }
    288308    static function add_frons_js_script()
    289309    {
     310        $locale = get_locale();
    290311        $ymap_key = '';
    291312        if ( isset( ShMapper::$options['shm_yandex_maps_api_key'] ) ) {
     
    303324        if( static::$options['map_api'] == 1 )
    304325        {
    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");
    307328            wp_register_script("ShMapper.yandex", plugins_url( '../assets/js/ShMapper.yandex.js', __FILE__ ), array());
    308329            wp_enqueue_script("ShMapper.yandex");
    309330        }
    310         else if(  static::$options['map_api'] == 2 )
     331        else if( static::$options['map_api'] == 2 )
    311332        {
    312333            //css
     
    375396                '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 ),
    376397            )
    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
    378416    }
    379417    static function set_styles()
     
    701739                        <div class='shm-1'></div>
    702740                    </div>
    703                 </li>
     741                </li>" . apply_filters( 'shmapper_admin', '' ) . "
    704742                <li>
    705743                    <div class='shm-row' id='shm_vocabulary_cont'>
  • shmapper-by-teplitsa/trunk/class/ShmMap.class.php

    r2433792 r2481968  
    223223    {
    224224        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
    241247        $html   = "
    242248            <div class='shm-row'>
     
    343349                    <input type='checkbox' value='1' ". checked(1, $is_filtered, false) ."' name='is_filtered' id='is_filtered'/>
    344350                    <label for='is_filtered'>" . __("Filters exists", SHMAPPER) . "</albel>
    345                    
    346351                </div>
    347352            </div>
     
    358363                "</p>
    359364            </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
    361410        return $html;
    362411    }
     
    504553            "width"             => sanitize_text_field($_POST['width']),
    505554            "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'] ),
    506560
    507561            "is_form"           => empty($_POST['is_form']) ? 0 : 1,
  • shmapper-by-teplitsa/trunk/class/ShmPoint.class.php

    r2433792 r2481968  
    446446                p.post_id   = '" . esc_attr( $point->ID ) . "';
    447447                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>';
    449449                p.latitude      = '" . esc_attr( $latitude ) . "';
    450450                p.longitude     = '" . esc_attr( $longitude ) . "';
  • shmapper-by-teplitsa/trunk/languages/shmapper-by-teplitsa-ru_RU.po

    r2433792 r2481968  
    44msgstr ""
    55"Project-Id-Version: Plugins - shMapper by Teplitsa - Development (trunk)\n"
    6 "POT-Creation-Date: 2020-12-07 21:25+0200\n"
    7 "PO-Revision-Date: 2020-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"
    88"Last-Translator: \n"
    99"Language-Team: \n"
     
    1717
    1818#: class/SMC_Post.php:372 class/ShMapper.class.php:174
    19 #: class/ShmMap.class.php:109 class/ShmMap.class.php:601
     19#: class/ShmMap.class.php:109 class/ShmMap.class.php:655
    2020#: class/ShmPoint.class.php:319
    2121msgid "Title"
    2222msgstr "Название"
    2323
    24 #: class/SMC_Post.php:498 class/ShmMap.class.php:527
     24#: class/SMC_Post.php:498 class/ShmMap.class.php:581
    2525msgid "Double"
    2626msgstr "Дублировать"
     
    5757
    5858#: class/ShMapPointType.class.php:40
    59 msgid "all Map marker types"
    60 msgstr "все Типы маркеров"
     59msgid "All Map marker types"
     60msgstr "Все Типы маркеров"
    6161
    6262#: class/ShMapPointType.class.php:41
    63 msgid "view Map marker type"
    64 msgstr "смотреть Тип маркера"
     63msgid "View Map marker type"
     64msgstr "Смотреть Тип маркера"
    6565
    6666#: class/ShMapPointType.class.php:42
    67 msgid "parent Map marker type"
    68 msgstr "родительский Тип маркера"
     67msgid "Parent Map marker type"
     68msgstr "Родительский Тип маркера"
    6969
    7070#: class/ShMapPointType.class.php:43
    71 msgid "parent Map marker type:"
    72 msgstr "тип маркера родительской карты:"
     71msgid "Parent Map marker type:"
     72msgstr "Тип маркера родительской карты:"
    7373
    7474#: class/ShMapPointType.class.php:44
    75 msgid "edit Map marker type"
    76 msgstr "редактировать Тип маркера"
     75msgid "Edit Map marker type"
     76msgstr "Редактировать Тип маркера"
    7777
    7878#: class/ShMapPointType.class.php:45
    79 msgid "update Map marker type"
    80 msgstr "обновить Тип маркера"
     79msgid "Update Map marker type"
     80msgstr "Обновить Тип маркера"
    8181
    8282#: class/ShMapPointType.class.php:46
    83 msgid "add Map marker type"
     83msgid "Add Map marker type"
    8484msgstr "Добавить новый"
    8585
    8686#: class/ShMapPointType.class.php:47
    87 msgid "new Map marker type name"
    88 msgstr "название нового Типа маркеров"
     87msgid "New Map marker type name"
     88msgstr "Название нового Типа маркеров"
    8989
    9090#: class/ShMapPointType.class.php:54
     
    110110
    111111#: class/ShMapPointType.class.php:133 class/ShMapPointType.class.php:185
    112 #: class/ShMapper.class.php:145 class/ShmMap.class.php:258
     112#: class/ShMapper.class.php:145 class/ShmMap.class.php:264
    113113#: widget/ShMap.widget.php:84
    114114msgid "Height"
     
    116116
    117117#: class/ShMapPointType.class.php:139 class/ShMapPointType.class.php:195
    118 #: class/ShMapper.class.php:144 class/ShmMap.class.php:263
     118#: class/ShMapper.class.php:144 class/ShmMap.class.php:269
    119119msgid "Width"
    120120msgstr "Ширина"
    121121
    122 #: class/ShMapPointType.class.php:375
     122#: class/ShMapPointType.class.php:374
    123123msgid "None"
    124124msgstr "Никакой"
     
    142142msgstr "Неизвестная ошибка."
    143143
    144 #: class/ShMapper.class.php:82 class/ShMapper.class.php:393
    145 #: class/ShMapper.class.php:394
     144#: class/ShMapper.class.php:82 class/ShMapper.class.php:431
     145#: class/ShMapper.class.php:432
    146146msgid "Shmapper"
    147147msgstr "shMapper"
     
    163163#: class/ShMapperRequest.class.php:35
    164164msgid "all Map Requests"
    165 msgstr "все запросы на карту"
     165msgstr "Все запросы на карту"
    166166
    167167#: class/ShMapper.class.php:130 class/ShMapper.class.php:178
    168 #: class/ShMapperRequest.class.php:93 class/ShmMap.class.php:601
     168#: class/ShMapperRequest.class.php:93 class/ShmMap.class.php:655
    169169#: class/ShmPoint.class.php:265
    170170msgid "Location"
     
    172172
    173173#: class/ShMapper.class.php:131 class/ShMapper.class.php:138
    174 #: class/ShMapper.class.php:176 class/ShMapper.class.php:599
    175 #: class/ShMapperRequest.class.php:89 class/ShmMap.class.php:601
     174#: class/ShMapper.class.php:176 class/ShMapper.class.php:637
     175#: class/ShMapperRequest.class.php:89 class/ShmMap.class.php:655
    176176#: class/ShmPoint.class.php:261
    177177msgid "Latitude"
     
    179179
    180180#: class/ShMapper.class.php:132 class/ShMapper.class.php:139
    181 #: class/ShMapper.class.php:177 class/ShMapper.class.php:597
    182 #: class/ShMapperRequest.class.php:91 class/ShmMap.class.php:601
     181#: class/ShMapper.class.php:177 class/ShMapper.class.php:635
     182#: class/ShMapperRequest.class.php:91 class/ShmMap.class.php:655
    183183#: class/ShmPoint.class.php:263
    184184msgid "Longitude"
     
    186186
    187187#: class/ShMapper.class.php:133 class/ShMapper.class.php:140
    188 #: class/ShMapper.class.php:601
     188#: class/ShMapper.class.php:639
    189189msgid "Zoom"
    190190msgstr "Увеличение"
    191191
    192192#: class/ShMapper.class.php:141 class/ShmMap.class.php:118
    193 #: class/ShmMap.class.php:333
     193#: class/ShmMap.class.php:339
    194194msgid "Legend exists"
    195195msgstr "Легенда присутствует"
    196196
    197 #: class/ShMapper.class.php:142 class/ShmMap.class.php:344
     197#: class/ShMapper.class.php:142 class/ShmMap.class.php:350
    198198msgid "Filters exists"
    199199msgstr "Панель фильтров присутствует"
    200200
    201201#: class/ShMapper.class.php:143 class/ShmMap.class.php:113
    202 #: class/ShmMap.class.php:322
     202#: class/ShmMap.class.php:328
    203203msgid "Export csv"
    204204msgstr "Загрузка сводки в формате csv"
    205205
    206 #: class/ShMapper.class.php:146 class/ShmMap.class.php:279
     206#: class/ShMapper.class.php:146 class/ShmMap.class.php:285
    207207msgid "Map search"
    208208msgstr "Поиск по карте"
    209209
    210 #: class/ShMapper.class.php:147 class/ShmMap.class.php:293
     210#: class/ShMapper.class.php:147 class/ShmMap.class.php:299
    211211msgid "Map full screen"
    212212msgstr "Полноэкранный режим"
     
    216216msgstr "Слайдер масштаба"
    217217
    218 #: class/ShMapper.class.php:149 class/ShmMap.class.php:287
     218#: class/ShMapper.class.php:149 class/ShmMap.class.php:293
    219219msgid "Map layer switcher"
    220220msgstr "Переключатель слоев карты"
    221221
    222 #: class/ShMapper.class.php:150 class/ShmMap.class.php:301
     222#: class/ShMapper.class.php:150 class/ShmMap.class.php:307
    223223msgid "Lock zoom and drag"
    224224msgstr ""
    225225"Заблокировать перетаскивание карты и изменение размера средним колёсиком мышы"
    226226
    227 #: class/ShMapper.class.php:151 class/ShmMap.class.php:297
     227#: class/ShMapper.class.php:151 class/ShmMap.class.php:303
    228228msgid "Formating Marker to cluster"
    229229msgstr "Укладывать маркеры карты в кластеры"
     
    238238
    239239#: class/ShMapper.class.php:155 class/ShmMap.class.php:128
    240 #: class/ShmMap.class.php:407
     240#: class/ShmMap.class.php:456
    241241msgid "Notify owner of Map"
    242242msgstr "Присылать уведомления о новых картах автору"
     
    250250msgstr "Генератор форм"
    251251
    252 #: class/ShMapper.class.php:158 class/ShmMap.class.php:427
     252#: class/ShMapper.class.php:158 class/ShmMap.class.php:476
    253253msgid "Users can leave their contact details for feedback."
    254254msgstr "Пользователи могут оставлять свои контактные данные для обратной связи"
     
    258258msgstr "Включить личное имя"
    259259
    260 #: class/ShMapper.class.php:160 class/ShmMap.class.php:440
     260#: class/ShMapper.class.php:160 class/ShmMap.class.php:489
    261261msgid "Personal name"
    262262msgstr "Имя"
     
    282282msgstr "Включить личный телефон"
    283283
    284 #: class/ShMapper.class.php:166 class/ShmMap.class.php:472
     284#: class/ShMapper.class.php:166 class/ShmMap.class.php:521
    285285msgid "Personal phone"
    286286msgstr "Телефон"
     
    290290msgstr "Требуется личный телефон"
    291291
    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
    294295msgid "Map"
    295296msgstr "Карта"
     
    297298#: class/ShMapper.class.php:175 class/ShmForm.class.php:229
    298299#: class/ShmForm.class.php:301 class/ShmForm.class.php:374
    299 #: class/ShmMap.class.php:601 class/ShmPoint.class.php:323
     300#: class/ShmMap.class.php:655 class/ShmPoint.class.php:323
    300301msgid "Description"
    301302msgstr "Описание"
     
    331332msgstr "Доступ пользователя"
    332333
    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
    334336msgid "Attantion"
    335337msgstr "Внимание"
    336338
    337 #: class/ShMapper.class.php:281 class/ShMapper.class.php:373
     339#: class/ShMapper.class.php:285 class/ShMapper.class.php:394
    338340msgid "Send"
    339341msgstr "Послать"
    340342
    341 #: class/ShMapper.class.php:282 class/ShMapper.class.php:374
     343#: class/ShMapper.class.php:286 class/ShMapper.class.php:395
    342344msgid "Close"
    343345msgstr "Закрыть"
    344346
    345 #: class/ShMapper.class.php:283 class/ShMapper.class.php:375
     347#: class/ShMapper.class.php:287 class/ShMapper.class.php:396
    346348msgid ""
    347349"Error: the form is not associated with the card. To link a map and a form, "
     
    355357"777']), у которых параметр uniq будет совпадать"
    356358
    357 #: class/ShMapper.class.php:284
     359#: class/ShMapper.class.php:288
    358360msgid "Are you shure?"
    359361msgstr "Вы уверены?"
    360362
    361 #: class/ShMapper.class.php:406 class/ShMapper.class.php:407
    362 #: class/ShMapper.class.php:435
     363#: class/ShMapper.class.php:444 class/ShMapper.class.php:445
     364#: class/ShMapper.class.php:473 class/ShMapperDrive.class.php:439
    363365msgid "Settings"
    364366msgstr "Настройки"
    365367
    366 #: class/ShMapper.class.php:444
     368#: class/ShMapper.class.php:482
    367369msgid "Map API"
    368370msgstr "API карт"
    369371
    370 #: class/ShMapper.class.php:457
     372#: class/ShMapper.class.php:495
    371373msgid "OpenStreetMap"
    372374msgstr "Open Street Карта"
    373375
    374 #: class/ShMapper.class.php:465
     376#: class/ShMapper.class.php:503
    375377msgid "Yandex.Maps API Key"
    376378msgstr "Ключ API Яндекс.Карт"
    377379
    378 #: class/ShMapper.class.php:467
     380#: class/ShMapper.class.php:505
    379381msgid "ATTENTION: you must specify a key for working with the Yandex.Maps API."
    380382msgstr "ВНИМАНИЕ: необходимо указать ключ для работы с API Яндекс.Карт."
    381383
    382 #: class/ShMapper.class.php:467
     384#: class/ShMapper.class.php:505
    383385msgid "Learn more here:"
    384386msgstr "Подробнее здесь:"
    385387
    386 #: class/ShMapper.class.php:478
     388#: class/ShMapper.class.php:516
    387389msgid "Interactive"
    388390msgstr "Интерактив"
    389391
    390 #: class/ShMapper.class.php:486
     392#: class/ShMapper.class.php:524
    391393msgid "Enable global mode for non-interactive maps"
    392394msgstr "Включить глобальный режим неинтерактивных карт"
    393395
    394 #: class/ShMapper.class.php:490
     396#: class/ShMapper.class.php:528
    395397msgid ""
    396398"users will not be able to add posts to any map. If the checkbox is enabled, "
     
    400402"включена у карт даже не появляется блок интерактивности."
    401403
    402 #: class/ShMapper.class.php:498
     404#: class/ShMapper.class.php:536
    403405msgid "Pre-modertion from Map owner."
    404406msgstr "Премодерация со стороны владельца Карты."
    405407
    406 #: class/ShMapper.class.php:502
     408#: class/ShMapper.class.php:540
    407409msgid "all messages will be added in the Draft status"
    408410msgstr "все сообщения будут добавляться в статусе Черновик"
    409411
    410 #: class/ShMapper.class.php:506
     412#: class/ShMapper.class.php:544
    411413msgid ""
    412414"ATTENTION: disable this option only at your own peril and risk, because "
     
    416418"угроза спам-атаки"
    417419
    418 #: class/ShMapper.class.php:514
     420#: class/ShMapper.class.php:552
    419421msgid "Reload page after User send request."
    420422msgstr "Перегрузить страницу после того, как юзер отправил форму запроса"
    421423
    422 #: class/ShMapper.class.php:526
     424#: class/ShMapper.class.php:564
    423425msgid "Protection"
    424426msgstr "Защита"
    425427
    426 #: class/ShMapper.class.php:533
     428#: class/ShMapper.class.php:571
    427429msgid "Include captcha in form (plugin uses only reCAPTCHA v2 keys)"
    428430msgstr "Включать капчу в форме (плагин использует только ключи reCAPTCHA v2)"
    429431
    430 #: class/ShMapper.class.php:542
     432#: class/ShMapper.class.php:580
    431433#, php-format
    432434msgid ""
     
    437439"инстукцию%s."
    438440
    439 #: class/ShMapper.class.php:546
     441#: class/ShMapper.class.php:584
    440442msgid ""
    441443"Your reCAPTCHA doesn't work yet. In order to make it work, please get the "
     
    445447"на google.com/recaptch"
    446448
    447 #: class/ShMapper.class.php:558
     449#: class/ShMapper.class.php:596
    448450msgid "Vocabulary"
    449451msgstr "Словарь"
    450452
    451 #: class/ShMapper.class.php:562
     453#: class/ShMapper.class.php:600
    452454msgid "Save personal data garantee"
    453455msgstr "Гарантия сохранения персональных данных"
    454456
    455 #: class/ShMapper.class.php:568
     457#: class/ShMapper.class.php:606
    456458msgid "Successful send map request"
    457459msgstr "Сообщение об успешной регистрации запроса на Маркер"
    458460
    459 #: class/ShMapper.class.php:574
     461#: class/ShMapper.class.php:612
    460462msgid "Error send map request"
    461463msgstr "Сообщение об ошибки регистрации запроса на Маркер"
    462464
    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
    464467msgid "Coordinates"
    465468msgstr "Координаты"
    466469
    467 #: class/ShMapper.class.php:595
     470#: class/ShMapper.class.php:633
    468471msgid "Set default coordinates"
    469472msgstr "Установить координаты по умолчанию"
    470473
    471 #: class/ShMapper.class.php:695
     474#: class/ShMapper.class.php:745
    472475msgid "Wizzard"
    473476msgstr "Мастер"
    474477
    475 #: class/ShMapper.class.php:698
     478#: class/ShMapper.class.php:748
    476479msgid "Restart wizzard"
    477480msgstr "Перезапустить Мастер"
    478481
    479 #: class/ShMapper.class.php:745 class/ShMapper.class.php:753
     482#: class/ShMapper.class.php:795 class/ShMapper.class.php:803
    480483msgid "Close wizzard"
    481484msgstr "Закрыть навсегда"
    482485
    483 #: class/ShMapper.class.php:746 class/ShMapper.class.php:752
     486#: class/ShMapper.class.php:796 class/ShMapper.class.php:802
    484487msgid "Go to current page"
    485488msgstr "На текущую страницу"
    486489
    487 #: class/ShMapper.class.php:749 class/ShMapper_ajax.class.php:172
     490#: class/ShMapper.class.php:799 class/ShMapper_ajax.class.php:172
    488491msgid "Next step"
    489492msgstr "Следующий шаг"
    490493
    491 #: class/ShMapper.class.php:751
     494#: class/ShMapper.class.php:801
    492495msgid "Prevous step"
    493496msgstr "Предыдущий шаг"
    494497
    495 #: class/ShMapper.class.php:803
     498#: class/ShMapper.class.php:853
    496499msgid "Welcome to the Shmapper Configuration Wizard"
    497500msgstr "Приветствуем Вас в Мастере конфигурации Shmapper"
    498501
    499 #: class/ShMapper.class.php:804
     502#: class/ShMapper.class.php:854
    500503msgid ""
    501504"First, you need to specify the general settings. Click on the button <span "
     
    507510"раздел"
    508511
    509 #: class/ShMapper.class.php:810
     512#: class/ShMapper.class.php:860
    510513msgid "Configure Shmapper"
    511514msgstr "Настройте Shmapper"
    512515
    513 #: class/ShMapper.class.php:811
     516#: class/ShMapper.class.php:861
    514517msgid ""
    515518"Change the settings that do not suit you. To connect reCAPTCHA, you need to "
     
    519522"необходимо создать учётную запись на Google.com"
    520523
    521 #: class/ShMapper.class.php:817
     524#: class/ShMapper.class.php:867
    522525msgid "Create your first map"
    523526msgstr "Создайте вашу первую карту"
    524527
    525 #: class/ShMapper.class.php:818
     528#: class/ShMapper.class.php:868
    526529msgid "Click the \"Add Map\" button at the very top of the page"
    527530msgstr "Нажмите кнопку \"Добавить карту\" в самом верху страницы"
    528531
    529 #: class/ShMapper.class.php:824 class/ShMapper.class.php:832
     532#: class/ShMapper.class.php:874 class/ShMapper.class.php:882
    530533msgid "New map"
    531534msgstr "Новая карта"
    532535
    533 #: class/ShMapper.class.php:825
     536#: class/ShMapper.class.php:875
    534537msgid ""
    535538"Select a visible area on the map. <p> Create the first Marker by pointing to "
     
    541544"\"Создать\"."
    542545
    543 #: class/ShMapper.class.php:833
     546#: class/ShMapper.class.php:883
    544547msgid ""
    545548"Fill in the provided fields in sequence. In the \"Request Form\" section, "
     
    553556"кнопку \"Опубликовать\"."
    554557
     558#: class/ShMapperDrive.class.php:98
     559msgid "Point"
     560msgstr "Точка"
     561
     562#: class/ShMapperDrive.class.php:100 class/ShMapperDrive.class.php:105
     563msgid "Google Table ID source"
     564msgstr "Источник идентификатора таблицы Google"
     565
     566#: class/ShMapperDrive.class.php:120
     567msgid "Export from Google Sheet"
     568msgstr "Экспорт из таблицы Google"
     569
     570#: class/ShMapperDrive.class.php:128
     571msgid "Rules for Google snapshot structure."
     572msgstr "Правила для структуры снимков Google."
     573
     574#: class/ShMapperDrive.class.php:130
     575msgid ""
     576"Google-table must have access rights 'For everyone on the Internet' or 'For "
     577"everyone who has a link'"
     578msgstr ""
     579"Гугл-таблица должна иметь права доступа 'Для всех в интернете' или 'Для всех "
     580"у кого есть ссылка"
     581
     582#: class/ShMapperDrive.class.php:131
     583msgid "In file must be only one screen."
     584msgstr "В файле должна быть только одна вкладка."
     585
     586#: class/ShMapperDrive.class.php:132
     587msgid "First row must have only legends of columns."
     588msgstr "Первая строка таблицы должна включать только легенды колонок."
     589
     590#: class/ShMapperDrive.class.php:133
     591msgid ""
     592"If Points are have different Point types you must reserve one column for "
     593"Point type and fill it ID of this types."
     594msgstr ""
     595"Если Маркеры, которые Вы хотите создать должны иметь разные типы, необходимо "
     596"зарезервировать одну из колонок под тип Маркера и заполнять ячейки ID "
     597"необходимого типа."
     598
     599#: class/ShMapperDrive.class.php:134
     600msgid ""
     601"If you want to have geo position you must reserve one column for adress or 2 "
     602"columns for longitude and latitude."
     603msgstr ""
     604"Если Вы хотите получить точную геопозицию Маркеров, необходимо "
     605"зарезервировать одну колонку под адрес или 2 колонки - для широты и долготы"
     606
     607#: class/ShMapperDrive.class.php:140
     608msgid ""
     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"
     612msgstr ""
     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
     619msgid "Skip first rows count"
     620msgstr "Пропустить первые строки? Сколько?"
     621
     622#: class/ShMapperDrive.class.php:171
     623msgid "Execute next rows count. Empty for all."
     624msgstr ""
     625"Работать со следующими строками? Укажите число строк или оставьте поле пустым"
     626
     627#: class/ShMapperDrive.class.php:191
     628msgid "Column for unique id"
     629msgstr "Столбец для уникального идентификатора"
     630
     631#: class/ShMapperDrive.class.php:203
     632msgid "Point title column"
     633msgstr "Столбец заголовка маркера"
     634
     635#: class/ShMapperDrive.class.php:214
     636msgid "Point description column"
     637msgstr "Столбец описания маркера"
     638
     639#: class/ShMapperDrive.class.php:225
     640msgid "Post date column"
     641msgstr "Столбец даты публикации"
     642
     643#: class/ShMapperDrive.class.php:238
     644msgid "Is fix post date?"
     645msgstr "Исправить дату публикации?"
     646
     647#: class/ShMapperDrive.class.php:250
     648msgid "Select marker type"
     649msgstr "Выберите тип маркера"
     650
     651#: class/ShMapperDrive.class.php:252
     652msgid "Add new marker"
     653msgstr "Добавить новый маркер"
     654
     655#: class/ShMapperDrive.class.php:268
     656msgid "Select method and columns for generate Points's geo position."
     657msgstr "Выберите метод и колонку для генерации геопозиции Маркеров."
     658
     659#: class/ShMapperDrive.class.php:281
     660msgid "Latitude and Longitude"
     661msgstr "Широта и долгота"
     662
     663#: class/ShMapperDrive.class.php:310
     664msgid "Adress"
     665msgstr "Адрес"
     666
     667#: class/ShMapperDrive.class.php:326
     668msgid "Select columns for choose Points's different types."
     669msgstr "Выберите столбцы для выбора разных типов точек."
     670
     671#: class/ShMapperDrive.class.php:339
     672msgid "Select column with marker type"
     673msgstr "Выберите столбец с типом маркера"
     674
     675#: class/ShMapperDrive.class.php:355
     676msgid ""
     677"List of columns in google table that need to parse to Point's description"
     678msgstr ""
     679"Список столбцов в таблице Google, которые необходимо разобрать для описанием "
     680"точек."
     681
     682#: class/ShMapperDrive.class.php:360
     683msgid "Column"
     684msgstr "Колонка"
     685
     686#: class/ShMapperDrive.class.php:363
     687msgid "Include?"
     688msgstr "Включить?"
     689
     690#: class/ShMapperDrive.class.php:364 class/ShMapperDrive.class.php:370
     691msgid "necessarily"
     692msgstr "обязательное поле"
     693
     694#: class/ShMapperDrive.class.php:369
     695msgid "Field name by latin"
     696msgstr "Название поля по латыни"
     697
     698#: class/ShMapperDrive.class.php:375
     699msgid "Sub title for decription section"
     700msgstr "Подзаголовок для секции в описании Маркера"
     701
     702#: class/ShMapperDrive.class.php:378
     703msgid "Order"
     704msgstr "Порядковый номер"
     705
     706#: class/ShMapperDrive.class.php:390
     707msgid "If your Google spreadsheet has one text in the specified column"
     708msgstr "Если в нескольких полях в данной колонке будет одинаковое содержимое"
     709
     710#: class/ShMapperDrive.class.php:403
     711msgid ""
     712"Use only first row for creation new Point or updating included Point and "
     713"ignore over."
     714msgstr ""
     715"Использовать только первую строку для создания нового Маркера или "
     716"редактирования уже существующего и игнорировать остальные строки."
     717
     718#: class/ShMapperDrive.class.php:416
     719msgid ""
     720"Use only last row for creation new Point or updating included Point and "
     721"ignore over."
     722msgstr ""
     723"Использовать только последнюю строку для создания нового Маркера или "
     724"редактирования уже существующего и игнорировать остальные строки."
     725
     726#: class/ShMapperDrive.class.php:429
     727msgid ""
     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"
     731msgstr ""
     732"Использовать только первую строку для создания нового Маркера или "
     733"редактирования уже существующего. Остальные строки использовать для создания "
     734"или редактирования Сообщений для этого Маркера"
     735
     736#: class/ShMapperDrive.class.php:442
     737msgid "Preview results"
     738msgstr "Предпросмотр результата импора"
     739
     740#: class/ShMapperDrive.class.php:445
     741msgid "Create or update Poins and Messages"
     742msgstr "Создать или обновить Маркеры и Сообщения"
     743
     744#: class/ShMapperDrive_ajax.class.php:77
     745msgid "Update successful!"
     746msgstr "Обновление успешно завершено!"
     747
     748#: class/ShMapperDrive_ajax.class.php:109
     749msgid "Success load Google Table."
     750msgstr "Успешная загрузка Google Table."
     751
     752#: class/ShMapperDrive_ajax.class.php:120
     753msgid "Error load Google Table."
     754msgstr "Ошибка загрузки Google Table."
     755
     756#: class/ShMapperPointMessage.class.php:19
     757#: class/ShMapperPointMessage.class.php:20
     758msgid "Map marker message"
     759msgstr "Сообщение к Маркеру"
     760
     761#: class/ShMapperPointMessage.class.php:21
     762#: class/ShMapperPointMessage.class.php:22
     763#: class/ShMapperPointMessage.class.php:24
     764msgid "Add Map marker message"
     765msgstr "Добавить новое Сообщение к Маркер"
     766
     767#: class/ShMapperPointMessage.class.php:23
     768msgid "Edit Map marker message"
     769msgstr "Редактировать новое Сообщение к Маркеру"
     770
     771#: class/ShMapperPointMessage.class.php:25
     772msgid "All Map marker messages"
     773msgstr "Все сообщения к Маркерам"
     774
     775#: class/ShMapperPointMessage.class.php:26
     776msgid "view Map marker message"
     777msgstr "смотреть Сообщение к Маркер"
     778
     779#: class/ShMapperPointMessage.class.php:27
     780msgid "Search Map marker message"
     781msgstr "искать Сообщение к Маркеру"
     782
     783#: class/ShMapperPointMessage.class.php:28
     784msgid "Map marker message not found"
     785msgstr "Сообщение к Маркеру не найдено"
     786
     787#: class/ShMapperPointMessage.class.php:29
     788msgid "No found Map marker message in trash"
     789msgstr "Сообщение к Маркеру в корзине не найдено"
     790
     791#: class/ShMapperPointMessage.class.php:30
     792msgid "Map marker messages"
     793msgstr "Сообщения к Маркерам"
     794
    555795#: class/ShMapperRequest.class.php:24 class/ShMapperRequest.class.php:25
    556796msgid "Map Request"
     
    608848msgstr "Вы можете посмотреть его здесь %s"
    609849
    610 #: class/ShMapperRequest.class.php:363
     850#: class/ShMapperRequest.class.php:361
     851msgid "Visitor"
     852msgstr "Посетитель"
     853
     854#: class/ShMapperRequest.class.php:374
    611855msgid "Approve"
    612856msgstr "Одобрить"
    613857
    614 #: class/ShMapperRequest.class.php:365
     858#: class/ShMapperRequest.class.php:376
    615859msgid "Trash"
    616860msgstr "Корзина"
     
    710954
    711955#: class/ShmForm.class.php:49
    712 msgid "Whrite description"
    713 msgstr "Напишите комментарий"
     956msgid "Write description"
     957msgstr "Напишите описание"
    714958
    715959#: class/ShmForm.class.php:62
     
    8831127#: class/ShmMap.class.php:192
    8841128msgid "Including Map to post"
    885 msgstr "Вставка карты в звпись"
     1129msgstr "Вставка карты в запись"
    8861130
    8871131#: class/ShmMap.class.php:204
     
    8951139"Шаг 2. Смогут ли другие пользователи добавлять информацию на Вашу карту?"
    8961140
    897 #: class/ShmMap.class.php:243
     1141#: class/ShmMap.class.php:249
    8981142msgid "1.1. Pan map and choose zoom"
    8991143msgstr "1.1. Отцентрируйте карту и выберите масштаб"
    9001144
    901 #: class/ShmMap.class.php:255
     1145#: class/ShmMap.class.php:261
    9021146msgid "1.2. Set size for map's div (per pixels)"
    9031147msgstr "1.2. Установите размер окна карты (в пикселях)"
    9041148
    905 #: class/ShmMap.class.php:260 class/ShmMap.class.php:265
     1149#: class/ShmMap.class.php:266 class/ShmMap.class.php:271
    9061150msgid "Empty for "
    9071151msgstr "Оставьте пустым, чтобы было "
    9081152
    909 #: class/ShmMap.class.php:275
     1153#: class/ShmMap.class.php:281
    9101154msgid "1.3. Include interface"
    9111155msgstr "1.3. Какие элементы управления картой должны присутствовать?"
    9121156
    913 #: class/ShmMap.class.php:283
     1157#: class/ShmMap.class.php:289
    9141158msgid "Map zoom slider enabled"
    9151159msgstr "Ползунок масштаба"
    9161160
    917 #: class/ShmMap.class.php:305
     1161#: class/ShmMap.class.php:311
    9181162msgid "Choose layers"
    9191163msgstr "Выбор типа визуализации слоя"
    9201164
    921 #: class/ShmMap.class.php:319
     1165#: class/ShmMap.class.php:325
    9221166msgid "1.4. May User download data in *.csv?"
    9231167msgstr "1.4. Можно ли скачать данные карты в формате .csv?"
    9241168
    925 #: class/ShmMap.class.php:330
     1169#: class/ShmMap.class.php:336
    9261170msgid "1.5. Will the legend be displayed?"
    9271171msgstr "1.5. Будет ли отображаться легенда?"
    9281172
    929 #: class/ShmMap.class.php:341
     1173#: class/ShmMap.class.php:347
    9301174msgid "1.6. Will Marker type filter be displayed?"
    9311175msgstr "1.6. Будет ли отображаться панель фильтрации по типам Маркеров?"
    9321176
    933 #: class/ShmMap.class.php:352
     1177#: class/ShmMap.class.php:357
    9341178msgid "1.7. Default Marker icon"
    9351179msgstr "1.7. Иконка маркера по умолчанию"
    9361180
    937 #: class/ShmMap.class.php:357
     1181#: class/ShmMap.class.php:362
    9381182msgid "Recommended size is 64х64 px, format is .png"
    9391183msgstr "Рекомендуемый размер: 64х64 pxб формат .png"
    9401184
     1185#: class/ShmMap.class.php:373
     1186msgid "1.8. Highlight the country on the map"
     1187msgstr "1.8. Выделение страны на карте"
     1188
     1189#: class/ShmMap.class.php:377
     1190msgid "Loading countries ... "
     1191msgstr "Загрузка стран ... "
     1192
     1193#: class/ShmMap.class.php:380
     1194msgid "Select country"
     1195msgstr "Выберите страну"
     1196
    9411197#: class/ShmMap.class.php:389
     1198msgid "Choose map overlay color"
     1199msgstr "Выберите цвет наложения карты"
     1200
     1201#: class/ShmMap.class.php:395
     1202msgid "Choose country border color"
     1203msgstr "Выберите цвет границы страны"
     1204
     1205#: class/ShmMap.class.php:401
     1206msgid "Overlay opacity"
     1207msgstr "Прозрачность наложения"
     1208
     1209#: class/ShmMap.class.php:438
    9421210msgid "Enable crowdsourcing function (free add Users new Markers)"
    9431211msgstr ""
     
    9451213"Маркеров) "
    9461214
    947 #: class/ShmMap.class.php:394
     1215#: class/ShmMap.class.php:443
    9481216msgid "2.1. What is the name of your information form?"
    9491217msgstr "2.1. Как называется Ваша форма сбора информации?"
    9501218
    951 #: class/ShmMap.class.php:398
     1219#: class/ShmMap.class.php:447
    9521220msgid "For example &laquo;All beaches by the river&raquo;"
    9531221msgstr "Например «Все пляжи у реки»"
    9541222
    955 #: class/ShmMap.class.php:404
     1223#: class/ShmMap.class.php:453
    9561224msgid "2.2. Will I notify the author about new posts?"
    9571225msgstr "2.2. Оповещать ли автора Карты о новых сообщениях?"
    9581226
    959 #: class/ShmMap.class.php:412
     1227#: class/ShmMap.class.php:461
    9601228msgid "2.3. What information can users enter?"
    9611229msgstr "2.3. Какую информацию могут вводить пользователи?"
    9621230
    963 #: class/ShmMap.class.php:415
     1231#: class/ShmMap.class.php:464
    9641232msgid ""
    9651233"You can create your own forms using form elements: & laquo; Text line & "
     
    9711239"файлов&raquo;, &laquo;Категории Маркеров&raquo;"
    9721240
    973 #: class/ShmMap.class.php:424
     1241#: class/ShmMap.class.php:473
    9741242msgid "2.4. Can users leave their contact information?"
    9751243msgstr "2.4. Могут ли пользователи оставлять свою контактную информацию?"
    9761244
    977 #: class/ShmMap.class.php:432
     1245#: class/ShmMap.class.php:481
    9781246msgid "2.5. What data users will have to put?"
    9791247msgstr "2.5. Какие данные пользователи должны будут ставить?"
    9801248
    981 #: class/ShmMap.class.php:435 class/ShmMap.class.php:451
    982 #: class/ShmMap.class.php:467
     1249#: class/ShmMap.class.php:484 class/ShmMap.class.php:500
     1250#: class/ShmMap.class.php:516
    9831251msgid "Include"
    9841252msgstr "Включать"
    9851253
    986 #: class/ShmMap.class.php:445 class/ShmMap.class.php:461
    987 #: class/ShmMap.class.php:477
     1254#: class/ShmMap.class.php:494 class/ShmMap.class.php:510
     1255#: class/ShmMap.class.php:526
    9881256msgid "Required"
    9891257msgstr "Обязателен"
    9901258
    991 #: class/ShmMap.class.php:456
     1259#: class/ShmMap.class.php:505
    9921260msgid "Personal email"
    9931261msgstr "Адрес электронной почты"
    9941262
    995 #: class/ShmMap.class.php:670
     1263#: class/ShmMap.class.php:724
    9961264msgid "What do with placemarks of deleting Map?"
    9971265msgstr "Что делать с Маркерами удаляемой Карты?"
    9981266
    999 #: class/ShmMap.class.php:675
     1267#: class/ShmMap.class.php:729
    10001268msgid "Delete all Points"
    10011269msgstr "Удалить все Маркеры"
    10021270
    1003 #: class/ShmMap.class.php:681
     1271#: class/ShmMap.class.php:735
    10041272msgid "Escape all Points without Owner Map"
    10051273msgstr "Оставить все Маркеры без родительской Карты"
    10061274
    1007 #: class/ShmMap.class.php:687
     1275#: class/ShmMap.class.php:741
    10081276msgid "Switch all Points to anover Map"
    10091277msgstr "Перенести все Маркеры на другую Карту"
    10101278
    1011 #: class/ShmMap.class.php:703
     1279#: class/ShmMap.class.php:757
    10121280msgid "delete"
    10131281msgstr "удалить"
    10141282
    1015 #: class/ShmMap.class.php:782
     1283#: class/ShmMap.class.php:836
    10161284#, php-format
    10171285msgid "Succesfuly delete map width %s points"
    10181286msgstr "Карта успешно удалена с %s точками"
    10191287
    1020 #: class/ShmMap.class.php:787
     1288#: class/ShmMap.class.php:841
    10211289#, php-format
    10221290msgid "Succesfuly delete map and %s points are orphans now"
    10231291msgstr "Карта успешно удалена и %s точек сейчас не привязаны ни к какой карте"
    10241292
    1025 #: class/ShmMap.class.php:794
     1293#: class/ShmMap.class.php:848
    10261294#, php-format
    10271295msgid "Succesfuly delete map and %s points migrates to %s"
    10281296msgstr "Карта успешно удалена и %s точек перенесено в %s"
    10291297
    1030 #: class/ShmMap.class.php:826
     1298#: class/ShmMap.class.php:880
    10311299msgid "Yandex Map"
    10321300msgstr "Яндекс карты"
    10331301
    1034 #: class/ShmMap.class.php:848
     1302#: class/ShmMap.class.php:902
    10351303msgid "Open Street Map"
    10361304msgstr "Open Street Карта"
     
    10811349msgstr "Адрес"
    10821350
    1083 #: shortcode/shmMap.shortcode.php:25
     1351#: shortcode/shmMap.shortcode.php:25 shortcode/shmMapFeed.shortcode.php:17
    10841352msgid "No map on ID "
    10851353msgstr "Не указан ID карты"
     
    11291397msgstr "Отправить"
    11301398
    1131 #: tpl/shmMap.php:88
     1399#: tpl/shmMap.php:93
    11321400#, php-format
    11331401msgid "download %s.csv"
     
    11691437msgid "https://te-st.ru"
    11701438msgstr "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#~ "или обновлении Маркера или Сообщения к Маркеру"
    11711457
    11721458#~ msgid ""
  • shmapper-by-teplitsa/trunk/languages/shmapper-by-teplitsa.pot

    r2433792 r2481968  
    44"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
    55"Project-Id-Version: ShMapper by Teplitsa\n"
    6 "POT-Creation-Date: 2020-12-07 21:25+0200\n"
     6"POT-Creation-Date: 2021-02-26 06:06+0200\n"
    77"PO-Revision-Date: 2020-06-18 05:16+0300\n"
    88"Last-Translator: \n"
     
    2222
    2323#: class/SMC_Post.php:372 class/ShMapper.class.php:174
    24 #: class/ShmMap.class.php:109 class/ShmMap.class.php:601
     24#: class/ShmMap.class.php:109 class/ShmMap.class.php:655
    2525#: class/ShmPoint.class.php:319
    2626msgid "Title"
    2727msgstr ""
    2828
    29 #: class/SMC_Post.php:498 class/ShmMap.class.php:527
     29#: class/SMC_Post.php:498 class/ShmMap.class.php:581
    3030msgid "Double"
    3131msgstr ""
     
    6262
    6363#: class/ShMapPointType.class.php:40
    64 msgid "all Map marker types"
     64msgid "All Map marker types"
    6565msgstr ""
    6666
    6767#: class/ShMapPointType.class.php:41
    68 msgid "view Map marker type"
     68msgid "View Map marker type"
    6969msgstr ""
    7070
    7171#: class/ShMapPointType.class.php:42
    72 msgid "parent Map marker type"
     72msgid "Parent Map marker type"
    7373msgstr ""
    7474
    7575#: class/ShMapPointType.class.php:43
    76 msgid "parent Map marker type:"
     76msgid "Parent Map marker type:"
    7777msgstr ""
    7878
    7979#: class/ShMapPointType.class.php:44
    80 msgid "edit Map marker type"
     80msgid "Edit Map marker type"
    8181msgstr ""
    8282
    8383#: class/ShMapPointType.class.php:45
    84 msgid "update Map marker type"
     84msgid "Update Map marker type"
    8585msgstr ""
    8686
    8787#: class/ShMapPointType.class.php:46
    88 msgid "add Map marker type"
     88msgid "Add Map marker type"
    8989msgstr ""
    9090
    9191#: class/ShMapPointType.class.php:47
    92 msgid "new Map marker type name"
     92msgid "New Map marker type name"
    9393msgstr ""
    9494
     
    115115
    116116#: class/ShMapPointType.class.php:133 class/ShMapPointType.class.php:185
    117 #: class/ShMapper.class.php:145 class/ShmMap.class.php:258
     117#: class/ShMapper.class.php:145 class/ShmMap.class.php:264
    118118#: widget/ShMap.widget.php:84
    119119msgid "Height"
     
    121121
    122122#: class/ShMapPointType.class.php:139 class/ShMapPointType.class.php:195
    123 #: class/ShMapper.class.php:144 class/ShmMap.class.php:263
     123#: class/ShMapper.class.php:144 class/ShmMap.class.php:269
    124124msgid "Width"
    125125msgstr ""
    126126
    127 #: class/ShMapPointType.class.php:375
     127#: class/ShMapPointType.class.php:374
    128128msgid "None"
    129129msgstr ""
     
    144144msgstr ""
    145145
    146 #: class/ShMapper.class.php:82 class/ShMapper.class.php:393
    147 #: class/ShMapper.class.php:394
     146#: class/ShMapper.class.php:82 class/ShMapper.class.php:431
     147#: class/ShMapper.class.php:432
    148148msgid "Shmapper"
    149149msgstr ""
     
    168168
    169169#: class/ShMapper.class.php:130 class/ShMapper.class.php:178
    170 #: class/ShMapperRequest.class.php:93 class/ShmMap.class.php:601
     170#: class/ShMapperRequest.class.php:93 class/ShmMap.class.php:655
    171171#: class/ShmPoint.class.php:265
    172172msgid "Location"
     
    174174
    175175#: class/ShMapper.class.php:131 class/ShMapper.class.php:138
    176 #: class/ShMapper.class.php:176 class/ShMapper.class.php:599
    177 #: class/ShMapperRequest.class.php:89 class/ShmMap.class.php:601
     176#: class/ShMapper.class.php:176 class/ShMapper.class.php:637
     177#: class/ShMapperRequest.class.php:89 class/ShmMap.class.php:655
    178178#: class/ShmPoint.class.php:261
    179179msgid "Latitude"
     
    181181
    182182#: class/ShMapper.class.php:132 class/ShMapper.class.php:139
    183 #: class/ShMapper.class.php:177 class/ShMapper.class.php:597
    184 #: class/ShMapperRequest.class.php:91 class/ShmMap.class.php:601
     183#: class/ShMapper.class.php:177 class/ShMapper.class.php:635
     184#: class/ShMapperRequest.class.php:91 class/ShmMap.class.php:655
    185185#: class/ShmPoint.class.php:263
    186186msgid "Longitude"
     
    188188
    189189#: class/ShMapper.class.php:133 class/ShMapper.class.php:140
    190 #: class/ShMapper.class.php:601
     190#: class/ShMapper.class.php:639
    191191msgid "Zoom"
    192192msgstr ""
    193193
    194194#: class/ShMapper.class.php:141 class/ShmMap.class.php:118
    195 #: class/ShmMap.class.php:333
     195#: class/ShmMap.class.php:339
    196196msgid "Legend exists"
    197197msgstr ""
    198198
    199 #: class/ShMapper.class.php:142 class/ShmMap.class.php:344
     199#: class/ShMapper.class.php:142 class/ShmMap.class.php:350
    200200msgid "Filters exists"
    201201msgstr ""
    202202
    203203#: class/ShMapper.class.php:143 class/ShmMap.class.php:113
    204 #: class/ShmMap.class.php:322
     204#: class/ShmMap.class.php:328
    205205msgid "Export csv"
    206206msgstr ""
    207207
    208 #: class/ShMapper.class.php:146 class/ShmMap.class.php:279
     208#: class/ShMapper.class.php:146 class/ShmMap.class.php:285
    209209msgid "Map search"
    210210msgstr ""
    211211
    212 #: class/ShMapper.class.php:147 class/ShmMap.class.php:293
     212#: class/ShMapper.class.php:147 class/ShmMap.class.php:299
    213213msgid "Map full screen"
    214214msgstr ""
     
    218218msgstr ""
    219219
    220 #: class/ShMapper.class.php:149 class/ShmMap.class.php:287
     220#: class/ShMapper.class.php:149 class/ShmMap.class.php:293
    221221msgid "Map layer switcher"
    222222msgstr ""
    223223
    224 #: class/ShMapper.class.php:150 class/ShmMap.class.php:301
     224#: class/ShMapper.class.php:150 class/ShmMap.class.php:307
    225225msgid "Lock zoom and drag"
    226226msgstr ""
    227227
    228 #: class/ShMapper.class.php:151 class/ShmMap.class.php:297
     228#: class/ShMapper.class.php:151 class/ShmMap.class.php:303
    229229msgid "Formating Marker to cluster"
    230230msgstr ""
     
    239239
    240240#: class/ShMapper.class.php:155 class/ShmMap.class.php:128
    241 #: class/ShmMap.class.php:407
     241#: class/ShmMap.class.php:456
    242242msgid "Notify owner of Map"
    243243msgstr ""
     
    251251msgstr ""
    252252
    253 #: class/ShMapper.class.php:158 class/ShmMap.class.php:427
     253#: class/ShMapper.class.php:158 class/ShmMap.class.php:476
    254254msgid "Users can leave their contact details for feedback."
    255255msgstr ""
     
    259259msgstr ""
    260260
    261 #: class/ShMapper.class.php:160 class/ShmMap.class.php:440
     261#: class/ShMapper.class.php:160 class/ShmMap.class.php:489
    262262msgid "Personal name"
    263263msgstr ""
     
    283283msgstr ""
    284284
    285 #: class/ShMapper.class.php:166 class/ShmMap.class.php:472
     285#: class/ShMapper.class.php:166 class/ShmMap.class.php:521
    286286msgid "Personal phone"
    287287msgstr ""
     
    291291msgstr ""
    292292
    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
    295296msgid "Map"
    296297msgstr ""
     
    298299#: class/ShMapper.class.php:175 class/ShmForm.class.php:229
    299300#: class/ShmForm.class.php:301 class/ShmForm.class.php:374
    300 #: class/ShmMap.class.php:601 class/ShmPoint.class.php:323
     301#: class/ShmMap.class.php:655 class/ShmPoint.class.php:323
    301302msgid "Description"
    302303msgstr ""
     
    332333msgstr ""
    333334
    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
    335337msgid "Attantion"
    336338msgstr ""
    337339
    338 #: class/ShMapper.class.php:281 class/ShMapper.class.php:373
     340#: class/ShMapper.class.php:285 class/ShMapper.class.php:394
    339341msgid "Send"
    340342msgstr ""
    341343
    342 #: class/ShMapper.class.php:282 class/ShMapper.class.php:374
     344#: class/ShMapper.class.php:286 class/ShMapper.class.php:395
    343345msgid "Close"
    344346msgstr ""
    345347
    346 #: class/ShMapper.class.php:283 class/ShMapper.class.php:375
     348#: class/ShMapper.class.php:287 class/ShMapper.class.php:396
    347349msgid ""
    348350"Error: the form is not associated with the card. To link a map and a form, "
     
    352354msgstr ""
    353355
    354 #: class/ShMapper.class.php:284
     356#: class/ShMapper.class.php:288
    355357msgid "Are you shure?"
    356358msgstr ""
    357359
    358 #: class/ShMapper.class.php:406 class/ShMapper.class.php:407
    359 #: class/ShMapper.class.php:435
     360#: class/ShMapper.class.php:444 class/ShMapper.class.php:445
     361#: class/ShMapper.class.php:473 class/ShMapperDrive.class.php:439
    360362msgid "Settings"
    361363msgstr ""
    362364
    363 #: class/ShMapper.class.php:444
     365#: class/ShMapper.class.php:482
    364366msgid "Map API"
    365367msgstr ""
    366368
    367 #: class/ShMapper.class.php:457
     369#: class/ShMapper.class.php:495
    368370msgid "OpenStreetMap"
    369371msgstr ""
    370372
    371 #: class/ShMapper.class.php:465
     373#: class/ShMapper.class.php:503
    372374msgid "Yandex.Maps API Key"
    373375msgstr ""
    374376
    375 #: class/ShMapper.class.php:467
     377#: class/ShMapper.class.php:505
    376378msgid "ATTENTION: you must specify a key for working with the Yandex.Maps API."
    377379msgstr ""
    378380
    379 #: class/ShMapper.class.php:467
     381#: class/ShMapper.class.php:505
    380382msgid "Learn more here:"
    381383msgstr ""
    382384
    383 #: class/ShMapper.class.php:478
     385#: class/ShMapper.class.php:516
    384386msgid "Interactive"
    385387msgstr ""
    386388
    387 #: class/ShMapper.class.php:486
     389#: class/ShMapper.class.php:524
    388390msgid "Enable global mode for non-interactive maps"
    389391msgstr ""
    390392
    391 #: class/ShMapper.class.php:490
     393#: class/ShMapper.class.php:528
    392394msgid ""
    393395"users will not be able to add posts to any map. If the checkbox is enabled, "
     
    395397msgstr ""
    396398
    397 #: class/ShMapper.class.php:498
     399#: class/ShMapper.class.php:536
    398400msgid "Pre-modertion from Map owner."
    399401msgstr ""
    400402
    401 #: class/ShMapper.class.php:502
     403#: class/ShMapper.class.php:540
    402404msgid "all messages will be added in the Draft status"
    403405msgstr ""
    404406
    405 #: class/ShMapper.class.php:506
     407#: class/ShMapper.class.php:544
    406408msgid ""
    407409"ATTENTION: disable this option only at your own peril and risk, because "
     
    409411msgstr ""
    410412
    411 #: class/ShMapper.class.php:514
     413#: class/ShMapper.class.php:552
    412414msgid "Reload page after User send request."
    413415msgstr ""
    414416
    415 #: class/ShMapper.class.php:526
     417#: class/ShMapper.class.php:564
    416418msgid "Protection"
    417419msgstr ""
    418420
    419 #: class/ShMapper.class.php:533
     421#: class/ShMapper.class.php:571
    420422msgid "Include captcha in form (plugin uses only reCAPTCHA v2 keys)"
    421423msgstr ""
    422424
    423 #: class/ShMapper.class.php:542
     425#: class/ShMapper.class.php:580
    424426#, php-format
    425427msgid ""
     
    428430msgstr ""
    429431
    430 #: class/ShMapper.class.php:546
     432#: class/ShMapper.class.php:584
    431433msgid ""
    432434"Your reCAPTCHA doesn't work yet. In order to make it work, please get the "
     
    434436msgstr ""
    435437
    436 #: class/ShMapper.class.php:558
     438#: class/ShMapper.class.php:596
    437439msgid "Vocabulary"
    438440msgstr ""
    439441
    440 #: class/ShMapper.class.php:562
     442#: class/ShMapper.class.php:600
    441443msgid "Save personal data garantee"
    442444msgstr ""
    443445
    444 #: class/ShMapper.class.php:568
     446#: class/ShMapper.class.php:606
    445447msgid "Successful send map request"
    446448msgstr ""
    447449
    448 #: class/ShMapper.class.php:574
     450#: class/ShMapper.class.php:612
    449451msgid "Error send map request"
    450452msgstr ""
    451453
    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
    453456msgid "Coordinates"
    454457msgstr ""
    455458
    456 #: class/ShMapper.class.php:595
     459#: class/ShMapper.class.php:633
    457460msgid "Set default coordinates"
    458461msgstr ""
    459462
    460 #: class/ShMapper.class.php:695
     463#: class/ShMapper.class.php:745
    461464msgid "Wizzard"
    462465msgstr ""
    463466
    464 #: class/ShMapper.class.php:698
     467#: class/ShMapper.class.php:748
    465468msgid "Restart wizzard"
    466469msgstr ""
    467470
    468 #: class/ShMapper.class.php:745 class/ShMapper.class.php:753
     471#: class/ShMapper.class.php:795 class/ShMapper.class.php:803
    469472msgid "Close wizzard"
    470473msgstr ""
    471474
    472 #: class/ShMapper.class.php:746 class/ShMapper.class.php:752
     475#: class/ShMapper.class.php:796 class/ShMapper.class.php:802
    473476msgid "Go to current page"
    474477msgstr ""
    475478
    476 #: class/ShMapper.class.php:749 class/ShMapper_ajax.class.php:172
     479#: class/ShMapper.class.php:799 class/ShMapper_ajax.class.php:172
    477480msgid "Next step"
    478481msgstr ""
    479482
    480 #: class/ShMapper.class.php:751
     483#: class/ShMapper.class.php:801
    481484msgid "Prevous step"
    482485msgstr ""
    483486
    484 #: class/ShMapper.class.php:803
     487#: class/ShMapper.class.php:853
    485488msgid "Welcome to the Shmapper Configuration Wizard"
    486489msgstr ""
    487490
    488 #: class/ShMapper.class.php:804
     491#: class/ShMapper.class.php:854
    489492msgid ""
    490493"First, you need to specify the general settings. Click on the button <span "
     
    493496msgstr ""
    494497
    495 #: class/ShMapper.class.php:810
     498#: class/ShMapper.class.php:860
    496499msgid "Configure Shmapper"
    497500msgstr ""
    498501
    499 #: class/ShMapper.class.php:811
     502#: class/ShMapper.class.php:861
    500503msgid ""
    501504"Change the settings that do not suit you. To connect reCAPTCHA, you need to "
     
    503506msgstr ""
    504507
    505 #: class/ShMapper.class.php:817
     508#: class/ShMapper.class.php:867
    506509msgid "Create your first map"
    507510msgstr ""
    508511
    509 #: class/ShMapper.class.php:818
     512#: class/ShMapper.class.php:868
    510513msgid "Click the \"Add Map\" button at the very top of the page"
    511514msgstr ""
    512515
    513 #: class/ShMapper.class.php:824 class/ShMapper.class.php:832
     516#: class/ShMapper.class.php:874 class/ShMapper.class.php:882
    514517msgid "New map"
    515518msgstr ""
    516519
    517 #: class/ShMapper.class.php:825
     520#: class/ShMapper.class.php:875
    518521msgid ""
    519522"Select a visible area on the map. <p> Create the first Marker by pointing to "
     
    522525msgstr ""
    523526
    524 #: class/ShMapper.class.php:833
     527#: class/ShMapper.class.php:883
    525528msgid ""
    526529"Fill in the provided fields in sequence. In the \"Request Form\" section, "
     
    530533msgstr ""
    531534
     535#: class/ShMapperDrive.class.php:98
     536msgid "Point"
     537msgstr ""
     538
     539#: class/ShMapperDrive.class.php:100 class/ShMapperDrive.class.php:105
     540msgid "Google Table ID source"
     541msgstr ""
     542
     543#: class/ShMapperDrive.class.php:120
     544msgid "Export from Google Sheet"
     545msgstr ""
     546
     547#: class/ShMapperDrive.class.php:128
     548msgid "Rules for Google snapshot structure."
     549msgstr ""
     550
     551#: class/ShMapperDrive.class.php:130
     552msgid ""
     553"Google-table must have access rights 'For everyone on the Internet' or 'For "
     554"everyone who has a link'"
     555msgstr ""
     556
     557#: class/ShMapperDrive.class.php:131
     558msgid "In file must be only one screen."
     559msgstr ""
     560
     561#: class/ShMapperDrive.class.php:132
     562msgid "First row must have only legends of columns."
     563msgstr ""
     564
     565#: class/ShMapperDrive.class.php:133
     566msgid ""
     567"If Points are have different Point types you must reserve one column for "
     568"Point type and fill it ID of this types."
     569msgstr ""
     570
     571#: class/ShMapperDrive.class.php:134
     572msgid ""
     573"If you want to have geo position you must reserve one column for adress or 2 "
     574"columns for longitude and latitude."
     575msgstr ""
     576
     577#: class/ShMapperDrive.class.php:140
     578msgid ""
     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"
     582msgstr ""
     583
     584#: class/ShMapperDrive.class.php:159
     585msgid "Skip first rows count"
     586msgstr ""
     587
     588#: class/ShMapperDrive.class.php:171
     589msgid "Execute next rows count. Empty for all."
     590msgstr ""
     591
     592#: class/ShMapperDrive.class.php:191
     593msgid "Column for unique id"
     594msgstr ""
     595
     596#: class/ShMapperDrive.class.php:203
     597msgid "Point title column"
     598msgstr ""
     599
     600#: class/ShMapperDrive.class.php:214
     601msgid "Point description column"
     602msgstr ""
     603
     604#: class/ShMapperDrive.class.php:225
     605msgid "Post date column"
     606msgstr ""
     607
     608#: class/ShMapperDrive.class.php:238
     609msgid "Is fix post date?"
     610msgstr ""
     611
     612#: class/ShMapperDrive.class.php:250
     613msgid "Select marker type"
     614msgstr ""
     615
     616#: class/ShMapperDrive.class.php:252
     617msgid "Add new marker"
     618msgstr ""
     619
     620#: class/ShMapperDrive.class.php:268
     621msgid "Select method and columns for generate Points's geo position."
     622msgstr ""
     623
     624#: class/ShMapperDrive.class.php:281
     625msgid "Latitude and Longitude"
     626msgstr ""
     627
     628#: class/ShMapperDrive.class.php:310
     629msgid "Adress"
     630msgstr ""
     631
     632#: class/ShMapperDrive.class.php:326
     633msgid "Select columns for choose Points's different types."
     634msgstr ""
     635
     636#: class/ShMapperDrive.class.php:339
     637msgid "Select column with marker type"
     638msgstr ""
     639
     640#: class/ShMapperDrive.class.php:355
     641msgid ""
     642"List of columns in google table that need to parse to Point's description"
     643msgstr ""
     644
     645#: class/ShMapperDrive.class.php:360
     646msgid "Column"
     647msgstr ""
     648
     649#: class/ShMapperDrive.class.php:363
     650msgid "Include?"
     651msgstr ""
     652
     653#: class/ShMapperDrive.class.php:364 class/ShMapperDrive.class.php:370
     654msgid "necessarily"
     655msgstr ""
     656
     657#: class/ShMapperDrive.class.php:369
     658msgid "Field name by latin"
     659msgstr ""
     660
     661#: class/ShMapperDrive.class.php:375
     662msgid "Sub title for decription section"
     663msgstr ""
     664
     665#: class/ShMapperDrive.class.php:378
     666msgid "Order"
     667msgstr ""
     668
     669#: class/ShMapperDrive.class.php:390
     670msgid "If your Google spreadsheet has one text in the specified column"
     671msgstr ""
     672
     673#: class/ShMapperDrive.class.php:403
     674msgid ""
     675"Use only first row for creation new Point or updating included Point and "
     676"ignore over."
     677msgstr ""
     678
     679#: class/ShMapperDrive.class.php:416
     680msgid ""
     681"Use only last row for creation new Point or updating included Point and "
     682"ignore over."
     683msgstr ""
     684
     685#: class/ShMapperDrive.class.php:429
     686msgid ""
     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"
     690msgstr ""
     691
     692#: class/ShMapperDrive.class.php:442
     693msgid "Preview results"
     694msgstr ""
     695
     696#: class/ShMapperDrive.class.php:445
     697msgid "Create or update Poins and Messages"
     698msgstr ""
     699
     700#: class/ShMapperDrive_ajax.class.php:77
     701msgid "Update successful!"
     702msgstr ""
     703
     704#: class/ShMapperDrive_ajax.class.php:109
     705msgid "Success load Google Table."
     706msgstr ""
     707
     708#: class/ShMapperDrive_ajax.class.php:120
     709msgid "Error load Google Table."
     710msgstr ""
     711
     712#: class/ShMapperPointMessage.class.php:19
     713#: class/ShMapperPointMessage.class.php:20
     714msgid "Map marker message"
     715msgstr ""
     716
     717#: class/ShMapperPointMessage.class.php:21
     718#: class/ShMapperPointMessage.class.php:22
     719#: class/ShMapperPointMessage.class.php:24
     720msgid "Add Map marker message"
     721msgstr ""
     722
     723#: class/ShMapperPointMessage.class.php:23
     724msgid "Edit Map marker message"
     725msgstr ""
     726
     727#: class/ShMapperPointMessage.class.php:25
     728msgid "All Map marker messages"
     729msgstr ""
     730
     731#: class/ShMapperPointMessage.class.php:26
     732msgid "view Map marker message"
     733msgstr ""
     734
     735#: class/ShMapperPointMessage.class.php:27
     736msgid "Search Map marker message"
     737msgstr ""
     738
     739#: class/ShMapperPointMessage.class.php:28
     740msgid "Map marker message not found"
     741msgstr ""
     742
     743#: class/ShMapperPointMessage.class.php:29
     744msgid "No found Map marker message in trash"
     745msgstr ""
     746
     747#: class/ShMapperPointMessage.class.php:30
     748msgid "Map marker messages"
     749msgstr ""
     750
    532751#: class/ShMapperRequest.class.php:24 class/ShMapperRequest.class.php:25
    533752msgid "Map Request"
     
    585804msgstr ""
    586805
    587 #: class/ShMapperRequest.class.php:363
     806#: class/ShMapperRequest.class.php:361
     807msgid "Visitor"
     808msgstr ""
     809
     810#: class/ShMapperRequest.class.php:374
    588811msgid "Approve"
    589812msgstr ""
    590813
    591 #: class/ShMapperRequest.class.php:365
     814#: class/ShMapperRequest.class.php:376
    592815msgid "Trash"
    593816msgstr ""
     
    687910
    688911#: class/ShmForm.class.php:49
    689 msgid "Whrite description"
     912msgid "Write description"
    690913msgstr ""
    691914
     
    8681091msgstr ""
    8691092
    870 #: class/ShmMap.class.php:243
     1093#: class/ShmMap.class.php:249
    8711094msgid "1.1. Pan map and choose zoom"
    8721095msgstr ""
    8731096
    874 #: class/ShmMap.class.php:255
     1097#: class/ShmMap.class.php:261
    8751098msgid "1.2. Set size for map's div (per pixels)"
    8761099msgstr ""
    8771100
    878 #: class/ShmMap.class.php:260 class/ShmMap.class.php:265
     1101#: class/ShmMap.class.php:266 class/ShmMap.class.php:271
    8791102msgid "Empty for "
    8801103msgstr ""
    8811104
    882 #: class/ShmMap.class.php:275
     1105#: class/ShmMap.class.php:281
    8831106msgid "1.3. Include interface"
    8841107msgstr ""
    8851108
    886 #: class/ShmMap.class.php:283
     1109#: class/ShmMap.class.php:289
    8871110msgid "Map zoom slider enabled"
    8881111msgstr ""
    8891112
    890 #: class/ShmMap.class.php:305
     1113#: class/ShmMap.class.php:311
    8911114msgid "Choose layers"
    8921115msgstr ""
    8931116
    894 #: class/ShmMap.class.php:319
     1117#: class/ShmMap.class.php:325
    8951118msgid "1.4. May User download data in *.csv?"
    8961119msgstr ""
    8971120
    898 #: class/ShmMap.class.php:330
     1121#: class/ShmMap.class.php:336
    8991122msgid "1.5. Will the legend be displayed?"
    9001123msgstr ""
    9011124
    902 #: class/ShmMap.class.php:341
     1125#: class/ShmMap.class.php:347
    9031126msgid "1.6. Will Marker type filter be displayed?"
    9041127msgstr ""
    9051128
    906 #: class/ShmMap.class.php:352
     1129#: class/ShmMap.class.php:357
    9071130msgid "1.7. Default Marker icon"
    9081131msgstr ""
    9091132
    910 #: class/ShmMap.class.php:357
     1133#: class/ShmMap.class.php:362
    9111134msgid "Recommended size is 64х64 px, format is .png"
    9121135msgstr ""
    9131136
     1137#: class/ShmMap.class.php:373
     1138msgid "1.8. Highlight the country on the map"
     1139msgstr ""
     1140
     1141#: class/ShmMap.class.php:377
     1142msgid "Loading countries ... "
     1143msgstr ""
     1144
     1145#: class/ShmMap.class.php:380
     1146msgid "Select country"
     1147msgstr ""
     1148
    9141149#: class/ShmMap.class.php:389
     1150msgid "Choose map overlay color"
     1151msgstr ""
     1152
     1153#: class/ShmMap.class.php:395
     1154msgid "Choose country border color"
     1155msgstr ""
     1156
     1157#: class/ShmMap.class.php:401
     1158msgid "Overlay opacity"
     1159msgstr ""
     1160
     1161#: class/ShmMap.class.php:438
    9151162msgid "Enable crowdsourcing function (free add Users new Markers)"
    9161163msgstr ""
    9171164
    918 #: class/ShmMap.class.php:394
     1165#: class/ShmMap.class.php:443
    9191166msgid "2.1. What is the name of your information form?"
    9201167msgstr ""
    9211168
    922 #: class/ShmMap.class.php:398
     1169#: class/ShmMap.class.php:447
    9231170msgid "For example &laquo;All beaches by the river&raquo;"
    9241171msgstr ""
    9251172
    926 #: class/ShmMap.class.php:404
     1173#: class/ShmMap.class.php:453
    9271174msgid "2.2. Will I notify the author about new posts?"
    9281175msgstr ""
    9291176
    930 #: class/ShmMap.class.php:412
     1177#: class/ShmMap.class.php:461
    9311178msgid "2.3. What information can users enter?"
    9321179msgstr ""
    9331180
    934 #: class/ShmMap.class.php:415
     1181#: class/ShmMap.class.php:464
    9351182msgid ""
    9361183"You can create your own forms using form elements: & laquo; Text line & "
     
    9391186msgstr ""
    9401187
    941 #: class/ShmMap.class.php:424
     1188#: class/ShmMap.class.php:473
    9421189msgid "2.4. Can users leave their contact information?"
    9431190msgstr ""
    9441191
    945 #: class/ShmMap.class.php:432
     1192#: class/ShmMap.class.php:481
    9461193msgid "2.5. What data users will have to put?"
    9471194msgstr ""
    9481195
    949 #: class/ShmMap.class.php:435 class/ShmMap.class.php:451
    950 #: class/ShmMap.class.php:467
     1196#: class/ShmMap.class.php:484 class/ShmMap.class.php:500
     1197#: class/ShmMap.class.php:516
    9511198msgid "Include"
    9521199msgstr ""
    9531200
    954 #: class/ShmMap.class.php:445 class/ShmMap.class.php:461
    955 #: class/ShmMap.class.php:477
     1201#: class/ShmMap.class.php:494 class/ShmMap.class.php:510
     1202#: class/ShmMap.class.php:526
    9561203msgid "Required"
    9571204msgstr ""
    9581205
    959 #: class/ShmMap.class.php:456
     1206#: class/ShmMap.class.php:505
    9601207msgid "Personal email"
    9611208msgstr ""
    9621209
    963 #: class/ShmMap.class.php:670
     1210#: class/ShmMap.class.php:724
    9641211msgid "What do with placemarks of deleting Map?"
    9651212msgstr ""
    9661213
    967 #: class/ShmMap.class.php:675
     1214#: class/ShmMap.class.php:729
    9681215msgid "Delete all Points"
    9691216msgstr ""
    9701217
    971 #: class/ShmMap.class.php:681
     1218#: class/ShmMap.class.php:735
    9721219msgid "Escape all Points without Owner Map"
    9731220msgstr ""
    9741221
    975 #: class/ShmMap.class.php:687
     1222#: class/ShmMap.class.php:741
    9761223msgid "Switch all Points to anover Map"
    9771224msgstr ""
    9781225
    979 #: class/ShmMap.class.php:703
     1226#: class/ShmMap.class.php:757
    9801227msgid "delete"
    9811228msgstr ""
    9821229
    983 #: class/ShmMap.class.php:782
     1230#: class/ShmMap.class.php:836
    9841231#, php-format
    9851232msgid "Succesfuly delete map width %s points"
    9861233msgstr ""
    9871234
    988 #: class/ShmMap.class.php:787
     1235#: class/ShmMap.class.php:841
    9891236#, php-format
    9901237msgid "Succesfuly delete map and %s points are orphans now"
    9911238msgstr ""
    9921239
    993 #: class/ShmMap.class.php:794
     1240#: class/ShmMap.class.php:848
    9941241#, php-format
    9951242msgid "Succesfuly delete map and %s points migrates to %s"
    9961243msgstr ""
    9971244
    998 #: class/ShmMap.class.php:826
     1245#: class/ShmMap.class.php:880
    9991246msgid "Yandex Map"
    10001247msgstr ""
    10011248
    1002 #: class/ShmMap.class.php:848
     1249#: class/ShmMap.class.php:902
    10031250msgid "Open Street Map"
    10041251msgstr ""
     
    10491296msgstr ""
    10501297
    1051 #: shortcode/shmMap.shortcode.php:25
     1298#: shortcode/shmMap.shortcode.php:25 shortcode/shmMapFeed.shortcode.php:17
    10521299msgid "No map on ID "
    10531300msgstr ""
     
    10971344msgstr ""
    10981345
    1099 #: tpl/shmMap.php:88
     1346#: tpl/shmMap.php:93
    11001347#, php-format
    11011348msgid "download %s.csv"
  • shmapper-by-teplitsa/trunk/shmapper.php

    r2433792 r2481968  
    44 * Plugin URI: http://genagl.ru/?p=652
    55 * Description: Location and logistics services for NKO
    6  * Version: 1.4.0
     6 * Version: 1.4.1
    77 * Requires at least: 5.0
    88 * Requires PHP: 5.6
     
    4848    }
    4949}
    50 add_action('plugins_loaded', 'init_textdomain_shmapper');
     50add_action( 'plugins_loaded', 'init_textdomain_shmapper' );
    5151
    5252// Paths.
     
    5454define( 'SHM_REAL_PATH', WP_PLUGIN_DIR . '/' . plugin_basename(dirname(__FILE__) ) . '/' );
    5555define( 'SHMAPPER', 'shmapper-by-teplitsa' );
     56define('SHMAPPERD', 'shmapper-drive' );
    5657define( 'SHM_MAP', 'shm_map' );
    5758define( 'SHM_POINT', 'shm_point' );
    5859define( 'SHM_POINT_TYPE', 'shm_point_type' );
     60define( 'SHMAPPER_POINT_MESSAGE', 'shm_point_msg' );
    5961define( 'SHM_REQUEST', 'shm_request' );
    6062define( 'SHMAPPER_PLAIN_TEXT_TYPE_ID', 1 );
     
    7072define( 'SHM_CSV_ROW_SEPARATOR', '
    7173');
    72 define('SHMAPPER_VERSION', '1.3.3' );
     74define( 'SHMAPPER_VERSION', '1.4.1' );
    7375
    7476require_once SHM_REAL_PATH . 'class/ShMapper.class.php';
     
    9092require_once SHM_REAL_PATH . 'widget/ShMap.widget.php';
    9193
     94require_once SHM_REAL_PATH . 'class/ShMapperDrive.class.php';
     95
    9296register_activation_hook( __FILE__, array( 'ShMapper', 'activate' ) );
     97register_activation_hook( __FILE__, array( 'ShMapperDrive', 'activate' ) );
    9398
    9499if ( function_exists( 'register_deactivation_hook' ) ) {
    95100    register_deactivation_hook(__FILE__, array( 'ShMapper', 'deactivate' ) );
     101    register_deactivation_hook(__FILE__, array( 'ShMapperDrive', 'deactivate' ) );
    96102}
    97103
     
    108114}
    109115add_action( 'init', 'init_shmapper', 1 );
     116
     117/** Shamapper Drive init */
     118function 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}
     125add_action( 'init', 'init_shmapper_drive', 2 );
    110126
    111127/** Is session */
  • shmapper-by-teplitsa/trunk/tpl/input_file_form.php

    r2433792 r2481968  
    117117}
    118118
    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);
     119function 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);
    134133}
  • shmapper-by-teplitsa/trunk/tpl/shmMap.php

    r2433792 r2481968  
    4242    $zoom       =  $zoom ? $zoom : 4;
    4343    $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
    4449    if( $is_legend )
    4550    {
     
    5459
    5560                $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) ) {
    5762                   
    5863                    $color = get_term_meta($term_id, "color", true);
     
    162167                isAdmin         : ". (is_admin() ? 1 : 0). ",
    163168                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',
    165174            };
    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) {
    181225                init_map( mData, points );
     226            }
    182227           
    183228            // Disable submit post form on this page.
     
    191236        });
    192237
    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');
    194239
    195240    </script>";
Note: See TracChangeset for help on using the changeset viewer.