23 lines
501 B
PHP
23 lines
501 B
PHP
<?php
|
|
$strDefaults =
|
|
"---
|
|
|
|
Copyright ©
|
|
|
|
* [Website Home](/)
|
|
* [Post](/post)
|
|
* [CSS](/edit/css)";
|
|
|
|
$strDefaults = preg_replace("/[ ]{4,}/", "", $strDefaults);
|
|
$strContent = Settings::get("footer", $strDefaults, true);
|
|
?>
|
|
|
|
<?php if (strlen($strContent) > 0): ?>
|
|
<div class="footer-content">
|
|
<?php
|
|
$varParsedown = new Parsedown();
|
|
echo $varParsedown->text($strContent);
|
|
?>
|
|
</div>
|
|
<?php endif; ?>
|