comparison xsls/body.xsls @ 598:1902d38f0b05

"editor" and "translator" in articles are now output regardless of "author" presence. Modules can now have "translator" as well.
author Ruslan Ermilov <ru@nginx.com>
date Fri, 20 Jul 2012 09:05:10 +0000
parents 05761a8e38f6
children 89a4e934d207
comparison
equal deleted inserted replaced
597:8659ea8ffbe1 598:1902d38f0b05
53 </td></tr></table> 53 </td></tr></table>
54 } 54 }
55 55
56 !!; 56 !!;
57 57
58 X:if "@author" { 58 X:if "@author or @editor or @translator" {
59 <table width="100%"><tr><td align="right"> 59 <table width="100%"><tr><td align="right">
60 60
61 !{document(concat($XML, '/i18n.xml')) 61 X:if "@author" {
62 /i18n/text[@lang = $lang]/item[@id='author']} 62 !{document(concat($XML, '/i18n.xml'))
63 X:text { } !{@author} <br/> 63 /i18n/text[@lang = $lang]/item[@id='author']}
64 X:text { } !{@author} <br/>
65 }
64 66
65 X:if "@editor" { 67 X:if "@editor" {
66 !{document(concat($XML, '/i18n.xml')) 68 !{document(concat($XML, '/i18n.xml'))
67 /i18n/text[@lang = $lang]/item[@id='editor']} 69 /i18n/text[@lang = $lang]/item[@id='editor']}
68 X:text { } !{@editor} <br/> 70 X:text { } !{@editor} <br/>