This repository has been archived on 2026-10-23. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
grisefest-web/wp-content/plugins/google-analytics-for-wordpress/admin/dashboards/views/graph.php
T
2015-05-01 18:05:29 +02:00

28 lines
833 B
PHP

<?php
/**
* @package GoogleAnalytics\Admin
*/
?>
<div id="graph-<?php echo $dashboard; ?>" class="yoast-dashboard yoast-graph" data-label="<?php echo $settings['title']; ?>" data-percent="<?php echo ! empty( $settings['data-percent'] ); ?>">
<h3>
<span class='alignleft'><?php echo $settings['title']; ?></span>
<?php
if ( ! empty( $settings['help'] ) ) {
echo Yoast_GA_Admin_Form::show_help( 'graph-' . $dashboard, $settings['help'] );
}
?>
<span class='alignright period'><?php echo __( 'Last month', 'google-analytics-for-wordpress' ); ?></span>
</h3>
<?php
if ( empty( $settings['hide_y_axis'] ) ) {
echo "<div class='yoast-graph-yaxis'></div>";
} ?>
<div class="yoast-graph-holder"></div>
<?php
if ( empty( $settings['hide_x_axis'] ) ) {
echo "<div class='yoast-graph-xaxis'></div>";
} ?>
</div>