Use retention time from the config in the footer
This commit is contained in:
parent
116d97d125
commit
e8616ce2e9
|
@ -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");
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue