summaryrefslogtreecommitdiffabout
authorWojciech Polak <polak@gnu.org>2013-12-28 10:35:41 (GMT)
committer Wojciech Polak <polak@gnu.org>2013-12-28 10:35:41 (GMT)
commita5cc6e30ec0f31e64769c317b368f51d9d4ab808 (patch) (side-by-side diff)
tree2b99eadaf3f4e6931b173c0515cdaa103aed0a9a
parent147aab616e8a2f9995817bc1ec6941800b5b3a6e (diff)
downloadcheetah-a5cc6e30ec0f31e64769c317b368f51d9d4ab808.tar.gz
cheetah-a5cc6e30ec0f31e64769c317b368f51d9d4ab808.tar.bz2
Remove Translate link.
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--js/v2/core.js12
-rw-r--r--xslt/v2/feed.xsl25
2 files changed, 1 insertions, 36 deletions
diff --git a/js/v2/core.js b/js/v2/core.js
index 6699474..cef5769 100644
--- a/js/v2/core.js
+++ b/js/v2/core.js
@@ -631,11 +631,7 @@ function transformJsonFeed (json, feedid, latest, expand) {
document.createTextNode (String.fromCharCode (160) +
String.fromCharCode (160) +
String.fromCharCode (160)),
- linkSave,
- document.createTextNode (String.fromCharCode (160) +
- String.fromCharCode (160) +
- String.fromCharCode (160)),
- DCE ('span', {eid:entryId, className:'linkTranslate'})])]);
+ linkSave])]);
if (i >= expand) body.style.display = 'none';
bWindowContent.appendChild (DCE ('div', {id:'entry_'+entryId, entrylang:'en'},
@@ -1238,12 +1234,6 @@ function prepareEntry (n, feedid) {
else
n.parentNode.removeChild (n);
}
- else if (n.className == 'linkTranslate') {
- if (Modules.Translate)
- Modules.Translate.attach (n);
- else
- n.parentNode.removeChild (n);
- }
else if (n.className == 'emax') {
n.id = 'emax_' + feedid;
n.style.marginLeft = '1em';
diff --git a/xslt/v2/feed.xsl b/xslt/v2/feed.xsl
index f6f67bd..300d1f9 100644
--- a/xslt/v2/feed.xsl
+++ b/xslt/v2/feed.xsl
@@ -394,11 +394,6 @@
</span>
<xsl:text disable-output-escaping="yes">&amp;nbsp;&amp;nbsp;&amp;nbsp;</xsl:text>
</xsl:if>
- <span class="linkTranslate">
- <xsl:attribute name="eid">
- <xsl:value-of select="$eid"/>
- </xsl:attribute>
- </span>
</div>
</div>
</div>
@@ -521,11 +516,6 @@
</span>
<xsl:text disable-output-escaping="yes">&amp;nbsp;&amp;nbsp;&amp;nbsp;</xsl:text>
</xsl:if>
- <span class="linkTranslate">
- <xsl:attribute name="eid">
- <xsl:value-of select="$eid"/>
- </xsl:attribute>
- </span>
</div>
</div>
</div>
@@ -619,11 +609,6 @@
</span>
<xsl:text disable-output-escaping="yes">&amp;nbsp;&amp;nbsp;&amp;nbsp;</xsl:text>
</xsl:if>
- <span class="linkTranslate">
- <xsl:attribute name="eid">
- <xsl:value-of select="$eid"/>
- </xsl:attribute>
- </span>
</div>
</div>
</div>
@@ -789,11 +774,6 @@
</span>
<xsl:text disable-output-escaping="yes">&amp;nbsp;&amp;nbsp;&amp;nbsp;</xsl:text>
</xsl:if>
- <span class="linkTranslate">
- <xsl:attribute name="eid">
- <xsl:value-of select="$eid"/>
- </xsl:attribute>
- </span>
</div>
</div>
</div>
@@ -880,11 +860,6 @@
</span>
<xsl:text disable-output-escaping="yes">&amp;nbsp;&amp;nbsp;&amp;nbsp;</xsl:text>
</xsl:if>
- <span class="linkTranslate">
- <xsl:attribute name="eid">
- <xsl:value-of select="$eid"/>
- </xsl:attribute>
- </span>
</div>
</div>
<div style="clear:both"></div>

Return to:

Send suggestions and report system problems to the System administrator.