-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patheditEmbeddedTemplate.php
More file actions
30 lines (28 loc) · 1.22 KB
/
editEmbeddedTemplate.php
File metadata and controls
30 lines (28 loc) · 1.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<!DOCTYPE html>
<html>
<head>
<title>Embedded Template Editing</title>
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.4.min.js"></script>
<script type="text/javascript" src="//s3.amazonaws.com/cdn.hellosign.com/public/js/hellosign-embedded.LATEST.min.js"></script>
<link rel="stylesheet" type="text/css" href="newcss.css" />
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
<link rel="icon" type="image/png" href="/favicon-32x32.png"/>
<link rel="icon" type="image/png" href="/favicon-16x16.png"/>
<link rel="manifest" href="/manifest.json" />
<link rel="mask-icon" href="/safari-pinned-tab.svg"/>
</head>
<body>
<?php
echo '<a href="index.php">Home Is Where The Heart Is<br /></a>';
require_once 'vendor/autoload.php';
include('auth.php');
$client = new HelloSign\Client($api_key);
$template_id = $_POST['templateID'];
$response = $client->getEmbeddedEditUrl("$template_id?test_mode=1");
$createdHow = "editEmbeddedTemplate";
include ('db.php');
$sign_url = $response->edit_url;
include ('signerpage.php');
?>
</body>
</html>