Skip to content
Permalink
Browse files

added minimap to startpage

  • Loading branch information...
flopp committed May 13, 2013
1 parent d6241a4 commit 2e95c6226e945c8cf0ec23931c6b3ab47e065526
Showing with 13 additions and 1 deletion.
  1. +2 −0 htdocs/lib2/logic/getNew.class.php
  2. +11 −1 htdocs/templates2/ocstyle/res_newcaches.tpl
@@ -103,6 +103,8 @@ private function cacheRs($args=null)
`caches`.`name` `name`,
`caches`.`date_created` `date_created`,
`caches`.`type`,
`caches`.`longitude` `longitude`,
`caches`.`latitude` `latitude`,
IFNULL(`sys_trans_text`.`text`,`cache_location`.`adm1`) AS `adm1`,
`cache_location`.`adm2`,
`cache_location`.`adm3`,
@@ -3,6 +3,8 @@
*
* Unicode Reminder メモ
***************************************************************************}
<div style="overflow: hidden;">
<div style="float: left; width: 535px">
<ul class="nodot">
{foreach name=newcaches from=$newcaches item=cacheitem}
<li class="newcache_list_multi" style="margin-bottom: 8px;">
@@ -20,4 +22,12 @@
</strong>
</li>
{/foreach}
</ul>
</ul>
</div>
<div style="margin-left: 535px; margin-top: 11px; width: 220px; text-align: right">
<a href="map2.php">
<img src="http://maps.googleapis.com/maps/api/staticmap?sensor=false&size=220x220&maptype=roadmap&markers=color:blue|size:small{foreach name=newcaches from=$newcaches item=cacheitem}|{$cacheitem.latitude},{$cacheitem.longitude}{/foreach}"><br />
{t}Large map{/t}
</a>
</div>
</div>

0 comments on commit 2e95c62

Please sign in to comment.
You can’t perform that action at this time.