|
|
@ -83,8 +83,14 @@ $result = $oauth->sign(array( |
|
|
|
<title>title</title> |
|
|
|
<title>title</title> |
|
|
|
</head> |
|
|
|
</head> |
|
|
|
<body> |
|
|
|
<body> |
|
|
|
<form action="<?php echo $result['signed_url'] ?>" 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">
|
|
|
|
<input type="submit" value="Press to continue to external tool"/> |
|
|
|
<?php |
|
|
|
|
|
|
|
foreach($result["parameters"] as $key => $values) //Dump parameters |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
echo("<input type='hidden' name='$key' value='$values' />"); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
?> |
|
|
|
|
|
|
|
<input type="submit" value="Press to continue to external tool"/> |
|
|
|
</form> |
|
|
|
</form> |
|
|
|
|
|
|
|
|
|
|
|
<script language="javascript"> |
|
|
|
<script language="javascript"> |
|
|
|