diff options
Diffstat (limited to 'application/views/file')
-rw-r--r-- | application/views/file/deleted.php | 9 | ||||
-rw-r--r-- | application/views/file/too_big.php | 3 | ||||
-rw-r--r-- | application/views/file/upload_error.php | 6 |
3 files changed, 3 insertions, 15 deletions
diff --git a/application/views/file/deleted.php b/application/views/file/deleted.php index ef02398d9..8a5818f2d 100644 --- a/application/views/file/deleted.php +++ b/application/views/file/deleted.php @@ -1,12 +1,9 @@ <div class="center"> <?php if (!empty($errors)) { echo "<p>"; - echo implode("<br />\n", $errors); - echo "</p>"; - } ?> - <?php if (!empty($msgs)) { - echo "<p>"; - echo implode("<br />\n", $msgs); + foreach ($errors as $error) { + echo "${error["id"]}: ${error["reason"]}<br>\n"; + } echo "</p>"; } ?> diff --git a/application/views/file/too_big.php b/application/views/file/too_big.php deleted file mode 100644 index 5b970a4c8..000000000 --- a/application/views/file/too_big.php +++ /dev/null @@ -1,3 +0,0 @@ -<div class="center"> - <p>Sorry, the file you uploaded is too big.</p> -</div> diff --git a/application/views/file/upload_error.php b/application/views/file/upload_error.php deleted file mode 100644 index 83968eec2..000000000 --- a/application/views/file/upload_error.php +++ /dev/null @@ -1,6 +0,0 @@ -<div class="center"> - <p> - An error occurred while uploading.<br /> - <?php echo $msg; ?> - </p> -</div> |