Skip to content

Commit

Permalink
*)fixed Blog-bug with german Umlaute
Browse files Browse the repository at this point in the history
*)corrected wrong html in blog
see http://www.yacy-forum.de/viewtopic.php?t=2330

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@2083 6c8d7289-2bf4-0310-a012-ef5d649a1542
  • Loading branch information
auron_x committed May 11, 2006
1 parent 9938c25 commit 586b256
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions htroot/Blog.html
Expand Up @@ -12,8 +12,8 @@
#{entries}#
<table width="80%" border="1" cellspacing="0">
<tr class="TableHeader"><td align="left">#[date]#</td><td>by #[author]#</td></tr>
<tr class="WikiBackground"><td colspan=2 align="left"><div style="padding:5px;"><h2>#[subject]#</h2><br>#[page]#</div></td><td></td></tr>
<tr class="TableHeader"><td colspan=2 align="left"><a href="Blog.html?page=#[pageid]#">link</a>#(admin)#:: - <a href="Blog.html?page=#[pageid]#&edit=true">edit</a> - <a href="Blog.html?page=#[pageid]#&delete=try">delete</a>#(/admin)#</td><td></td></tr>
<tr class="WikiBackground"><td colspan=2 align="left"><div style="padding:5px;"><h2>#[subject]#</h2><br>#[page]#</div></td></tr>
<tr class="TableHeader"><td colspan=2 align="left"><a href="Blog.html?page=#[pageid]#">link</a>#(admin)#:: - <a href="Blog.html?page=#[pageid]#&edit=true">edit</a> - <a href="Blog.html?page=#[pageid]#&delete=try">delete</a>#(/admin)#</td></tr>
</table>
<br>
#{/entries}#
Expand All @@ -37,7 +37,7 @@ <h2>Preview</h2>
<p>No changes have been submitted so far!</p>
<table width="80%" border="1" cellpadding="0" cellspacing="0">
<tr class="TableHeader"><td align="left">#[date]#</td><td>by #[author]#</td></tr>
<tr class="WikiBackground"><td colspan=2 align="left"><div style="padding:5px;"><h2>#[subject]#</h2><br>#[page]#</div></td><td></td></tr>
<tr class="WikiBackground"><td colspan=2 align="left"><div style="padding:5px;"><h2>#[subject]#</h2><br>#[page]#</div></td></tr>
<tr class="TableHeader"><td></td><td></td></tr>
</table>
<form action="Blog.html" method="POST" enctype="multipart/form-data" accept-charset="UTF-8">
Expand Down
4 changes: 2 additions & 2 deletions source/de/anomic/data/blogBoard.java
Expand Up @@ -139,9 +139,9 @@ record = new HashMap();
if(date == null) date = new GregorianCalendar(GMTTimeZone).getTime();
record.put("date", dateString(date));
if ((subject == null) || (subject.length() == 0)) subject = "";
record.put("subject", kelondroBase64Order.enhancedCoder.encode(subject.getBytes("UTF-8")));
record.put("subject", kelondroBase64Order.enhancedCoder.encode(subject.getBytes()));
if ((author == null) || (author.length() == 0)) author = "anonymous";
record.put("author", kelondroBase64Order.enhancedCoder.encode(author.getBytes("UTF-8")));
record.put("author", kelondroBase64Order.enhancedCoder.encode(author.getBytes()));
if ((ip == null) || (ip.length() == 0)) ip = "";
record.put("ip", ip);
if (page == null)
Expand Down

0 comments on commit 586b256

Please sign in to comment.