cosmetic
This commit is contained in:
parent
222000a5fe
commit
16684555a0
4 changed files with 16 additions and 16 deletions
|
@ -30,7 +30,7 @@ $this->registerModule(
|
|||
'details' => 'https://plugins.dotaddict.org/dc2/details/postWidgetText',
|
||||
'repository' => 'https://raw.githubusercontent.com/JcDenis/postWidgetText/master/dcstore.xml',
|
||||
'settings' => [
|
||||
'blog' => '#params.pwt_params'
|
||||
]
|
||||
'blog' => '#params.pwt_params',
|
||||
],
|
||||
]
|
||||
);
|
||||
|
|
|
@ -248,7 +248,7 @@ class postWidgetText
|
|||
'excerpt' => &$excerpt,
|
||||
'content' => &$content,
|
||||
'excerpt_xhtml' => &$excerpt_xhtml,
|
||||
'content_xhtml' => &$content_xhtml
|
||||
'content_xhtml' => &$content_xhtml,
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -34,7 +34,7 @@ class adminPostWidgetText
|
|||
self::sortbyCombo(),
|
||||
'post_dt',
|
||||
'desc',
|
||||
[__('entries per page'), 20]
|
||||
[__('entries per page'), 20],
|
||||
];
|
||||
}
|
||||
|
||||
|
@ -73,7 +73,7 @@ class adminPostWidgetText
|
|||
'small-icon' => dcPage::getPF('postWidgetText/icon.png'),
|
||||
'large-icon' => dcPage::getPF('postWidgetText/icon-big.png'),
|
||||
'permissions' => dcCore::app()->auth->check('usage,contentadmin', dcCore::app()->blog->id),
|
||||
'active_cb' => ['adminPostWidgetText', 'adminDashboardFavoritesActive']
|
||||
'active_cb' => ['adminPostWidgetText', 'adminDashboardFavoritesActive'],
|
||||
]);
|
||||
}
|
||||
|
||||
|
@ -234,7 +234,7 @@ class adminPostWidgetText
|
|||
$line->post_id = $bk->old_ids['post'][(int) $line->post_id];
|
||||
|
||||
$exists = $bk->postwidgettext->getWidgets([
|
||||
'post_id' => $line->post_id
|
||||
'post_id' => $line->post_id,
|
||||
]);
|
||||
|
||||
if ($exists->isEmpty()) {
|
||||
|
@ -258,7 +258,7 @@ class adminPostWidgetText
|
|||
{
|
||||
if ($line->__name == 'postwidgettext') {
|
||||
$exists = $bk->postwidgettext->getWidgets([
|
||||
'post_id' => $line->post_id
|
||||
'post_id' => $line->post_id,
|
||||
]);
|
||||
|
||||
if ($exists->isEmpty()) {
|
||||
|
|
|
@ -66,7 +66,7 @@ $filter->js(dcCore::app()->adminurl->get('admin.plugin.postWidgetText')) . '
|
|||
|
||||
dcPage::breadcrumb([
|
||||
__('Plugins') => '',
|
||||
__('Posts widgets') => ''
|
||||
__('Posts widgets') => '',
|
||||
]) .
|
||||
dcPage::notices();
|
||||
|
||||
|
|
Loading…
Reference in a new issue