summaryrefslogtreecommitdiffstats
path: root/application/views
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2011-06-12 21:04:13 +0200
committerFlorian Pritz <bluewind@xinu.at>2011-06-12 21:11:44 +0200
commitfc0e2000733536fedd2da6ca2b219382c2f98518 (patch)
treecbf9ba81a3a254f7d2429564b0c9d1e25617daba /application/views
parentbc8cd4f81d57763d7b3cf73138c4befee3f1139c (diff)
upload_error: print more precise error message
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/views')
-rw-r--r--application/views/file/upload_error.php2
-rw-r--r--application/views/file_plaintext/upload_error.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/application/views/file/upload_error.php b/application/views/file/upload_error.php
index 606110d83..9df86b8a8 100644
--- a/application/views/file/upload_error.php
+++ b/application/views/file/upload_error.php
@@ -1,6 +1,6 @@
<div style="text-align:center">
<p>
An error occurred while uploading.<br />
- Most likely your file is too big or has not been uploaded completely.
+ <?php echo $msg; ?>
</p>
</div>
diff --git a/application/views/file_plaintext/upload_error.php b/application/views/file_plaintext/upload_error.php
index c1482de27..c86c56911 100644
--- a/application/views/file_plaintext/upload_error.php
+++ b/application/views/file_plaintext/upload_error.php
@@ -1,2 +1,2 @@
-An error occurred while uploading. Most likely your file is too big or has not been uploaded completely.
+An error occurred while uploading. <?php echo $msg; ?>