Skip to content

Commit

Permalink
Fixed issue #842: VV-Import: No back to Menu-Button if VV-Import fails
Browse files Browse the repository at this point in the history
git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/phpsurveyor@2810 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
c-schmitz committed Apr 29, 2007
1 parent 144d531 commit e8a2039
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions admin/vvimport.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
<option value='ignore'>".$clang->gT("Ignore the new record.")."</option>
<option value='replace'>".$clang->gT("Replace the existing record.")."</option>
</select></td></tr>
<tr><td colspan='2' align='center' ><input type='submit' value='".$clang->gT("Upload")."'>
<tr><td colspan='2' align='center' ><input type='submit' value='".$clang->gT("Import")."'>
<input type='hidden' name='action' value='vvimport' />
<input type='hidden' name='subaction' value='upload' />
</td></tr>
Expand Down Expand Up @@ -95,8 +95,8 @@
{
$vvoutput .= "<strong><font color='red'>".$clang->gT("Error")."</font></strong><br />\n";
$vvoutput .= $clang->gT("An error occurred uploading your file. This may be caused by incorrect permissions in your admin folder.")."<br /><br />\n";
//$vvoutput .= "<input type='submit' value='".$clang->gT("Main Admin Screen")."' onclick=\"window.open('$scriptname', '_top')\">\n";
$vvoutput .= "</font></td></tr></table>\n";
$vvoutput .= "<input type='submit' value='".$clang->gT("Back to Response Import")."' onclick=\"window.open('$scriptname?action=vvimport&sid=$surveyid', '_top')\">\n";
$vvoutput .= "</font></td></tr></table><br />&nbsp;\n";
return;
}
// IF WE GOT THIS FAR, THEN THE FILE HAS BEEN UPLOADED SUCCESFULLY
Expand Down

0 comments on commit e8a2039

Please sign in to comment.