]> Lady’s Gitweb - Shushe/blobdiff - lib/catalog2destinations.xslt
Reformat redirections
[Shushe] / lib / catalog2destinations.xslt
index ae1ea29cfd455621e40b57b9d54b68dac42d6898..411c454f1f1215bbe92b2e4d3d3a86d2c7d15c1e 100644 (file)
@@ -28,23 +28,7 @@ If a copy of the M·P·L was not distributed with this file, You can obtain one
                                        <text>|</text>
                                        <choose>
                                                <when test="$destination">
-                                                       <variable name="dir">
-                                                               <for-each select="exslstr:tokenize($destination, '/')[not(position()=last())]">
-                                                                       <value-of select="."/>
-                                                                       <text>/</text>
-                                                               </for-each>
-                                                       </variable>
-                                                       <variable name="name" select="string(exslstr:tokenize($destination, '/')[last()])"/>
-                                                       <value-of select="$dir"/>
-                                                       <choose>
-                                                               <when test="contains($name, '%s')">
-                                                                       <value-of select="substring-before($name, '%s')"/>
-                                                                       <value-of select="substring-after($name, '%s')"/>
-                                                               </when>
-                                                               <otherwise>
-                                                                       <value-of select="$name"/>
-                                                               </otherwise>
-                                                       </choose>
+                                                       <value-of select="$destination"/>
                                                </when>
                                                <otherwise>
                                                        <value-of select="substring-after(@name, 'about:shushe?source=')"/>
This page took 0.018833 seconds and 4 git commands to generate.