<? 
defined('C5_EXECUTE') or die(_("Access Denied."));

$submittedData='';
foreach($questionAnswerPairs as $questionAnswerPair){
	$submittedData .= $questionAnswerPair['question']."\r\n".$questionAnswerPair['answer']."\r\n"."\r\n";
} 
$formDisplayUrl=BASE_URL.DIR_REL.'/index.php/dashboard/form_results/?qsid='.$questionSetId;

$body = t("
There has been a submission of the form %s on through your Concrete5 website.

%s

To view all of this form's submissions, visit %s 

", $formName, $submittedData, $formDisplayUrl);
?>

<? 
defined('C5_EXECUTE') or die(_("Access Denied."));

$submittedData='';
foreach($questionAnswerPairs as $questionAnswerPair){
	$submittedData .= $questionAnswerPair['question']."\r\n".$questionAnswerPair['answer']."\r\n"."\r\n";
} 
$formDisplayUrl=BASE_URL.DIR_REL.'/index.php/dashboard/reports/forms/?qsid='.$questionSetId;

$body = t("
There has been a submission of the form %s on through your Concrete5 website.

%s

To view all of this form's submissions, visit %s 

", $formName, $submittedData, $formDisplayUrl);
?>

Update form_results link in submission email template
Update form_results link in submission email template

git-svn-id: 15bb71eaf589134a7157e233fb3ab3453d0ff094@476 b0551a0c-1e16-4222-a7d5-975db1aca215
