/**
* Returns whether the template group is immutable (i.e. whether it's the email
- * template group).
+ * or shared template group).
*
* @return bool
*/
public function isImmutable()
{
- return $this->templateGroupFolderName === '_wcf_email/';
+ return $this->templateGroupFolderName === '_wcf_email/' || $this->templateGroupFolderName === '_wcf_shared/';
}
/**
<item name="wcf.acp.template.group"><![CDATA[Templategruppe]]></item>
<item name="wcf.acp.template.group.default"><![CDATA[Standardtemplates]]></item>
<item name="wcf.acp.template.group.email"><![CDATA[E-Mail-Templates]]></item>
+ <item name="wcf.acp.template.group.shared"><![CDATA[Geteilte-Templates]]></item>
<item name="wcf.acp.template.application"><![CDATA[App]]></item>
<item name="wcf.acp.template.add"><![CDATA[Template hinzufügen]]></item>
<item name="wcf.acp.template.edit"><![CDATA[Template bearbeiten]]></item>
<item name="wcf.acp.template.group"><![CDATA[Template Group]]></item>
<item name="wcf.acp.template.group.default"><![CDATA[Default Templates]]></item>
<item name="wcf.acp.template.group.email"><![CDATA[Email Templates]]></item>
+ <item name="wcf.acp.template.group.shared"><![CDATA[Shared Templates]]></item>
<item name="wcf.acp.template.application"><![CDATA[App]]></item>
<item name="wcf.acp.template.add"><![CDATA[Add Template]]></item>
<item name="wcf.acp.template.edit"><![CDATA[Edit Template]]></item>
INSERT INTO wcf1_style_variable (variableName, defaultValue, defaultValueDarkMode) VALUES('individualScssDarkMode', '', '');
INSERT INTO wcf1_style_variable (variableName, defaultValue, defaultValueDarkMode) VALUES('wcfHeaderMenuDropdownBorder', 'rgba(36, 66, 95, 1)', 'rgba(36, 66, 95, 1)');
--- Email template group
+-- System template groups
INSERT INTO wcf1_template_group (parentTemplateGroupID, templateGroupName, templateGroupFolderName) VALUES (NULL, 'wcf.acp.template.group.email', '_wcf_email/');
+INSERT INTO wcf1_template_group (parentTemplateGroupID, templateGroupName, templateGroupFolderName) VALUES (NULL, 'wcf.acp.template.group.shared', '_wcf_shared/');
-- default options: subject and message
INSERT INTO wcf1_contact_option (optionID, optionTitle, optionDescription, optionType, required, showOrder, originIsSystem) VALUES (1, 'wcf.contact.option1', 'wcf.contact.optionDescription1', 'text', 1, 1, 1);