blog: Only show sources in full view
This commit is contained in:
parent
bc7e8c82cb
commit
c5485ea9f8
4
blog.php
4
blog.php
@ -117,10 +117,12 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
function renderFooter() {
|
function renderFooter() {
|
||||||
|
global $CMS_SINGLE_POST;
|
||||||
global $counters;
|
global $counters;
|
||||||
global $meta;
|
global $meta;
|
||||||
$i = 1;
|
$i = 1;
|
||||||
if ($counters['sources'] > 1) {
|
$renderExt = isset($CMS_SINGLE_POST) && $CMS_SINGLE_POST;
|
||||||
|
if ($renderExt && $counters['sources'] > 1) {
|
||||||
echo '<hr class="sourceSeparator"><p class="sources">Sources:<br>';
|
echo '<hr class="sourceSeparator"><p class="sources">Sources:<br>';
|
||||||
foreach ($meta['sources'] as $v) {
|
foreach ($meta['sources'] as $v) {
|
||||||
echo '<span id="src' . $i . '"> [' . $i++ . ']: <a href="' . $v . '">' . $v . '</a></span><br>';
|
echo '<span id="src' . $i . '"> [' . $i++ . ']: <a href="' . $v . '">' . $v . '</a></span><br>';
|
||||||
|
Loading…
Reference in New Issue
Block a user