Subversion Repositories wpShopGermany4

Rev

Rev 5866 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5866 Rev 7612
Line 26... Line 26...
26
			map: map
26
			map: map
27
    	} );    	
27
    	} );    	
28
    	markers.push(marker<?php echo $i; ?>);
28
    	markers.push(marker<?php echo $i; ?>);
29
 
29
 
30
    	google.maps.event.addListener(marker<?php echo $i; ?>, 'click', function() {
30
    	google.maps.event.addListener(marker<?php echo $i; ?>, 'click', function() {
-
 
31
			location.href = '<?php
-
 
32
			
31
			location.href = '<?php echo WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Customer&action=edit&edit_id='.$m['customer']['id']; ?>';
33
				echo wpsg_admin_url('Customer', 'edit', ['edit_id' => $m['customer']['id']]);
-
 
34
				
-
 
35
			?>';
32
    	} );    	  
36
    	} );    	  
33
    	bounds.extend(marker<?php echo $i; ?>.getPosition());  	
37
    	bounds.extend(marker<?php echo $i; ?>.getPosition());  	
34
    	<?php $i ++; } ?>
38
    	<?php $i ++; } ?>
35
 
39
 
36
    	map.fitBounds(bounds);
40
    	map.fitBounds(bounds);