| 1 |
<div class="wrap"> |
| 2 |
<h2><?php echo $this->plugin->displayName; ?> » <?php _e('Settings', $this->plugin->name); ?></h2> |
| 3 |
|
| 4 |
<?php |
| 5 |
if (isset($this->message)) { |
| 6 |
?> |
| 7 |
<div class="updated fade"><p><?php echo $this->message; ?></p></div> |
| 8 |
<?php |
| 9 |
} |
| 10 |
if (isset($this->errorMessage)) { |
| 11 |
?> |
| 12 |
<div class="error fade"><p><?php echo $this->errorMessage; ?></p></div> |
| 13 |
<?php |
| 14 |
} |
| 15 |
?> |
| 16 |
|
| 17 |
<div id="poststuff"> |
| 18 |
<div id="post-body" class="metabox-holder columns-2"> |
| 19 |
<!-- Content --> |
| 20 |
|
| 21 |
<div id="post-body-content"> |
| 22 |
<div id="normal-sortables" class="meta-box-sortables ui-sortable"> |
| 23 |
<div class="postbox"> |
| 24 |
<div class="inside"> |
| 25 |
<form action="options-general.php?page=<?php echo $this->plugin->name; ?>" method="post"> |
| 26 |
<p> |
| 27 |
<label for="metricool_profile_id"><strong><?php _e('Blog or web site identifier', $this->plugin->name); ?></strong></label> |
| 28 |
<input type="text" name="metricool_profile_id" id="metricool_profile_id" class="widefat" style="font-family:Courier New;" value="<?php echo $this->settings['metricool_profile_id']; ?>"/> |
| 29 |
<?php _e('You can find this identifier in <a href="http://app.metricool.com/connections" target="_blank">Connections page</a> of your <a href="http://metricool.com" target="_blank">Metricool</a> account.', $this->plugin->name); ?> |
| 30 |
</p> |
| 31 |
<?php wp_nonce_field($this->plugin->name, $this->plugin->name.'_nonce'); ?> |
| 32 |
<p> |
| 33 |
<input name="submit" type="submit" name="Submit" class="button button-primary" value="<?php _e('Save', $this->plugin->name); ?>" /> |
| 34 |
</p> |
| 35 |
</form> |
| 36 |
</div> |
| 37 |
</div> |
| 38 |
<!-- /postbox --> |
| 39 |
</div> |
| 40 |
<!-- /normal-sortables --> |
| 41 |
</div> |
| 42 |
<div style="text-align: center;"> |
| 43 |
<img style="width: 100%; margin-top: -55px;" src="https://metricool.com/wp-content/uploads/wordpress-plugin-2020.png"/> |
| 44 |
</div> |
| 45 |
<!-- /post-body-content --> |
| 46 |
</div> |
| 47 |
</div> |
| 48 |
</div> |
| 49 |
|