diff --git a/Models/PermissionCategory.php b/Models/PermissionCategory.php index a13fe35..3e5075c 100755 --- a/Models/PermissionCategory.php +++ b/Models/PermissionCategory.php @@ -31,4 +31,6 @@ abstract class PermissionCategory extends Enum public const LIST = 2; public const VOTE = 3; + + public const MODERATION = 4; } diff --git a/Theme/Backend/Components/Comment/create.tpl.php b/Theme/Backend/Components/Comment/create.tpl.php index 035b66e..0d02bab 100755 --- a/Theme/Backend/Components/Comment/create.tpl.php +++ b/Theme/Backend/Components/Comment/create.tpl.php @@ -19,7 +19,7 @@ use phpOMS\Uri\UriFactory;
-
Create Comment
+
getHtml('Comment', 'Comments', 'Backend'); ?>
diff --git a/Theme/Backend/Lang/de.lang.php b/Theme/Backend/Lang/de.lang.php index 84e88f6..e17e93d 100755 --- a/Theme/Backend/Lang/de.lang.php +++ b/Theme/Backend/Lang/de.lang.php @@ -16,9 +16,11 @@ return ['Comments' => [ 'Created' => 'Erstellt', 'Creator' => 'Ersteller', 'Edit' => 'Bearbeiten', + 'Comments' => 'Kommentare', + 'Comment' => 'Kommentar', 'Upload' => 'Hochladen', 'Voting' => 'Wählen', 'lstatus-1' => 'Aktiv', - 'lstatus-2' => 'Inaktiv', - 'lstatus-3' => 'Gesperrt', + 'lstatus-2' => 'Gesperrt', + 'lstatus-3' => 'Inaktiv', ]]; diff --git a/Theme/Backend/Lang/en.lang.php b/Theme/Backend/Lang/en.lang.php index aefd47b..45266ea 100755 --- a/Theme/Backend/Lang/en.lang.php +++ b/Theme/Backend/Lang/en.lang.php @@ -15,10 +15,12 @@ declare(strict_types=1); return ['Comments' => [ 'Created' => 'Created', 'Creator' => 'Creator', + 'Comment' => 'Comment', + 'Comments' => 'Comments', 'Edit' => 'Edit', 'Upload' => 'Upload', 'Voting' => 'Voting', 'lstatus-1' => 'Active', - 'lstatus-2' => 'Inactive', - 'lstatus-3' => 'Locked', + 'lstatus-2' => 'Locked', + 'lstatus-3' => 'Inactive', ]];