home *** CD-ROM | disk | FTP | other *** search
/ Chip 2011 November / CHIP_2011_11.iso / Programy / Narzedzia / Calibre / calibre-0.8.18.msi / file_559 < prev    next >
Text File  |  2010-11-04  |  2KB  |  62 lines

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  5.  
  6. <link rel="schema.DC" href="http://purl.org/dc/elements/1.1/" />
  7. <link rel="schema.DCTERMS" href="http://purl.org/dc/terms/" />
  8.  
  9. <title>${print ', '.join(meta.creators()),}$ - ${print meta.titles().next(); meta.titles().close()}$</title>
  10.  
  11. ${for item in meta:}$
  12.   <meta ${print 'name="DC.'+item['name']+'"',}$ ${print 'content="'+item['value']+'"',}$ />
  13. ${:endfor}$
  14.  
  15. <link href="${cssLink}$" type="text/css" rel="stylesheet" />
  16. </head>
  17. <body>
  18.  
  19. <div class="calibreMeta">
  20.   <div class="calibreMetaTitle">
  21.   ${pos1=1}$
  22.   ${for title in meta.titles():}$
  23.     ${if pos1:}$
  24.     <h1>
  25.       <a href="${tocUrl}$">${print title}$</a>
  26.     </h1>
  27.     ${:else:}$
  28.     <div class="calibreMetaSubtitle">${print title}$</div>
  29.     ${:endif}$
  30.     ${pos1=0}$
  31.   ${:endfor}$
  32.   </div>
  33.   <div class="calibreMetaAuthor">
  34.     ${print ', '.join(meta.creators()),}$
  35.   </div>
  36. </div>
  37.  
  38. <div class="calibreMain">
  39.   <div class="calibreEbookContent">
  40.  
  41.     ${if has_toc:}$
  42.       <div class="calibreTocIndex">
  43.         <h2>${print _('Table of contents'),}$</h2>
  44.         ${toc}$
  45.       </div>
  46.     ${:else:}$
  47.         <h2>${print _('No table of contents present'),}$</h2>
  48.         <div><strong><a href="${nextLink}$">${print _('begin to read'),}$</a></strong></div>
  49.     ${:endif}$
  50.  
  51.   </div>
  52.  
  53.   <div class="calibreEbNav">
  54.     ${if nextLink:}$
  55.       <a href="${nextLink}$" class="calibreANext">${print _('next page'),}$</a>
  56.     ${:endif}$
  57.   </div>
  58. </div>
  59.  
  60. </body>
  61. </html>
  62.