<? -> <?php
This commit is contained in:
parent
53d67187ea
commit
1d4e214b3e
2 changed files with 7 additions and 9 deletions
|
@ -100,18 +100,18 @@
|
||||||
<div class="label-column label-text">
|
<div class="label-column label-text">
|
||||||
<h2 class="label-title"><?= $doc["Title"] ?></h2>
|
<h2 class="label-title"><?= $doc["Title"] ?></h2>
|
||||||
<h3 class="label-otherinfo">
|
<h3 class="label-otherinfo">
|
||||||
<? if ($doc["Author"]): ?>
|
<?php if ($doc["Author"]): ?>
|
||||||
By <?= $doc["Author"] ?>
|
By <?= $doc["Author"] ?>
|
||||||
<? endif; ?>
|
<?php endif; ?>
|
||||||
<? if ($doc["Published"]): ?>
|
<?php if ($doc["Published"]): ?>
|
||||||
<div class="label-otherinfo-date">(Published: <?= $doc["Published"] ?>)</div>
|
<div class="label-otherinfo-date">(Published: <?= $doc["Published"] ?>)</div>
|
||||||
<? endif; ?>
|
<?php endif; ?>
|
||||||
</h3>
|
</h3>
|
||||||
<p class="label-description"><?= $doc["Description"] ?></p>
|
<p class="label-description"><?= $doc["Description"] ?></p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="label-footer">
|
<div class="label-footer">
|
||||||
<? if (count($doc["tags"]) > 0): ?>
|
<?php if (count($doc["tags"]) > 0): ?>
|
||||||
<div class="label-footer-tags">Filed under:
|
<div class="label-footer-tags">Filed under:
|
||||||
<?php
|
<?php
|
||||||
for ($i = 0; $i < count($doc["tags"]); $i++) {
|
for ($i = 0; $i < count($doc["tags"]); $i++) {
|
||||||
|
@ -119,7 +119,7 @@
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
<? endif; ?>
|
<?php endif; ?>
|
||||||
<div class="label-footer-url">
|
<div class="label-footer-url">
|
||||||
Available at: https://pile.sdbs.cz/?item=<?= $doc["ID"] ?>
|
Available at: https://pile.sdbs.cz/?item=<?= $doc["ID"] ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -42,6 +42,4 @@ try {
|
||||||
http_response_code(500); ?>
|
http_response_code(500); ?>
|
||||||
<h1>Something went wrong generating the label.</h1>
|
<h1>Something went wrong generating the label.</h1>
|
||||||
<pre><?= $exception->getMessage() ?></pre>
|
<pre><?= $exception->getMessage() ?></pre>
|
||||||
<!-- <pre>--><?// print_r($exception); ?><!--</pre>--><?//
|
<?php } ?>
|
||||||
}
|
|
||||||
?>
|
|
Loading…
Reference in a new issue