aboutsummaryrefslogtreecommitdiffstats
path: root/english/template/debian/installer.wml
diff options
context:
space:
mode:
authorJosip Rodin <joy>2008-08-08 15:36:26 +0000
committerJosip Rodin <joy>2008-08-08 15:36:26 +0000
commita1d291978ff0e5f535aefb4c1bb12052494082ff (patch)
tree546bb24c16a56eee4ffd562fb2fcaa6be99f0f7b /english/template/debian/installer.wml
parent3779d39a7acfede5ebe1ee36c81e19ef46aa6707 (diff)
if we're using whitespace=delete on these tags, then we can have some decent indentation, right?
CVS version numbers english/template/debian/installer.wml: 1.9 -> 1.10
Diffstat (limited to 'english/template/debian/installer.wml')
-rw-r--r--english/template/debian/installer.wml44
1 files changed, 23 insertions, 21 deletions
diff --git a/english/template/debian/installer.wml b/english/template/debian/installer.wml
index 9117104e810..ae9464f151e 100644
--- a/english/template/debian/installer.wml
+++ b/english/template/debian/installer.wml
@@ -10,30 +10,32 @@
<define-tag strip-arches whitespace=delete>
-<set-var strip="%1" />
-<set-var arch="%0" />
-<subst-in-var strip " " "\n" />
+ <set-var strip="%1" />
+ <set-var arch="%0" />
+ <subst-in-var strip " " "\n" />
-<foreach s strip>
-<subst-in-var arch "\n<get-var s />(\n|$)" "\\1" reflags="s" />
-</foreach>
-<get-var arch />
+ <foreach s strip>
+ <subst-in-var arch "\n<get-var s />(\n|$)" "\\1" reflags="s" />
+ </foreach>
+ <get-var arch />
</define-tag>
<define-tag images-list whitespace=delete>
-<preserve url arch format />
-<set-var %attributes />
-
-<when <not <get-var format />/>>
-<set-var format="[<a href="<get-var url />">@ARCH@</a>]" />
-</when>
-<when <not <get-var arch />/>>
-<set-var arch="<stable-images-arches/>" />
-</when>
-<subst-in-var arch " " "\n" />
-
-<foreach a arch><subst-in-string "<get-var format />" "@ARCH@" "<get-var a />"/> </foreach>
-
-<restore url arch format />
+ <preserve url arch format />
+ <set-var %attributes />
+
+ <when <not <get-var format />/>>
+ <set-var format="[<a href="<get-var url />">@ARCH@</a>]" />
+ </when>
+ <when <not <get-var arch />/>>
+ <set-var arch="<stable-images-arches/>" />
+ </when>
+ <subst-in-var arch " " "\n" />
+
+ <foreach a arch>
+ <subst-in-string "<get-var format />" "@ARCH@" "<get-var a />"/>
+ </foreach>
+
+ <restore url arch format />
</define-tag>

© 2014-2024 Faster IT GmbH | imprint | privacy policy