File tree Expand file tree Collapse file tree 3 files changed +16
-2
lines changed
Expand file tree Collapse file tree 3 files changed +16
-2
lines changed Original file line number Diff line number Diff line change 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. ' ;
Original file line number Diff line number Diff 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 ' ,
Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments