@@ -200,7 +200,7 @@ function s2cgGCMain() {
200
200
var html = '<td class="mobile-show" >'
201
201
+ '<a id="s2cg-' + GCCode + '" href="https://send2.cgeo.org/add.html?cache=' + GCCode + '" '
202
202
+ "onclick='window.s2geo(\"" + GCCode + "\"); return false;' send2cgeo_gccode='" + GCCode + "'>"
203
- + '<img height="50" src="https://send2 .cgeo.org/send2cgeo.png" '
203
+ + '<img height="50" src="https://www .cgeo.org/send2cgeo.png" '
204
204
+ 'border="0"> '
205
205
+ '</a></td>' ;
206
206
@@ -328,7 +328,7 @@ function s2cgGCMain() {
328
328
function buildButton ( GCCode , anchor , height , imgClass = '' ) {
329
329
// Add s2cg button.
330
330
var html = '<a id="s2cg-' + GCCode + '" href="javascript:void(0);" title="Send to c:geo">'
331
- + '<img class="' + imgClass + '" src="https://send2 .cgeo.org/send2cgeo.png" height="' + height + '"/>'
331
+ + '<img class="' + imgClass + '" src="https://www .cgeo.org/send2cgeo.png" height="' + height + '"/>'
332
332
+ '</a>' ;
333
333
334
334
$ ( anchor ) . append ( html ) ;
@@ -384,7 +384,7 @@ function s2cgGCMain() {
384
384
if ( document . location . href . match ( / \. c o m \/ m a p / ) ) {
385
385
var template = $ ( "#cacheDetailsTemplate" ) . html ( ) ;
386
386
var html = '<a href="javascript:void(0);" onclick="window.s2geo(\'{{=gc}}\'); return false;">'
387
- + '<img height="16px" src="https://send2 .cgeo.org/send2cgeo.png" />'
387
+ + '<img height="16px" src="https://www .cgeo.org/send2cgeo.png" />'
388
388
+ '<span>Send to c:geo</span></a>' ;
389
389
390
390
var searchpos = template . indexOf ( '/images/icons/16/write_log.png' ) ;
@@ -481,28 +481,29 @@ function s2cgGCMain() {
481
481
if ( document . location . href . match ( / \. c o m \/ ( s e e k \/ c a c h e _ d e t a i l s \. a s p x | g e o c a c h e \/ ) / ) ) {
482
482
var GCCode = $ ( "#ctl00_ContentBody_CoordInfoLinkControl1_uxCoordInfoCode" ) . html ( ) ;
483
483
484
- var html2 = '<dt><a href="javascript:void(0);" onclick="window.s2geo(\'' + GCCode + '\'); return false;">'
485
- + '<img src="https://send2 .cgeo.org/send2cgeo.png" title="Send to c:geo" height="16px" />'
484
+ var html2 = '<dt><a href="javascript:void(0);" onclick="window.s2geo(\'' + GCCode + '\'); return false;" style="display:flex;" >'
485
+ + '<img src="https://www .cgeo.org/send2cgeo.png" title="Send to c:geo" height="16px" />'
486
486
+ '<span>Send to c:geo</span></a></dt>' ;
487
487
488
488
$ ( "#Download dd:last" ) . append ( html2 ) ;
489
489
}
490
490
491
491
// Send to c:geo on recentlyviewed and nearest list
492
492
if ( document . location . href . match ( / \. c o m \/ s e e k \/ n e a r e s t \. a s p x / ) || document . location . href . match ( / \. c o m \/ m y \/ r e c e n t l y v i e w e d c a c h e s \. a s p x / ) ) {
493
- $ ( '.BorderTop th' ) . first ( ) . after ( '<th><img src="https://send2 .cgeo.org/send2cgeo.png" title="Send to c:geo" height="20px" /></th>' ) ;
493
+ $ ( '.BorderTop th' ) . first ( ) . after ( '<th><img src="https://www .cgeo.org/send2cgeo.png" title="Send to c:geo" height="20px" /></th>' ) ;
494
494
$ ( '.Data.BorderTop' ) . each (
495
495
function ( ) {
496
496
var text = $ ( this ) . find ( ".Merge" ) . last ( ) . find ( "span.small" ) . first ( ) . text ( ) . split ( "|" ) ;
497
497
var GCCode = text [ text . length - 2 ] . trim ( ) ;
498
498
var html = '<td><a href="javascript:void(0);" onclick="window.s2geo(\'' + GCCode + '\'); return false;">'
499
- + ' <img src="https://send2 .cgeo.org/send2cgeo.png" title="Send to c:geo" height="20px" />'
499
+ + ' <img src="https://www .cgeo.org/send2cgeo.png" title="Send to c:geo" height="20px" />'
500
500
+ '</a></td>' ;
501
501
$ ( this ) . find ( 'td' ) . first ( ) . after ( html ) ;
502
502
}
503
503
) ;
504
504
}
505
505
506
+ // Send to c:geo on new List / new BML
506
507
if ( document . location . href . match ( / \. c o m \/ p l a n \/ l i s t s \/ B M / ) ) {
507
508
// observer callback
508
509
let cb = function ( ) {
@@ -528,15 +529,15 @@ function s2cgGCMain() {
528
529
if ( $ ( '.multi-select-action-bar' ) [ 0 ] ) {
529
530
removeIfAlreadyExists ( '#s2cgeo-selected' , $ ( '#s2cgeo-selected' ) ) ;
530
531
$ ( '.multi-select-action-bar-count-section' ) . after ( '<a id="s2cgeo-selected" href="javascript:void(0);">'
531
- + ' <img src="https://send2 .cgeo.org/send2cgeo.png" title="Send to c:geo" height="29px " />'
532
+ + ' <img src="https://www .cgeo.org/send2cgeo.png" title="Send to c:geo" height="45px" style="margin-right:8px " />'
532
533
+ '</a>' ) ;
533
534
$ ( '#s2cgeo-selected' ) . on ( 'click' , function ( ) {
534
535
sendList ( 'selected' ) ;
535
536
} ) ;
536
537
}
537
538
538
539
removeIfAlreadyExists ( '.header-s2cgeo' , $ ( '.header-s2cgeo' ) ) ;
539
- $ ( '.geocache-table thead th.header-geocache-name' ) . before ( '<th class="header-s2cgeo"><img src="https://send2 .cgeo.org/send2cgeo.png" title="Send to c:geo" height="20px" /></th>' ) ;
540
+ $ ( '.geocache-table thead th.header-geocache-name' ) . before ( '<th class="header-s2cgeo"><img src="https://www .cgeo.org/send2cgeo.png" title="Send to c:geo" height="20px" /></th>' ) ;
540
541
541
542
$ ( '.geocache-table tbody tr' ) . each (
542
543
function ( ) {
@@ -586,7 +587,7 @@ function s2cgGCMain() {
586
587
observer . disconnect ( ) ;
587
588
588
589
removeIfAlreadyExists ( '.header-s2cgeo' , $ ( '.header-s2cgeo' ) ) ;
589
- $ ( '.geocache-table thead th.header-name' ) . before ( '<th class="header-s2cgeo"><img src="https://send2 .cgeo.org/send2cgeo.png" title="Send to c:geo" height="20px" /></th>' ) ;
590
+ $ ( '.geocache-table thead th.header-name' ) . before ( '<th class="header-s2cgeo"><img src="https://www .cgeo.org/send2cgeo.png" title="Send to c:geo" height="20px" /></th>' ) ;
590
591
591
592
$ ( '.geocache-table tbody tr' ) . each (
592
593
function ( ) {
@@ -613,8 +614,8 @@ function s2cgGCMain() {
613
614
var occode = document . title ;
614
615
occode = occode . substring ( 0 , occode . indexOf ( " " , 0 ) ) ;
615
616
616
- var html = '<img src="https://send2 .cgeo.org/send2cgeo.png" height="16px" />'
617
- + '<a href="javascript:void(0);" onclick="window.s2geo(\'' + occode + '\'); return false;" >'
617
+ var html = '<img src="https://www .cgeo.org/send2cgeo.png" height="16px" />'
618
+ + '<a href="javascript:void(0);" onclick="window.s2geo(\'' + occode + '\'); return false;" > '
618
619
+ '<input class="exportbutton" type="button" value="An c:geo senden" title="Send to c:geo" /></a> '
619
620
+ '</p>' ;
620
621
@@ -787,7 +788,7 @@ function s2cgGCMain() {
787
788
if ( document . location . href . match ( / \. d e \/ m y h o m e \. p h p / ) ) {
788
789
$ ( '.content2-pagetitle' ) . after ( '<div class="content2-container bg-blue02" style="margin-top:20px;">'
789
790
+ ' <p class="content-title-noshade-size3">'
790
- + ' <img src="https://send2 .cgeo.org/send2cgeo.png" style="margin-right:10px;" height="22px" />'
791
+ + ' <img src="https://www .cgeo.org/send2cgeo.png" style="margin-right:10px;" height="22px" />'
791
792
+ ' Send to c:geo <span class="content-title-link"><a id="s2cg_openSettings" href="javascript:void(0)">Settings</a></span>'
792
793
+ ' </p>'
793
794
+ '</div>' ) ;
0 commit comments