Skip to content

Commit 292dfbc

Browse files
committed
Somehow the section to manage reactions settings went missing. I swear it was there at one time...
1 parent d63795c commit 292dfbc

File tree

3 files changed

+16
-2
lines changed

3 files changed

+16
-2
lines changed

Languages/en_US/ManageReactions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
$txt['reacts_save'] = 'Save reactions';
1010
$txt['reacts_delete'] = 'Delete selected reactions'; // This will be fixed later
1111
$txt['reacts_delete_confirm'] = 'Are you sure you want to delete these reactions?';
12-
$txt['reactions_manage'] = 'Manage Reactions';
12+
$txt['manage_reactions'] = 'Manage Reactions';
1313
$txt['admin_manage_reactions'] = 'Manage reaction settings and reactions.';
1414
$txt['reaction_settings_explain'] = 'Enable/disable reactions and choose who can use them';
1515
$txt['manage_reactions_desc'] = 'Add, remove and update available reactions.';

Sources/Actions/Admin/ACP.php

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,20 @@ class ACP implements ActionInterface
337337
],
338338
],
339339
],
340+
'managereactions' => [
341+
'label' => 'reactions',
342+
'function' => __NAMESPACE__ . '\\Reactions::call',
343+
'icon' => 'reactions',
344+
'permission' => ['admin_forum'],
345+
'subsections' => [
346+
'settings' => [
347+
'label' => 'reactions_settings',
348+
],
349+
'edit' => [
350+
'label' => 'manage_reactions',
351+
],
352+
],
353+
],
340354
'smileys' => [
341355
'label' => 'smileys_manage',
342356
'function' => __NAMESPACE__ . '\\Smileys::call',

Sources/Actions/Admin/Reactions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ function addrow() {
339339

340340
new ItemList($listOptions);
341341

342-
Utils::$context['page_title'] = Lang::$txt['reactions_manage'];
342+
Utils::$context['page_title'] = Lang::$txt['manage_reactions'];
343343
Utils::$context['sub_template'] = 'show_list';
344344
Utils::$context['default_list'] = 'reactions_list';
345345
}

0 commit comments

Comments
 (0)