@@ -8,19 +8,19 @@ |
||
8 | 8 | <div class="ee-list-table-legend-container"> |
9 | 9 | <h4><?php _e('Legend', 'event_espresso'); ?></h4> |
10 | 10 | <dl class="alignleft ee-list-table-legend"> |
11 | - <?php foreach ( $items as $item => $details ) : ?> |
|
12 | - <?php if ( $per_col < $count ) : ?> |
|
11 | + <?php foreach ($items as $item => $details) : ?> |
|
12 | + <?php if ($per_col < $count) : ?> |
|
13 | 13 | </dl> |
14 | 14 | <dl class="alignleft ee-list-table-legend"> |
15 | 15 | <?php $count = 1; endif; ?> |
16 | 16 | <dt id="ee-legend-item-<?php echo $item; ?>"> |
17 | - <?php $class = ! empty( $details['class'] ) ? $details['class'] : 'ee-legend-img-container'; ?> |
|
18 | - <?php if ( strpos( $details[ 'class' ], '<span' ) !== false ) { |
|
17 | + <?php $class = ! empty($details['class']) ? $details['class'] : 'ee-legend-img-container'; ?> |
|
18 | + <?php if (strpos($details['class'], '<span') !== false) { |
|
19 | 19 | echo $class; |
20 | 20 | } else { ?> |
21 | 21 | <span class="<?php echo $class; ?>"> |
22 | - <?php if ( ! empty( $details[ 'icon' ] ) ) : ?> |
|
23 | - <img src="<?php echo $details[ 'icon' ]; ?>" class="ee-legend-icon" alt="<?php echo esc_attr( $details[ 'desc' ] ); ?>"/> |
|
22 | + <?php if ( ! empty($details['icon'])) : ?> |
|
23 | + <img src="<?php echo $details['icon']; ?>" class="ee-legend-icon" alt="<?php echo esc_attr($details['desc']); ?>"/> |
|
24 | 24 | <?php endif; ?> |
25 | 25 | </span> |
26 | 26 | <?php } ?> |
@@ -10,13 +10,13 @@ |
||
10 | 10 | |
11 | 11 | <?php |
12 | 12 | //let's loop through the columns |
13 | - for ( $i = 1; $i <= $num_columns; $i++ ) { |
|
14 | - $metaref = ( $i === 1 ) ? 'normal' : 'side'; |
|
15 | - $metaref = ( $i > 2 ) ? 'column'.$i : $metaref; |
|
13 | + for ($i = 1; $i <= $num_columns; $i++) { |
|
14 | + $metaref = ($i === 1) ? 'normal' : 'side'; |
|
15 | + $metaref = ($i > 2) ? 'column'.$i : $metaref; |
|
16 | 16 | ?> |
17 | 17 | |
18 | 18 | <div id='postbox-container-<?php echo $i; ?>' class='postbox-container'> |
19 | - <?php do_meta_boxes( $current_page, $metaref, NULL ); ?> |
|
19 | + <?php do_meta_boxes($current_page, $metaref, NULL); ?> |
|
20 | 20 | </div> |
21 | 21 | <?php }// end column loop ?> |
22 | 22 | </div> <!-- post-body --> |
@@ -1,4 +1,4 @@ discard block |
||
1 | -<?php if ( $publish_box_extra_content ) : ?> |
|
1 | +<?php if ($publish_box_extra_content) : ?> |
|
2 | 2 | <div id="minor-publishing"> |
3 | 3 | <?php echo $publish_box_extra_content; ?> |
4 | 4 | </div> |
@@ -13,7 +13,7 @@ discard block |
||
13 | 13 | |
14 | 14 | <div id="espresso_major_buttons_wrapper"> |
15 | 15 | |
16 | - <?php if ( $publish_delete_link ) : ?> |
|
16 | + <?php if ($publish_delete_link) : ?> |
|
17 | 17 | <div id="delete-action"> |
18 | 18 | <?php echo $publish_delete_link; ?> |
19 | 19 | </div> |
@@ -13,8 +13,8 @@ |
||
13 | 13 | |
14 | 14 | |
15 | 15 | <div id="postbox-container-2" class="postbox-container"> |
16 | - <?php do_meta_boxes( $current_page, 'normal', NULL ); ?> |
|
17 | - <?php do_meta_boxes( $current_page, 'advanced', NULL ); ?> |
|
16 | + <?php do_meta_boxes($current_page, 'normal', NULL); ?> |
|
17 | + <?php do_meta_boxes($current_page, 'advanced', NULL); ?> |
|
18 | 18 | </div> |
19 | 19 | <!-- postbox-container-2 --> |
20 | 20 |
@@ -1,7 +1,7 @@ discard block |
||
1 | 1 | <div class="padding"> |
2 | 2 | <ul class="infolinks"> |
3 | 3 | <li> |
4 | - <?php echo '<a href="http://eventespresso.com/wiki/installation/" target="_blank">'.__('Installation', 'event_espresso') . '</a> & <a href="http://eventespresso.com/wiki/setting-up-event-espresso/" target="_blank">' . __('Usage Guide').'</a>'; ?> |
|
4 | + <?php echo '<a href="http://eventespresso.com/wiki/installation/" target="_blank">'.__('Installation', 'event_espresso').'</a> & <a href="http://eventespresso.com/wiki/setting-up-event-espresso/" target="_blank">'.__('Usage Guide').'</a>'; ?> |
|
5 | 5 | </li> |
6 | 6 | <li> |
7 | 7 | <a href="http://eventespresso.com/wiki/put-custom-templates/" target="_blank"> |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | </a> |
31 | 31 | </li> |
32 | 32 | <li> |
33 | - <?php echo '<a href="http://eventespresso.com/pricing/" target="_blank">'.__('Plugins', 'event_espresso'). '</a> & <a href="http://eventespresso.com/add-ons/" target="_blank">' .__('Add-ons', 'event_espresso').'</a>'; ?><br /> |
|
33 | + <?php echo '<a href="http://eventespresso.com/pricing/" target="_blank">'.__('Plugins', 'event_espresso').'</a> & <a href="http://eventespresso.com/add-ons/" target="_blank">'.__('Add-ons', 'event_espresso').'</a>'; ?><br /> |
|
34 | 34 | <br /> |
35 | 35 | <ol> |
36 | 36 | <li> |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php echo $before_list_table; ?> |
2 | 2 | <?php $list_table->display_views(); ?> |
3 | -<form id="<?php echo $list_table_class; ?>-table-frm" action="<?php echo $table_url;?>" method="get"> |
|
3 | +<form id="<?php echo $list_table_class; ?>-table-frm" action="<?php echo $table_url; ?>" method="get"> |
|
4 | 4 | <?php echo $sortable_list_table_form_fields; ?> |
5 | 5 | <?php echo $list_table->search_box($search['btn_label'], $current_page); ?> |
6 | 6 | <?php echo $list_table->display(); ?> |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php //EEH_Debug_Tools::printr( $admin_reports, '$admin_reports' ); ?> |
2 | 2 | |
3 | -<?php foreach ( $admin_reports as $report) : ?> |
|
3 | +<?php foreach ($admin_reports as $report) : ?> |
|
4 | 4 | |
5 | 5 | <div id="<?php echo $report; ?>" class="admin-report-chart-dv" style="width:95%; min-height:420px; margin:20px 4% 40px 1%;"></div> |
6 | 6 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <div class="padding"> |
2 | - <p><?php _e( 'We need your help to continue maintaining and providing this plugin for free. You can help by leaving a positive review in the WordPress plugin directory. 5 star ratings bring Event Espresso Decaf to the attention of more users which increases our support and features for this version of Event Espresso.', 'event_espresso' ); ?></p> |
|
3 | - <p><?php _e( 'Rate it five stars today!', 'event_espresso' ); ?></p><span class="ee-wp-blue dashicons dashicons-star-filled"></span><span class="ee-wp-blue dashicons dashicons-star-filled"></span><span class="ee-wp-blue dashicons dashicons-star-filled"></span><span class="ee-wp-blue dashicons dashicons-star-filled"></span><span class="ee-wp-blue dashicons dashicons-star-filled"></span> |
|
4 | - <p><a class="button button-primary" href="https://wordpress.org/plugins/event-espresso-decaf/"><?php _e( 'Rate It!', 'event_espresso' ); ?></a></p> |
|
2 | + <p><?php _e('We need your help to continue maintaining and providing this plugin for free. You can help by leaving a positive review in the WordPress plugin directory. 5 star ratings bring Event Espresso Decaf to the attention of more users which increases our support and features for this version of Event Espresso.', 'event_espresso'); ?></p> |
|
3 | + <p><?php _e('Rate it five stars today!', 'event_espresso'); ?></p><span class="ee-wp-blue dashicons dashicons-star-filled"></span><span class="ee-wp-blue dashicons dashicons-star-filled"></span><span class="ee-wp-blue dashicons dashicons-star-filled"></span><span class="ee-wp-blue dashicons dashicons-star-filled"></span><span class="ee-wp-blue dashicons dashicons-star-filled"></span> |
|
4 | + <p><a class="button button-primary" href="https://wordpress.org/plugins/event-espresso-decaf/"><?php _e('Rate It!', 'event_espresso'); ?></a></p> |
|
5 | 5 | </div> |
6 | 6 | \ No newline at end of file |
@@ -3,8 +3,8 @@ |
||
3 | 3 | <span id="localized_status_save"><?php echo $localized_status_save; ?></span> |
4 | 4 | <span id="cur_stat_id"><?php echo $cur_status; ?></span> |
5 | 5 | <select name='ee_post_status' id='ee_post_status'> |
6 | - <?php foreach ( $statuses as $status => $label ) : ?> |
|
7 | - <option<?php selected( $cur_status, $status ); ?> value='<?php echo $status; ?>'><?php echo $label; ?></option> |
|
6 | + <?php foreach ($statuses as $status => $label) : ?> |
|
7 | + <option<?php selected($cur_status, $status); ?> value='<?php echo $status; ?>'><?php echo $label; ?></option> |
|
8 | 8 | <?php |
9 | 9 | endforeach; |
10 | 10 | ?> |