Changeset 140 for trunk


Ignore:
Timestamp:
02/24/2006 06:50:10 AM (6 years ago)
Author:
cirrus
Message:

Add: Google Earth integration.

Location:
trunk
Files:
9 added
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/globals/language/english.php

    r123 r140  
    6464        'for_deletion' => "to delete", 
    6565        'welcome' => "Welcome", 
     66        'gearth_download' => "Google Earth file download", 
     67        'google_earth' => "Google Earth", 
    6668        'nodes_search' => "Search for nodes", 
    6769        'nodes_found' => "Nodes found", 
  • trunk/globals/language/greek.php

    r123 r140  
    7272        'for_deletion' => "για Ύιαγραφή", 
    7373        'welcome' => "Καλώς ήρΞατε", 
     74        'gearth_download' => "Google Earth file download", 
     75        'google_earth' => "Google Earth", 
    7476        'nodes_search' => "ΑΜαζήτηση κόΌβωΜ", 
    7577        'nodes_found' => "ΚόΌβοι ποϠ
  • trunk/includes/main_center.php

    r137 r140  
    6464                        case 'pickup': 
    6565                        case 'gmap': 
     66                        case 'gearth': 
    6667                        case 'search': 
    6768                                return TRUE; 
  • trunk/includes/pages/nodes/nodes_search.php

    r103 r140  
    104104 
    105105                $this->tpl['link_fullmap'] = makelink(array("page" => "gmap", "node" => get('node'))); 
     106                $this->tpl['link_gearth'] = makelink(array("page" => "gearth", "subpage" => "download", "node" => get('node'), "show_p2p" => "1", "show_aps" => "1", "show_clients" => "1", "show_unlinked" => "1", "show_links_p2p" => "1", "show_links_client" => "1")); 
    106107                $this->tpl['gmap_key_ok'] = include_gmap("?page=gmap&subpage=js&node=".get('node')); 
    107108 
  • trunk/includes/pages/nodes/nodes_view.php

    r137 r140  
    286286 
    287287                $this->tpl['link_fullmap'] = makelink(array("page" => "gmap", "node" => get('node'))); 
     288                $this->tpl['link_gearth'] = makelink(array("page" => "gearth", "subpage" => "download", "node" => get('node'), "show_p2p" => "1", "show_aps" => "1", "show_clients" => "1", "show_unlinked" => "1", "show_links_p2p" => "1", "show_links_client" => "1")); 
    288289                $this->tpl['gmap_key_ok'] = include_gmap("?page=gmap&subpage=js&node=".get('node')); 
    289290                return template($this->tpl, __FILE__); 
  • trunk/templates/basic/includes/pages/nodes/nodes_search.tpl

    r93 r140  
    2525<td class="table-page-split"> 
    2626<table align="center" bgcolor="#DBE0D7" cellpadding="0" cellspacing="2"> 
    27 <tr><td align="right">{include file=generic/link.tpl link=$link_fullmap content="`$lang.new_window`" target="_blank"}</td></tr> 
    28 <tr><td style="font-size:12px; text-align:center;">{if $gmap_key_ok} 
     27<tr><td align="left">{include file=generic/link.tpl link=$link_gearth content="`$lang.google_earth`"}</td><td align="right">{include file=generic/link.tpl link=$link_fullmap content="`$lang.new_window`" target="_blank"}</td></tr> 
     28<tr><td style="font-size:12px; text-align:center;" colspan="2">{if $gmap_key_ok} 
    2929<div id="map" style="width: 500px; height: 500px;"></div> 
    3030{else} 
  • trunk/templates/basic/includes/pages/nodes/nodes_view.tpl

    r53 r140  
    3434<td class="table-page-split"> 
    3535<table bgcolor="#DBE0D7" cellpadding="0" cellspacing="2"> 
    36 <tr><td align="right">{include file=generic/link.tpl link=$link_fullmap content="`$lang.new_window`" target="_blank"}</td></tr> 
    37 <tr><td style="font-size:12px; text-align:center; width: 500px; height: 500px"> 
     36<tr><td align="left">{include file=generic/link.tpl link=$link_gearth content="Google earth"}</td><td align="right">{include file=generic/link.tpl link=$link_fullmap content="`$lang.new_window`" target="_blank"}</td></tr> 
     37<tr><td style="font-size:12px; text-align:center; width: 500px; height: 500px" colspan="2"> 
    3838{if $gmap_key_ok} 
    3939<div id="map" style="width: 500px; height: 500px"></div> 
Note: See TracChangeset for help on using the changeset viewer.