added possibility to have a notice displayed on the upload form

This commit is contained in:
Chris
2020-05-31 19:03:59 +02:00
parent 3a8ac33dd1
commit 984246912c
2 changed files with 6 additions and 1 deletions

1
.gitignore vendored
View File

@@ -1 +1,2 @@
test.php
notice.txt

View File

@@ -37,6 +37,10 @@
<div class="row">
<div class="col-md-8">
<a href="/"><img src="/css/imgs/logo/horizontal3.png" /></a>
<?php
if(file_exists(ROOT.DS.'notice.txt'))
echo '<div class="alert alert-warning" role="alert">'.file_get_contents(ROOT.DS.'notice.txt').'</div>';
?>
<div class="well">
<div id="uploadinfo"></div>
<p>