| 1 |
<?php if(!$in_userlike) exit; ?> |
| 2 |
<div class="wrap"> |
| 3 |
<?php screen_icon() ?> |
| 4 |
<h2><?php _e('Userlike', 'userlike') ?></h2> |
| 5 |
<div class="metabox-holder meta-box-sortables ui-sortable pointer"> |
| 6 |
<div class="postbox" style="float:left;width:30em;margin-right:20px;width:500px;"> |
| 7 |
<h3 class="hndle"><span><?php _e('Userlike Settings', 'userlike') ?></span></h3> |
| 8 |
<div class="inside" style="padding: 0 10px"> |
| 9 |
<p style="text-align:center"><a href="https://www.userlike.com/" title="Userlike"><img src="<?php echo $plugin_dir; ?>userlike.png" alt="Userlike" /></a></p> |
| 10 |
<form method="post" action="options.php"> |
| 11 |
<?php settings_fields('userlike'); ?> |
| 12 |
<p> |
| 13 |
<label for="userlike_secret"><?php echo __('Your Userlike Secret', 'userlike') ?></label><br /> |
| 14 |
|
| 15 |
<input type="text" name="userlike_secret" value="<?php echo esc_attr(get_option('userlike_secret')); ?>" style="width:100%" /> |
| 16 |
</p> |
| 17 |
<p class="submit"> |
| 18 |
<input type="submit" class="button-primary" value="<?php _e('Save Changes') ?>" /> |
| 19 |
<input type="button" class="button-secondary" value="Help!" onClick="userlikeStartChat(); return false;" /> |
| 20 |
</p> |
| 21 |
</form> |
| 22 |
|
| 23 |
<p style="color:#999239;background-color:#ffffe0;font-size:smaller;padding:0.4em 0.6em !important;border:1px solid #e6db55;-moz-border-radius:3px;-khtml-border-radius:3px;-webkit-border-radius:3px;border-radius:3px"><?php printf(__('Don’t have an Userlike account? No problem! %1$sRegister for an Userlike account%2$sRegister for an Userlike account!%3$s', 'userlike'), '<a href="https://www.userlike.com/register" title="', '">', '</a>') ?></p> |
| 24 |
</div> |
| 25 |
</div> |
| 26 |
</div> |
| 27 |
</div> |
| 28 |
|
| 29 |
<script async type="text/javascript" src="https://userlike-cdn-widgets.s3-eu-west-1.amazonaws.com/2332e6c6cf805b633de06554f1e75fde75cbdbba669e2cdac6b7ce44e6fbedec.js"></script> |
| 30 |
|