[TWIG] Restructure user settings template, making it much easier to use and extend

This commit is contained in:
2021-12-08 17:53:29 +00:00
parent 6627006e61
commit d52a043705
9 changed files with 107 additions and 158 deletions

View File

@@ -41,8 +41,8 @@ class XMPPNotifications extends Plugin
{
public function onAddNotificationTransport(&$form_defs): bool
{
$form_defs['xmpp'] = $form_defs['placeholder'];
$form_defs['xmpp'][] = $form_defs['placeholder']['save']('XMMP', 'save_xmpp');
$form_defs['XMPP'] = $form_defs['placeholder'];
$form_defs['XMPP'][] = $form_defs['placeholder']['save']('XMMP', 'save_xmpp');
return Event::next;
}
}