version 1.2, 2004/07/06 19:29:31
|
version 1.6, 2005/04/28 10:06:24
|
Line 26 def formatBiblHelp(self,found,table,id):
|
Line 26 def formatBiblHelp(self,found,table,id):
|
if not self.ZSQLisEmpty(foundIB.number): |
if not self.ZSQLisEmpty(foundIB.number): |
ret+=foundIB.number+" " |
ret+=foundIB.number+" " |
ret+=foundIB.year+")" |
ret+=foundIB.year+")" |
if not foundIB.pages=='': |
if foundIB.pages and (not foundIB.pages)=='': |
ret+=": "+foundIB.pages+"." |
ret+=": "+foundIB.pages+"." |
|
|
elif foundIB.reference_type.lower()=='edited book': |
elif foundIB.reference_type.lower()=='edited book': |
ret+=foundIB.author_semi_colon+" (Editor/s). <i>"+foundIB.title+"</i>." |
ret+=foundIB.author_semi_colon+" (Editor/s). <i>"+foundIB.title+"</i>." |
if not foundIB.place_published=='': |
if foundIB.place_published and (not foundIB.place_published==''): |
ret+=foundIB.place_published+": " |
ret+=foundIB.place_published+": " |
if not foundIB.publisher=='': |
if foundIB.publisher and (not foundIB.publisher==''): |
ret+=foundIB.publisher+", " |
ret+=foundIB.publisher+", " |
ret+=foundIB.year+"." |
ret+=foundIB.year+"." |
|
|
elif foundIB.reference_type.lower()=='book section': |
elif foundIB.reference_type.lower()=='book section': |
ret+=foundIB.author_semi_colon+". ""+foundIB.title+"." In <i>"+foundIB.secondary_title+"</i>" |
ret+=foundIB.author_semi_colon+". ""+foundIB.title+"." In <i>"+foundIB.secondary_title+"</i>" |
if not foundIB.secondary_author_semi_colon=='': |
if (foundIB.secondary_author_semi_colon) and (not foundIB.secondary_author_semi_colon==''): |
ret+=", eds.: "+foundIB.secondary_author_semi_colon |
ret+=", eds.: "+foundIB.secondary_author_semi_colon |
ret+=". " |
ret+=". " |
if not foundIB.pages=='': |
if foundIB.pages and (not foundIB.pages)=='': |
ret+=foundIB.pages+". " |
ret+=foundIB.pages+". " |
if foundIB.place_published and (not foundIB.place_published==''): |
if foundIB.place_published and (not foundIB.place_published==''): |
ret+=foundIB.place_published+": " |
ret+=foundIB.place_published+": " |
Line 51 def formatBiblHelp(self,found,table,id):
|
Line 51 def formatBiblHelp(self,found,table,id):
|
ret+=foundIB.year+"." |
ret+=foundIB.year+"." |
elif foundIB.reference_type.lower()=='book': |
elif foundIB.reference_type.lower()=='book': |
ret+=foundIB.author_semi_colon+". <i>"+foundIB.title+"</i>. " |
ret+=foundIB.author_semi_colon+". <i>"+foundIB.title+"</i>. " |
if not foundIB.pages=='': |
if foundIB.pages and (not foundIB.pages==''): |
ret+=foundIB.pages+". " |
ret+=foundIB.pages+". " |
if not foundIB.place_published=='': |
if not foundIB.place_published=='': |
ret+=foundIB.place_published+": " |
ret+=foundIB.place_published+": " |