diff --git a/htdocs/templates2/ocstyle/articles/DE/changelog.tpl b/htdocs/templates2/ocstyle/articles/DE/changelog.tpl index 9589a2aa..499014fb 100644 --- a/htdocs/templates2/ocstyle/articles/DE/changelog.tpl +++ b/htdocs/templates2/ocstyle/articles/DE/changelog.tpl @@ -32,6 +32,7 @@
  • spanische und italienische Übersetzung vervollständigt
  • inaktive Caches auch auf der Alle-außer-Deutschland-Seite ausgeblendet
  • einheitliche Schreibweise für Attributnamen
  • +
  • Cachelisting: „Decrypt“ → „Entschlüsseln“
  • Korrigiert (Bugfixes):


    diff --git a/htdocs/templates2/ocstyle/articles/EN/changelog.tpl b/htdocs/templates2/ocstyle/articles/EN/changelog.tpl index 8837961a..495cacbf 100644 --- a/htdocs/templates2/ocstyle/articles/EN/changelog.tpl +++ b/htdocs/templates2/ocstyle/articles/EN/changelog.tpl @@ -43,6 +43,7 @@
  • XML-Interface will not truncate default charset data at unknown characters.
  • fixed error message for invalid log date
  • fixed case insensitivity of log passwords
  • +
  • decrypting hints when JavaScript is disabled

  • diff --git a/htdocs/templates2/ocstyle/viewcache.tpl b/htdocs/templates2/ocstyle/viewcache.tpl index da2a37ec..f245c0a7 100644 --- a/htdocs/templates2/ocstyle/viewcache.tpl +++ b/htdocs/templates2/ocstyle/viewcache.tpl @@ -323,25 +323,23 @@ {t}Additional waypoints can make searching easier, for example by pointing to a suitable parkering or start of a path. The waypoints are downloaded in the GPX-file.{/t} {/if} - +} {if $cache.hint!=''}

    {t}Additional hint{/t} {t}Additional hint{/t}   - + {if $crypt} - {literal} - Decrypt - {/literal} + {t}Decrypt{/t}{/if}

    -

    {$cache.hint|rot13html}

    +

    {if $crypt}{$cache.hint|rot13html}{else}{$cache.hint}{/if}

    A|B|C|D|E|F|G|H|I|J|K|L|M N|O|P|Q|R|S|T|U|V|W|X|Y|Z diff --git a/htdocs/viewcache.php b/htdocs/viewcache.php index 246a3b7d..6168f548 100644 --- a/htdocs/viewcache.php +++ b/htdocs/viewcache.php @@ -62,7 +62,7 @@ function getChildWaypoints($cacheid) exit; } - $bCrypt = isset($_REQUEST['nocrypt']) ? ($_REQUEST['nocrypt']!=1) : true; + $bCrypt = !isset($_REQUEST['nocrypt']) || ($_REQUEST['nocrypt'] != 1); $tpl->assign('crypt', $bCrypt); if (isset($_REQUEST['desclang']))