Summary Files Commits Branches @commit @diff @stats
path: root / ext / attention.awk
blob: 85b78544c4953109fced9b89c150a8c4243751c2 (plain) (blame)
1
2
3
4
5
6
7
8
9
BEGIN {
	define_attention("question",  "dialog-question.png")
	define_attention("warn",      "dialog-warning.png")
	define_attention("important", "dialog-important.png")
}

function define_attention(name, image) {
	define(name, "<p class=\"special-par " name "-par\"><img src=\"/img/" image "\" class=\"special-par-icon borderless unzoomable\" alt=\"" name "\">")
}