should fix the commslock bug without new issues (crossing fingers)
This commit is contained in:
parent
6fca3df0bb
commit
d249400e85
@ -694,6 +694,7 @@
|
|||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if (isset($params['content']) && is_array($params['content']) && $params['content']) {
|
if (isset($params['content']) && is_array($params['content']) && $params['content']) {
|
||||||
//foreach ($params['entry'] as $k => $val)
|
//foreach ($params['entry'] as $k => $val)
|
||||||
$smarty->assign(array_change_key_case($params['content'], CASE_LOWER));
|
$smarty->assign(array_change_key_case($params['content'], CASE_LOWER));
|
||||||
@ -724,6 +725,7 @@
|
|||||||
|
|
||||||
$smarty->assign_by_ref('id', $id);
|
$smarty->assign_by_ref('id', $id);
|
||||||
|
|
||||||
|
$smarty->assign('entry_commslock', @in_array('commslock',$entry['categories']));
|
||||||
|
|
||||||
do_action('entry_block');
|
do_action('entry_block');
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{if !in_array('commslock',$categories)}
|
{if !$entry_commslock}
|
||||||
{*<p><big><strong>{$lang.comments.commslock}</strong></big></p>else*}
|
{*<p><big><strong>{$lang.comments.commslock}</strong></big></p>else*}
|
||||||
<h4>{$lang.comments.head}</h4>
|
<h4>{$lang.comments.head}</h4>
|
||||||
<p>{$lang.comments.descr}</p>
|
<p>{$lang.comments.descr}</p>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user