/**
 * Dashboard Statistics
 */
function mgm_dashboard_widget_statistics()
{
    ?>

	
	<div id="mgm-dashboard-stats-widget">
		<?php 
    echo mgm_get_loading_icon('Loading', 'block');
    ?>

	</div>
	<script type="text/javascript">
		jQuery(document).ready(function(){
			jQuery('#mgm-dashboard-stats-widget').load(ajaxurl+'?action=mgm_admin_ajax_action&page=mgm/admin&method=wp_dashboard_widget_statistics')	;
		});
	</script>
	<?php 
}
Ejemplo n.º 2
0
		<input type="button" name="export_addon_purchases_btn" class="button" value="<?php 
    _e('Export', 'mgm');
    ?>
" onclick="mgm_addon_purchase_export(true)" />
		<select id="select_export_format">
			<option value="xls"><?php 
    _e('XLS', 'mgm');
    ?>
</option>
			<option value="csv"><?php 
    _e('CSV', 'mgm');
    ?>
</option>						
		</select>
		<?php 
    echo mgm_get_loading_icon();
    ?>

	</div>
	<div class="mgm_page_links_div">
		<?php 
    if ($data['page_links']) {
        ?>
<div class="pager-wrap"><?php 
        echo $data['page_links'];
        ?>
</div><?php 
    }
    ?>

	</div>