File:  [Repository] / MPIWGWeb / zpt / bibliography.zpt
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Tue Jul 6 16:49:36 2004 UTC (19 years, 10 months ago) by dwinter
Branches: MAIN
CVS tags: r2, HEAD
added functions for staff

<tal:block tal:condition="not:python=here.ZSQLisEmpty(found.id_institutsbibliographie)" 
	   tal:define="foundIB python:ZSQLInlineSearch(_table='institutsbiblio',id=found.id_institutsbibliographie)[0]">

  <tal:block tal:condition="python:foundIB.reference_type.lower()=='journal article'">
    <span tal:replace="foundIB/author_semi_colon"/>&quot;<span tal:replace="foundIB/title"/>&quot;
    <i><span tal:replace="foundIB/secondary_title"/></i>
    <span tal:replace="foundIB/volume"/>&quot;
    (<span tal:condition

ret=""
if not found.id_institutsbibliographie=='':
    foundIB=here.ZSQLInlineSearch(_table='institutsbiblio',id=found.id_institutsbibliographie)[0]
    if foundIB.reference_type.lower()=='journal article':
        ret+=foundIB.author_semi_colon+"&quot;"+foundIB.title+"&quot;"+"<i>%s</i>"%foundIB.secondary_title+foundIB.volume+"&quot;("
        if not foundIB.number=='':
            ret+=foundIB.number+"&nbsp;"
        ret+=foundIB.year+")"
        if not foundIB.pages=='':
            ret+=": "+foundIB.pages+"."
        
        
<!--
[FMP-Field: Author_semi_colon]. &quot;[FMP-Field: Title].&quot <i>[FMP-Field: Secondary Title]</i> [FMP-Field: Volume] ([FMP-If: Number.neq.][FMP-Field: Number] [/FMP-If][FMP-Field: year])[FMP-If: pages.neq.]: [FMP-Field: pages][/FMP-IF]. 
[FMP-elseif: Reference Type.eq.Edited Book]
[FMP-Field: Author_semi_colon] (Editor/s). <i>[FMP-Field: Title]</i>. [FMP-If: Place Published.neq.][FMP-Field: Place Published]: [/FMP-if][FMP-if: publisher.neq.][FMP-Field: Publisher], [/FMP-If][FMP-Field: year].
[FMP-elseif: Reference Type.eq.Book Section]
[FMP-Field: Author_semi_colon]. &quot;[FMP-Field: Title].&quot In <i>[FMP-Field: Secondary Title]</i>[FMP-If: Secondary_Author_semi_colon.neq.], eds.: [FMP-Field: Secondary_Author_semi_colon][/FMP-if]. [FMP-If: Pages.neq.][FMP-Field: Pages].[/FMP-If][FMP-If: Place Published.neq.][FMP-Field: Place Published][/FMP-IF][FMP-If: Publisher.neq.]: [FMP-Field: Publisher],[/FMP-If] [FMP-Field: Year].
[FMP-elseif: Reference Type.eq.Book]
[FMP-Field: Author_semi_colon]. <i>[FMP-Field: Title]</i>. [FMP-Field: Place Published]: [FMP-Field: Publisher], [FMP-Field: year].
[FMP-elseif: Reference Type.eq.Newspaper Article]
[FMP-Field: Author_semi_colon]. &quot;[FMP-Field: Title].&quot <i>[FMP-Field: Secondary Title]</i>, [FMP-Field: Date].[FMP-Field: Year], [FMP-Field: Pages].
[/FMP-if]
[/FMP-InlineAction]




[FMP-else]


[FMP-InlineAction: -db=bibliography, ID="{Field: ID_gen_bib}", -find]
[FMP-IF: Reference Type.eq.Journal Article] 
[FMP-Field: Author_semi_colon]. &quot;[FMP-Field: Title].&quot <i>[FMP-Field: Secondary Title]</i> [FMP-Field: Volume] ([FMP-If: Number.neq.][FMP-Field: Number] [/FMP-If][FMP-Field: year])[FMP-If: Pages.neq.]: [FMP-Field: Pages][/FMP-IF]. 
[FMP-else][FMP-IF: Reference Type.eq.Edited Book]
[FMP-Field: Author_semi_colon] (Editor/s). <i>[FMP-Field: Title]</i>. [FMP-If: Place Published.neq.][FMP-Field: Place Published]: [/FMP-if][FMP-if: publisher.neq.][FMP-Field: Publisher], [/FMP-If][FMP-Field: year].
[FMP-else][FMP-IF: Reference Type.eq.Book Section]
[FMP-Field: Author_semi_colon]. &quot;[FMP-Field: Title].&quot In <i>[FMP-Field: Secondary Title]</i>[FMP-If: Secondary_Author_semi_colon.neq.], eds.: [FMP-Field: Secondary_Author_semi_colon][/FMP-if]. [FMP-If: Pages.neq.][FMP-Field: Pages].[/FMP-If][FMP-If: Place Published.neq.][FMP-Field: Place Published][/FMP-IF][FMP-If: Publisher.neq.]: [FMP-Field: Publisher],[/FMP-If] [FMP-Field: Year].
[FMP-else][FMP-IF: Reference Type.eq.Book]
[FMP-Field: Author_semi_colon]. <i>[FMP-Field: Title]</i>. [FMP-Field: Place Published]: [FMP-Field: Publisher], [FMP-Field: year].
[FMP-else][FMP-IF: Reference Type.eq.Newspaper Article]
[FMP-Field: Author_semi_colon]. &quot;[FMP-Field: Title].&quot <i>[FMP-Field: Secondary Title]</i>, [FMP-Field: Date].[FMP-Field: Year], [FMP-Field: Pages].
[/FMP-if][/FMP-if][/FMP-if][/FMP-if][/FMP-if]
[/FMP-InlineAction]
[/FMP-IF] 
-->

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>