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>
<h3><?php echo localize("authors.title") ?>: </h3>
<p class="popupless">
<h3><?php echo localize("authors.title") ?>: </h3>
<?php
$i = 0;
foreach ($authors as $author) {
@ -60,12 +60,13 @@ $book->getLinkArray ();
<?php
}
?>
</p><br />
</p>
<?php
if (count ($tags) > 0) {
?>
<h3><?php echo localize("tags.title") ?>: </h3>
<p class="popupless">
<h3><?php echo localize("tags.title") ?>: </h3>
<?php
$i = 0;
foreach ($tags as $tag) {
@ -75,32 +76,34 @@ $book->getLinkArray ();
<?php
}
?>
</p><br />
</p>
<?php
}
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>
<?php echo str_format (localize ("content.series.data"), $book->seriesIndex, htmlspecialchars ($serie->name)) ?>
<br />
</p>
<?php
}
if ($book->getPubDate() != "")
{
?>
<p class="popupless">
<h3><?php echo localize("pubdate.title") ?>: </h3>
<?php echo $book->getPubDate() ?>
</p>
<?php
}
if ($book->getLanguages () != "")
{
?>
<br />
<p class="popupless">
<h3><?php echo localize("config.Language.label") ?>: </h3>
<?php echo $book->getLanguages () ?>
</p>
<?php
}
?>

View file

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