From e8616ce2e949095af81a4142b65a0b089e51a933 Mon Sep 17 00:00:00 2001 From: Les De Ridder Date: Tue, 24 Jan 2017 13:25:31 +0100 Subject: [PATCH] Use retention time from the config in the footer --- index.php | 2 +- rain/template/footer.template.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/index.php b/index.php index dd98a85..3451cfb 100644 --- a/index.php +++ b/index.php @@ -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"); diff --git a/rain/template/footer.template.html b/rain/template/footer.template.html index 04bafdb..1abee78 100644 --- a/rain/template/footer.template.html +++ b/rain/template/footer.template.html @@ -1,9 +1,9 @@ -