--- MPIWGWeb/bibliography.py 2005/11/16 19:09:28 1.7.2.3 +++ MPIWGWeb/bibliography.py 2005/11/23 11:08:41 1.7.2.5 @@ -32,12 +32,18 @@ def formatBiblHelp(self,found,table,id,f ret+=getBib(CRListToSemicolon(foundIB.author))+". ""+getBib(foundIB.title)+". " "+"%s"%getBib(foundIB.secondary_title)+" "+getBib(foundIB.volume)+" (" if not self.ZSQLisEmpty(foundIB.number): ret+=foundIB.number+" " - ret+=foundIB.year+")" + + if foundIB.year: + ret+=getattr(foundIB,'year','') + ret+=")" if foundIB.pages and (not foundIB.pages)=='': ret+=": "+foundIB.pages+"." elif foundIB.reference_type.lower()=='edited book': - ret+=CRListToSemicolon(foundIB.author)+" (Editor/s). "+foundIB.title+"." + if foundIB.author: + ret+=CRListToSemicolon(foundIB.author)+" (Editor/s)." + if foundIB.title and (not foundIB.title)=="": + ret+=""+foundIB.title+"." if foundIB.place_published and (not foundIB.place_published==''): ret+=foundIB.place_published+": " if foundIB.publisher and (not foundIB.publisher==''):