blob: bbe353d766c1f1a19b712c15bd42c348df6a5774 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# .*html
BEGIN {
usesMEL()
#
# Flags
#
melFlagTag("gb", "ENG")
melFlagTag("bg", "BGN")
#
# Noteworthy paragraphs
#
melParTag("question", "dialog-question.png")
melParTag("warn", "dialog-warning.png")
melParTag("important", "dialog-important.png")
}
function melFlagTag(name, alt) {
MEL[name, MELINSERT] = "<img src=\"/img/" name ".svg\" class=\"flag unzoomable svg\" alt=\"" name "\" height=18>"
}
function melParTag(name, image) {
MEL[name, MELPARAGRAPH] = "class=\"special-par " name "-par\"><img src=\"/img/" image "\" class=\"special-par-icon borderless unzoomable\" alt=\"" name "\">"
}
|