diff --git a/.gitignore b/.gitignore index 355c251..9ecb1db 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,4 @@ includes/config.php +rain/cache/*.php +rain/template/footer.html +public/files diff --git a/LICENSE b/LICENSE index e11fb0b..849e3e0 100644 --- a/LICENSE +++ b/LICENSE @@ -1,5 +1,6 @@ The MIT License (MIT) Copyright (c) 2015 nokonoko +Copyright (c) 2016 PA BANDINELLI, HéliApps SAS Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to diff --git a/api.php b/api.php index eddad7d..a58709e 100644 --- a/api.php +++ b/api.php @@ -1,14 +1,17 @@ assign("title", $title); $tpl->draw("header"); $tpl->draw("error"); - $tpl->draw("footer"); -?> \ No newline at end of file +?> diff --git a/includes/config.template.php b/includes/config.template.php new file mode 100644 index 0000000..5d47d2e --- /dev/null +++ b/includes/config.template.php @@ -0,0 +1,6 @@ +assign("title", $title); $tpl->draw("header"); if(isset($_GET['info'])) { + $tpl->assign("url_filename", CONFIG_ROOT_URL); $tpl->draw("info"); } else { $tpl->draw("upload"); } $tpl->draw("footer"); -?> \ No newline at end of file +?> diff --git a/rain/template/footer.html b/rain/template/footer.html index d0244a7..99d4003 100644 --- a/rain/template/footer.html +++ b/rain/template/footer.html @@ -2,19 +2,14 @@
-
Pomf
-

If you need to store files for a longer time, please use Pomf.se or wait until Uguu offers longer time.

+
Limitations
+

If you need to store files for a longer time, you can deploy your own version of Uguu, the sources are available on Github.

-
Contact
-
- \ No newline at end of file + diff --git a/rain/template/footer.template.html b/rain/template/footer.template.html new file mode 100644 index 0000000..04bafdb --- /dev/null +++ b/rain/template/footer.template.html @@ -0,0 +1,20 @@ + + + + diff --git a/rain/template/header.html b/rain/template/header.html index 3661aa6..520790d 100644 --- a/rain/template/header.html +++ b/rain/template/header.html @@ -4,8 +4,8 @@ - - Uguu.se · {$title} + + Uguu · {$title} @@ -25,15 +25,13 @@