|
|
@ -85,11 +85,11 @@ $result = $oauth->sign(array( |
|
|
|
<body> |
|
|
|
<body> |
|
|
|
<form action="<?php echo $tool->getLaunchUrl() ?>" name="ltiLaunchForm" method="post" encType="application/x-www-form-urlencoded">
|
|
|
|
<form action="<?php echo $tool->getLaunchUrl() ?>" name="ltiLaunchForm" method="post" encType="application/x-www-form-urlencoded">
|
|
|
|
<?php |
|
|
|
<?php |
|
|
|
foreach($result["parameters"] as $key => $values) //Dump parameters |
|
|
|
foreach($result["parameters"] as $key => $values) //Dump parameters |
|
|
|
{ |
|
|
|
{ |
|
|
|
echo("<input type='hidden' name='$key' value='$values' />"); |
|
|
|
echo("<input type='hidden' name='$key' value='$values' />"); |
|
|
|
} |
|
|
|
} |
|
|
|
?> |
|
|
|
?> |
|
|
|
<input type="submit" value="Press to continue to external tool"/> |
|
|
|
<input type="submit" value="Press to continue to external tool"/> |
|
|
|
</form> |
|
|
|
</form> |
|
|
|
|
|
|
|
|
|
|
|