should fix the commslock bug without new issues (crossing fingers)
This commit is contained in:
parent
6fca3df0bb
commit
d249400e85
@ -692,7 +692,8 @@
|
|||||||
'ip-address'=>''
|
'ip-address'=>''
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
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)
|
||||||
@ -723,7 +724,8 @@
|
|||||||
$smarty->assign_by_ref($k, $entry[$k]);
|
$smarty->assign_by_ref($k, $entry[$k]);
|
||||||
|
|
||||||
$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