Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

Two fixes: escaped some &s in QuickCrawlLink_p.html and added correct id to the skype-field in ConfigProfile_p.html (note: ids must be unique in a (x)html-document - in most cases you can simply use the same like for name)

michitux48da3184f06a
diff --git a/htroot/ConfigProfile_p.html b/htroot/ConfigProfile_p.html
index 7c70abc3d..ab0716e51 100644
--- a/htroot/ConfigProfile_p.html
+++ b/htroot/ConfigProfile_p.html
@@ -51,9 +51,9 @@
<dd>
<input type="text" name="msn" id="msn" size="40" maxlength="1000" value="#[msn]#" />
</dd>
- <dt><label for="msn">Skype</label></dt>
+ <dt><label for="skype">Skype</label></dt>
<dd>
- <input type="text" name="skype" id="msn" size="40" maxlength="1000" value="#[skype]#" />
+ <input type="text" name="skype" id="skype" size="40" maxlength="1000" value="#[skype]#" />
</dd>
</dl>
<dl>
@@ -68,4 +68,4 @@
</form>
#%env/templates/footer.template%#
</body>
-</html>
\ No newline at end of file
+</html>
diff --git a/htroot/QuickCrawlLink_p.html b/htroot/QuickCrawlLink_p.html
index a6b5f21dc..9d9a9d1b9 100644
--- a/htroot/QuickCrawlLink_p.html
+++ b/htroot/QuickCrawlLink_p.html
@@ -15,7 +15,7 @@
If you click on it while browsing, the currently viewed website will be inserted into the YaCy crawling queue for indexing.
</p>
<p>
- <a class="BookmarkLink" href="javascript:w = window.open('http://#[host]#:#[port]#/QuickCrawlLink_p.html?indexText=on&indexMedia=on&amp;crawlingQ=on&amp;xdstopw=on&amp;title='+escape(document.title)+'&amp;url='+escape(location.href),'_blank','height=150,width=500,resizable=yes,scrollbar=no,directory=no,menubar=no,location=no');w.focus();">Crawl with YaCy</a>
+ <a class="BookmarkLink" href="javascript:w = window.open('http://#[host]#:#[port]#/QuickCrawlLink_p.html?indexText=on&amp;indexMedia=on&amp;crawlingQ=on&amp;xdstopw=on&amp;title='+escape(document.title)+'&amp;url='+escape(location.href),'_blank','height=150,width=500,resizable=yes,scrollbar=no,directory=no,menubar=no,location=no');w.focus();">Crawl with YaCy</a>
</p>
::<!-- 1 -->