From 6030ad27a17d311678837b08ac598e2119e39a35 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Fri, 8 Dec 2017 14:13:55 +0100 Subject: [PATCH] Fixed out-dated html --- .../templates/notificationSettings.tpl | 85 +++++++++---------- 1 file changed, 42 insertions(+), 43 deletions(-) diff --git a/com.woltlab.wcf/templates/notificationSettings.tpl b/com.woltlab.wcf/templates/notificationSettings.tpl index 4d9ce41dbc..4ecf391173 100644 --- a/com.woltlab.wcf/templates/notificationSettings.tpl +++ b/com.woltlab.wcf/templates/notificationSettings.tpl @@ -14,50 +14,49 @@

{lang}wcf.global.success.edit{/lang}

{/if} -
-
- {foreach from=$events key='eventCategory' item='eventList'} -
-

{lang}wcf.user.notification.{$eventCategory}{/lang}

- -
- {foreach from=$eventList item=event} -
{lang}wcf.user.notification.{$event->objectType}.{$event->eventName}{/lang}
-
-
    -
  1. - eventID][enabled]|empty} checked{/if}> - + + {foreach from=$events key='eventCategory' item='eventList'} +
    +

    {lang}wcf.user.notification.{$eventCategory}{/lang}

    + +
    + {foreach from=$eventList item=event} +
    {lang}wcf.user.notification.{$event->objectType}.{$event->eventName}{/lang}
    +
    +
      +
    1. + eventID][enabled]|empty} checked{/if}> + +
    2. +
    3. + eventID][enabled]|empty} checked{/if}> + +
    4. + {if $event->supportsEmailNotification()} +
    5. + + eventID][mailNotificationType] !== 'none'} class="active yellow"{/if}> + + {lang}wcf.user.notification.mailNotificationType.{$settings[$event->eventID][mailNotificationType]}{/lang} + +
    6. -
    7. - eventID][enabled]|empty} checked{/if}> - -
    8. - {if $event->supportsEmailNotification()} -
    9. - - eventID][mailNotificationType] !== 'none'} class="active yellow"{/if}> - - {lang}wcf.user.notification.mailNotificationType.{$settings[$event->eventID][mailNotificationType]}{/lang} - - -
    10. - {/if} -
    -
    - {/foreach} -
    -
    - {/foreach} - - {event name='sections'} -
+ {/if} + + + {/foreach} + + + {/foreach} + + {event name='sections'} +
-- 2.20.1