@@ -147,7 +147,7 @@ discard block |
||
147 | 147 | $toolbar_class = $toolbar_headings ? 'toolbar-extended' : false; |
148 | 148 | |
149 | 149 | // mobile styles |
150 | - $mobile_class = $is_mobile ? 'lasso-mobile' : false; |
|
150 | + $mobile_class = $is_mobile ? 'lasso-mobile' : false; |
|
151 | 151 | $mobile_style =$is_mobile ? 'style="bottom:0px;"' : null; |
152 | 152 | |
153 | 153 | //show color |
@@ -427,7 +427,7 @@ discard block |
||
427 | 427 | </div> |
428 | 428 | <?php |
429 | 429 | if ($allow_change_date) { |
430 | - $dateformat = get_option( 'date_format' ); |
|
430 | + $dateformat = get_option( 'date_format' ); |
|
431 | 431 | ?> |
432 | 432 | <label><?php _e( 'Post Date', 'lasso' ); ?></label> |
433 | 433 | <input type="text" class="editus_custom_date" name="post_date" value="<?php echo get_the_time($dateformat, $postid);?>"/> |
@@ -540,7 +540,7 @@ discard block |
||
540 | 540 | <?php |
541 | 541 | if ( !empty( $types ) ) { |
542 | 542 | // get the first element |
543 | - $type = key($types); |
|
543 | + $type = key($types); |
|
544 | 544 | $type = preg_replace( '/s\b/','', $type ); |
545 | 545 | printf( '<input type="hidden" name="object" value="%s">', lcfirst( esc_attr( $type ) ) ); |
546 | 546 | } |
@@ -568,8 +568,8 @@ discard block |
||
568 | 568 | global $post; |
569 | 569 | |
570 | 570 | global $wp_post_types; |
571 | - $labels = &$wp_post_types['post']->labels; |
|
572 | - $labels->name = 'Articles'; |
|
571 | + $labels = &$wp_post_types['post']->labels; |
|
572 | + $labels->name = 'Articles'; |
|
573 | 573 | |
574 | 574 | ob_start(); |
575 | 575 | |
@@ -812,9 +812,9 @@ discard block |
||
812 | 812 | $return .= '</form>'; |
813 | 813 | |
814 | 814 | // extra JS codes |
815 | - if (isset($shortcode['codes'])) { |
|
816 | - $return .= $shortcode['codes']; |
|
817 | - } |
|
815 | + if (isset($shortcode['codes'])) { |
|
816 | + $return .= $shortcode['codes']; |
|
817 | + } |
|
818 | 818 | $blob[$slug] = $return; |
819 | 819 | } |
820 | 820 |