X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/df9d185f88fa914f619261ea5564003bb93a6041..f7c25489e2c521e0cbcf86d8b75a88bd880c9602:/redakcja/static/xsl/wl2html_client.xsl?ds=inline

diff --git a/redakcja/static/xsl/wl2html_client.xsl b/redakcja/static/xsl/wl2html_client.xsl
index afb3366c..8be6e225 100644
--- a/redakcja/static/xsl/wl2html_client.xsl
+++ b/redakcja/static/xsl/wl2html_client.xsl
@@ -732,6 +732,15 @@
         </span>
     </xsl:template>
 
+    <!--
+        **************************
+           MATERIAŁY EDUKACYJNE
+        **************************
+    -->
+
+    <!--
+        Listy
+    -->
     <xsl:template match="lista">
       <xsl:variable name="listtag">
 	<xsl:choose>
@@ -767,7 +776,9 @@
       </li>
     </xsl:template>
 
-
+    <!--
+        Słowniczek
+    -->
     <xsl:template match="definiendum">
       <dt x-editable="true" x-node="definiendum" class="definiendum">
             <xsl:call-template name="standard-attributes" />
@@ -786,6 +797,55 @@
       </dd>
     </xsl:template>
 
+    <!--
+        Tabela
+    -->
+
+    <xsl:template match="wiersz">
+      <span>
+        <xsl:call-template name="standard-attributes" />
+        <xsl:apply-templates select="child::node()">
+	  <xsl:with-param name="mixed" select="true()" />
+        </xsl:apply-templates>
+      </span>
+    </xsl:template>
+
+
+    <xsl:template match="kol">
+      <span>
+            <xsl:call-template name="standard-attributes" />
+	    <div x-editable="true" x-node="kol-inside" x-pass-thru="true">
+              <xsl:apply-templates select="child::node()">
+		<xsl:with-param name="mixed" select="true()" />
+              </xsl:apply-templates>
+	    </div>
+      </span>
+    </xsl:template>
+
+
+    <!--
+        Obraz
+    -->
+    <xsl:template match="obraz">
+      <img x-node="obraz" src="http://i.imgur.com/{@name}.jpg" class="obraz">
+            <xsl:call-template name="standard-attributes" />
+      </img>
+    </xsl:template>
+
+    <!--
+        Semantyczne pudełka
+    -->
+    <xsl:template match="pomoce|forma|czas|opis|kol-inside">
+      <span x-editable="true">
+            <xsl:call-template name="standard-attributes" />
+            <xsl:apply-templates select="child::node()">
+              <xsl:with-param name="mixed" select="true()" />
+            </xsl:apply-templates>
+      </span>
+    </xsl:template>
+
+
+
     <!--
         ****************
          TEKST WŁAŚCIWY