X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/0d0253c93a64d2b5206e902c648e1e2c6bc5d510..99955407d05eb81a81b410cd4b6d182f64e1ff57:/templates/macros.tmpl?ds=sidebyside
diff --git a/templates/macros.tmpl b/templates/macros.tmpl
index 1a6554d..c3b7ed8 100644
--- a/templates/macros.tmpl
+++ b/templates/macros.tmpl
@@ -36,30 +36,27 @@ and then redefines macros as desired.
@# @name is the name of this page, for the
element
@define {stdhead} {name}
{@quiethead
-
@label{@name.title}}
@# Non-displaying text
@define {quiethead} {}
- {}
+ { }
@# Standard menu
@# @current is the name of the current page, e.g. choosealpha, login
@define {stdmenu} {current}
- {
-
+
+
}
@# Menu entry
@@ -71,16 +68,15 @@ and then redefines macros as desired.
@#
@define {menuitem} {current name available}
{@if{@available}
- { }
- {
- @label{menu.@name}}}
+ { @label{menu.@name}}
+ { @label{menu.@name}}}
@# Standard footer text
@@ -115,9 +111,9 @@ and then redefines macros as desired.
{@right{play}
{@part{@track}{short}{artist}}
+ title="@label{@what.artistverbose}">@part{@track}{artist}{short}}
{@part{@track}{short}{artist}}}
+ title="@part{@track}{artist}">@part{@track}{artist}{short}}}
@# Expand to the album for @track
@# @what is the section
@@ -126,15 +122,15 @@ and then redefines macros as desired.
{@right{play}
{@part{@track}{short}{album}}
+ title="@label{@what.albumverbose}">@part{@track}{album}{short}}
{@part{@track}{short}{album}}}
+ title="@part{@track}{album}">@part{@track}{album}{short}}}
@# Expand to the title for @track
@# @what is the section
@# @track is the track name
@define {mtitle} {what track}
- {@part{@track}{short}{title}}
+ {@part{@track}{title}{short}}
@# Expand to the remove/scratch entry for @id
@# @what is the section
@@ -171,3 +167,12 @@ and then redefines macros as desired.
width=@width height=@height
title="@label{playing.@q{@dir}verbose}"
alt="@label{playing.@dir}">}}
+
+Local variables:
+mode:sgml
+sgml-always-quote-attributes:nil
+sgml-indent-step:1
+sgml-indent-data:t
+indent-tabs-mode:nil
+fill-column:79
+End: