| 1 |
<?php |
| 2 |
/** |
| 3 |
* @package Admin |
| 4 |
* @sub-package Header |
| 5 |
*/ |
| 6 |
?> |
| 7 |
<div id="plugin-option-header"> |
| 8 |
<?php |
| 9 |
//Only display social facebook and twitter buttons on dashboard |
| 10 |
if ( isset($_GET['page'] ) && ( $_GET['page'] == 'catch-web-tools' ) ) : ?> |
| 11 |
<div id="plugin-social"> |
| 12 |
<ul> |
| 13 |
<li class="widget-fb"> |
| 14 |
<div data-show-faces="false" data-width="80" data-layout="button_count" data-send="false" data-href="<?php echo esc_url( __('http://facebook.com/catchthemes', 'catchwebtools' ) ); ?>" class="fb-like"></div></li> |
| 15 |
<li class="widget-tw"> |
| 16 |
<a data-dnt="true" data-show-screen-name="true" data-show-count="true" class="twitter-follow-button" href="<?php echo esc_url( __('https://twitter.com/catchthemes', 'catchwebtools' ) ); ?>">Follow @catchthemes</a> |
| 17 |
</li> |
| 18 |
</ul> |
| 19 |
</div><!-- #plugin-social --> |
| 20 |
<?php endif; ?> |
| 21 |
<div id="plugin-option-title"> |
| 22 |
<h2 class="title"><?php _e( 'Catch Web Tools By', 'catchwebtools' ); ?></h2> |
| 23 |
<h2 class="logo"> |
| 24 |
<a href="<?php echo esc_url( __( 'http://catchthemes.com/', 'catchwebtools' ) ); ?>" title="<?php esc_attr_e( 'Catch Themes', 'catchwebtools' ); ?>" target="_blank"> |
| 25 |
<img src="<?php echo CATCHWEBTOOLS_URL.'images/catch-themes.png'; ?>" alt="<?php _e( 'Catch Themes', 'catchwebtools' ); ?>" /> |
| 26 |
</a> |
| 27 |
</h2> |
| 28 |
</div><!-- #plugin-option-title --> |
| 29 |
|
| 30 |
<div id="plugin-support"> |
| 31 |
<ul> |
| 32 |
<li><a class="button" href="<?php echo esc_url( __('http://catchthemes.com/forum/catch-web-tools/', 'catchwebtools' )); ?>" title="<?php esc_attr_e('Support Forum', 'catchwebtools' ); ?>" target="_blank"><?php printf(__('Support Forum', 'catchwebtools' )); ?></a></li> |
| 33 |
<li><a class="button" href="<?php echo esc_url( __('http://catchthemes.com/wp-plugins/catch-web-tools/', 'catchwebtools' )); ?>" title="<?php esc_attr_e('Plugin Details', 'catchwebtools' ); ?>" target="_blank"><?php printf(__('Plugin Details', 'catchwebtools' ) ); ?></a></li> |
| 34 |
<li><a class="button" href="<?php echo esc_url( __('https://www.facebook.com/catchwebtools/', 'catchwebtools' ) ); ?>" title="<?php esc_attr_e( 'Like Catch Themes on Facebook', 'catchwebtools' ); ?>" target="_blank"><?php printf(__('Facebook', 'catchwebtools' )); ?></a></li> |
| 35 |
<li><a class="button" href="<?php echo esc_url( __('https://twitter.com/catchwebtools/', 'catchwebtools' ) ); ?>" title="<?php esc_attr_e( 'Follow Catch Themes on Twitter', 'catchwebtools' ); ?>" target="_blank"><?php printf( __('Twitter', 'catchwebtools' ) ); ?></a></li> |
| 36 |
<li><a class="button" href="<?php echo esc_url( __('http://wordpress.org/support/view/plugin-reviews/catch-web-tools', 'catchwebtools' ) ); ?>" title="<?php esc_attr_e('Rate us 5 Star on WordPress', 'catchwebtools' ); ?>" target="_blank"><?php printf( __('5 Star Rating', 'catchwebtools' ) ); ?></a></li> |
| 37 |
</ul> |
| 38 |
</div><!-- #plugin-support --> |
| 39 |
</div><!-- #plugin-option-header --> |
| 40 |
|
| 41 |
<?php if( isset($_GET['settings-updated']) ) { ?> |
| 42 |
|
| 43 |
<div id="message" class="updated fade"> |
| 44 |
<p><strong><?php _e( 'Plugin Options Saved.', 'catchwebtools' ) ?></strong></p> |
| 45 |
</div> |
| 46 |
|
| 47 |
<?php } ?> |