libreccm-legacy/ccm-sci-publications/web/themes/freemarker/ccm-sci-publications/publisher.ftl

32 lines
681 B
Plaintext

<#ftl ns_prefixes={
"bebop":"http://www.arsdigita.com/bebop/1.0",
"cms":"http://www.arsdigita.com/cms/1.0",
"nav":"http://ccm.redhat.com/navigation",
"ui": "http://www.arsdigita.com/ui/1.0"}
>
<#--filedoc
Functions for processing publishers.
-->
<#--doc
Gets the name of a publisher.
@param publisher The publisher to use.
@return The name of the publisher.
-->
<#function getName publisher>
<#return publisher["./publisherName"]>
</#function>
<#--doc
Gets the place of the publisher.
@param publisher The publisher to use.
@return The place of the publisher.
-->
<#function getPlace publisher>
<#return publisher["./place"]>
</#function>