Browse Source

better error messages for uploading

spaghetti 9 years ago
parent
commit
bf76d32fc8
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      sections/upload/upload_handle.php

+ 2
- 2
sections/upload/upload_handle.php View File

@@ -112,7 +112,7 @@ switch ($Type) {
112 112
       '1','regex','Please set a valid resolution.', array('regex'=>'/^(SD)|([0-9]+(p|i))|([0-9]K)|([0-9]+x[0-9]+)$/'));
113 113
 
114 114
     $Validate->SetFields('audioformat',
115
-      '1','inarray','Please select a valid format.', array('inarray'=>$AudioFormats));
115
+      '1','inarray','Please select a valid audio format.', array('inarray'=>$AudioFormats));
116 116
 
117 117
     $Validate->SetFields('sub',
118 118
       '1','inarray','Please select a valid sub format.', array('inarray'=>$Subbing));
@@ -121,7 +121,7 @@ switch ($Type) {
121 121
 
122 122
   case 'Games':
123 123
     $Validate->SetFields('container',
124
-      '1','inarray','Please select a valid format.', array('inarray'=>array_merge($Containers, $ContainersGames)));
124
+      '1','inarray','Please select a valid container.', array('inarray'=>array_merge($Containers, $ContainersGames)));
125 125
 
126 126
   case 'Manga':
127 127
     if (!isset($_POST['groupid']) || !$_POST['groupid']) {

Loading…
Cancel
Save