Skip to content

Commit

Permalink
Small fixes
Browse files Browse the repository at this point in the history
git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/phpsurveyor@2827 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
c-schmitz committed Apr 30, 2007
1 parent 7cb6e17 commit aa4fdd9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion admin/vvimport.php
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@
if (!$result)
{
$vvoutput .= "<table align='center' class='outlintable'>
<tr><td>".$clang->gT("Import Failed on Record")." $recordcount ".$clang->gT("because")." [".$connect->ErrorMsg()."]
<tr><td>".$clang->gT("Import Failed on Record")." $recordcount ".$clang->gT("because")." [".utf8_encode($connect->ErrorMsg())."]
</td></tr></table>\n";
}
else
Expand Down
9 changes: 2 additions & 7 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -934,13 +934,8 @@ function submittokens()
}
else
{
//Get the default email_confirm from the default admin lang file
global $currentadminlang, $homedir, $homeurl;
$langdir="$homeurl/lang/$currentadminlang";
if (!is_dir($langdir))
{
$langdir="$homeurl/lang/english"; //default to english if there is no matching language dir
}
//Get the default email_confirm from the default language file
// Todo: This can't be right
$message = $clang->gT("Dear {FIRSTNAME},\n\nThis email is to confirm that you have completed the survey titled {SURVEYNAME} and your response has been saved. Thank you for participating.\n\nIf you have any further questions about this email, please contact {ADMINNAME} on {ADMINEMAIL}.\n\nSincerely,\n\n{ADMINNAME}");
}

Expand Down

0 comments on commit aa4fdd9

Please sign in to comment.