[yelp-xsl] Renaming and generally overhauling how various icons are referenced
- From: Shaun McCance <shaunm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [yelp-xsl] Renaming and generally overhauling how various icons are referenced
- Date: Sat, 6 Mar 2010 02:02:11 +0000 (UTC)
commit f57e895dda68f8e7f7548123afa9f986db2ca684
Author: Shaun McCance <shaunm gnome org>
Date: Fri Mar 5 12:14:46 2010 -0600
Renaming and generally overhauling how various icons are referenced
icons/hicolor/24x24/status/Makefile.am | 13 +-
icons/hicolor/24x24/status/admon-warning.png | Bin 1245 -> 0 bytes
.../status/{admon-bug.png => yelp-note-bug.png} | Bin 1214 -> 1214 bytes
...admon-important.png => yelp-note-important.png} | Bin 1053 -> 1053 bytes
.../status/{admon-tip.png => yelp-note-tip.png} | Bin 1193 -> 1193 bytes
.../{admon-caution.png => yelp-note-warning.png} | Bin 1245 -> 1245 bytes
.../24x24/status/{admon-note.png => yelp-note.png} | Bin 838 -> 838 bytes
icons/hicolor/48x48/status/Makefile.am | 18 +-
icons/hicolor/48x48/status/admon-warning.png | Bin 2959 -> 0 bytes
.../status/{admon-bug.png => yelp-note-bug.png} | Bin 2952 -> 2952 bytes
...admon-important.png => yelp-note-important.png} | Bin 2454 -> 2454 bytes
.../status/{admon-tip.png => yelp-note-tip.png} | Bin 2491 -> 2491 bytes
.../{admon-caution.png => yelp-note-warning.png} | Bin 2959 -> 2959 bytes
.../48x48/status/{admon-note.png => yelp-note.png} | Bin 1733 -> 1733 bytes
icons/hicolor/48x48/status/yelp-quote-00AB.png | Bin 0 -> 740 bytes
icons/hicolor/48x48/status/yelp-quote-00BB.png | Bin 0 -> 786 bytes
icons/hicolor/48x48/status/yelp-quote-201C.png | Bin 0 -> 767 bytes
icons/hicolor/48x48/status/yelp-quote-201D.png | Bin 0 -> 756 bytes
icons/hicolor/48x48/status/yelp-quote-201E.png | Bin 0 -> 756 bytes
icons/hicolor/Makefile.am | 2 +
icons/hicolor/scalable/status/Makefile.am | 13 +-
icons/hicolor/scalable/status/admon-bug-shadow.svg | 297 -----
.../scalable/status/admon-caution-shadow.svg | 197 ----
icons/hicolor/scalable/status/admon-caution.svg | 187 ----
.../scalable/status/admon-important-shadow.svg | 1172 --------------------
.../hicolor/scalable/status/admon-note-shadow.svg | 927 ----------------
icons/hicolor/scalable/status/admon-tip-shadow.svg | 188 ----
.../scalable/status/admon-warning-shadow.svg | 197 ----
.../status/{admon-bug.svg => yelp-note-bug.svg} | 0
...admon-important.svg => yelp-note-important.svg} | 0
.../status/{admon-tip.svg => yelp-note-tip.svg} | 0
.../{admon-warning.svg => yelp-note-warning.svg} | 0
.../status/{admon-note.svg => yelp-note.svg} | 0
icons/hicolor/watermark-blockquote.xcf | Bin 0 -> 8697 bytes
icons/hicolor/watermarks/Makefile.am | 6 -
.../watermarks/watermark-blockquote-00AB.png | Bin 992 -> 0 bytes
.../watermarks/watermark-blockquote-00BB.png | Bin 1027 -> 0 bytes
.../watermarks/watermark-blockquote-201C.png | Bin 1102 -> 0 bytes
.../watermarks/watermark-blockquote-201D.png | Bin 1093 -> 0 bytes
.../watermarks/watermark-blockquote-201E.png | Bin 1106 -> 0 bytes
icons/hicolor/watermarks/watermark-blockquote.xcf | Bin 13622 -> 0 bytes
...ermark-code-python.png => yelp-code-python.png} | Bin 12188 -> 12188 bytes
...ermark-code-python.svg => yelp-code-python.svg} | 0
.../{watermark-code.png => yelp-code.png} | Bin 19526 -> 19526 bytes
xslt/docbook/html/db2html-css.xsl | 2 +-
xslt/gettext/l10n.xml.in | 15 +-
xslt/mallard/html/mal2html-css.xsl | 2 +-
xslt/theme/theme-html.xsl | 32 +-
xslt/theme/theme-icons.xsl | 124 ++-
49 files changed, 117 insertions(+), 3275 deletions(-)
---
diff --git a/icons/hicolor/24x24/status/Makefile.am b/icons/hicolor/24x24/status/Makefile.am
index 5e6f37e..5e6d5ec 100644
--- a/icons/hicolor/24x24/status/Makefile.am
+++ b/icons/hicolor/24x24/status/Makefile.am
@@ -1,10 +1,9 @@
icondir = $(datadir)/yelp-xsl/icons/hicolor/24x24/status
-icon_DATA = \
- admon-bug.png \
- admon-caution.png \
- admon-important.png \
- admon-note.png \
- admon-tip.png \
- admon-warning.png
+icon_DATA = \
+ yelp-note.png \
+ yelp-note-bug.png \
+ yelp-note-important.png \
+ yelp-note-tip.png \
+ yelp-note-warning.png
EXTRA_DIST = $(icon_DATA)
diff --git a/icons/hicolor/24x24/status/admon-bug.png b/icons/hicolor/24x24/status/yelp-note-bug.png
similarity index 100%
rename from icons/hicolor/24x24/status/admon-bug.png
rename to icons/hicolor/24x24/status/yelp-note-bug.png
diff --git a/icons/hicolor/24x24/status/admon-important.png b/icons/hicolor/24x24/status/yelp-note-important.png
similarity index 100%
rename from icons/hicolor/24x24/status/admon-important.png
rename to icons/hicolor/24x24/status/yelp-note-important.png
diff --git a/icons/hicolor/24x24/status/admon-tip.png b/icons/hicolor/24x24/status/yelp-note-tip.png
similarity index 100%
rename from icons/hicolor/24x24/status/admon-tip.png
rename to icons/hicolor/24x24/status/yelp-note-tip.png
diff --git a/icons/hicolor/24x24/status/admon-caution.png b/icons/hicolor/24x24/status/yelp-note-warning.png
similarity index 100%
rename from icons/hicolor/24x24/status/admon-caution.png
rename to icons/hicolor/24x24/status/yelp-note-warning.png
diff --git a/icons/hicolor/24x24/status/admon-note.png b/icons/hicolor/24x24/status/yelp-note.png
similarity index 100%
rename from icons/hicolor/24x24/status/admon-note.png
rename to icons/hicolor/24x24/status/yelp-note.png
diff --git a/icons/hicolor/48x48/status/Makefile.am b/icons/hicolor/48x48/status/Makefile.am
index 66fe358..46ce961 100644
--- a/icons/hicolor/48x48/status/Makefile.am
+++ b/icons/hicolor/48x48/status/Makefile.am
@@ -1,10 +1,14 @@
icondir = $(datadir)/yelp-xsl/icons/hicolor/48x48/status
-icon_DATA = \
- admon-bug.png \
- admon-caution.png \
- admon-important.png \
- admon-note.png \
- admon-tip.png \
- admon-warning.png
+icon_DATA = \
+ yelp-note.png \
+ yelp-note-bug.png \
+ yelp-note-important.png \
+ yelp-note-tip.png \
+ yelp-note-warning.png \
+ yelp-quote-00AB.png \
+ yelp-quote-00BB.png \
+ yelp-quote-201C.png \
+ yelp-quote-201D.png \
+ yelp-quote-201E.png
EXTRA_DIST = $(icon_DATA)
diff --git a/icons/hicolor/48x48/status/admon-bug.png b/icons/hicolor/48x48/status/yelp-note-bug.png
similarity index 100%
rename from icons/hicolor/48x48/status/admon-bug.png
rename to icons/hicolor/48x48/status/yelp-note-bug.png
diff --git a/icons/hicolor/48x48/status/admon-important.png b/icons/hicolor/48x48/status/yelp-note-important.png
similarity index 100%
rename from icons/hicolor/48x48/status/admon-important.png
rename to icons/hicolor/48x48/status/yelp-note-important.png
diff --git a/icons/hicolor/48x48/status/admon-tip.png b/icons/hicolor/48x48/status/yelp-note-tip.png
similarity index 100%
rename from icons/hicolor/48x48/status/admon-tip.png
rename to icons/hicolor/48x48/status/yelp-note-tip.png
diff --git a/icons/hicolor/48x48/status/admon-caution.png b/icons/hicolor/48x48/status/yelp-note-warning.png
similarity index 100%
rename from icons/hicolor/48x48/status/admon-caution.png
rename to icons/hicolor/48x48/status/yelp-note-warning.png
diff --git a/icons/hicolor/48x48/status/admon-note.png b/icons/hicolor/48x48/status/yelp-note.png
similarity index 100%
rename from icons/hicolor/48x48/status/admon-note.png
rename to icons/hicolor/48x48/status/yelp-note.png
diff --git a/icons/hicolor/48x48/status/yelp-quote-00AB.png b/icons/hicolor/48x48/status/yelp-quote-00AB.png
new file mode 100644
index 0000000..f977497
Binary files /dev/null and b/icons/hicolor/48x48/status/yelp-quote-00AB.png differ
diff --git a/icons/hicolor/48x48/status/yelp-quote-00BB.png b/icons/hicolor/48x48/status/yelp-quote-00BB.png
new file mode 100644
index 0000000..1e953f5
Binary files /dev/null and b/icons/hicolor/48x48/status/yelp-quote-00BB.png differ
diff --git a/icons/hicolor/48x48/status/yelp-quote-201C.png b/icons/hicolor/48x48/status/yelp-quote-201C.png
new file mode 100644
index 0000000..c856197
Binary files /dev/null and b/icons/hicolor/48x48/status/yelp-quote-201C.png differ
diff --git a/icons/hicolor/48x48/status/yelp-quote-201D.png b/icons/hicolor/48x48/status/yelp-quote-201D.png
new file mode 100644
index 0000000..1fe922c
Binary files /dev/null and b/icons/hicolor/48x48/status/yelp-quote-201D.png differ
diff --git a/icons/hicolor/48x48/status/yelp-quote-201E.png b/icons/hicolor/48x48/status/yelp-quote-201E.png
new file mode 100644
index 0000000..461ad1f
Binary files /dev/null and b/icons/hicolor/48x48/status/yelp-quote-201E.png differ
diff --git a/icons/hicolor/Makefile.am b/icons/hicolor/Makefile.am
index 0ba2023..1419b08 100644
--- a/icons/hicolor/Makefile.am
+++ b/icons/hicolor/Makefile.am
@@ -1 +1,3 @@
SUBDIRS = 24x24 48x48 scalable watermarks
+
+EXTRA_DIST = watermark-blockquote.xcf
diff --git a/icons/hicolor/scalable/status/Makefile.am b/icons/hicolor/scalable/status/Makefile.am
index a00fdc3..4106295 100644
--- a/icons/hicolor/scalable/status/Makefile.am
+++ b/icons/hicolor/scalable/status/Makefile.am
@@ -1,10 +1,9 @@
icondir = $(datadir)/yelp-xsl/icons/hicolor/scalable/status
-icon_DATA = \
- admon-caution.svg \
- admon-bug.svg \
- admon-important.svg \
- admon-note.svg \
- admon-tip.svg \
- admon-warning.svg
+icon_DATA = \
+ yelp-note.svg \
+ yelp-note-bug.svg \
+ yelp-note-important.svg \
+ yelp-note-tip.svg \
+ yelp-note-warning.svg
EXTRA_DIST = $(icon_DATA)
diff --git a/icons/hicolor/scalable/status/admon-bug.svg b/icons/hicolor/scalable/status/yelp-note-bug.svg
similarity index 100%
rename from icons/hicolor/scalable/status/admon-bug.svg
rename to icons/hicolor/scalable/status/yelp-note-bug.svg
diff --git a/icons/hicolor/scalable/status/admon-important.svg b/icons/hicolor/scalable/status/yelp-note-important.svg
similarity index 100%
rename from icons/hicolor/scalable/status/admon-important.svg
rename to icons/hicolor/scalable/status/yelp-note-important.svg
diff --git a/icons/hicolor/scalable/status/admon-tip.svg b/icons/hicolor/scalable/status/yelp-note-tip.svg
similarity index 100%
rename from icons/hicolor/scalable/status/admon-tip.svg
rename to icons/hicolor/scalable/status/yelp-note-tip.svg
diff --git a/icons/hicolor/scalable/status/admon-warning.svg b/icons/hicolor/scalable/status/yelp-note-warning.svg
similarity index 100%
rename from icons/hicolor/scalable/status/admon-warning.svg
rename to icons/hicolor/scalable/status/yelp-note-warning.svg
diff --git a/icons/hicolor/scalable/status/admon-note.svg b/icons/hicolor/scalable/status/yelp-note.svg
similarity index 100%
rename from icons/hicolor/scalable/status/admon-note.svg
rename to icons/hicolor/scalable/status/yelp-note.svg
diff --git a/icons/hicolor/watermark-blockquote.xcf b/icons/hicolor/watermark-blockquote.xcf
new file mode 100644
index 0000000..f4a3bdc
Binary files /dev/null and b/icons/hicolor/watermark-blockquote.xcf differ
diff --git a/icons/hicolor/watermarks/Makefile.am b/icons/hicolor/watermarks/Makefile.am
index 9959395..e1d56c2 100644
--- a/icons/hicolor/watermarks/Makefile.am
+++ b/icons/hicolor/watermarks/Makefile.am
@@ -1,14 +1,8 @@
watermarkdir = $(datadir)/yelp-xsl/icons/hicolor/watermarks
watermark_DATA = \
- watermark-blockquote-00AB.png \
- watermark-blockquote-00BB.png \
- watermark-blockquote-201C.png \
- watermark-blockquote-201D.png \
- watermark-blockquote-201E.png \
watermark-code.png \
watermark-code-python.png
EXTRA_DIST = \
$(watermark_DATA) \
- watermark-blockquote.xcf \
watermark-code-python.svg
diff --git a/icons/hicolor/watermarks/watermark-code-python.png b/icons/hicolor/watermarks/yelp-code-python.png
similarity index 100%
rename from icons/hicolor/watermarks/watermark-code-python.png
rename to icons/hicolor/watermarks/yelp-code-python.png
diff --git a/icons/hicolor/watermarks/watermark-code-python.svg b/icons/hicolor/watermarks/yelp-code-python.svg
similarity index 100%
rename from icons/hicolor/watermarks/watermark-code-python.svg
rename to icons/hicolor/watermarks/yelp-code-python.svg
diff --git a/icons/hicolor/watermarks/watermark-code.png b/icons/hicolor/watermarks/yelp-code.png
similarity index 100%
rename from icons/hicolor/watermarks/watermark-code.png
rename to icons/hicolor/watermarks/yelp-code.png
diff --git a/xslt/docbook/html/db2html-css.xsl b/xslt/docbook/html/db2html-css.xsl
index 36708e8..e2a370a 100644
--- a/xslt/docbook/html/db2html-css.xsl
+++ b/xslt/docbook/html/db2html-css.xsl
@@ -23,7 +23,7 @@ Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
<!--!!==========================================================================
DocBook to HTML - CSS
-:Requires: db2html-footnote db2html-callout db2html-qanda gettext theme-colors theme-icons theme-html
+:Requires: db2html-footnote db2html-callout db2html-qanda theme-colors theme-html
REMARK: Describe this module
-->
diff --git a/xslt/gettext/l10n.xml.in b/xslt/gettext/l10n.xml.in
index c121c84..dec0007 100644
--- a/xslt/gettext/l10n.xml.in
+++ b/xslt/gettext/l10n.xml.in
@@ -314,20 +314,19 @@
<_msg>Warning</_msg>
</msgset>
<msgset>
- <msgid>yelp-watermark-quote-201C.png</msgid>
+ <msgid>yelp-quote-201C.png</msgid>
<!--
This is an image of the opening quotation character for your language.
The image is used as a watermark on blockquote elements. There are a
number of different quote characters used by various languages, so the
image name is translatable. The name of the icon should be of the form
- "yelp-watermark-quote-XXXX.png", where XXXX is the Unicode code point
- of the opening quote character. For example, some languages use the
- double angle quotation mark. Translators for these languages should
- use "watermark-blockquote-00AB.png".
+ "yelp-quote-XXXX.png", where XXXX is the Unicode code point of the opening
+ quote character. For example, some languages use the double angle quotation
+ mark. Translators for these languages should use "yelp-quote-00AB.png".
The image, however, is not automatically created. Do not translate
- this to a value if there isn't a corresponding file in gnome-doc-utils,
- under the directory data/watermarks.
+ this to a value if there isn't a corresponding file in yelp-icons,
+ under the directory icons/hicolor/48x48/status.
Languages that use guillemets (angle quotation marks) should use either
00AB or 00BB, depending on whether the opening quotation is the left
@@ -337,7 +336,7 @@
with single quotation marks in your language, use the corresponding
double quotation mark for the watermark image.
-->
- <_msg>yelp-watermark-quote-201C.png</_msg>
+ <_msg>yelp-quote-201C.png</_msg>
</msgset>
diff --git a/xslt/mallard/html/mal2html-css.xsl b/xslt/mallard/html/mal2html-css.xsl
index 14d9ca8..dc6ace6 100644
--- a/xslt/mallard/html/mal2html-css.xsl
+++ b/xslt/mallard/html/mal2html-css.xsl
@@ -24,7 +24,7 @@ Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
<!--!!==========================================================================
Mallard to HTML - CSS
-:Requires: theme-html
+:Requires: theme-colors theme-html
REMARK: Describe this module
-->
diff --git a/xslt/theme/theme-html.xsl b/xslt/theme/theme-html.xsl
index bf55d9e..fb45da9 100644
--- a/xslt/theme/theme-html.xsl
+++ b/xslt/theme/theme-html.xsl
@@ -218,7 +218,7 @@ pre.linenumbering {
}
div.code {
background: url('</xsl:text>
- <xsl:value-of select="$theme.icons.watermark.code"/><xsl:text>') no-repeat top </xsl:text>
+ <xsl:value-of select="$theme.icons.code"/><xsl:text>') no-repeat top </xsl:text>
<xsl:value-of select="$right"/><xsl:text>;
border: solid 1px </xsl:text>
<xsl:value-of select="$theme.color.gray_border"/><xsl:text>;
@@ -258,54 +258,54 @@ div.note {
}
div.note > div.inner > div.title {
margin-</xsl:text><xsl:value-of select="$left"/><xsl:text>: </xsl:text>
- <xsl:value-of select="$theme.icons.emblem.size + 6"/><xsl:text>px;
+ <xsl:value-of select="$theme.icons.size.note + 6"/><xsl:text>px;
}
div.note > div.inner > div.contents {
margin: 0; padding: 0;
margin-</xsl:text><xsl:value-of select="$left"/><xsl:text>: </xsl:text>
- <xsl:value-of select="$theme.icons.emblem.size + 6"/><xsl:text>px;
+ <xsl:value-of select="$theme.icons.size.note + 6"/><xsl:text>px;
}
div.note > div.inner {
margin: 0; padding: 0;
background-image: url("</xsl:text>
- <xsl:value-of select="$theme.icons.emblem.note"/><xsl:text>");
+ <xsl:value-of select="$theme.icons.note"/><xsl:text>");
background-position: </xsl:text><xsl:value-of select="$left"/><xsl:text> top;
background-repeat: no-repeat;
- min-height: </xsl:text><xsl:value-of select="$theme.icons.emblem.size"/><xsl:text>px;
+ min-height: </xsl:text><xsl:value-of select="$theme.icons.size.note"/><xsl:text>px;
}
div.note-advanced div.inner { <!-- background-image: url("</xsl:text>
- <xsl:value-of select="$theme.icons.emblem.note.advanced"/><xsl:text>"); --> }
+ <xsl:value-of select="$theme.icons.note.advanced"/><xsl:text>"); --> }
div.note-bug div.inner { background-image: url("</xsl:text>
- <xsl:value-of select="$theme.icons.emblem.note.bug"/><xsl:text>"); }
+ <xsl:value-of select="$theme.icons.note.bug"/><xsl:text>"); }
div.note-important div.inner { background-image: url("</xsl:text>
- <xsl:value-of select="$theme.icons.emblem.note.important"/><xsl:text>"); }
+ <xsl:value-of select="$theme.icons.note.important"/><xsl:text>"); }
div.note-tip div.inner { background-image: url("</xsl:text>
- <xsl:value-of select="$theme.icons.emblem.note.tip"/><xsl:text>"); }
+ <xsl:value-of select="$theme.icons.note.tip"/><xsl:text>"); }
div.note-warning div.inner { background-image: url("</xsl:text>
- <xsl:value-of select="$theme.icons.emblem.note.warning"/><xsl:text>"); }
+ <xsl:value-of select="$theme.icons.note.warning"/><xsl:text>"); }
div.quote {
+ padding: 0;
background-image: url('</xsl:text>
- <xsl:value-of select="$theme.icons.watermark.quote"/><xsl:text>');
+ <xsl:value-of select="$theme.icons.quote"/><xsl:text>');
background-repeat: no-repeat;
background-position: top </xsl:text><xsl:value-of select="$left"/><xsl:text>;
- padding: 0.5em;
min-height: </xsl:text>
- <xsl:value-of select="$theme.icons.watermark.size"/><xsl:text>px;
+ <xsl:value-of select="$theme.icons.size.quote"/><xsl:text>px;
}
div.quote > div.inner > div.title {
margin: 0 0 0.5em 0;
margin-</xsl:text><xsl:value-of select="$left"/><xsl:text>: </xsl:text>
- <xsl:value-of select="$theme.icons.watermark.size"/><xsl:text>px;
+ <xsl:value-of select="$theme.icons.size.quote"/><xsl:text>px;
}
blockquote {
margin: 0; padding: 0;
margin-</xsl:text><xsl:value-of select="$left"/><xsl:text>: </xsl:text>
- <xsl:value-of select="$theme.icons.watermark.size"/><xsl:text>px;
+ <xsl:value-of select="$theme.icons.size.quote"/><xsl:text>px;
}
div.quote > div.inner > div.cite {
margin-top: 0.5em;
margin-</xsl:text><xsl:value-of select="$left"/><xsl:text>: </xsl:text>
- <xsl:value-of select="$theme.icons.watermark.size"/><xsl:text>px;
+ <xsl:value-of select="$theme.icons.size.quote"/><xsl:text>px;
color: </xsl:text><xsl:value-of select="$theme.color.text_light"/><xsl:text>;
}
div.quote > div.inner > div.cite::before {
diff --git a/xslt/theme/theme-icons.xsl b/xslt/theme/theme-icons.xsl
index f3aa2d3..2700690 100644
--- a/xslt/theme/theme-icons.xsl
+++ b/xslt/theme/theme-icons.xsl
@@ -26,12 +26,9 @@ Theme Icons
This module provides a common interface to specify icons for transformations
to presentation-oreinted formats. This allows similar output for different
types of input documents.
-
-Icons are divided into two groups: emblems and watermarks. Emblems are placed
-next to text content, and are generally smaller and more colorful. Watermarks
-may be used as a background, and are generally larger and without color.
-->
+
<!--@@==========================================================================
theme.icons.base_url
The default URL prefix for all icons.
@@ -46,112 +43,125 @@ has no effect. This parameter should end with a trailing slash.
<!--@@==========================================================================
-theme.icons.emblem.size
-The size of the emblem icons.
-:Revision:version="1.0" date="2010-01-26"
-
-This parameter specifies the size of the emblem icons. Use an integer giving
-the width of the image files in pixels. Icons are assumed to be square, and all
-emblem icons are assumed to have the same size.
--->
-<xsl:param name="theme.icons.emblem.size" select="24"/>
-
-
-<!--@@==========================================================================
-theme.icons.watermark.size
-The size of the emblem icons.
-:Revision:version="1.0" date="2010-01-26"
+theme.icons.size.note
+The size of the note icons.
+:Revision:version="1.0" date="2010-03-05"
-This parameter specifies the size of the watermark icons. Use an integer giving
-the width of the image files in pixels. Icons are assumed to be square, and all
-watermark icons are assumed to have the same size.
+This parameter specifies the size of the note icons. Use an integer giving
+the width of the image files in pixels. Icons are assumed to be square, and
+all note icons are assumed to have the same size.
-->
-<xsl:param name="theme.icons.watermark.size" select="72"/>
+<xsl:param name="theme.icons.size.note" select="24"/>
<!--@@==========================================================================
-theme.icons.emblem.note
-The URL for the note emblem.
-:Revision:version="1.0" date="2010-01-26"
+theme.icons.note
+The URL for the note icon.
+:Revision:version="1.0" date="2010-05-03"
-This parameter specifies the URL for emblem icon used for regular notes.
+This parameter specifies the URL for the icon used for regular notes.
-->
-<xsl:param name="theme.icons.emblem.note"
+<xsl:param name="theme.icons.note"
select="concat($theme.icons.base_url, 'yelp-note.png')"/>
<!--@@==========================================================================
-theme.icons.emblem.note.bug
-The URL for the bug note emblem.
-:Revision:version="1.0" date="2010-01-26"
+theme.icons.note.bug
+The URL for the bug note icon.
+:Revision:version="1.0" date="2010-05-03"
-This parameter specifies the URL for emblem icon used for bug notes.
+This parameter specifies the URL for the icon used for bug notes.
-->
-<xsl:param name="theme.icons.emblem.note.bug"
+<xsl:param name="theme.icons.note.bug"
select="concat($theme.icons.base_url, 'yelp-note-bug.png')"/>
<!--@@==========================================================================
-theme.icons.emblem.note.important
-The URL for the important note emblem.
-:Revision:version="1.0" date="2010-01-26"
+theme.icons.note.important
+The URL for the important note icon.
+:Revision:version="1.0" date="2010-05-03"
-This parameter specifies the URL for emblem icon used for important notes.
+This parameter specifies the URL for the icon used for important notes.
-->
-<xsl:param name="theme.icons.emblem.note.important"
+<xsl:param name="theme.icons.note.important"
select="concat($theme.icons.base_url, 'yelp-note-important.png')"/>
<!--@@==========================================================================
-theme.icons.emblem.note.tip
-The URL for the tip note emblem.
-:Revision:version="1.0" date="2010-01-26"
+theme.icons.note.tip
+The URL for the tip note icon.
+:Revision:version="1.0" date="2010-05-03"
-This parameter specifies the URL for emblem icon used for tip notes.
+This parameter specifies the URL for the icon used for tip notes.
-->
-<xsl:param name="theme.icons.emblem.note.tip"
+<xsl:param name="theme.icons.note.tip"
select="concat($theme.icons.base_url, 'yelp-note-tip.png')"/>
<!--@@==========================================================================
-theme.icons.emblem.note.warning
-The URL for the warning note emblem.
-:Revision:version="1.0" date="2010-01-26"
+theme.icons.note.warning
+The URL for the warning note icon.
+:Revision:version="1.0" date="2010-05-03"
-This parameter specifies the URL for emblem icon used for warning notes.
+This parameter specifies the URL for the icon used for warning notes.
-->
-<xsl:param name="theme.icons.emblem.note.warning"
+<xsl:param name="theme.icons.note.warning"
select="concat($theme.icons.base_url, 'yelp-note-warning.png')"/>
<!--@@==========================================================================
-theme.icons.watermark.quote
+theme.icons.size.quote
+The size of the quote icons.
+:Revision:version="1.0" date="2010-05-03"
+
+This parameter specifies the size of the quote icons. Use an integer giving
+the width of the image files in pixels. Icons are assumed to be square, and
+all quote icons are assumed to have the same size.
+-->
+<xsl:param name="theme.icons.size.quote" select="48"/>
+
+
+<!--@@==========================================================================
+theme.icons.quote
The URL for the block quote watermark.
-:Revision:version="1.0" date="2010-01-26"
+:Revision:version="1.0" date="2010-05-03"
This parameter specifies the URL for the watermark for block quotes. The
default name of the image file is translatable. If you set this parameter,
you should ensure that your graphic uses a suitable quote character for the
language your document is written in.
-->
-<xsl:param name="theme.icons.watermark.quote">
+<xsl:param name="theme.icons.quote">
<xsl:value-of select="$theme.icons.base_url"/>
<xsl:call-template name="l10n.gettext">
- <xsl:with-param name="msgid" select="'yelp-watermark-quote-201C.png'"/>
+ <xsl:with-param name="msgid" select="'yelp-quote-201C.png'"/>
</xsl:call-template>
</xsl:param>
<!--@@==========================================================================
-theme.icons.watermark.code
+theme.icons.size.code
+The size of the code icons.
+:Revision:version="1.0" date="2010-05-03"
+
+This parameter specifies the size of the code icons. Use an integer giving
+the width of the image files in pixels. Icons are assumed to be square, and
+all code icons are assumed to have the same size.
+-->
+<xsl:param name="theme.icons.size.quote" select="128"/>
+
+
+<!--@@==========================================================================
+theme.icons.code
The URL for the block code watermark.
-:Revision:version="1.0" date="2010-01-26"
+:Revision:version="1.0" date="2010-05-03"
-This parameter specifies the URL for the watermark for block code.
+This parameter specifies the URL for the watermark for code blocks.
-->
-<xsl:param name="theme.icons.watermark.code">
+<xsl:param name="theme.icons.code">
<xsl:value-of select="$theme.icons.base_url"/>
- <xsl:text>yelp-watermark-code.png</xsl:text>
+ <xsl:text>yelp-code.png</xsl:text>
</xsl:param>
+
</xsl:stylesheet>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]