Skip to content
Permalink
Browse files

don't show any disabled caches, when searching for nearby searchable …

…or same type geocaches; updates #870
  • Loading branch information...
kirstenko committed Jan 12, 2016
1 parent f8db4a4 commit 16efca065ce1c6b52b3180c8008ffda07a114793
Showing with 2 additions and 2 deletions.
  1. +2 −2 htdocs/templates2/ocstyle/viewcache.tpl
@@ -501,8 +501,8 @@ function showalllists()
<img src="resource2/{$opt.template.style}/images/viewcache/16x16-search.png" class="icon16" alt="" />
{t}Search geocaches nearby:{/t}
<a href="search.php?searchto=searchbydistance&showresult=1&expert=0&output=HTML&sort=bydistance&f_userowner=0&f_userfound=0&f_inactive=1&lat={$cache.latitude}&lon={$cache.longitude}&distance=150&unit=km" rel="nofollow">{t}all{/t}</a> -
<a href="search.php?searchto=searchbydistance&showresult=1&expert=0&output=HTML&sort=bydistance&f_userowner=1&f_userfound=1&f_inactive=1&lat={$cache.latitude}&lon={$cache.longitude}&distance=150&unit=km" rel="nofollow">{t}searchable{/t}</a> -
<a href="search.php?searchto=searchbydistance&showresult=1&expert=0&output=HTML&sort=bydistance&f_userowner=1&f_userfound=1&f_inactive=1&lat={$cache.latitude}&lon={$cache.longitude}&distance=150&unit=km&cachetype={$cache.type}" rel="nofollow">{t}same type{/t}</a>
<a href="search.php?searchto=searchbydistance&showresult=1&expert=0&output=HTML&sort=bydistance&f_userowner=1&f_userfound=1&f_inactive=1&f_disabled=1&lat={$cache.latitude}&lon={$cache.longitude}&distance=150&unit=km" rel="nofollow">{t}searchable{/t}</a> -
<a href="search.php?searchto=searchbydistance&showresult=1&expert=0&output=HTML&sort=bydistance&f_userowner=1&f_userfound=1&f_inactive=1&f_disabled=1&lat={$cache.latitude}&lon={$cache.longitude}&distance=150&unit=km&cachetype={$cache.type}" rel="nofollow">{t}same type{/t}</a>
<br />
<img src="resource2/{$opt.template.style}/images/viewcache/16x16-search.png" class="icon16" alt="" /> {t}Send this waypoint to GPS device:{/t} <a href="#" onclick="window.open('{$garmin_url}garmin.php?&lat={$cache.latitude}&lon={$cache.longitude}&wp={$cache.wpoc}&templocale={$opt.template.locale}','{t escape=js}Send{/t}','width=640,height=320,resizable=no,scrollbars=1')">Garmin</a><br />

0 comments on commit 16efca0

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