From: Marcel Werk Date: Tue, 14 Jun 2016 10:17:27 +0000 (+0200) Subject: Removed obsolete trailing slashes from void elements X-Git-Tag: 3.0.0_Beta_1~1455 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7cdfcfbcce56375ed5a35b6177fe910000bb0fc9;p=GitHub%2FWoltLab%2FWCF.git Removed obsolete trailing slashes from void elements --- diff --git a/com.woltlab.wcf/templates/__messageFormPoll.tpl b/com.woltlab.wcf/templates/__messageFormPoll.tpl index d2c32596d5..642c181709 100644 --- a/com.woltlab.wcf/templates/__messageFormPoll.tpl +++ b/com.woltlab.wcf/templates/__messageFormPoll.tpl @@ -18,7 +18,7 @@
- + {if $errorField == 'pollQuestion'} {lang}wcf.global.form.error.empty{/lang} @@ -43,7 +43,7 @@
- + {if $errorField == 'pollEndTime'} {lang}wcf.poll.endTime.error.{@$errorType}{/lang} @@ -56,7 +56,7 @@
- + {if $errorField == 'pollMaxVotes'} {lang}wcf.poll.maxVotes.error.{@$errorType}{/lang} @@ -67,19 +67,19 @@
- +
{if !$pollID && $__wcf->getPollManager()->canStartPublicPoll()}
- +
{/if}
- + {lang}wcf.poll.resultsRequireVote.description{/lang}
- +
diff --git a/com.woltlab.wcf/templates/__messageFormSmilies.tpl b/com.woltlab.wcf/templates/__messageFormSmilies.tpl index ef558d47a2..1d38ab5842 100644 --- a/com.woltlab.wcf/templates/__messageFormSmilies.tpl +++ b/com.woltlab.wcf/templates/__messageFormSmilies.tpl @@ -1,5 +1,5 @@
    {foreach from=$smilies item=smiley} -
  • {$smiley->smileyCode}
  • +
  • {$smiley->smileyCode}
  • {/foreach}
\ No newline at end of file diff --git a/com.woltlab.wcf/templates/accountManagement.tpl b/com.woltlab.wcf/templates/accountManagement.tpl index f59e151b55..ae2ebe5bdc 100644 --- a/com.woltlab.wcf/templates/accountManagement.tpl +++ b/com.woltlab.wcf/templates/accountManagement.tpl @@ -24,7 +24,7 @@
- + {if $errorField == 'password'} {if $errorType == 'empty'}{lang}wcf.global.form.error.empty{/lang}{/if} @@ -47,7 +47,7 @@
- + {if $errorField == 'username'} @@ -74,7 +74,7 @@
- + {if $errorField == 'newPassword'} @@ -88,7 +88,7 @@
- + {if $errorField == 'confirmNewPassword'} @@ -110,7 +110,7 @@
- + {if $errorField == 'email'} @@ -125,7 +125,7 @@
- + {if $errorField == 'confirmEmail'} @@ -159,14 +159,14 @@
- +
{else}
- + {lang}wcf.user.quit.description{/lang}
@@ -185,7 +185,7 @@
{lang}wcf.user.3rdparty.{@$__authProvider}{/lang}
- +
{elseif !$__wcf->getUser()->hasAdministrativeAccess()} @@ -194,7 +194,7 @@
{lang}wcf.user.3rdparty.github{/lang}
{if $__wcf->getSession()->getVar('__githubToken')} - + {else} {lang}wcf.user.3rdparty.github.connect{/lang} {/if} @@ -207,7 +207,7 @@
{lang}wcf.user.3rdparty.twitter{/lang}
{if $__wcf->getSession()->getVar('__twitterData')} - + {else} {lang}wcf.user.3rdparty.twitter.connect{/lang} {/if} @@ -220,7 +220,7 @@
{lang}wcf.user.3rdparty.facebook{/lang}
{if $__wcf->getSession()->getVar('__facebookData')} - + {else} {lang}wcf.user.3rdparty.facebook.connect{/lang} {/if} @@ -233,7 +233,7 @@
{lang}wcf.user.3rdparty.google{/lang}
{if $__wcf->getSession()->getVar('__googleData')} - + {else} {lang}wcf.user.3rdparty.google.connect{/lang} {/if} @@ -250,7 +250,7 @@ {event name='sections'}
- + {@SECURITY_TOKEN_INPUT_TAG}
diff --git a/com.woltlab.wcf/templates/article.tpl b/com.woltlab.wcf/templates/article.tpl index fdbb31609f..9657dd227a 100644 --- a/com.woltlab.wcf/templates/article.tpl +++ b/com.woltlab.wcf/templates/article.tpl @@ -40,7 +40,7 @@ {if $article->isMultilingual}
@@ -99,8 +99,8 @@ {event name='sections'}
- - {if $category != 'general'}{/if} + + {if $category != 'general'}{/if} {@SECURITY_TOKEN_INPUT_TAG}
diff --git a/com.woltlab.wcf/templates/shareButtonsPrivacySettings.tpl b/com.woltlab.wcf/templates/shareButtonsPrivacySettings.tpl index e1d7d0a824..b14fc22b11 100644 --- a/com.woltlab.wcf/templates/shareButtonsPrivacySettings.tpl +++ b/com.woltlab.wcf/templates/shareButtonsPrivacySettings.tpl @@ -1,12 +1,12 @@ {lang}wcf.message.share.privacy.description{/lang}
    -
  • -
  • -
  • -
  • +
  • +
  • +
  • +
- +
diff --git a/com.woltlab.wcf/templates/signatureEdit.tpl b/com.woltlab.wcf/templates/signatureEdit.tpl index 032bb9a64d..1ab271a330 100644 --- a/com.woltlab.wcf/templates/signatureEdit.tpl +++ b/com.woltlab.wcf/templates/signatureEdit.tpl @@ -57,7 +57,7 @@ {if !$__wcf->user->disableSignature}
- + {@SECURITY_TOKEN_INPUT_TAG}
diff --git a/com.woltlab.wcf/templates/styleChooser.tpl b/com.woltlab.wcf/templates/styleChooser.tpl index f5876d9739..1d415b3ee8 100644 --- a/com.woltlab.wcf/templates/styleChooser.tpl +++ b/com.woltlab.wcf/templates/styleChooser.tpl @@ -3,7 +3,7 @@
  • - +
    diff --git a/com.woltlab.wcf/templates/tagInput.tpl b/com.woltlab.wcf/templates/tagInput.tpl index 5efb00b858..23daa44c04 100644 --- a/com.woltlab.wcf/templates/tagInput.tpl +++ b/com.woltlab.wcf/templates/tagInput.tpl @@ -2,7 +2,7 @@
    - + {lang}wcf.tagging.tags.description{/lang}
    diff --git a/com.woltlab.wcf/templates/tagged.tpl b/com.woltlab.wcf/templates/tagged.tpl index adfff67bce..4a8b72f9c8 100644 --- a/com.woltlab.wcf/templates/tagged.tpl +++ b/com.woltlab.wcf/templates/tagged.tpl @@ -4,12 +4,12 @@ {capture assign='headContent'} {if $pageNo < $pages} - + {/if} {if $pageNo > 1} - + {/if} - + {/capture} {capture assign='sidebarLeft'} diff --git a/com.woltlab.wcf/templates/team.tpl b/com.woltlab.wcf/templates/team.tpl index c90e74caa2..3ebeb973df 100644 --- a/com.woltlab.wcf/templates/team.tpl +++ b/com.woltlab.wcf/templates/team.tpl @@ -1,5 +1,5 @@ {capture assign='headContent'} - + {/capture} {include file='header'} diff --git a/com.woltlab.wcf/templates/textI18nOptionType.tpl b/com.woltlab.wcf/templates/textI18nOptionType.tpl index 750ad80a83..95606c98c9 100644 --- a/com.woltlab.wcf/templates/textI18nOptionType.tpl +++ b/com.woltlab.wcf/templates/textI18nOptionType.tpl @@ -1,2 +1,2 @@ - + {include file='multipleLanguageInputJavascript' elementIdentifier=$option->optionName forceSelection=false} \ No newline at end of file diff --git a/com.woltlab.wcf/templates/textOptionType.tpl b/com.woltlab.wcf/templates/textOptionType.tpl index 3477f93a84..a7b643097b 100644 --- a/com.woltlab.wcf/templates/textOptionType.tpl +++ b/com.woltlab.wcf/templates/textOptionType.tpl @@ -1 +1 @@ -minlength > 0} required="required"{/if}{if $option->maxlength} maxlength="{$option->maxlength}"{/if}{if $inputClass} class="{@$inputClass}"{/if} /> +minlength > 0} required="required"{/if}{if $option->maxlength} maxlength="{$option->maxlength}"{/if}{if $inputClass} class="{@$inputClass}"{/if}> diff --git a/com.woltlab.wcf/templates/textSearchableOptionType.tpl b/com.woltlab.wcf/templates/textSearchableOptionType.tpl index 945e8366e7..b16f8c98d4 100644 --- a/com.woltlab.wcf/templates/textSearchableOptionType.tpl +++ b/com.woltlab.wcf/templates/textSearchableOptionType.tpl @@ -1,5 +1,5 @@ - - + + diff --git a/com.woltlab.wcf/templates/userProfileAboutEditable.tpl b/com.woltlab.wcf/templates/userProfileAboutEditable.tpl index 261f57b952..aa3c5280ea 100644 --- a/com.woltlab.wcf/templates/userProfileAboutEditable.tpl +++ b/com.woltlab.wcf/templates/userProfileAboutEditable.tpl @@ -7,7 +7,7 @@
    - + {if $errorType[__userTitle]|isset} {lang}wcf.user.userTitle.error.{@$errorType[__userTitle]}{/lang} diff --git a/com.woltlab.wcf/templates/userSearch.tpl b/com.woltlab.wcf/templates/userSearch.tpl index aa98a61098..bf8207ffde 100644 --- a/com.woltlab.wcf/templates/userSearch.tpl +++ b/com.woltlab.wcf/templates/userSearch.tpl @@ -11,7 +11,7 @@
    - +
    @@ -33,7 +33,7 @@ {event name='sections'}
    - + {@SECURITY_TOKEN_INPUT_TAG}
    diff --git a/com.woltlab.wcf/templates/usersOnlineList.tpl b/com.woltlab.wcf/templates/usersOnlineList.tpl index 7433466544..0cc97028ba 100644 --- a/com.woltlab.wcf/templates/usersOnlineList.tpl +++ b/com.woltlab.wcf/templates/usersOnlineList.tpl @@ -1,10 +1,10 @@ {capture assign='pageTitle'}{$__wcf->getActivePage()->getTitle()}{if $pageNo > 1} - {lang}wcf.page.pageNo{/lang}{/if}{/capture} {capture assign='headContent'} - + {if USERS_ONLINE_PAGE_REFRESH > 0} - + {/if} {/capture} @@ -35,7 +35,7 @@
    - + {@SID_INPUT_TAG}
    @@ -141,7 +141,7 @@ {capture append=robotsOnlineList}
  • -
    +
    @@ -161,7 +161,7 @@ {capture append=guestsOnlineList}
  • -
    +
    diff --git a/wcfsetup/install.php b/wcfsetup/install.php index f36ad6a225..47867e6854 100644 --- a/wcfsetup/install.php +++ b/wcfsetup/install.php @@ -133,15 +133,15 @@ class SystemException extends \Exception implements IPrintableException {

    Information:

    - error message: getMessage()); ?>
    - error code: getCode()); ?>
    + error message: getMessage()); ?>
    + error code: getCode()); ?>
    information; ?> - file: getFile()); ?> (getLine(); ?>)
    - php version:
    - wcf version:
    - date:
    - request:
    - referer:
    + file: getFile()); ?> (getLine(); ?>)
    + php version:
    + wcf version:
    + date:
    + request:
    + referer:

    Stacktrace:

    diff --git a/wcfsetup/install/files/acp/dereferrer.php b/wcfsetup/install/files/acp/dereferrer.php index 025038b8e2..9094a3942e 100644 --- a/wcfsetup/install/files/acp/dereferrer.php +++ b/wcfsetup/install/files/acp/dereferrer.php @@ -21,7 +21,7 @@ if (strpos($testURL, 'script:') !== false || !preg_match('~^https?://~', $testUR Dereferer - +

    diff --git a/wcfsetup/install/files/acp/templates/acpSessionLogList.tpl b/wcfsetup/install/files/acp/templates/acpSessionLogList.tpl index 4db8cbed80..11758b2fa1 100644 --- a/wcfsetup/install/files/acp/templates/acpSessionLogList.tpl +++ b/wcfsetup/install/files/acp/templates/acpSessionLogList.tpl @@ -42,7 +42,7 @@ {@$sessionLog->sessionLogID} {$sessionLog->username} - {$sessionLog->getIpAddress()}{if $sessionLog->hostname != $sessionLog->ipAddress}
    {$sessionLog->hostname}{/if} + {$sessionLog->getIpAddress()}{if $sessionLog->hostname != $sessionLog->ipAddress}
    {$sessionLog->hostname}{/if} {$sessionLog->userAgent|truncate:75|tableWordwrap} {@$sessionLog->time|time} {@$sessionLog->lastActivityTime|time} diff --git a/wcfsetup/install/files/acp/templates/adAdd.tpl b/wcfsetup/install/files/acp/templates/adAdd.tpl index dfe55c0d47..ffba830938 100644 --- a/wcfsetup/install/files/acp/templates/adAdd.tpl +++ b/wcfsetup/install/files/acp/templates/adAdd.tpl @@ -35,7 +35,7 @@
    - + {if $errorField == 'adName'} {if $errorType == 'empty'} @@ -68,7 +68,7 @@
    - +
    @@ -102,7 +102,7 @@
    - + {lang}wcf.acp.ad.showOrder.description{/lang}
    @@ -153,7 +153,7 @@
    - + {@SECURITY_TOKEN_INPUT_TAG}
    diff --git a/wcfsetup/install/files/acp/templates/applicationEdit.tpl b/wcfsetup/install/files/acp/templates/applicationEdit.tpl index 5f56f6a64f..1383e92bd6 100644 --- a/wcfsetup/install/files/acp/templates/applicationEdit.tpl +++ b/wcfsetup/install/files/acp/templates/applicationEdit.tpl @@ -27,7 +27,7 @@
    - + {if $errorField == 'domainName'} {if $errorType == 'empty'} @@ -44,7 +44,7 @@
    - + {lang}wcf.acp.application.domainPath.description{/lang} {if $errorField == 'domainPath'} @@ -70,7 +70,7 @@
    - + {if $errorField == 'cookieDomain'} {if $errorType == 'empty'} @@ -89,7 +89,7 @@ {event name='sections'}
    - + {@SECURITY_TOKEN_INPUT_TAG}
    diff --git a/wcfsetup/install/files/acp/templates/articleAdd.tpl b/wcfsetup/install/files/acp/templates/articleAdd.tpl index 6ceb45fb24..3118afc53c 100644 --- a/wcfsetup/install/files/acp/templates/articleAdd.tpl +++ b/wcfsetup/install/files/acp/templates/articleAdd.tpl @@ -87,7 +87,7 @@
    - + {if $errorField == 'username'} {if $errorType == 'empty'} @@ -103,7 +103,7 @@
    - + {if $errorField == 'time'} {if $errorType == 'empty'} @@ -119,16 +119,16 @@
    - - - + + +
    @@ -161,7 +161,7 @@ {/if}

    {lang}wcf.acp.article.image.button.chooseImage{/lang}

    - + {if $errorField == 'image'} {lang}wcf.acp.article.image.error.{@$errorType}{/lang} {/if} @@ -179,7 +179,7 @@
    - + {if $errorField == 'title'} {if $errorType == 'empty'} @@ -196,7 +196,7 @@
    - + {lang}wcf.tagging.tags.description{/lang}
    @@ -275,7 +275,7 @@ {/if}

    {lang}wcf.acp.article.image.button.chooseImage{/lang}

    - languageID]|isset} value="{@$imageID[$availableLanguage->languageID]}"{/if} /> + languageID]|isset} value="{@$imageID[$availableLanguage->languageID]}"{/if}> {if $errorField == 'image'|concat:$availableLanguage->languageID} {lang}wcf.acp.article.image.error.{@$errorType}{/lang} {/if} @@ -293,7 +293,7 @@ languageID} class="formError"{/if}>
    - + {if $errorField == 'title'|concat:$availableLanguage->languageID} {if $errorType == 'empty'} @@ -310,7 +310,7 @@
    - + {lang}wcf.tagging.tags.description{/lang}
    diff --git a/wcfsetup/install/files/acp/templates/articleList.tpl b/wcfsetup/install/files/acp/templates/articleList.tpl index 9daf33c477..152817bfc8 100644 --- a/wcfsetup/install/files/acp/templates/articleList.tpl +++ b/wcfsetup/install/files/acp/templates/articleList.tpl @@ -50,21 +50,21 @@
    - +
    - +
    - +
    @@ -72,7 +72,7 @@
    - + {@SECURITY_TOKEN_INPUT_TAG}
    @@ -129,7 +129,7 @@ {if $article->getImage()} {@$article->getImage()->getElementTag(48)} {else} - + {/if} diff --git a/wcfsetup/install/files/acp/templates/attachmentList.tpl b/wcfsetup/install/files/acp/templates/attachmentList.tpl index 0e03c09125..471c89c963 100644 --- a/wcfsetup/install/files/acp/templates/attachmentList.tpl +++ b/wcfsetup/install/files/acp/templates/attachmentList.tpl @@ -36,14 +36,14 @@
    - +
    - +
    @@ -63,7 +63,7 @@
    - + {@SECURITY_TOKEN_INPUT_TAG}
    @@ -111,7 +111,7 @@
    - + {if $errorField == 'bbcodeTag'} {if $errorType == 'empty'} @@ -117,7 +117,7 @@
    - + {if $errorField == 'htmlOpen'} {lang}wcf.acp.bbcode.htmlOpen.error.{$errorType}{/lang} {/if} @@ -127,7 +127,7 @@
    - + {if $errorField == 'htmlClose'} {lang}wcf.acp.bbcode.htmlClose.error.{$errorType}{/lang} {/if} @@ -145,7 +145,7 @@
    - + {lang}wcf.acp.bbcode.isSourceCode.description{/lang}
    @@ -153,7 +153,7 @@
    - + {if $errorField == 'className'} {lang}wcf.acp.bbcode.className.error.{$errorType}{/lang} {/if} @@ -164,14 +164,14 @@
    - +
    - + {if $errorField == 'buttonLabel'} {if $errorType == 'empty'} @@ -191,7 +191,7 @@
    - + {if $errorField == 'wysiwygIcon'} {if $errorType == 'empty'} @@ -219,14 +219,14 @@ attributeNo} class="formError"{/if}>
    - +
    attributeNo} class="formError"{/if}>
    - + {if $errorField == 'attributeValidationPattern'|concat:$attribute->attributeNo} {if $errorType == 'notValid'} @@ -239,13 +239,13 @@ attributeNo} class="formError"{/if}>
    - +
    attributeNo} class="formError"{/if}>
    - + {lang}wcf.acp.bbcode.attribute.useText.description{/lang}
    @@ -258,7 +258,7 @@ {event name='sections'}
    - + {@SECURITY_TOKEN_INPUT_TAG}
    diff --git a/wcfsetup/install/files/acp/templates/bbcodeMediaProviderAdd.tpl b/wcfsetup/install/files/acp/templates/bbcodeMediaProviderAdd.tpl index 3bf309f34f..05fdde8b2a 100644 --- a/wcfsetup/install/files/acp/templates/bbcodeMediaProviderAdd.tpl +++ b/wcfsetup/install/files/acp/templates/bbcodeMediaProviderAdd.tpl @@ -25,7 +25,7 @@
    - + {if $errorField == 'title'} {if $errorType == 'empty'} @@ -78,7 +78,7 @@ {event name='sections'}
    - + {@SECURITY_TOKEN_INPUT_TAG}
    diff --git a/wcfsetup/install/files/acp/templates/benchmark.tpl b/wcfsetup/install/files/acp/templates/benchmark.tpl index d790c9d7ba..b5bb5ddf3b 100644 --- a/wcfsetup/install/files/acp/templates/benchmark.tpl +++ b/wcfsetup/install/files/acp/templates/benchmark.tpl @@ -14,7 +14,7 @@