Skip to content
Permalink
Browse files

translation corrections, and added popup to share cache list to list …

…contents display
  • Loading branch information...
following5 committed Aug 27, 2015
1 parent b22fb55 commit 37485f706acc5cf9551cc91eec4e1827a324e96b

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -17,9 +17,6 @@
global $locale, $opt;
//only debugging
$runtime = t('Runtime: {time} seconds');
// set Date/Time language
setlocale(LC_TIME, 'de_DE.utf8');
@@ -25,5 +25,5 @@
<p style="font-size:x-small;margin-bottom:0px;margin-left:15px;">{t}The following error occurred:{/t}</p>
<p style="margin-top:0px;margin-left:15px;margin-right:20px;background-color:#e5e5e5;border:1px solid black;text-align:left;padding:3px 8px 3px 8px;">
{t}Page:{/t} {tplname}<br/>
{t}error message:{/t} {error_msg}
{t}Error message{/t}{t}#colonspace#{/t}: {error_msg}
</p>
@@ -14,7 +14,7 @@
<p style="line-height: 1.6em;"><strong>{t}The following error occured:{/t}</strong></p>
<p style="line-height: 1.6em;">
{t}Page:{/t} {$page|escape}<br/>
{t}Error message:{/t}
{t}Error message{/t}{t}#colonspace#{/t}:

{if $id==ERROR_UNKNOWN}
({$id}) {t}An unkown error occured.{/t}
@@ -25,7 +25,7 @@
<tr class="cachelistitem">
<td class="{$listcolor}">{include file="res_cachelist_link.tpl"}</td>
{if $show_user}<td class="{$listcolor}"><a href="viewprofile.php?userid={$cachelist.user_id}">{$cachelist.username|escape}</a></td>{/if}
{if $show_status}<td class="{$listcolor}"><nobr>{if $cachelist.visibility>=2}{t}public{/t}{if $cachelist.visibility==3} <img src="resource2/{$opt.template.style}/images/action/16x16-adddesc.png" title="{t}visible for all users in cache listings{/t}" />{/if}{else}{if $cachelist.password}<a class="jslink" onclick="cl = getElementById('sharelist_{$cachelist.id}'); cl.style.display = (cl.style.display=='none'?'block':'none'); getElementById('permalink_text_{$cachelist.id}').select();" {if $cachelist.user_id==$login.userid}title="{t}list has password; click to share it{/t}"{/if} >{t}private{/t} <img src="resource2/{$opt.template.style}/images/action/18x16-offer.png" /></a>{else}{t}private{/t}{/if}{/if}</nobr>
{if $show_status}<td class="{$listcolor}"><nobr>{if $cachelist.visibility>=2}{t}public{/t}{if $cachelist.visibility==3} <img src="resource2/{$opt.template.style}/images/action/16x16-adddesc.png" title="{t}visible for all users in cache listings{/t}" />{/if}{else}{if $cachelist.password}<a class="jslink" onclick="cl = getElementById('sharelist_{$cachelist.id}'); cl.style.display = (cl.style.display=='none'?'block':'none'); getElementById('permalink_text_{$cachelist.id}').select();" {if $cachelist.user_id==$login.userid}title="{t}List has password; click here to share it{/t}"{/if} >{t}private{/t} <img src="resource2/{$opt.template.style}/images/action/18x16-offer.png" /></a>{else}{t}private{/t}{/if}{/if}</nobr>
{if $cachelist.password}
<div id="sharelist_{$cachelist.id}" class="cachelist-popup mapboxframe mapboxshadow" style="display:none" >
<table>
@@ -16,7 +16,15 @@
<a class="systemlink" href="cachelists.php">{t}Cache list{/t}</a> <b>{$cachelist.name|escape}</b>
{if $cachelist.bookmarked}<a href="mylists.php#bookmarks"><img src="resource2/{$opt.template.style}/images/viewcache/cache-rate.png" title="{t}I have bookmarked this list.{/t}" /></a>{/if}
{if $cachelist.watched_by_me}<img src="resource2/{$opt.template.style}/images/viewcache/16x16-watch.png" title="{t}I am watching this list.{/t}" />{/if}
{if $cachelist.user_id != $login.userid}{t}by{/t} <a href="viewprofile.php?userid={$cachelist.user_id}">{$cachelist.username|escape}</a>{else}({t}private{/t}{if $cachelist.password} <a href="cachelist.php?id={$cachelist.id}&key={$cachelist.password|urlencode}"><img src="resource2/{$opt.template.style}/images/action/18x16-offer.png" title="{t}list has password; copy this link to share it{/t}" /></a>{/if}){/if}
{if $cachelist.user_id != $login.userid}{t}by{/t} <a href="viewprofile.php?userid={$cachelist.user_id}">{$cachelist.username|escape}</a>{else}({if $cachelist.password}<a class="jslink" onclick="cl = getElementById('sharelist_{$cachelist.id}'); cl.style.display = (cl.style.display=='none'?'block':'none'); getElementById('permalink_text_{$cachelist.id}').select();" {if $cachelist.user_id==$login.userid}title="{t}List has password; click here to share it{/t}"{/if} >{t}private{/t} <img src="resource2/{$opt.template.style}/images/action/18x16-offer.png" /></a>{else}{t}private{/t}{/if}){/if}
{if $cachelist.password}
<div id="sharelist_{$cachelist.id}" class="cachelist-popup mapboxframe mapboxshadow" style="display:none" >
<table>
<tr><td><img src="resource2/ocstyle/images/viewcache/link.png" alt="" height="16" width="16" /> {t}Link to share this cache list:{/t}</td><td align="right"><a class="jslink" onclick="getElementById('sharelist_{$cachelist.id}').style.display='none'"><img src="resource2/ocstyle/images/navigation/19x19-close.png" style="opacity:0.7" /></a></td></tr>
<tr><td><input id="permalink_text_{$cachelist.id}" type="text" value="{$opt.page.absolute_url}cachelist.php?id={$cachelist.id}&key={$cachelist.password|urlencode}" size="65" /></td></tr>
</table>
</div>
{/if}
&nbsp;
{if $cachelist.user_id==$login.userid}[<a class="systemlink" href="mylists.php?edit={$cachelist.id}&fromsearch=1">{t}edit{/t}</a>]{/if}
{if $login.userid}[<a class="systemlink" href="cachelist.php?id={$cachelist.id}&{if $cachelist.watched_by_me}dont{/if}watch">{if $cachelist.watched_by_me}{t}don't watch{/t}{else}{t}watch{/t}{/if}</a>]{/if}
@@ -139,7 +147,7 @@
<a href="search.php?queryid={$queryid}&output=ovl&startat={$startat}" title="{t}TOP50-Overlay .ovl{/t}">OVL</a>
<a href="search.php?queryid={$queryid}&output=txt&startat={$startat}" title="{t}Textfile .txt{/t}">TXT</a>
<br />
<b>{t 1=$startatp1 2=$endat}Result %1 to %2 (as zip):{/t}</b>
<b>{t 1=$startatp1 2=$endat}Result %1 to %2 (as zip){/t}{t}#colonspace#{/t}:</b>
<a href="search.php?queryid={$queryid}&output=gpx&startat={$startat}&count=max&zip=1" title="{t}GPS Exchange Format .gpx{/t}">GPX</a>
<a href="search.php?queryid={$queryid}&output=loc&startat={$startat}&count=max&zip=1" title="{t}Waypointfile .loc{/t}">LOC</a>
<a href="search.php?queryid={$queryid}&output=kml&startat={$startat}&count=max&zip=1" title="{t}Google Earth .kml{/t}">KML</a>

0 comments on commit 37485f7

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