Hopefully last fixes to make COPS work on PRS-T1

This commit is contained in:
Sébastien Lucas 2013-02-14 09:19:23 +01:00
parent 39eae0dd5b
commit 924b9b0b78
2 changed files with 18 additions and 2 deletions

View file

@ -16,8 +16,18 @@ $tags = $book->getTags ();
$serie = $book->getSerie ();
$book->getLinkArray ();
?>
<?php
if (isset ($page) && $page == Base::PAGE_BOOK_DETAIL) {
?>
<div class="bookdetail">
<?php
} else {
?>
<div class="bookpopup">
<?php
}
?>
<div class="booke">
<div class="cover">
<?php
@ -88,6 +98,6 @@ $book->getLinkArray ();
<div class="clearer" />
<hr />
<div><?php echo localize("content.summary") ?></div>
<div class="content" style="max-width:700px;"><?php echo $book->getComment (false) ?></div>
<div class="content" <?php if (!isset ($page)) echo 'style="max-width:700px;"' ?>><?php echo $book->getComment (false) ?></div>
<hr />
</div>

View file

@ -253,13 +253,19 @@ float:right;
padding: 3px 2px;
}
.bookdetail
{
color:black;
}
.bookpopup
{
min-width: 400px;
color:black;
}
.entries > .bookpopup
.entries > .bookpopup, .entries > .bookdetail
{
background-color: white;
margin-bottom: 5px;