Remove info page

This commit is contained in:
Les De Ridder 2017-02-20 02:16:56 +01:00
父節點 47e93a3b2f
當前提交 7a10871dfe
沒有發現已知的金鑰在資料庫的簽署中
GPG 金鑰 ID: 5EC132DFA85DB372
共有 2 個檔案被更改,包括 1 行新增28 行删除

查看文件

@ -11,20 +11,13 @@ raintpl::configure( 'cache_dir', 'rain/cache/' );
$tpl = new RainTPL;
$title = "Temp File Hosting";
if(isset($_GET['info']))
$title = "Info";
$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->draw("info");
} else {
$tpl->draw("upload");
}
$tpl->draw("upload");
$tpl->draw("footer");
?>

查看文件

@ -1,20 +0,0 @@
<div class="container">
<div class="row">
<div class="col s12">
<div class="card-panel blue-grey darken-1">
<div class="card-content white-text">
<span class="card-title">Info</span>
<p>Store (*almost) any filetype with a size up to 100MB for up to 24 hours.
Uguu cares about your privacy and stores NO logs.</p>
<p>*Due to malicious files being uploaded the following filetypes are not allowed: exe, scr, rar, zip, com, vbs, bat, cmd, html, htm, msi, dll.</p>
<span class="card-title">Tools</span>
<p>ShareX: <a href="https://getsharex.com">https://getsharex.com</a></p>
<span class="card-title">API</span>
<p>To upload using curl or make a tool you can post using:<br />
<code>curl -i -F name=test.jpg -F file=@localfile.jpg {$url_filename}/api.php?d=upload</code> (HTML Response)<br />
<code>curl -i -F name=test.jpg -F file=@localfile.jpg {$url_filename}/api.php?d=upload-tool</code> (Plain text Response)</p>
</div>
</div>
</div>
</div>
</div>