]>
Commit | Line | Data |
---|---|---|
58dfa1f7 | 1 | <?php |
2f98035a | 2 | require_once "rain/rain.tpl.class.php"; |
58dfa1f7 | 3 | raintpl::configure( 'path_replace', false); |
2f98035a PAB |
4 | raintpl::configure( 'tpl_dir', 'rain/template/'); |
5 | raintpl::configure( 'cache_dir', 'rain/cache/' ); | |
58dfa1f7 GJ |
6 | $tpl = new RainTPL; |
7 | $title = "Temp File Hosting"; | |
8 | $tpl->assign("title", $title); | |
9 | $tpl->draw("header"); | |
c626efb4 GJ |
10 | if(CONFIG_SUBUPLOAD_URL_ENABLED == 'true'){ |
11 | $tpl->assign("url_filename", CONFIG_SUBUPLOAD_URL.'/'.$n); | |
12 | }else{ | |
13 | $tpl->assign("url_filename", CONFIG_ROOT_URL.'/files/'.$n); | |
14 | } | |
8f66c23e | 15 | $tpl->assign("retention_time", CONFIG_MAX_RETENTION_TEXT); |
58dfa1f7 GJ |
16 | $tpl->draw("upload-done"); |
17 | $tpl->draw("footer"); | |
18 | ?> |