Skip to content
Permalink
Browse files

do not 'decrypt' [hint]; allow to re-encrypt hint; updates #45

  • Loading branch information...
following5 committed Apr 27, 2016
1 parent 47b16cc commit b6f0e86080260a2c0a38480b2c6ff19950b8191b
@@ -2856,6 +2856,7 @@ INSERT INTO `sys_trans` (`id`, `text`, `last_modified`) VALUES ('2568', 'New coo
INSERT INTO `sys_trans` (`id`, `text`, `last_modified`) VALUES ('2569', 'moved by %1 meters', '2015-06-17 10:09:14');
INSERT INTO `sys_trans` (`id`, `text`, `last_modified`) VALUES ('2570', 'moved by %1 km', '2015-06-17 10:09:14');
INSERT INTO `sys_trans` (`id`, `text`, `last_modified`) VALUES ('2571', 'Protect old coordinates', '2015-06-17 10:09:14');
INSERT INTO `sys_trans` (`id`, `text`, `last_modified`) VALUES ('2597', 'Encrypt', '2015-06-17 10:09:14');
INSERT INTO `sys_trans` (`id`, `text`, `last_modified`) VALUES ('2598', 'Select <i>ok</i> if you have found or checked the cache and everything is ok.', '2015-06-17 10:09:14');
INSERT INTO `sys_trans` (`id`, `text`, `last_modified`) VALUES ('2599', 'Select <i>up to date</i> if you have checked the complete description \&ndash; from the<br />container size to encoded hints and additoional wayoints \&ndash; and can confirm<br />that everything is up-to-date.', '2015-06-17 10:09:14');
INSERT INTO `sys_trans` (`id`, `text`, `last_modified`) VALUES ('2600', 'Select <i>up to date</i> if you have checked the complete description \&ndash; from the<br />container size to encoded hints and additoional wayoints \&ndash;, have compared<br />it to the geocaching.com listing (%1) and can confirm that everything is<br />up-to-date.', '2015-06-17 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2569', 'DE', 'verlegt um %1 Meter', '2015-06-17 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2570', 'DE', 'verlegt um %1 km', '2015-06-17 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2571', 'DE', 'Altkoordinaten schützen', '2015-06-17 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2597', 'DE', 'Verschlüsseln', '2015-06-17 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2598', 'DE', 'Wähle <i>ok</i>, wenn du den Cache gefunden oder kontrolliert hast und alles ok ist.', '2015-06-17 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2599', 'DE', 'Wähle <i>in Ordnung</i>, wenn du die vollständige Beschreibung \&ndash; von der Behältergroße<br />bis zu verschlüsselten Hinweisen und zusätzlichen Wegpunkten \&ndash; geprüft hast,<br >und alles auf aktuellem Stand ist.', '2015-06-17 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2600', 'DE', 'Wähle <i>in Ordnung</i>, wenn du die vollständige Beschreibung \&ndash; von der Behältergroße<br />bis zu verschlüsselten Hinweisen und zusätzlichen Wegpunkten \&ndash; geprüft und mit dem<br />GC-Listing (%1) verglichen hast, und alles auf aktuellem Stand ist.', '2015-06-17 10:09:14');
@@ -32,6 +32,15 @@

<div class="changelog-changes">

<p id="current"><strong>Laufende Änderungen</strong></p>
<ul>
<li>Entschlüsselte Hinweise können wieder verschlüsselt weden.</li>
<li>Hinweisteile in [ ] werden beim Entschlüsseln ignoriert.</li>
<li>Man kann zwischen den angehängten Bildern einer Cachebeschreibung blättern.</li>
<li>Vergrößerte Bilder werden mit einem Rechtsklick nicht mehr geschlossen.</li>
</ul>
<br />

<p id="v3.0.18"><strong>OC 3.0 Version 18</strong> &ndash; 31. März 2016</p>
<p>Neu:</p>
<ul>
@@ -14,7 +14,7 @@
<!--
var bNoCrypt = 0;
var last="";var rot13map;function decryptinit(){var a=new Array();var s="abcdefghijklmnopqrstuvwxyz";for(i=0;i<s.length;i++)a[s.charAt(i)]=s.charAt((i+13)%26);for(i=0;i<s.length;i++)a[s.charAt(i).toUpperCase()]=s.charAt((i+13)%26).toUpperCase();return a}
function decrypt(elem){if(elem.nodeType != 3) return; var a = elem.data;if(!rot13map)rot13map=decryptinit();s="";for(i=0;i<a.length;i++){var b=a.charAt(i);s+=(b>='A'&&b<='Z'||b>='a'&&b<='z'?rot13map[b]:b)}elem.data = s}
function decrypt(elem){if(elem.nodeType != 3) return; var a = elem.data;if(!rot13map)rot13map=decryptinit();s="";var dec=1;for(i=0;i<a.length;i++){var b=a.charAt(i);if(b=='[')dec=0;else if(b==']')dec=1;s+=(dec&&(b>='A'&&b<='Z'||b>='a'&&b<='z')?rot13map[b]:b);}elem.data = s}
function visitCounter()
{
@@ -434,9 +434,9 @@ function showalllists()
<img src="resource2/{$opt.template.style}/images/description/22x22-encrypted.png" style="margin-right: 10px;" width="22" height="22" alt="" /> {t}Additional hint{/t}&nbsp;&nbsp;
<span id="decrypt-info">{if $crypt}
<img src="resource2/{$opt.template.style}/images/viewcache/decrypt.png" class="icon32" width="22" height="22" alt="" />
<span class="content-title-link" ><a href="viewcache.php?wp={$cache.wpoc}&nocrypt=1&desclang={$cache.desclanguage|urlencode}#decrypt-info" {literal}onclick="var ch = document.getElementById('decrypt-hints').childNodes;for(var i=0;i < ch.length;++i) {var e = ch[i]; decrypt(e);} document.getElementById('decrypt-info').style.display = 'none';
bNoCrypt = 1;
return false;"{/literal}>{t}Decrypt{/t}</a>{/if}</span>
<span class="content-title-link" ><a href="viewcache.php?wp={$cache.wpoc}&nocrypt=1&desclang={$cache.desclanguage|urlencode}#decrypt-info" {literal}onclick="var ch = document.getElementById('decrypt-hints').childNodes;for(var i=0;i < ch.length;++i) {var e = ch[i]; decrypt(e);}{/literal} document.getElementById('crypt-text').innerHTML = (bNoCrypt ? '{t}Decrypt{/t}' : '{t}Encrypt{/t}');
bNoCrypt = 1 - bNoCrypt;
return false;"><span id="crypt-text">{t}Decrypt{/t}</span></a>{/if}</span>
</span>
</p>
</div>

0 comments on commit b6f0e86

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