@@ -151,7 +151,7 @@ discard block |
||
151 | 151 | $toolbar_class = $toolbar_headings ? 'toolbar-extended' : false; |
152 | 152 | |
153 | 153 | // mobile styles |
154 | - $mobile_class = $is_mobile ? 'lasso-mobile' : false; |
|
154 | + $mobile_class = $is_mobile ? 'lasso-mobile' : false; |
|
155 | 155 | $mobile_style =$is_mobile ? 'style="bottom:0px;"' : null; |
156 | 156 | |
157 | 157 | //show color |
@@ -435,7 +435,7 @@ discard block |
||
435 | 435 | </div> |
436 | 436 | <?php |
437 | 437 | if ($allow_change_date) { |
438 | - $dateformat = get_option( 'date_format' ); |
|
438 | + $dateformat = get_option( 'date_format' ); |
|
439 | 439 | ?> |
440 | 440 | <label><?php _e( 'Post Date', 'lasso' ); ?></label> |
441 | 441 | <input type="text" class="editus_custom_date" name="post_date" value="<?php echo get_the_time($dateformat, $postid);?>"/> |
@@ -547,7 +547,7 @@ discard block |
||
547 | 547 | <?php |
548 | 548 | if ( !empty( $types ) ) { |
549 | 549 | // get the first element |
550 | - $type = reset($types); |
|
550 | + $type = reset($types); |
|
551 | 551 | $type = preg_replace( '/s\b/','', $type ); |
552 | 552 | printf( '<input type="hidden" name="object" value="%s">', lcfirst( esc_attr( $type ) ) ); |
553 | 553 | } |
@@ -575,8 +575,8 @@ discard block |
||
575 | 575 | global $post; |
576 | 576 | |
577 | 577 | global $wp_post_types; |
578 | - $labels = &$wp_post_types['post']->labels; |
|
579 | - $labels->name = 'Articles'; |
|
578 | + $labels = &$wp_post_types['post']->labels; |
|
579 | + $labels->name = 'Articles'; |
|
580 | 580 | |
581 | 581 | ob_start(); |
582 | 582 | |
@@ -824,9 +824,9 @@ discard block |
||
824 | 824 | $return .= '</form>'; |
825 | 825 | |
826 | 826 | // extra JS codes |
827 | - if (isset($shortcode['codes'])) { |
|
828 | - $return .= $shortcode['codes']; |
|
829 | - } |
|
827 | + if (isset($shortcode['codes'])) { |
|
828 | + $return .= $shortcode['codes']; |
|
829 | + } |
|
830 | 830 | $blob[$slug] = $return; |
831 | 831 | } |
832 | 832 |