103 |
- |
1 |
<?php
|
|
|
2 |
echo showSectionHead($spTextPanel['API Connection']);
|
|
|
3 |
?>
|
|
|
4 |
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="list">
|
|
|
5 |
<tr class="listHead">
|
|
|
6 |
<td class="left" width='30%'><?php echo $spTextPanel['API Connection']?></td>
|
|
|
7 |
<td class="right"> </td>
|
|
|
8 |
</tr>
|
|
|
9 |
<tr class="white_row">
|
|
|
10 |
<td class="td_left_col"><?php echo $spTextAPI['API Url']?>:</td>
|
|
|
11 |
<td class="td_right_col"><?php echo $apiInfo['api_url']?></td>
|
|
|
12 |
</tr>
|
|
|
13 |
<tr class="blue_row">
|
|
|
14 |
<td class="td_left_col"><?php echo $spTextSettings['SP_API_KEY']?>:</td>
|
|
|
15 |
<td class="td_right_col"><?php echo SP_DEMO? "*********" : $apiInfo['SP_API_KEY']?></td>
|
|
|
16 |
</tr>
|
|
|
17 |
<tr class="white_row">
|
|
|
18 |
<td class="td_left_col"><?php echo $spTextSettings['API_SECRET']?>:</td>
|
|
|
19 |
<td class="td_right_col">
|
|
|
20 |
<div id="api_secret" style="display: none;"><?php echo SP_DEMO? "*********" : $apiInfo['API_SECRET']?></div>
|
|
|
21 |
<a href="javascript:void(0);" onclick="showDiv('api_secret');hideDiv('secret_link');" id='secret_link'>Show</a>
|
|
|
22 |
</td>
|
|
|
23 |
</tr>
|
|
|
24 |
<tr class="blue_row">
|
|
|
25 |
<td class="tab_left_bot_noborder"></td>
|
|
|
26 |
<td class="tab_right_bot left">
|
|
|
27 |
<a class="bold_link" href="<?php echo SP_HELP_LINK?>api.html" target="_blank"><?php echo $spTextAPI['API Guide']?> >></a>
|
|
|
28 |
</td>
|
|
|
29 |
</tr>
|
|
|
30 |
<tr class="listBot">
|
|
|
31 |
<td class="left" colspan="1"></td>
|
|
|
32 |
<td class="right"></td>
|
|
|
33 |
</tr>
|
|
|
34 |
</table>
|
|
|
35 |
<br><br>
|