Completed
Push — master ( 376b26...7a3ea8 )
by Stephanie
03:53
created
css/custom_theme.css.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -1,19 +1,19 @@  discard block
 block discarded – undo
1 1
 <?php
2
-if ( ! isset($saving) ) {
2
+if ( ! isset( $saving ) ) {
3 3
     header( 'Content-type: text/css' );
4 4
 
5
-    if ( isset($css) && $css ) {
5
+    if ( isset( $css ) && $css ) {
6 6
         echo $css;
7 7
         die();
8 8
     }
9 9
 }
10 10
 
11
-if ( ! isset($frm_style) ) {
11
+if ( ! isset( $frm_style ) ) {
12 12
     $frm_style = new FrmStyle();
13 13
 }
14 14
 
15 15
 $styles = $frm_style->get_all();
16
-$default_style = $frm_style->get_default_style($styles);
16
+$default_style = $frm_style->get_default_style( $styles );
17 17
 $defaults = $default_style->post_content;
18 18
 ?>
19 19
 
@@ -182,8 +182,8 @@  discard block
 block discarded – undo
182 182
 
183 183
 <?php
184 184
 foreach ( $styles as $style ) {
185
-    include(dirname(__FILE__) .'/_single_theme.css.php');
186
-    unset($style);
185
+    include( dirname( __FILE__ ) . '/_single_theme.css.php' );
186
+    unset( $style );
187 187
 }
188 188
 ?>
189 189
 
@@ -619,7 +619,7 @@  discard block
 block discarded – undo
619 619
     clear:both;
620 620
 }
621 621
 
622
-<?php include( dirname(__FILE__) . '/frm_grids.css' ); ?>
622
+<?php include( dirname( __FILE__ ) . '/frm_grids.css' ); ?>
623 623
 
624 624
 /* Left and right label styling for non-Formidable styling - very basic, not responsive */
625 625
 .frm_form_field.frm_left_container label.frm_primary_label{
@@ -975,7 +975,7 @@  discard block
 block discarded – undo
975 975
     -moz-border-radius:<?php echo $defaults['border_radius'] ?>;
976 976
     -webkit-border-radius:<?php echo $defaults['border_radius'] ?>;
977 977
     border-radius:<?php echo $defaults['border_radius'] ?>;
978
-    width:<?php echo ($defaults['field_width'] == '' ? 'auto' : $defaults['field_width']) ?>;
978
+    width:<?php echo ( $defaults['field_width'] == '' ? 'auto' : $defaults['field_width'] ) ?>;
979 979
     max-width:100%;
980 980
     font-size:<?php echo $defaults['field_font_size'] ?>;
981 981
     padding:<?php echo $defaults['field_pad'] ?>;
@@ -1548,7 +1548,7 @@  discard block
 block discarded – undo
1548 1548
 	font-style:normal;
1549 1549
 }
1550 1550
 
1551
-<?php include(FrmAppHelper::plugin_path() .'/css/font_icons.css'); ?>
1551
+<?php include( FrmAppHelper::plugin_path() . '/css/font_icons.css' ); ?>
1552 1552
 
1553 1553
 /* Responsive */
1554 1554
 @media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-resolution: 144dpi){
Please login to merge, or discard this patch.