From: Marcel Werk Date: Wed, 28 Sep 2011 17:01:02 +0000 (+0200) Subject: Removed obsolete template code X-Git-Tag: 2.0.0_Beta_1~1753 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0b21b3b1b2fb9b18ac008c01be02bd1e60808eb1;p=GitHub%2FWoltLab%2FWCF.git Removed obsolete template code --- diff --git a/wcfsetup/install/files/acp/templates/cronjobAdd.tpl b/wcfsetup/install/files/acp/templates/cronjobAdd.tpl index 0518dcccf1..58cc5c8b7c 100644 --- a/wcfsetup/install/files/acp/templates/cronjobAdd.tpl +++ b/wcfsetup/install/files/acp/templates/cronjobAdd.tpl @@ -39,7 +39,6 @@ {if $errorField == 'className'} - {if $errorType == 'empty'} {lang}wcf.global.form.error.empty{/lang} {else} @@ -69,7 +68,6 @@ {if $errorField == 'startMinute'} - {lang}wcf.acp.cronjob.timing.error.{@$errorType}{/lang} {/if} @@ -83,7 +81,6 @@ {if $errorField == 'startHour'} - {lang}wcf.acp.cronjob.timing.error.{@$errorType}{/lang} {/if} @@ -97,7 +94,6 @@ {if $errorField == 'startDom'} - {lang}wcf.acp.cronjob.timing.error.{@$errorType}{/lang} {/if} @@ -111,7 +107,6 @@ {if $errorField == 'startMonth'} - {lang}wcf.acp.cronjob.timing.error.{@$errorType}{/lang} {/if} @@ -125,7 +120,6 @@ {if $errorField == 'startDow'} - {lang}wcf.acp.cronjob.timing.error.{@$errorType}{/lang} {/if} diff --git a/wcfsetup/install/files/acp/templates/header.tpl b/wcfsetup/install/files/acp/templates/header.tpl index 638a5c1e8e..93458058f8 100644 --- a/wcfsetup/install/files/acp/templates/header.tpl +++ b/wcfsetup/install/files/acp/templates/header.tpl @@ -67,6 +67,7 @@ new WCF.Date.Time(); new WCF.Effect.SmoothScroll(); new WCF.Effect.BalloonTooltip(); + $('').appendTo('.innerError'); }); //]]> diff --git a/wcfsetup/install/files/acp/templates/login.tpl b/wcfsetup/install/files/acp/templates/login.tpl index 9c1b97a4df..874de4f1cf 100644 --- a/wcfsetup/install/files/acp/templates/login.tpl +++ b/wcfsetup/install/files/acp/templates/login.tpl @@ -27,7 +27,6 @@
{if $errorField == 'username'} - {if $errorType == 'empty'} {lang}wcf.global.form.error.empty{/lang} {else} @@ -43,7 +42,6 @@
{if $errorField == 'password'} - {if $errorType == 'empty'} {lang}wcf.global.form.error.empty{/lang} {else} diff --git a/wcfsetup/install/files/acp/templates/masterPassword.tpl b/wcfsetup/install/files/acp/templates/masterPassword.tpl index ed4fc11abd..8cc71e7206 100644 --- a/wcfsetup/install/files/acp/templates/masterPassword.tpl +++ b/wcfsetup/install/files/acp/templates/masterPassword.tpl @@ -23,7 +23,6 @@ {if $errorField == 'masterPassword'} - {if $errorType == 'empty'} {lang}wcf.global.form.error.empty{/lang} {else} diff --git a/wcfsetup/install/files/acp/templates/masterPasswordInit.tpl b/wcfsetup/install/files/acp/templates/masterPasswordInit.tpl index ed62b3ec05..367c1bfc28 100644 --- a/wcfsetup/install/files/acp/templates/masterPasswordInit.tpl +++ b/wcfsetup/install/files/acp/templates/masterPasswordInit.tpl @@ -29,13 +29,12 @@
{lang}wcf.acp.masterPassword.init{/lang} - +
{if $errorField == 'masterPassword'} - {if $errorType == 'empty'} {lang}wcf.global.form.error.empty{/lang} {else} @@ -53,7 +52,6 @@ {if $errorField == 'confirmMasterPassword'} - {if $errorType == 'empty'} {lang}wcf.global.form.error.empty{/lang} {else} diff --git a/wcfsetup/install/files/acp/templates/optionFieldList.tpl b/wcfsetup/install/files/acp/templates/optionFieldList.tpl index de06c7fcd6..c815e94b5d 100644 --- a/wcfsetup/install/files/acp/templates/optionFieldList.tpl +++ b/wcfsetup/install/files/acp/templates/optionFieldList.tpl @@ -10,7 +10,6 @@
{@$optionData[html]} {if $error} - {if $error == 'empty'} {lang}wcf.global.form.error.empty{/lang} {else} diff --git a/wcfsetup/install/files/acp/templates/optionImport.tpl b/wcfsetup/install/files/acp/templates/optionImport.tpl index 77f753c00d..2065d1cbd8 100644 --- a/wcfsetup/install/files/acp/templates/optionImport.tpl +++ b/wcfsetup/install/files/acp/templates/optionImport.tpl @@ -27,7 +27,6 @@ {if $errorField == 'optionImport'} - {if $errorType == 'empty'} {lang}wcf.global.form.error.empty{/lang} {else} diff --git a/wcfsetup/install/files/acp/templates/packageStartInstall.tpl b/wcfsetup/install/files/acp/templates/packageStartInstall.tpl index 420f33125b..34b2c3bda3 100644 --- a/wcfsetup/install/files/acp/templates/packageStartInstall.tpl +++ b/wcfsetup/install/files/acp/templates/packageStartInstall.tpl @@ -39,7 +39,6 @@ {if $errorField == 'uploadPackage'} - {if $errorType == 'empty'} {lang}wcf.global.form.error.empty{/lang} {elseif $errorType == 'phpRequirements'} @@ -60,7 +59,6 @@ {if $errorField == 'downloadPackage'} - {lang}wcf.acp.package.startInstall.error.{@$errorType}{/lang} {/if} diff --git a/wcfsetup/install/files/acp/templates/packageUpdateAuth.tpl b/wcfsetup/install/files/acp/templates/packageUpdateAuth.tpl index e8523942ac..668aa23b00 100644 --- a/wcfsetup/install/files/acp/templates/packageUpdateAuth.tpl +++ b/wcfsetup/install/files/acp/templates/packageUpdateAuth.tpl @@ -52,7 +52,6 @@ {if $errorField == 'loginPassword'} - {if $errorType == 'invalid'}{lang}wcf.acp.packageUpdate.auth.error{/lang}{/if} {/if} diff --git a/wcfsetup/install/files/acp/templates/updateServerAdd.tpl b/wcfsetup/install/files/acp/templates/updateServerAdd.tpl index 6c87b78c0b..3af61a997a 100644 --- a/wcfsetup/install/files/acp/templates/updateServerAdd.tpl +++ b/wcfsetup/install/files/acp/templates/updateServerAdd.tpl @@ -37,7 +37,6 @@ {if $errorField == 'serverURL'} - {if $errorType == 'empty'} {lang}wcf.global.form.error.empty{/lang} {else} diff --git a/wcfsetup/install/files/acp/templates/userAdd.tpl b/wcfsetup/install/files/acp/templates/userAdd.tpl index ba071624bd..0ca8440804 100644 --- a/wcfsetup/install/files/acp/templates/userAdd.tpl +++ b/wcfsetup/install/files/acp/templates/userAdd.tpl @@ -87,7 +87,6 @@ {if $errorType.username|isset} - {if $errorType.username == 'empty'} {lang}wcf.global.form.error.empty{/lang} {else} @@ -127,7 +126,6 @@ {if $errorType.email|isset} - {if $errorType.email == 'empty'} {lang}wcf.global.form.error.empty{/lang} {else} @@ -144,7 +142,6 @@ {if $errorType.confirmEmail|isset} - {lang}wcf.user.confirmEmail.error.{@$errorType.confirmEmail}{/lang} {/if} @@ -163,7 +160,6 @@ {if $errorType.password|isset} - {if $errorType.password == 'empty'} {lang}wcf.global.form.error.empty{/lang} {else} @@ -180,7 +176,6 @@ {if $errorType.confirmPassword|isset} - {lang}wcf.user.confirmPassword.error.{@$errorType.confirmPassword}{/lang} {/if} diff --git a/wcfsetup/install/files/acp/templates/userAssignToGroup.tpl b/wcfsetup/install/files/acp/templates/userAssignToGroup.tpl index 7d8fa3ce58..dcd6e9be3f 100644 --- a/wcfsetup/install/files/acp/templates/userAssignToGroup.tpl +++ b/wcfsetup/install/files/acp/templates/userAssignToGroup.tpl @@ -33,7 +33,6 @@ {htmlCheckboxes options=$groups name=groupIDs selected=$groupIDs} {if $errorField == 'groupIDs'} - {if $errorType == 'empty'}{lang}wcf.global.form.error.empty{/lang}{/if} {/if} diff --git a/wcfsetup/install/files/acp/templates/userGroupAdd.tpl b/wcfsetup/install/files/acp/templates/userGroupAdd.tpl index ab70148890..530a4c1289 100644 --- a/wcfsetup/install/files/acp/templates/userGroupAdd.tpl +++ b/wcfsetup/install/files/acp/templates/userGroupAdd.tpl @@ -52,7 +52,6 @@ {if $errorType.groupName|isset} - {if $errorType.groupName == 'empty'} {lang}wcf.global.form.error.empty{/lang} {else} diff --git a/wcfsetup/install/files/acp/templates/userMail.tpl b/wcfsetup/install/files/acp/templates/userMail.tpl index e8569adc9c..0c9cacb0d4 100644 --- a/wcfsetup/install/files/acp/templates/userMail.tpl +++ b/wcfsetup/install/files/acp/templates/userMail.tpl @@ -74,7 +74,6 @@
{if $errorField == 'groupIDs'} - {if $errorType == 'empty'} {lang}wcf.global.form.error.empty{/lang} {else} @@ -96,7 +95,6 @@ {if $errorField == 'subject'} - {if $errorType == 'empty'} {lang}wcf.global.form.error.empty{/lang} {else} @@ -114,7 +112,6 @@ {if $errorField == 'from'} - {if $errorType == 'empty'} {lang}wcf.global.form.error.empty{/lang} {else} @@ -132,7 +129,6 @@ {if $errorField == 'text'} - {if $errorType == 'empty'} {lang}wcf.global.form.error.empty{/lang} {else} diff --git a/wcfsetup/install/files/acp/templates/usersMassProcessing.tpl b/wcfsetup/install/files/acp/templates/usersMassProcessing.tpl index afe08f8b12..5869997496 100644 --- a/wcfsetup/install/files/acp/templates/usersMassProcessing.tpl +++ b/wcfsetup/install/files/acp/templates/usersMassProcessing.tpl @@ -202,7 +202,6 @@ {if $errorField == 'action'} - {if $errorType == 'empty'}{lang}wcf.global.form.error.empty{/lang}{/if} {/if} @@ -222,7 +221,6 @@ {if $errorField == 'from'} - {if $errorType == 'empty'}{lang}wcf.global.form.error.empty{/lang}{/if} {/if} @@ -236,7 +234,6 @@ {if $errorField == 'subject'} - {if $errorType == 'empty'}{lang}wcf.global.form.error.empty{/lang}{/if} {/if} @@ -250,7 +247,6 @@ {if $errorField == 'text'} - {if $errorType == 'empty'}{lang}wcf.global.form.error.empty{/lang}{/if} {/if} @@ -310,7 +306,6 @@ {htmlCheckboxes options=$availableGroups name=assignToGroupIDArray selected=$assignToGroupIDArray} {if $errorField == 'assignToGroupIDArray'} - {if $errorType == 'empty'}{lang}wcf.global.form.error.empty{/lang}{/if} {/if}