|
@@ -115,7 +115,7 @@ discard block |
|
|
block discarded – undo |
|
115
|
115
|
**/ |
|
116
|
116
|
public static function prepareCardHtml($parameters, $post) |
|
117
|
117
|
{ |
|
118
|
|
- if (! is_null($post)) { |
|
|
118
|
+ if (!is_null($post)) { |
|
119
|
119
|
$ret = "<div class='row featurette' style='".$parameters['bkg_color'].' '.$parameters['text_color']."'>"; |
|
120
|
120
|
if ($parameters['container_wrap']) { |
|
121
|
121
|
$ret .= "<div class='container'>"; |
|
@@ -125,7 +125,7 @@ discard block |
|
|
block discarded – undo |
|
125
|
125
|
$ret .= "<div class='lead mb-4'>".$post['body'].'</div>'; |
|
126
|
126
|
$ret .= '</div>'; |
|
127
|
127
|
$ret .= "<div class='image ".$parameters['img_col_size_class'].' '.$parameters['img_col_order_class']."'>"; |
|
128
|
|
- if (! empty($post['post_image_src'])) { |
|
|
128
|
+ if (!empty($post['post_image_src'])) { |
|
129
|
129
|
$ret .= "<img class='featurette-image img-fluid mx-auto' src='".$post['image']."' alt='".$post['image_alt']."'>"; |
|
130
|
130
|
} |
|
131
|
131
|
$ret .= '</div>'; |
Please login to merge, or discard this patch.