Diff for /db/prgsrc/drupal/modules/chgk_db/templates/chgk_db_fb2.xml between versions 1.1 and 1.2

version 1.1, 2010/03/21 18:06:04 version 1.2, 2010/04/24 13:36:29
Line 1 Line 1
 <?php echo '<?xml version="1.0" encoding="UTF-8"?>'?>  <?php echo '<?xml version="1.0" encoding="UTF-8"?>'?>
   <!DOCTYPE body [
   <!ENTITY reg "®">
   <!ENTITY mdash "—">
   <!ENTITY nbsp " ">
   <!ENTITY ldquo "“">
   <!ENTITY rdquo "”">
   <!ENTITY pound "£">
   <!ENTITY trade "™">
   <!ENTITY euro "€">
   <!ENTITY yen "¥">
   <!ENTITY copy "©"> ]>
   
 <?php setlocale(LC_ALL, 'ru_RU.UTF8');?>  <?php setlocale(LC_ALL, 'ru_RU.UTF8');?>
 <FictionBook xmlns="http://www.gribuser.ru/xml/fictionbook/2.0"  <FictionBook xmlns="http://www.gribuser.ru/xml/fictionbook/2.0"
   xmlns:l="http://www.w3.org/1999/xlink">    xmlns:l="http://www.w3.org/1999/xlink">
       <description>        <description>
           <title-info>            <title-info>
               <genre>nonfiction</genre>                <genre>nonfiction</genre>
               <author><?php print $tournament->getEditor(); ?></author>                <author>
               <book-title><?php print $tournament->getTitle();?></book-title>                    <first-name/>
                      <last-name>База вопросов Интернет-клуба "Что? Где? Когда?"</last-name>
                 </author>
                 <book-title><?php print $tournament->getFullTitle();?></book-title>
               <document-info>                <document-info>
                   <author><first-name/><last-name>Question Database</last-name></author>                    <author>
                         <first-name/>
                         <last-name>База вопросов Интернет-клуба "Что? Где? Когда?"</last-name>
                      </author>
                   <program-used>php, Drupal</program-used>                    <program-used>php, Drupal</program-used>
                   <date value='<?php print strftime("%Y-%m-%d", time());?>'><?php print strftime("%x", time());?></date>                    <date value='<?php print strftime("%Y-%m-%d", time());?>'><?php print strftime("%x", time());?></date>
               </document-info>                </document-info>
                 <lang>ru</lang>
           </title-info>            </title-info>
       </description>        </description>
       <body>        <body>
           <title><?php print $tournament->getTitle();?></title>            <title><?php print $tournament->getTitle();?></title>
                 <?php if ($tournament->hasEditor()) {?>
                   <p><?php print $tournament->getEditorHtml();?></p>
                 <?php }?>
             
               <?php if ($tournament->hasInfo()) :?><annotation>                <?php if ($tournament->hasInfo()) :?><annotation>
                   <p>                    <p>
                   <?php print $tournament->getInfo()."\n";?>                    <?php print $tournament->getInfo()."\n";?>
                   </p>                    </p>
                </annotation>                 </annotation>
               <?php endif;?>                <?php endif;?>
 <?php foreach ($tournament->getTours() as $t)  :?>                <?php print $tournament->getFb2MainPart();?>
   <?php if(!$tournament->isSingleTour()) :?>  
     <section>  
         <title><p><?php print $t->getTitle(); ?></p></title>  
         <?php echo theme('chgk_db_tour_fb2', $t, FALSE); ?>  
     </section>  
    <?php else:?>  
            <?php echo theme('chgk_db_tour_fb2', $t, FALSE); ?>  
   <?php endif;?>  
   
 <?php endforeach;?>  
       </body>        </body>
       <binary>        <binary>
 <?php print_r($tournament->getImagesBinaries());?>  <?php print_r($tournament->getImagesBinaries());?>
       </binary>        </binary>
 </FictionBook>  
   
   </FictionBook>

Removed from v.1.1  
changed lines
  Added in v.1.2


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