diff xsls/news.xsls @ 706:cd0d1f0130db

Fixed language switcher.
author Ruslan Ermilov <ru@nginx.com>
date Thu, 04 Oct 2012 15:02:32 +0000
parents be54c443235a
children fdf1464e1977
line wrap: on
line diff
--- a/xsls/news.xsls
+++ b/xsls/news.xsls
@@ -15,9 +15,12 @@ X:strip-space elements = "*";
   -->
 X:param XML = "'../xml'";
 X:param YEAR;
+X:param ORIGIN;
+X:param TRANS;
 
 X:var SITE = "'http://nginx.org'";
 X:var LINK = "/news/@link";
+X:var LANG = "/news/@lang";
 
 X:include href = "dirname.xslt";
 X:include href = "link.xslt";