Fix bookpopup.

This commit is contained in:
Sébastien Lucas 2013-05-16 13:59:53 +02:00
parent 0ee983268d
commit bce2d0fe5d
2 changed files with 13 additions and 13 deletions

View file

@ -48,9 +48,9 @@ $book->getLinkArray ();
} }
?> ?>
<h1><a rel="bookmark" href="<?php echo $book->getDetailUrl (true) ?>"><img src="<?php echo getUrlWithVersion("images/Link.png") ?>" alt="<?php echo localize ("permalink.alternate") ?>" /></a><?php echo htmlspecialchars ($book->title) ?></h1> <h1><a rel="bookmark" href="<?php echo $book->getDetailUrl (true) ?>"><img src="<?php echo getUrlWithVersion("images/Link.png") ?>" alt="<?php echo localize ("permalink.alternate") ?>" /></a><?php echo htmlspecialchars ($book->title) ?></h1>
<h3><?php echo localize("authors.title") ?>: </h3>
<p class="popupless"> <p class="popupless">
<h3><?php echo localize("authors.title") ?>: </h3>
<?php <?php
$i = 0; $i = 0;
foreach ($authors as $author) { foreach ($authors as $author) {
@ -60,12 +60,13 @@ $book->getLinkArray ();
<?php <?php
} }
?> ?>
</p><br /> </p>
<?php <?php
if (count ($tags) > 0) { if (count ($tags) > 0) {
?> ?>
<h3><?php echo localize("tags.title") ?>: </h3> <p class="popupless">
<p class="popupless"> <h3><?php echo localize("tags.title") ?>: </h3>
<?php <?php
$i = 0; $i = 0;
foreach ($tags as $tag) { foreach ($tags as $tag) {
@ -75,32 +76,34 @@ $book->getLinkArray ();
<?php <?php
} }
?> ?>
</p><br /> </p>
<?php <?php
} }
if (!is_null ($serie)) if (!is_null ($serie))
{ {
?> ?>
<p class="popupless">
<h3><a href="index.php<?php $link = new LinkNavigation ($serie->getUri ()); echo $link->hrefXhtml () ?>"><?php echo localize("series.title") ?></a>: </h3> <h3><a href="index.php<?php $link = new LinkNavigation ($serie->getUri ()); echo $link->hrefXhtml () ?>"><?php echo localize("series.title") ?></a>: </h3>
<?php echo str_format (localize ("content.series.data"), $book->seriesIndex, htmlspecialchars ($serie->name)) ?> <?php echo str_format (localize ("content.series.data"), $book->seriesIndex, htmlspecialchars ($serie->name)) ?>
<br /> </p>
<?php <?php
} }
if ($book->getPubDate() != "") if ($book->getPubDate() != "")
{ {
?> ?>
<p class="popupless">
<h3><?php echo localize("pubdate.title") ?>: </h3> <h3><?php echo localize("pubdate.title") ?>: </h3>
<?php echo $book->getPubDate() ?> <?php echo $book->getPubDate() ?>
</p>
<?php <?php
} }
if ($book->getLanguages () != "") if ($book->getLanguages () != "")
{ {
?> ?>
<br /> <p class="popupless">
<h3><?php echo localize("config.Language.label") ?>: </h3> <h3><?php echo localize("config.Language.label") ?>: </h3>
<?php echo $book->getLanguages () ?> <?php echo $book->getLanguages () ?>
</p>
<?php <?php
} }
?> ?>

View file

@ -171,9 +171,6 @@ max-width:800px;
display:inline; /*Dirty IE Hack*/ zoom: 1; *display: inline; display:inline; /*Dirty IE Hack*/ zoom: 1; *display: inline;
} }
.bookpopup p{
display:inline; /*Dirty IE Hack*/ zoom: 1; *display: inline;
}
.bookpopup h4{ .bookpopup h4{
border-top: 1px solid black; border-top: 1px solid black;