Exemplo n.º 1
0
    echo "<div id='slimstat-current-filters'>{$filters_html}</div>";
}
?>

	<div class="meta-box-sortables">
		<form style="display:none" method="get" action=""><input type="hidden" id="meta-box-order-nonce" name="meta-box-order-nonce" value="<?php 
echo wp_slimstat_reports::$meta_report_order_nonce;
?>
" /></form><?php 
switch (wp_slimstat_reports::$current_tab) {
    case 1:
        include_once dirname(__FILE__) . '/right-now.php';
        break;
    case 6:
        wp_slimstat_reports::report_header('slim_p6_01', 'tall');
        wp_slimstat_reports::show_world_map('slim_p6_01');
        wp_slimstat_reports::report_footer();
        break;
    case 7:
        if (!has_action('wp_slimstat_custom_report')) {
            ?>

				<div class="postbox medium">
					<h3 class="hndle"><?php 
            _e('Your report here', 'wp-slimstat');
            ?>
</h3>
					<div class="container noscroll">
						<p style="padding:10px;line-height:2em;white-space:normal"><?php 
            _e('Yes, you can! Create and view your personalized analytics for Slimstat. Just write a new plugin that retrieves the desired information from the database and then hook it to the action <code>wp_slimstat_custom_report</code>. For more information, visit my <a href="http://wordpress.org/tags/wp-slimstat?forum_id=10" target="_blank">support forum</a>.', 'wp-slimstat');
            ?>