<?xml version="1.0" encoding="UTF-8"?>
<post>
  <body>I'v translated the interface (piece of cookie).

The translated code is:
&lt;code&gt;
var formHTML =	'&lt;table class=&quot;tbg&quot; cellpadding=&quot;2&quot; cellspacing=&quot;1&quot;&gt;' +
			'&lt;tbody&gt;' +
			'&lt;tr class=&quot;rbg&quot;&gt;&lt;td colspan=&quot;2&quot;&gt;Search options&lt;/td&gt;&lt;/tr&gt;' +
			'&lt;tr&gt;' +
			'&lt;td class=&quot;s7&quot; width=&quot;20%&quot;&gt;Show:&lt;/td&gt;' +
			'&lt;td class=&quot;s7&quot;&gt;' +
			'&lt;input name=&quot;rtype&quot; value=&quot;0&quot; checked=&quot;checked&quot; type=&quot;radio&quot;&gt; All&lt;br&gt;' +
			'&lt;input name=&quot;rtype&quot; value=&quot;1&quot; type=&quot;radio&quot;&gt; Attacks&lt;br&gt;' +
			'&lt;input name=&quot;rtype&quot; value=&quot;2&quot; type=&quot;radio&quot;&gt; Defends&lt;br&gt;' +
			'&lt;/td&gt;' +
			'&lt;/tr&gt;&lt;tr&gt;' +
			'&lt;td class=&quot;s7&quot; width=&quot;25%&quot;&gt;Player:&lt;/td&gt;' +
			'&lt;td class=&quot;s7&quot;&gt;' +
			'&lt;select name=&quot;aplayer&quot; size=&quot;&quot; class=&quot;fm&quot;&gt;' +
			'&lt;option value=&quot;0&quot; selected=&quot;selected&quot;&gt;All&lt;/option&gt;';

	for each (user in users.sort()) {
		if (!user) continue;
		formHTML += '&lt;option value=&quot;' + user + '&quot;&gt;' + user + '&lt;/option&gt;';
	}

	formHTML +=	'&lt;/select&gt;&lt;br&gt;Search for player:&lt;br&gt;' +
			'&lt;input name=&quot;gplayer&quot; value=&quot;&quot; maxlength=&quot;30&quot; class=&quot;fm&quot; style=&quot;width: 120px;&quot; type=&quot;text&quot;&gt;' +
			'&lt;/td&gt;' +
			'&lt;/tr&gt;&lt;tr&gt;' +
			'&lt;td class=&quot;s7&quot; width=&quot;20%&quot;&gt;Search for Ally:&lt;/td&gt;' +
			'&lt;td class=&quot;s7&quot;&gt;';
			
	for each (ally in diplomacy.war) {
		if (!ally) continue;
		formHTML += '&lt;input name=&quot;wally&quot; value=&quot;' + ally + '&quot; type=&quot;checkbox&quot;&gt; ' + ally + '&lt;br&gt;';
	}
&lt;/code&gt;</body>
  <body-html>I'v translated the interface (piece of cookie).

The translated code is:
&lt;code&gt;
var formHTML =	'&lt;table&gt;' +
			'&lt;/table&gt;&amp;lt;tbody&gt;' +
			'&lt;tr&gt;&lt;td&gt;Search options&lt;/td&gt;&lt;/tr&gt;' +
			'&lt;tr&gt;' +
			'&lt;td width=&quot;20%&quot;&gt;Show:&lt;/td&gt;' +
			'&lt;td&gt;' +
			'&amp;lt;input /&gt; All&lt;br /&gt;' +
			'&amp;lt;input /&gt; Attacks&lt;br /&gt;' +
			'&amp;lt;input /&gt; Defends&lt;br /&gt;' +
			'&lt;/td&gt;' +
			'&lt;/tr&gt;&lt;tr&gt;' +
			'&lt;td width=&quot;25%&quot;&gt;Player:&lt;/td&gt;' +
			'&lt;td&gt;' +
			'&amp;lt;select&gt;' +
			'&amp;lt;option&gt;All&amp;lt;/option&gt;';

	for each (user in users.sort()) {
		if (!user) continue;
		formHTML += '&amp;lt;option&gt;' + user + '&amp;lt;/option&gt;';
	}

	formHTML +=	'&amp;lt;/select&gt;&lt;br /&gt;Search for player:&lt;br /&gt;' +
			'&amp;lt;input /&gt;' +
			'&lt;/td&gt;' +
			'&lt;/tr&gt;&amp;lt;/tbody&gt;&lt;tr&gt;' +
			'&lt;td width=&quot;20%&quot;&gt;Search for Ally:&lt;/td&gt;' +
			'&lt;/tr&gt;&lt;td&gt;';
			
	for each (ally in diplomacy.war) {
		if (!ally) continue;
		formHTML += '&amp;lt;input /&gt; ' + ally + '&lt;br /&gt;';
	}
&lt;/td&gt;&lt;/code&gt;</body-html>
  <created-at type="datetime">2008-07-21T13:56:06Z</created-at>
  <forumable-id type="integer">30200</forumable-id>
  <forumable-type>Script</forumable-type>
  <id type="integer">21592</id>
  <topic-id type="integer">10271</topic-id>
  <updated-at type="datetime">2008-11-16T23:27:23Z</updated-at>
  <user-agent nil="true"></user-agent>
  <user-id type="integer">60217</user-id>
</post>
