File tree Expand file tree Collapse file tree 14 files changed +51
-51
lines changed
Adminhtml/System/Config/Form Expand file tree Collapse file tree 14 files changed +51
-51
lines changed Original file line number Diff line number Diff line change @@ -46,4 +46,4 @@ protected function _getElementHtml(AbstractElement $element)
46
46
47
47
return $ html ;
48
48
}
49
- }
49
+ }
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ public function isPublicationDateEnabled()
94
94
95
95
/**
96
96
* @return bool
97
- */
97
+ */
98
98
public function getViewsCount ()
99
99
{
100
100
return true ;
Original file line number Diff line number Diff line change @@ -177,10 +177,10 @@ public function getDynamicData()
177
177
178
178
foreach ($ keys as $ key ) {
179
179
$ method = 'get ' . str_replace (
180
- '_ ' ,
181
- '' ,
182
- ucwords ($ key , '_ ' )
183
- );
180
+ '_ ' ,
181
+ '' ,
182
+ ucwords ($ key , '_ ' )
183
+ );
184
184
$ data [$ key ] = $ this ->$ method ();
185
185
}
186
186
Original file line number Diff line number Diff line change @@ -473,10 +473,10 @@ public function getDynamicData()
473
473
474
474
foreach ($ keys as $ key ) {
475
475
$ method = 'get ' . str_replace (
476
- '_ ' ,
477
- '' ,
478
- ucwords ($ key , '_ ' )
479
- );
476
+ '_ ' ,
477
+ '' ,
478
+ ucwords ($ key , '_ ' )
479
+ );
480
480
$ data [$ key ] = $ this ->$ method ();
481
481
}
482
482
Original file line number Diff line number Diff line change @@ -900,10 +900,10 @@ public function initDinamicData()
900
900
901
901
foreach ($ keys as $ key ) {
902
902
$ method = 'get ' . str_replace (
903
- '_ ' ,
904
- '' ,
905
- ucwords ($ key , '_ ' )
906
- );
903
+ '_ ' ,
904
+ '' ,
905
+ ucwords ($ key , '_ ' )
906
+ );
907
907
$ this ->$ method ();
908
908
}
909
909
@@ -934,10 +934,10 @@ public function getDynamicData()
934
934
935
935
foreach ($ keys as $ key ) {
936
936
$ method = 'get ' . str_replace (
937
- '_ ' ,
938
- '' ,
939
- ucwords ($ key , '_ ' )
940
- );
937
+ '_ ' ,
938
+ '' ,
939
+ ucwords ($ key , '_ ' )
940
+ );
941
941
$ data [$ key ] = $ this ->$ method ();
942
942
}
943
943
Original file line number Diff line number Diff line change @@ -272,7 +272,7 @@ public function addSearchFilter($term)
272
272
['t ' => $ this ->getTable ('magefan_blog_tag ' )],
273
273
't.tag_id = pt.tag_id ' ,
274
274
['tag_title ' => 'title ' ]
275
- )->where ('t.title LIKE ? ' , '% ' . $ term . '% ' );
275
+ )->where ('t.title LIKE ? ' , '% ' . $ term . '% ' );
276
276
277
277
foreach ($ connection ->fetchAll ($ select ) as $ item ) {
278
278
$ tagPostIds [] = (int )$ item ['post_id ' ];
Original file line number Diff line number Diff line change @@ -208,10 +208,10 @@ public function getDynamicData()
208
208
209
209
foreach ($ keys as $ key ) {
210
210
$ method = 'get ' . str_replace (
211
- '_ ' ,
212
- '' ,
213
- ucwords ($ key , '_ ' )
214
- );
211
+ '_ ' ,
212
+ '' ,
213
+ ucwords ($ key , '_ ' )
214
+ );
215
215
$ data [$ key ] = $ this ->$ method ();
216
216
}
217
217
Original file line number Diff line number Diff line change 18
18
<div class="message message-error">
19
19
<div data-ui-id="messages-message-error">
20
20
<?= /*@noEscape*/ __ (
21
- 'Magefan Blog is disabled, to enable the extension please navigate to
21
+ 'Magefan Blog is disabled, to enable the extension please navigate to
22
22
<a href="%1" target="_blank">Stores > Configuration > Magefan Extensions > Blog</a>. ' ,
23
- $ block ->getUrl (
24
- 'adminhtml/system_config/edit ' ,
25
- ['section ' => 'mfblog ' ]
26
- )
27
- );
23
+ $ block ->getUrl (
24
+ 'adminhtml/system_config/edit ' ,
25
+ ['section ' => 'mfblog ' ]
26
+ )
27
+ );
28
28
?>
29
29
</div>
30
30
</div>
34
34
<div class="message message-error">
35
35
<div data-ui-id="messages-message-error">
36
36
<?= /*@noEscape*/ __ (
37
- 'Magefan Blog <strong>Product Key</strong> is missing.
37
+ 'Magefan Blog <strong>Product Key</strong> is missing.
38
38
Blog Extension will be automatically disabled soon. Please specify the product key in
39
39
<a href="%1" target="_blank">Stores > Configuration > Magefan Extensions > Blog</a>. ' ,
40
- $ block ->getUrl (
41
- 'adminhtml/system_config/edit ' ,
42
- ['section ' => 'mfblog ' ]
43
- )
44
- );
40
+ $ block ->getUrl (
41
+ 'adminhtml/system_config/edit ' ,
42
+ ['section ' => 'mfblog ' ]
43
+ )
44
+ );
45
45
?>
46
46
</div>
47
47
</div>
Original file line number Diff line number Diff line change 19
19
$ _postName = $ block ->escapeHtml ($ _post ->getTitle (), null , true );
20
20
$ featuredImgAlt =
21
21
$ _post ->getData ('featured_list_img_alt ' ) ?: $ _post ->getData ('featured_img_alt ' );
22
- if (!$ featuredImgAlt ) {
23
- $ featuredImgAlt = $ _postName ;
24
- }
22
+ if (!$ featuredImgAlt ) {
23
+ $ featuredImgAlt = $ _postName ;
24
+ }
25
25
?>
26
26
<li class="post-holder post-holder-<?= (int )$ _post ->getId () ?> ">
27
27
<div class="post-header">
Original file line number Diff line number Diff line change 18
18
$ _postUrl = $ _post ->getPostUrl ();
19
19
$ _postName = $ block ->escapeHtml ($ _post ->getTitle (), null );
20
20
$ featuredImgAlt = $ _post ->getData ('featured_img_alt ' );
21
- if (!$ featuredImgAlt ) {
22
- $ featuredImgAlt = $ _postName ;
23
- }
21
+ if (!$ featuredImgAlt ) {
22
+ $ featuredImgAlt = $ _postName ;
23
+ }
24
24
?>
25
25
<div class="post-view">
26
26
<div class="post-holder post-holder-<?= (int )$ _post ->getId () ?> ">
Original file line number Diff line number Diff line change 16
16
<?php $ tags = $ block ->getTags (); ?>
17
17
18
18
<?php if (count ($ tags )) { ?>
19
- <?php $ maxCount = $ block ->getMaxCount () ?>
19
+ <?php $ maxCount = $ block ->getMaxCount () ?>
20
20
21
21
<div class="widget block block-tagclaud" data-bind="scope: 'tagclaud'">
22
22
<div class="block-title">
Original file line number Diff line number Diff line change 36
36
$ _postUrl = $ _post ->getPostUrl ();
37
37
$ _postName = $ block ->escapeHtml ($ _post ->getTitle (), null , true );
38
38
$ featuredImgAlt = $ _post ->getData ('featured_list_img_alt ' ) ?: $ _post ->getData ('featured_img_alt ' );
39
- if (!$ featuredImgAlt ) {
40
- $ featuredImgAlt = $ _postName ;
41
- }
39
+ if (!$ featuredImgAlt ) {
40
+ $ featuredImgAlt = $ _postName ;
41
+ }
42
42
?>
43
43
<div class="item">
44
44
<div class="recent-inner">
Original file line number Diff line number Diff line change 26
26
$ _postUrl = $ _post ->getPostUrl ();
27
27
$ _postName = $ block ->escapeHtml ($ _post ->getTitle (), null , true );
28
28
$ featuredImgAlt = $ _post ->getData ('featured_list_img_alt ' ) ?: $ _post ->getData ('featured_img_alt ' );
29
- if (!$ featuredImgAlt ) {
30
- $ featuredImgAlt = $ _postName ;
31
- }
29
+ if (!$ featuredImgAlt ) {
30
+ $ featuredImgAlt = $ _postName ;
31
+ }
32
32
?>
33
33
<li class="post-holder post-holder-<?= (int )$ _post ->getId () ?> ">
34
34
<div class="post-header">
Original file line number Diff line number Diff line change 26
26
$ _postUrl = $ _post ->getPostUrl ();
27
27
$ _postName = $ block ->escapeHtml ($ _post ->getTitle (), null , true );
28
28
$ featuredImgAlt = $ _post ->getData ('featured_list_img_alt ' ) ?: $ _post ->getData ('featured_img_alt ' );
29
- if (!$ featuredImgAlt ) {
30
- $ featuredImgAlt = $ _postName ;
31
- }
29
+ if (!$ featuredImgAlt ) {
30
+ $ featuredImgAlt = $ _postName ;
31
+ }
32
32
?>
33
33
<li class="post-holder post-holder-<?= (int )$ _post ->getId () ?> ">
34
34
<div class="post-header">
You can’t perform that action at this time.
0 commit comments