Add a permalink to book (the little linkish thingy)

fix the image zoom in the book detail
Add book title to the book detail
clean the code a little (more to do)
This commit is contained in:
Sébastien Lucas 2013-01-03 21:40:43 +01:00
parent c094e1564c
commit 0ba361e434
6 changed files with 23 additions and 6 deletions

View file

@ -234,7 +234,7 @@
?>
</div>
<div class="bookdetail">
<a class="navigation" href="<?php if ($config['cops_use_fancyapps'] == 0) { echo 'index.php?page=13&amp;id=' . $entry->book->id; } else { echo 'bookdetail.php?id=' . $entry->book->id; } ?>" />
<a class="navigation" href="<?php echo $entry->book->getDetailUrl () ?>" />
<div class="entryTitle st"><?php echo htmlspecialchars ($entry->title) ?> <span class="sp">(<?php echo date ('Y', $entry->book->pubdate) ?>)</span> <span class="sr"><?php echo $entry->book->getRating () ?></span></div>
<div class="entryContent sa"><?php echo localize("authors.title") . " : " . htmlspecialchars ($entry->book->getAuthorsName ()) ?></div>
<div class="entryContent"><?php echo localize("tags.title") . " : " . htmlspecialchars ($entry->book->getTagsName ()) ?></div>