Rename group bbcode template
authorCyperghost <olaf_schmitz_1@t-online.de>
Mon, 29 Jan 2024 10:54:06 +0000 (11:54 +0100)
committerCyperghost <olaf_schmitz_1@t-online.de>
Mon, 29 Jan 2024 10:54:06 +0000 (11:54 +0100)
com.woltlab.wcf/templates/groupBBCodeTag.tpl [deleted file]
com.woltlab.wcf/templates/shared_bbcode_group.tpl [new file with mode: 0644]
wcfsetup/install/files/lib/system/bbcode/GroupBBCode.class.php

diff --git a/com.woltlab.wcf/templates/groupBBCodeTag.tpl b/com.woltlab.wcf/templates/groupBBCodeTag.tpl
deleted file mode 100644 (file)
index 177ae1c..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-{if $group}
-       <span class="groupMention">{$group->getName()}</span>
-{else}
-       {$groupName}
-{/if}
diff --git a/com.woltlab.wcf/templates/shared_bbcode_group.tpl b/com.woltlab.wcf/templates/shared_bbcode_group.tpl
new file mode 100644 (file)
index 0000000..177ae1c
--- /dev/null
@@ -0,0 +1,5 @@
+{if $group}
+       <span class="groupMention">{$group->getName()}</span>
+{else}
+       {$groupName}
+{/if}
index a58e949029a2838444477d37bf76f791d8f911c1..7343f1668bb9e8344aae91ad467e840432a511a3 100644 (file)
@@ -31,7 +31,7 @@ final class GroupBBCode extends AbstractBBCode
             return $content;
         }
 
-        return WCF::getTPL()->fetch('groupBBCodeTag', 'wcf', [
+        return WCF::getTPL()->fetch('shared_bbcode_group', 'wcf', [
             'group' => $group,
             'groupName' => $content,
         ], true);