git-svn-id: https://svn.libreccm.org/ccm/trunk@131 8810af33-2d31-482b-a856-94f89814c4df
parent
229806b402
commit
b1066a9735
|
|
@ -5,9 +5,28 @@
|
|||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
xmlns:cms="http://www.arsdigita.com/cms/1.0"
|
||||
version="1.0">
|
||||
|
||||
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.Person']"
|
||||
mode="cms:CT_graphics"
|
||||
name="cms:CT_graphics_com_arsdigita_cms_contenttypes_Person">
|
||||
<pre>Person</pre>
|
||||
<xsl:if test="./surname and ./givenName">
|
||||
<p>
|
||||
<xsl:value-of select="./titlepre"/> <xsl:value-of select="./givenname"/> <xsl:value-of select="./surname"/> <xsl:value-of select="./titlepost"/>
|
||||
</p>
|
||||
</xsl:if>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.Person']"
|
||||
mode="cms:CT_text"
|
||||
name="cms:CT_text_com_arsdigita_cms_contenttypes_Person">
|
||||
<xsl:if test="./surname and ./givenName">
|
||||
<p>
|
||||
<xsl:value-of select="./titlepre"/> <xsl:value-of select="./givenname"/> <xsl:value-of select="./surname"/> <xsl:value-of select="./titlepost"/>
|
||||
</p>
|
||||
</xsl:if>
|
||||
|
||||
<p>This is a person...</p>
|
||||
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
|
|
@ -21,6 +21,7 @@ version="1.0">
|
|||
<xsl:import href="LegalNotice.xsl"/>
|
||||
<xsl:import href="Minutes.xsl"/>
|
||||
<xsl:import href="Service.xsl"/>
|
||||
<xsl:import href="Person.xsl"/>
|
||||
<xsl:import href="PressRelease.xsl"/>
|
||||
<xsl:import href="NewsItem.xsl"/>
|
||||
<xsl:import href="InlineSite.xsl"/>
|
||||
|
|
@ -57,6 +58,9 @@ version="1.0">
|
|||
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.Service' and not(@useContext = 'itemAdminSummary')]">
|
||||
<xsl:call-template name="CT_Service_graphics"/>
|
||||
</xsl:template>
|
||||
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.Person' and not(@useContext = 'itemAdminSummary')]">
|
||||
<xsl:call-template name="CT_Person_graphics"/>
|
||||
</xsl:template>
|
||||
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.PressRelease' and not(@useContext = 'itemAdminSummary')]">
|
||||
<xsl:call-template name="CT_PressRelease_graphics"/>
|
||||
</xsl:template>
|
||||
|
|
|
|||
Loading…
Reference in New Issue