function wp_rp_display_dashboard_widget() { $options = wp_rp_get_options(); $meta = wp_rp_get_meta(); ?> <input type="hidden" id="wp_rp_dashboard_url" value="<?php esc_attr_e(WP_RP_CTR_DASHBOARD_URL); ?> " /> <input type="hidden" id="wp_rp_static_base_url" value="<?php esc_attr_e(WP_RP_STATIC_BASE_URL); ?> " /> <input type="hidden" id="wp_rp_blog_id" value="<?php esc_attr_e($meta['blog_id']); ?> " /> <input type="hidden" id="wp_rp_auth_key" value="<?php esc_attr_e($meta['auth_key']); ?> " /> <?php if ($meta['show_traffic_exchange'] && $options['traffic_exchange_enabled']) { ?> <input type="hidden" id="wp_rp_show_traffic_exchange_statistics" value="1" /> <?php } ?> <div id="wp_rp_wrap" class="wp_rp_dashboard"> <?php wp_rp_print_notifications(); ?> <div id="wp_rp_statistics_wrap"></div> </div> <?php }
<?php _e("Wordpress Related Posts", 'wp_related_posts'); ?> <span> <?php _e("by", 'wp_related_posts'); ?> <a href="http://www.zemanta.com">Zemanta</a> </span> </h2> </div> <!-- NOTIFICATIONS --> <?php wp_rp_print_notifications(); ?> <?php if ($meta['show_turn_on_button']) { ?> <!-- TURN ON STATISTICS PROMO --> <div id="wp_rp_turn_on_statistics"> <div class="turn_on_wrap"> <h4>Turn on Related Posts and start using awesome features.</h4> <div class="button_wrap"> <a data-type="singlebutton" href="#" class="zemanta-button turn-on">Turn on Related Posts</a> </div> <p>By turning on Related Posts you agree to <a href="http://www.zemanta.com/rp-tos" target="_blank">terms of service.</a></p> <p>You'll get Advanced Settings, Themes, Thumbnails and Analytics Dashboard. These features are provided by <a target="_blank" href="http://www.zemanta.com">Zemanta</a> as a service.</p> </div>