forked from swiftype/swiftype-wordpress
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathswiftype_authorize.php
More file actions
28 lines (28 loc) · 1.25 KB
/
swiftype_authorize.php
File metadata and controls
28 lines (28 loc) · 1.25 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
<div class="wrap">
<h2 class="swiftype-header">Swiftype Search Plugin</h2><br/>
<form name="swiftype_settings" method="post" action="<?php echo str_replace( '%7E', '~', $_SERVER['REQUEST_URI']); ?>">
<input type="hidden" name="action" value="set_api_key">
<table class="widefat" style="width: 650px;">
<thead>
<tr>
<th class="row-title">Authorize the Swiftype Search Plugin</th>
</tr>
</thead>
<tbody>
<tr>
<td>
Thanks for installing the Swiftype Search Plugin for Wordpress. Please enter your Swiftype API key in the field below and click 'Authorize' to get started.
If you don't have an API Key, you can get one by signing up for a free account at <a href="http://swiftype.com/users/sign_up" target="_new">swiftype.com</a>.
You will find your API Key at the top of the Swiftype <b>Account Settings</b> screen.<br/><br/>
<ul>
<li>
<label>Swiftype API Key:</label>
<input type="text" name="api_key" class="regular-text" />
<input type="submit" name="Submit" value="Authorize" class="button-primary" />
</li>
</td>
</tr>
</tbody>
</table>
</form>
</div>