function __wps__header() { if (__wps__required()) { include_once(dirname(__FILE__).'/styles.php'); $has_bronze_plug_actived = has_bronze_plug_actived(); // Check activation code due to expire if Bronze member plugin activated // If you use Bronze features without an activation code, and remove this notice you are in breach of the licence if ($has_bronze_plug_actived && !__wps__is_plus()) { echo '<div style="border:1px solid #000; text-align:center; background-color:white; color: black; font-size:12px; padding:6px 12px 6px 12px; margin-left:auto; margin-right:auto; margin-top:10px; margin-bottom:10px; border-radius:5px;">'; echo sprintf(__('You have activated a <a href="'.get_admin_url().'admin.php?page=symposium_debug">Bronze+ %s feature</a>, but you have not entered your <a href="'.get_admin_url().'admin.php?page=symposium_debug">Activation Code</a>.', WPS_TEXT_DOMAIN), WPS_WL).' '; echo sprintf(__('Get one on the <a href="http://www.wpsymposium.com/membership" target="_blank">Membership page</a> on the %s website.', WPS_TEXT_DOMAIN), WPS_WL); echo '</div>'; } if (WPS_DEBUG) { echo '<div style="overflow:auto; border:1px solid #000; background-color:#ccc; color: black; font-size:12px; padding:6px 12px 6px 12px; margin-left:auto; margin-right:auto; margin-top:10px; margin-bottom:10px; border-radius:5px;">'; echo '<input style="float:right" id="symposium_deactivate_debug" type="submit" value="'.__('De-activate', WPS_TEXT_DOMAIN).'" />'; echo '<strong>'.sprintf(__('%s Debug Mode', WPS_TEXT_DOMAIN), WPS_WL).'</strong><br />'; global $wp_rewrite; echo '<a href="javascript:void(0);" rel="rewrite_rules" class="symposium-dialog">Show rewrite rules</a><br />'; echo '<div id="rewrite_rules" title="Rewrite rules" style="display:none;margin-top:10px;background-color:#fff;color:#000;padding:6px;border:1px solid #000; border-radius:3px;">'; echo __wps__displayArray($wp_rewrite->rewrite_rules()); echo '</div>'; echo '</div>'; } } }
function __wps__replace() { if (__wps__required()) { ob_start(); ob_start('__wps__unread'); } }