# $URL$
# $Id$
import paginate
BASEURLJOURNALCOVERS = 'http://drcwww.uvt.nl/~place/elsevier/'
import rating
def renderSingleItem(index, link, recordId):
record = any.createRecord(recordId)
yield '
"""
yield {'nl':'Resultaten %s - %s van %d (%.5s seconden).', 'en': 'Results %s - %s of %d (%.5s seconds).'}[language] % (lo, hi, total, duration)
yield """
"""
yield paginate.main(offset, total, arguments=arguments, path=path, *args, **kwargs)
yield """
"""
index = offset
for recordId in recordIds:
link = 'page/recordview?' + urlencode({
'recordId': recordId})
index += 1
yield renderSingleItem(index, link, recordId)
yield """
"""
yield paginate.main(offset, total, arguments=arguments, path=path, *args, **kwargs)
yield """
"""