Use retention time from the config in the footer

This commit is contained in:
Les De Ridder 2017-01-24 13:25:31 +01:00
parent 116d97d125
commit e8616ce2e9
No known key found for this signature in database
GPG Key ID: 5EC132DFA85DB372
2 changed files with 3 additions and 3 deletions

View File

@ -18,9 +18,9 @@ $tpl->assign("title", $title);
$tpl->assign("site_name", CONFIG_SITE_NAME);
$tpl->draw("header");
$tpl->assign("retention_time", CONFIG_MAX_RETENTION_TEXT);
if(isset($_GET['info'])) {
$tpl->assign("url_filename", CONFIG_ROOT_URL);
$tpl->assign("retention_time", CONFIG_MAX_RETENTION_TEXT);
$tpl->draw("info");
} else {
$tpl->draw("upload");

View File

@ -1,9 +1,9 @@
<footer class="page-footer blue-grey darken-1" style="position: absolute; bottom: 0; width: 100%">
<footer class="page-footer purple lighten-2" style="position: absolute; bottom: 0; width: 100%">
<div class="container">
<div class="row">
<div class="col l6 s12">
<h5 class="white-text">Pomf</h5>
<p class="grey-text text-lighten-4">If you need to store files for a longer time, please use <a style="color: #bbdefb" href="http://pomf.se">Pomf.se</a> or wait until Uguu offers longer time.</p>
<p class="grey-text text-lighten-4">If you need to store files for longer than {$retention_time}, please use <a style="color: #bbdefb" href="http://pomf.se">Pomf.se</a> or wait until Uguu offers longer time.</p>
</div>
<div class="col l4 offset-l2 s12">
<h5 class="white-text">Contact</h5>