diff --git a/modules/point/tpl/config.html b/modules/point/tpl/config.html index 9d5f01244..fd8585fcd 100644 --- a/modules/point/tpl/config.html +++ b/modules/point/tpl/config.html @@ -52,7 +52,7 @@
{$lang->about_disable_read_document}   - + {$lang->disable_read_document_except_robots}
@@ -65,7 +65,7 @@

{$lang->give_point}

{@ $config_array = get_object_vars($config)} - {@ $config_array['insert_comment_limit'] = $config_array['insert_comment_limit'] ?: $config_array['no_point_date']} + {@ $config_array['insert_comment_limit'] = $config_array['insert_comment_limit'] ?? $config_array['no_point_date']} {@ $action_types = array( 'insert_document' => ['time_limit' => 0, 'except_notice' => 0, 'revert_on_delete' => 1], 'insert_comment' => ['time_limit' => 1, 'except_notice' => 0, 'revert_on_delete' => 1], @@ -83,7 +83,7 @@ 'voted_comment' => ['time_limit' => 1, 'except_notice' => 0, 'revert_on_delete' => 0], 'blamed_comment' => ['time_limit' => 1, 'except_notice' => 0, 'revert_on_delete' => 0], )} - + @@ -109,17 +109,17 @@ @@ -135,7 +135,7 @@
{lang('point_' . $action_type)} {strtr($lang->point_given_prefix, ['$'.'point' => $config->point_name])} - +  {strtr($lang->point_given_suffix, ['$'.'point' => $config->point_name])} @@ -127,7 +127,7 @@ {$lang->point_time_limit_prefix}  - +  {$lang->point_time_limit_suffix}
- +
@@ -166,7 +166,7 @@
- +  {$lang->level} {$lang->default_group} @@ -184,7 +184,7 @@

{$lang->expression}

- +
@@ -198,8 +198,8 @@ 1 1 - -{@$point_group_item = $point_group[1]} + +{@$point_group_item = $point_group[1] ?? null} {@$title=array()} @@ -211,7 +211,7 @@ {implode(', ', $title)} -{@$point_group_item = $point_group[$i]} +{@$point_group_item = $point_group[$i] ?? null} {@$title[0] = $group_list[$point_group_item.'']->title}