Minor - Format code #2504

pull/2590/head
Angel Fernando Quiroz Campos 6 years ago
parent 23e5f3fd1b
commit ab04423570
  1. 32
      plugin/ims_lti/form.php

@ -79,22 +79,22 @@ $result = $oauth->sign(array(
?>
<!DOCTYPE html>
<html>
<head>
<title>title</title>
</head>
<body>
<form action="<?php echo $tool->getLaunchUrl() ?>" name="ltiLaunchForm" method="post" encType="application/x-www-form-urlencoded">
<?php
foreach($result["parameters"] as $key => $values) //Dump parameters
{
echo("<input type='hidden' name='$key' value='$values' />");
}
<head>
<title>title</title>
</head>
<body>
<form action="<?php echo $tool->getLaunchUrl() ?>" name="ltiLaunchForm" method="post"
encType="application/x-www-form-urlencoded">
<?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>
<input type="submit" value="Press to continue to external tool"/>
</form>
<script language="javascript">
document.ltiLaunchForm.submit();
</script>
</body>
<script language="javascript">
document.ltiLaunchForm.submit();
</script>
</body>
</html>

Loading…
Cancel
Save