From: Marcel Werk Date: Fri, 15 Apr 2016 16:57:45 +0000 (+0200) Subject: Fixed template syntax issue (nested hascontent) X-Git-Tag: 3.0.0_Beta_1~1898 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=49b557c5a1a0324d8d06420b204eda7edd7a51aa;p=GitHub%2FWoltLab%2FWCF.git Fixed template syntax issue (nested hascontent) --- diff --git a/wcfsetup/install/files/acp/templates/acpSessionLog.tpl b/wcfsetup/install/files/acp/templates/acpSessionLog.tpl index 15bd11fb10..7c8eba1d29 100644 --- a/wcfsetup/install/files/acp/templates/acpSessionLog.tpl +++ b/wcfsetup/install/files/acp/templates/acpSessionLog.tpl @@ -20,7 +20,7 @@ {/hascontent} -{hascontent} +{if $objects|count}
@@ -37,20 +37,18 @@ - {content} - {foreach from=$objects item=sessionAccessLog} - - - - - - - - - {event name='columns'} - - {/foreach} - {/content} + {foreach from=$objects item=sessionAccessLog} + + + + + + + + + {event name='columns'} + + {/foreach}
{@$sessionAccessLog->sessionAccessLogID}{$sessionAccessLog->getIpAddress()}{@$sessionAccessLog->time|time}{$sessionAccessLog->className}{if !$sessionAccessLog->hasProtectedURI()}{$sessionAccessLog->requestURI|truncate:50|tableWordwrap}{else}{$sessionAccessLog->requestURI|truncate:50|tableWordwrap}{/if}{$sessionAccessLog->requestMethod}
{@$sessionAccessLog->sessionAccessLogID}{$sessionAccessLog->getIpAddress()}{@$sessionAccessLog->time|time}{$sessionAccessLog->className}{if !$sessionAccessLog->hasProtectedURI()}{$sessionAccessLog->requestURI|truncate:50|tableWordwrap}{else}{$sessionAccessLog->requestURI|truncate:50|tableWordwrap}{/if}{$sessionAccessLog->requestMethod}
@@ -70,6 +68,6 @@ -{/hascontent} +{/if} {include file='footer'}