[add] option for define contact link

This commit is contained in:
Knah Tsaeb 2015-06-26 15:23:10 +02:00
parent cd635a0857
commit 1f28497fff
2 changed files with 2 additions and 1 deletions

View file

@ -36,6 +36,7 @@
// the last param must be a url // the last param must be a url
$GLOBALS['config']['ENABLE_MARKDOWN'] = TRUE; $GLOBALS['config']['ENABLE_MARKDOWN'] = TRUE;
$GLOBALS['config']['WALLABAG_URL'] = ''; $GLOBALS['config']['WALLABAG_URL'] = '';
$GLOBALS['config']['contactLink'] = ''; // Define link for contact Example : http://example.com/contact.php or mailo:contact@example.com
// ----------------------------------------------------------------------------------------------- // -----------------------------------------------------------------------------------------------
// You should not touch below (or at your own risks !) // You should not touch below (or at your own risks !)
// Optionnal config file. // Optionnal config file.

View file

@ -1,6 +1,6 @@
<div id="footer"> <div id="footer">
<b><a href="http://sebsauvage.net/wiki/doku.php?id=php:shaarli">Shaarli {$version|htmlspecialchars}</a></b> - The personal, minimalist, super-fast, no-database delicious clone. By <a href="http://sebsauvage.net" target="_blank">sebsauvage.net</a>. Theme by <a href="http://blog.idleman.fr" target="_blank">idleman.fr</a>. </br> <b><a href="http://sebsauvage.net/wiki/doku.php?id=php:shaarli">Shaarli {$version|htmlspecialchars}</a></b> - The personal, minimalist, super-fast, no-database delicious clone. By <a href="http://sebsauvage.net" target="_blank">sebsauvage.net</a>. Theme by <a href="http://blog.idleman.fr" target="_blank">idleman.fr</a>. </br>
Other change as made by <a href="https://forge.leslibres.org/projects/shaarli/repository/show?rev=myShaarli">Knah Tsaeb</a> for contact me <a href="http://knah-tsaeb.org/contact-page/">use this form</a>. Other change as made by <a href="https://forge.leslibres.org/projects/shaarli/repository/show?rev=myShaarli">Knah Tsaeb</a>{if="$GLOBALS['config']['contactLink']"} for contact me <a href="{$GLOBALS['config']['contactLink']}">use this link</a>{/if}.
</div> </div>
{if="$newversion"} {if="$newversion"}
<div id="newversion"><span style="text-decoration:blink;">&#x25CF;</span> Shaarli {$newversion|htmlspecialchars} is <a href="http://sebsauvage.net/wiki/doku.php?id=php:shaarli#download">available</a>.</div> <div id="newversion"><span style="text-decoration:blink;">&#x25CF;</span> Shaarli {$newversion|htmlspecialchars} is <a href="http://sebsauvage.net/wiki/doku.php?id=php:shaarli#download">available</a>.</div>