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 (); $serie = $book->getSerie ();
$book->getLinkArray (); $book->getLinkArray ();
?>
<?php
if (isset ($page) && $page == Base::PAGE_BOOK_DETAIL) {
?>
<div class="bookdetail">
<?php
} else {
?> ?>
<div class="bookpopup"> <div class="bookpopup">
<?php
}
?>
<div class="booke"> <div class="booke">
<div class="cover"> <div class="cover">
<?php <?php
@ -88,6 +98,6 @@ $book->getLinkArray ();
<div class="clearer" /> <div class="clearer" />
<hr /> <hr />
<div><?php echo localize("content.summary") ?></div> <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 /> <hr />
</div> </div>

View file

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