From 95961bdf5bb0e3a6d73eda8da3c0faae71c75940 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Sat, 27 Feb 2016 17:22:08 +0100 Subject: [PATCH] Style/Template overhaul * Fixed margins/paddings * Removed/replaced deprecated elements (.container, .boxHeadline, fieldset, .marginTop) * Fixed deprecated icon names (.icon-* -> .fa-*) * Fixed sidebars * Some minor tweaks --- .../templates/accountManagement.tpl | 440 ++++++++-------- com.woltlab.wcf/templates/attachments.tpl | 90 ++-- .../templates/authorSidebarBox.tpl | 8 +- com.woltlab.wcf/templates/avatarEdit.tpl | 118 +++-- com.woltlab.wcf/templates/benchmark.tpl | 8 +- com.woltlab.wcf/templates/captchaQuestion.tpl | 10 +- .../templates/commentAddGuestDialog.tpl | 4 +- com.woltlab.wcf/templates/dashboard.tpl | 14 +- .../dashboardBoxFollowingsOnlineSidebar.tpl | 2 +- .../dashboardBoxMostActiveMembers.tpl | 2 +- .../dashboardBoxMostLikedMembers.tpl | 2 +- .../templates/dashboardBoxNewestMembers.tpl | 2 +- .../dashboardBoxPaidSubscriptions.tpl | 22 +- .../dashboardBoxPaidSubscriptionsSidebar.tpl | 2 +- .../templates/dashboardBoxRecentActivity.tpl | 28 +- .../dashboardBoxRecentActivitySidebar.tpl | 2 +- .../templates/dashboardBoxRegisterButton.tpl | 6 +- .../templates/dashboardBoxSignedInAs.tpl | 2 +- .../dashboardBoxStaffOnlineSidebar.tpl | 2 +- .../templates/dashboardBoxTodaysBirthdays.tpl | 2 +- .../dashboardBoxTodaysFollowingBirthdays.tpl | 2 +- .../dashboardBoxUsersOnlineSidebar.tpl | 2 +- .../templates/deletedContentList.tpl | 30 +- .../templates/detailedActivityPointList.tpl | 2 +- com.woltlab.wcf/templates/disclaimer.tpl | 18 +- com.woltlab.wcf/templates/editHistory.tpl | 18 +- com.woltlab.wcf/templates/emailActivation.tpl | 64 ++- .../templates/emailNewActivationCode.tpl | 82 ++- com.woltlab.wcf/templates/following.tpl | 10 +- com.woltlab.wcf/templates/groupedUserList.tpl | 23 +- com.woltlab.wcf/templates/ignoredUsers.tpl | 10 +- com.woltlab.wcf/templates/login.tpl | 190 ++++--- com.woltlab.wcf/templates/lostPassword.tpl | 78 ++- com.woltlab.wcf/templates/mail.tpl | 120 +++-- .../templates/manageSubscription.tpl | 4 +- com.woltlab.wcf/templates/mediaEditor.tpl | 14 +- com.woltlab.wcf/templates/mediaManager.tpl | 4 +- com.woltlab.wcf/templates/membersList.tpl | 66 +-- .../templates/messageQuoteList.tpl | 4 +- com.woltlab.wcf/templates/messageSidebar.tpl | 2 +- .../templates/moderationActivation.tpl | 32 +- .../templates/moderationComment.tpl | 2 +- com.woltlab.wcf/templates/moderationList.tpl | 40 +- .../templates/moderationQueueAssignUser.tpl | 4 +- .../templates/moderationQueueList.tpl | 2 +- .../templates/moderationReport.tpl | 48 +- .../templates/moderationReportDialog.tpl | 8 +- com.woltlab.wcf/templates/moderationUser.tpl | 2 +- com.woltlab.wcf/templates/newPassword.tpl | 78 ++- .../templates/notificationList.tpl | 24 +- .../templates/notificationSettings.tpl | 18 +- .../templates/pageFooterCopyright.tpl | 2 +- com.woltlab.wcf/templates/pageHeaderUser.tpl | 14 +- .../templates/paidSubscriptionList.tpl | 56 +- com.woltlab.wcf/templates/poll.tpl | 2 +- com.woltlab.wcf/templates/quoteBBCodeTag.tpl | 4 +- com.woltlab.wcf/templates/quoteMetaCode.tpl | 4 +- com.woltlab.wcf/templates/recaptcha.tpl | 16 +- .../templates/recentActivities.tpl | 2 +- .../templates/recentActivityList.tpl | 10 +- .../templates/recentActivityListItem.tpl | 2 +- com.woltlab.wcf/templates/register.tpl | 291 ++++++----- .../templates/registerActivation.tpl | 64 ++- .../templates/registerNewActivationCode.tpl | 108 ++-- com.woltlab.wcf/templates/searchResult.tpl | 6 +- .../templates/searchResultList.tpl | 10 +- com.woltlab.wcf/templates/settings.tpl | 164 +++--- .../templates/shareButtonsPrivacySettings.tpl | 2 +- com.woltlab.wcf/templates/signatureEdit.tpl | 86 ++-- com.woltlab.wcf/templates/sitemap.tpl | 4 +- .../templates/spoilerBBCodeTag.tpl | 2 +- com.woltlab.wcf/templates/styleChooser.tpl | 2 +- com.woltlab.wcf/templates/tagged.tpl | 26 +- com.woltlab.wcf/templates/team.tpl | 8 +- com.woltlab.wcf/templates/user.tpl | 18 +- .../templates/userBirthdayList.tpl | 6 +- com.woltlab.wcf/templates/userHeader.tpl | 4 +- com.woltlab.wcf/templates/userListItem.tpl | 2 +- com.woltlab.wcf/templates/userMenuSidebar.tpl | 2 +- .../templates/userProfileAboutEditable.tpl | 57 +- .../templates/userProfileCommentList.tpl | 2 +- .../templates/userProfileLikeItem.tpl | 2 +- com.woltlab.wcf/templates/userSearch.tpl | 53 +- com.woltlab.wcf/templates/userSidebar.tpl | 6 +- .../templates/usersOnlineInfoBox.tpl | 30 +- com.woltlab.wcf/templates/usersOnlineList.tpl | 91 ++-- com.woltlab.wcf/templates/worker.tpl | 4 +- wcfsetup/install/files/acp/js/WCF.ACP.js | 8 +- .../files/acp/templates/acpSessionLog.tpl | 10 +- .../files/acp/templates/acpSessionLogList.tpl | 10 +- .../install/files/acp/templates/adAdd.tpl | 210 ++++---- .../install/files/acp/templates/adList.tpl | 6 +- .../files/acp/templates/applicationEdit.tpl | 133 +++-- .../acp/templates/applicationManagement.tpl | 10 +- .../files/acp/templates/attachmentList.tpl | 68 ++- .../install/files/acp/templates/bbcodeAdd.tpl | 275 +++++----- .../files/acp/templates/bbcodeList.tpl | 28 +- .../acp/templates/bbcodeMediaProviderAdd.tpl | 114 ++-- .../acp/templates/bbcodeMediaProviderList.tpl | 32 +- .../install/files/acp/templates/benchmark.tpl | 2 +- .../install/files/acp/templates/boxAdd.tpl | 2 +- .../install/files/acp/templates/boxList.tpl | 13 +- .../files/acp/templates/bulkProcessing.tpl | 72 +-- .../install/files/acp/templates/cacheList.tpl | 68 +-- .../files/acp/templates/captchaQuestion.tpl | 10 +- .../acp/templates/captchaQuestionAdd.tpl | 106 ++-- .../acp/templates/captchaQuestionList.tpl | 10 +- .../files/acp/templates/categoryAdd.tpl | 174 +++---- .../files/acp/templates/categoryList.tpl | 8 +- .../files/acp/templates/cronjobAdd.tpl | 220 ++++---- .../files/acp/templates/cronjobList.tpl | 16 +- .../files/acp/templates/cronjobLogList.tpl | 10 +- .../files/acp/templates/dashboardList.tpl | 10 +- .../files/acp/templates/dashboardOption.tpl | 44 +- .../files/acp/templates/dataImport.tpl | 244 +++++---- .../files/acp/templates/exceptionLogView.tpl | 148 +++--- .../install/files/acp/templates/index.tpl | 2 +- .../install/files/acp/templates/labelAdd.tpl | 144 +++--- .../files/acp/templates/labelGroupAdd.tpl | 28 +- .../files/acp/templates/labelGroupList.tpl | 10 +- .../install/files/acp/templates/labelList.tpl | 10 +- .../files/acp/templates/languageAdd.tpl | 144 +++--- .../files/acp/templates/languageExport.tpl | 88 ++-- .../files/acp/templates/languageImport.tpl | 70 ++- .../acp/templates/languageItemEditDialog.tpl | 15 +- .../files/acp/templates/languageItemList.tpl | 104 ++-- .../files/acp/templates/languageList.tpl | 10 +- .../acp/templates/languageMultilingualism.tpl | 52 +- .../files/acp/templates/languageServerAdd.tpl | 46 +- .../acp/templates/languageServerList.tpl | 12 +- .../files/acp/templates/masterPassword.tpl | 48 +- .../acp/templates/masterPasswordInit.tpl | 96 ++-- .../install/files/acp/templates/mediaAdd.tpl | 12 +- .../files/acp/templates/mediaEditor.tpl | 14 +- .../install/files/acp/templates/mediaList.tpl | 12 +- .../files/acp/templates/mediaManager.tpl | 4 +- .../install/files/acp/templates/menuAdd.tpl | 10 +- .../files/acp/templates/menuItemAdd.tpl | 10 +- .../files/acp/templates/menuItemList.tpl | 6 +- .../install/files/acp/templates/menuList.tpl | 10 +- .../install/files/acp/templates/noticeAdd.tpl | 258 +++++----- .../files/acp/templates/noticeList.tpl | 6 +- .../templates/notificationPresetSettings.tpl | 22 +- .../install/files/acp/templates/option.tpl | 27 +- .../install/files/acp/templates/package.tpl | 30 +- .../templates/packageInstallationConfirm.tpl | 70 ++- .../templates/packageInstallationSetup.tpl | 4 +- .../packageInstallationStepPrepare.tpl | 4 +- .../files/acp/templates/packageList.tpl | 10 +- .../acp/templates/packageSearchResultList.tpl | 2 +- .../acp/templates/packageStartInstall.tpl | 30 +- .../packageUninstallationStepPrepare.tpl | 4 +- .../files/acp/templates/packageUpdate.tpl | 64 +-- .../packageUpdateExcludedPackages.tpl | 20 +- .../acp/templates/packageUpdateServerAdd.tpl | 78 ++- .../acp/templates/packageUpdateServerList.tpl | 10 +- .../templates/packageUpdateUnauthorized.tpl | 12 +- .../install/files/acp/templates/pageAdd.tpl | 438 ++++++++-------- .../files/acp/templates/pageHeaderUser.tpl | 4 +- .../files/acp/templates/pageLanding.tpl | 6 +- .../install/files/acp/templates/pageList.tpl | 10 +- .../files/acp/templates/pageMenuItemAdd.tpl | 338 ++++++------ .../files/acp/templates/pageMenuItemList.tpl | 178 ++++--- .../acp/templates/paidSubscriptionAdd.tpl | 282 +++++----- .../acp/templates/paidSubscriptionList.tpl | 10 +- .../paidSubscriptionTransactionLog.tpl | 82 +-- .../paidSubscriptionTransactionLogList.tpl | 66 ++- .../acp/templates/paidSubscriptionUserAdd.tpl | 62 ++- .../templates/paidSubscriptionUserList.tpl | 10 +- .../install/files/acp/templates/phpInfo.tpl | 4 +- .../templates/pluginStoreAuthorization.tpl | 10 +- .../templates/pluginStorePurchasedItems.tpl | 30 +- .../files/acp/templates/rebuildData.tpl | 52 +- .../install/files/acp/templates/recaptcha.tpl | 20 +- .../files/acp/templates/rescueMode.tpl | 6 +- .../install/files/acp/templates/smileyAdd.tpl | 268 +++++----- .../files/acp/templates/smileyList.tpl | 8 +- wcfsetup/install/files/acp/templates/stat.tpl | 96 ++-- .../install/files/acp/templates/styleAdd.tpl | 487 +++++++++--------- .../files/acp/templates/styleExport.tpl | 72 +-- .../files/acp/templates/styleImport.tpl | 52 +- .../install/files/acp/templates/styleList.tpl | 8 +- .../install/files/acp/templates/tagAdd.tpl | 132 +++-- .../install/files/acp/templates/tagList.tpl | 32 +- .../files/acp/templates/tagSetAsSynonyms.tpl | 2 +- .../files/acp/templates/templateAdd.tpl | 88 ++-- .../files/acp/templates/templateDiff.tpl | 66 ++- .../files/acp/templates/templateGroupAdd.tpl | 102 ++-- .../files/acp/templates/templateGroupList.tpl | 50 +- .../files/acp/templates/templateList.tpl | 76 ++- .../acp/templates/userActivityPointOption.tpl | 38 +- .../install/files/acp/templates/userAdd.tpl | 78 ++- .../files/acp/templates/userAssignToGroup.tpl | 58 +-- .../userAuthenticationFailureList.tpl | 10 +- .../files/acp/templates/userConditions.tpl | 10 +- .../templates/userContentRevertChanges.tpl | 64 ++- .../acp/templates/userEmailAddressExport.tpl | 80 ++- .../files/acp/templates/userGroupAdd.tpl | 230 ++++----- .../acp/templates/userGroupAssignmentAdd.tpl | 100 ++-- .../acp/templates/userGroupAssignmentList.tpl | 10 +- .../files/acp/templates/userGroupList.tpl | 10 +- .../files/acp/templates/userGroupOption.tpl | 51 +- .../install/files/acp/templates/userList.tpl | 12 +- .../install/files/acp/templates/userMail.tpl | 174 ++++--- .../install/files/acp/templates/userMerge.tpl | 74 ++- .../files/acp/templates/userOptionAdd.tpl | 396 +++++++------- .../acp/templates/userOptionCategoryAdd.tpl | 62 ++- .../acp/templates/userOptionCategoryList.tpl | 27 +- .../files/acp/templates/userOptionList.tpl | 28 +- .../acp/templates/userOptionSetDefaults.tpl | 54 +- .../acp/templates/userOptionsCondition.tpl | 10 +- .../files/acp/templates/userRankAdd.tpl | 292 ++++++----- .../files/acp/templates/userRankList.tpl | 10 +- .../files/acp/templates/userSearch.tpl | 40 +- .../install/files/acp/templates/worker.tpl | 4 +- wcfsetup/install/files/js/WCF.ImageViewer.js | 2 +- wcfsetup/install/files/js/WCF.Location.js | 2 +- wcfsetup/install/files/js/WCF.Message.js | 10 +- wcfsetup/install/files/js/WCF.Moderation.js | 2 +- wcfsetup/install/files/js/WCF.User.js | 4 +- wcfsetup/install/files/js/WCF.js | 4 +- .../files/js/WoltLab/WCF/Language/Chooser.js | 2 +- .../files/js/WoltLab/WCF/Media/Editor.js | 3 - .../js/WoltLab/WCF/Media/Manager/Base.js | 8 - .../js/WoltLab/WCF/Ui/Redactor/Mention.js | 2 +- .../files/lib/acp/page/PHPInfoPage.class.php | 6 +- .../GroupFormElementContainer.class.php | 11 +- ...pleSelectionFormElementContainer.class.php | 11 +- ...gleSelectionFormElementContainer.class.php | 11 +- wcfsetup/install/files/style/element/dl.scss | 20 +- .../install/files/style/element/label.scss | 2 +- wcfsetup/install/files/style/layout/box.scss | 30 +- .../files/style/layout/containerList.scss | 30 +- .../install/files/style/layout/content.scss | 64 ++- .../install/files/style/layout/global.scss | 14 +- .../install/files/style/layout/layout.scss | 2 +- .../files/style/layout/pageFooter.scss | 10 +- .../install/files/style/layout/sidebar.scss | 6 +- wcfsetup/install/files/style/ui/alert.scss | 1 + wcfsetup/install/files/style/ui/dialog.scss | 2 +- wcfsetup/install/files/style/ui/dropdown.scss | 8 +- wcfsetup/install/files/style/ui/message.scss | 3 +- wcfsetup/install/files/style/ui/tabMenu.scss | 19 +- .../install/files/style/ui/tabularBox.scss | 35 +- .../install/files/style/ui/userProfile.scss | 4 + 245 files changed, 5839 insertions(+), 6156 deletions(-) diff --git a/com.woltlab.wcf/templates/accountManagement.tpl b/com.woltlab.wcf/templates/accountManagement.tpl index bcd19e2a43..aa32c75768 100644 --- a/com.woltlab.wcf/templates/accountManagement.tpl +++ b/com.woltlab.wcf/templates/accountManagement.tpl @@ -10,10 +10,10 @@ {include file='userMenuSidebar'} -{include file='header' sidebarOrientation='left'} +{include file='header'} -
-

{lang}wcf.user.accountManagement{/lang}

+
+

{lang}wcf.user.accountManagement{/lang}

{include file='userNotice'} @@ -45,247 +45,245 @@
-
- {if !$__authProvider} -
- - - -
-
- - {if $errorField == 'password'} - - {if $errorType == 'empty'}{lang}wcf.global.form.error.empty{/lang}{/if} - {if $errorType == 'false'}{lang}wcf.user.password.error.false{/lang}{/if} - - {/if} - {lang}wcf.user.accountManagement.password.description{/lang} -
- + {if !$__authProvider} +
+

{lang}wcf.user.password{/lang}

+ + +
+
+ + {if $errorField == 'password'} + + {if $errorType == 'empty'}{lang}wcf.global.form.error.empty{/lang}{/if} + {if $errorType == 'false'}{lang}wcf.user.password.error.false{/lang}{/if} + + {/if} + {lang}wcf.user.accountManagement.password.description{/lang} +
+ + +
+
+
+ +
+
+ + {event name='passwordFields'} +
+ {/if} + + {if $__wcf->getSession()->getPermission('user.profile.canRename')} +
+

{lang}wcf.user.changeUsername{/lang}

+ +
+
+ + + {if $errorField == 'username'} + + {if $errorType == 'empty'}{lang}wcf.global.form.error.empty{/lang}{/if} + {if $errorType == 'notValid'}{lang}wcf.user.username.error.notValid{/lang}{/if} + {if $errorType == 'notUnique'}{lang}wcf.user.username.error.notUnique{/lang}{/if} + {if $errorType == 'alreadyRenamed'}{lang}wcf.user.username.error.alreadyRenamed{/lang}{/if} + + {/if} + {if $renamePeriod > 0} + {lang}wcf.user.changeUsername.description{/lang} + {/if} +
+ + + {event name='changeUsernameFields'} +
+ {/if} + + {if !$__authProvider} +
+

{lang}wcf.user.changePassword{/lang}

+ + +
+
+ + + {if $errorField == 'newPassword'} + + {if $errorType == 'empty'}{lang}wcf.global.form.error.empty{/lang}{/if} + {if $errorType == 'notSecure'}{lang}wcf.user.password.error.notSecure{/lang}{/if} + + {/if} +
+ + + +
+
+ + + {if $errorField == 'confirmNewPassword'} + + {if $errorType == 'empty'}{lang}wcf.global.form.error.empty{/lang}{/if} + {if $errorType == 'notEqual'}{lang}wcf.user.confirmPassword.error.notEqual{/lang}{/if} + + {/if} +
+ + + {event name='changePasswordFields'} +
+ {/if} + + {if $__wcf->getSession()->getPermission('user.profile.canChangeEmail')} +
+

{lang}wcf.user.changeEmail{/lang}

+ + +
+
+ + + {if $errorField == 'email'} + + {if $errorType == 'empty'}{lang}wcf.global.form.error.empty{/lang}{/if} + {if $errorType == 'notValid'}{lang}wcf.user.email.error.notValid{/lang}{/if} + {if $errorType == 'notUnique'}{lang}wcf.user.email.error.notUnique{/lang}{/if} + + {/if} +
+ + + +
+
+ + + {if $errorField == 'confirmEmail'} + + {if $errorType == 'notEqual'}{lang}wcf.user.confirmEmail.error.notEqual{/lang}{/if} + + {/if} +
+ + + {event name='changeEmailFields'} + + {if REGISTER_ACTIVATION_METHOD == 1 && $__wcf->getUser()->reactivationCode != 0}
+ {lang newEmail=$__wcf->user->email}wcf.user.changeEmail.needReactivation{/lang}
- - {event name='passwordFields'} -
- {/if} - - {if $__wcf->getSession()->getPermission('user.profile.canRename')} -
- - - -
-
- - - {if $errorField == 'username'} - - {if $errorType == 'empty'}{lang}wcf.global.form.error.empty{/lang}{/if} - {if $errorType == 'notValid'}{lang}wcf.user.username.error.notValid{/lang}{/if} - {if $errorType == 'notUnique'}{lang}wcf.user.username.error.notUnique{/lang}{/if} - {if $errorType == 'alreadyRenamed'}{lang}wcf.user.username.error.alreadyRenamed{/lang}{/if} - - {/if} - {if $renamePeriod > 0} - {lang}wcf.user.changeUsername.description{/lang} - {/if} -
- - - {event name='changeUsernameFields'} -
- {/if} - - {if !$__authProvider} -
- - - -
-
- - - {if $errorField == 'newPassword'} - - {if $errorType == 'empty'}{lang}wcf.global.form.error.empty{/lang}{/if} - {if $errorType == 'notSecure'}{lang}wcf.user.password.error.notSecure{/lang}{/if} - - {/if} -
- - - -
-
- - - {if $errorField == 'confirmNewPassword'} - - {if $errorType == 'empty'}{lang}wcf.global.form.error.empty{/lang}{/if} - {if $errorType == 'notEqual'}{lang}wcf.user.confirmPassword.error.notEqual{/lang}{/if} - - {/if} -
- - - {event name='changePasswordFields'} -
- {/if} - - {if $__wcf->getSession()->getPermission('user.profile.canChangeEmail')} -
- - - -
+ {/if} + + {/if} + + {if $__wcf->getSession()->getPermission('user.profile.canQuit')} +
+

{lang}wcf.user.quit{/lang}

+ + {if $quitStarted} +
+
- - - {if $errorField == 'email'} - - {if $errorType == 'empty'}{lang}wcf.global.form.error.empty{/lang}{/if} - {if $errorType == 'notValid'}{lang}wcf.user.email.error.notValid{/lang}{/if} - {if $errorType == 'notUnique'}{lang}wcf.user.email.error.notUnique{/lang}{/if} - - {/if} +
- - -
+ {else} +
+
- - - {if $errorField == 'confirmEmail'} - - {if $errorType == 'notEqual'}{lang}wcf.user.confirmEmail.error.notEqual{/lang}{/if} - - {/if} + + {lang}wcf.user.quit.description{/lang}
- - {event name='changeEmailFields'} - - {if REGISTER_ACTIVATION_METHOD == 1 && $__wcf->getUser()->reactivationCode != 0} -
-
-
- - {lang newEmail=$__wcf->user->email}wcf.user.changeEmail.needReactivation{/lang} -
-
- {/if} -
- {/if} - - {if $__wcf->getSession()->getPermission('user.profile.canQuit')} -
- {lang}wcf.user.quit{/lang} - - {if $quitStarted} -
-
-
- -
-
- {else} + {/if} + + {event name='quitFields'} + + {/if} + + {hascontent} +
+

{lang}wcf.user.3rdparty{/lang}

+ + {content} + {if $__authProvider}
-
+
{lang}wcf.user.3rdparty.{@$__authProvider}{/lang}
- - {lang}wcf.user.quit.description{/lang} +
- {/if} - - {event name='quitFields'} -
- {/if} - - {hascontent} -
- {lang}wcf.user.3rdparty{/lang} - - {content} - {if $__authProvider} + {elseif !$__wcf->getUser()->hasAdministrativeAccess()} + {if GITHUB_PUBLIC_KEY !== '' && GITHUB_PRIVATE_KEY !== ''}
-
{lang}wcf.user.3rdparty.{@$__authProvider}{/lang}
+
{lang}wcf.user.3rdparty.github{/lang}
- + {if $__wcf->getSession()->getVar('__githubToken')} + + {else} + {lang}wcf.user.3rdparty.github.connect{/lang} + {/if}
- {elseif !$__wcf->getUser()->hasAdministrativeAccess()} - {if GITHUB_PUBLIC_KEY !== '' && GITHUB_PRIVATE_KEY !== ''} -
-
{lang}wcf.user.3rdparty.github{/lang}
-
- {if $__wcf->getSession()->getVar('__githubToken')} - - {else} - {lang}wcf.user.3rdparty.github.connect{/lang} - {/if} -
-
- {/if} - - {if TWITTER_PUBLIC_KEY !== '' && TWITTER_PRIVATE_KEY !== ''} -
-
{lang}wcf.user.3rdparty.twitter{/lang}
-
- {if $__wcf->getSession()->getVar('__twitterData')} - - {else} - {lang}wcf.user.3rdparty.twitter.connect{/lang} - {/if} -
-
- {/if} - - {if FACEBOOK_PUBLIC_KEY !== '' && FACEBOOK_PRIVATE_KEY !== ''} -
-
{lang}wcf.user.3rdparty.facebook{/lang}
-
- {if $__wcf->getSession()->getVar('__facebookData')} - - {else} - {lang}wcf.user.3rdparty.facebook.connect{/lang} - {/if} -
-
- {/if} - - {if GOOGLE_PUBLIC_KEY !== '' && GOOGLE_PRIVATE_KEY !== ''} -
-
{lang}wcf.user.3rdparty.google{/lang}
-
- {if $__wcf->getSession()->getVar('__googleData')} - - {else} - {lang}wcf.user.3rdparty.google.connect{/lang} - {/if} -
-
- {/if} - - {event name='3rdpartyFields'} {/if} - {/content} -
- {/hascontent} - - {event name='fieldsets'} -
+ + {if TWITTER_PUBLIC_KEY !== '' && TWITTER_PRIVATE_KEY !== ''} +
+
{lang}wcf.user.3rdparty.twitter{/lang}
+
+ {if $__wcf->getSession()->getVar('__twitterData')} + + {else} + {lang}wcf.user.3rdparty.twitter.connect{/lang} + {/if} +
+
+ {/if} + + {if FACEBOOK_PUBLIC_KEY !== '' && FACEBOOK_PRIVATE_KEY !== ''} +
+
{lang}wcf.user.3rdparty.facebook{/lang}
+
+ {if $__wcf->getSession()->getVar('__facebookData')} + + {else} + {lang}wcf.user.3rdparty.facebook.connect{/lang} + {/if} +
+
+ {/if} + + {if GOOGLE_PUBLIC_KEY !== '' && GOOGLE_PRIVATE_KEY !== ''} +
+
{lang}wcf.user.3rdparty.google{/lang}
+
+ {if $__wcf->getSession()->getVar('__googleData')} + + {else} + {lang}wcf.user.3rdparty.google.connect{/lang} + {/if} +
+
+ {/if} + + {event name='3rdpartyFields'} + {/if} + {/content} + + {/hascontent} + + {event name='sections'}
diff --git a/com.woltlab.wcf/templates/attachments.tpl b/com.woltlab.wcf/templates/attachments.tpl index ca6a12f2ce..0f68496554 100644 --- a/com.woltlab.wcf/templates/attachments.tpl +++ b/com.woltlab.wcf/templates/attachments.tpl @@ -1,55 +1,51 @@ {if $attachmentList && $attachmentList->getGroupedObjects($objectID)|count} {hascontent} -
-
- {lang}wcf.attachment.images{/lang} - -
    - {content} - {foreach from=$attachmentList->getGroupedObjects($objectID) item=attachment} - {if $attachment->showAsImage() && !$attachment->isEmbedded()} -
  • - {if $attachment->hasThumbnail()} - canDownload()} class="jsImageViewer" title="{$attachment->filename}"{/if}> - {else} - - {/if} - -
    -

    {$attachment->filename}

    - {lang}wcf.attachment.image.info{/lang} -
    -
  • - {/if} - {/foreach} - {/content} -
-
-
+
+

{lang}wcf.attachment.images{/lang}

+ +
    + {content} + {foreach from=$attachmentList->getGroupedObjects($objectID) item=attachment} + {if $attachment->showAsImage() && !$attachment->isEmbedded()} +
  • + {if $attachment->hasThumbnail()} + canDownload()} class="jsImageViewer" title="{$attachment->filename}"{/if}> + {else} + + {/if} + +
    +

    {$attachment->filename}

    + {lang}wcf.attachment.image.info{/lang} +
    +
  • + {/if} + {/foreach} + {/content} +
+
{/hascontent} {hascontent} -
-
- {lang}wcf.attachment.files{/lang} +
+

{lang}wcf.attachment.files{/lang}

-
    - {content} - {foreach from=$attachmentList->getGroupedObjects($objectID) item=attachment} - {if $attachment->showAsFile() && !$attachment->isEmbedded()} -
  • - - -
    -

    {$attachment->filename}

    - {lang}wcf.attachment.file.info{/lang} -
    -
  • - {/if} - {/foreach} - {/content} -
-
-
+
    + {content} + {foreach from=$attachmentList->getGroupedObjects($objectID) item=attachment} + {if $attachment->showAsFile() && !$attachment->isEmbedded()} +
  • + + +
    +

    {$attachment->filename}

    + {lang}wcf.attachment.file.info{/lang} +
    +
  • + {/if} + {/foreach} + {/content} +
+ {/hascontent} {/if} diff --git a/com.woltlab.wcf/templates/authorSidebarBox.tpl b/com.woltlab.wcf/templates/authorSidebarBox.tpl index 03f648b464..c40925d5dd 100644 --- a/com.woltlab.wcf/templates/authorSidebarBox.tpl +++ b/com.woltlab.wcf/templates/authorSidebarBox.tpl @@ -1,7 +1,5 @@ -
- - -
+
+
{@$userProfile->getAvatar()->getImageTag(96)}
@@ -24,4 +22,4 @@ {/if}
-
\ No newline at end of file +
\ No newline at end of file diff --git a/com.woltlab.wcf/templates/avatarEdit.tpl b/com.woltlab.wcf/templates/avatarEdit.tpl index bb59360906..a2cd0c127b 100644 --- a/com.woltlab.wcf/templates/avatarEdit.tpl +++ b/com.woltlab.wcf/templates/avatarEdit.tpl @@ -10,10 +10,10 @@ {include file='userMenuSidebar'} -{include file='header' sidebarOrientation='left'} +{include file='header'} -
-

{lang}wcf.user.avatar.edit{/lang}

+
+

{lang}wcf.user.avatar.edit{/lang}

{include file='userNotice'} @@ -41,67 +41,65 @@ -
-
- {lang}wcf.user.avatar{/lang} - -
-
-
- - {lang}wcf.user.avatar.type.none.description{/lang} -
-
+
+

{lang}wcf.user.avatar{/lang}

- {if $__wcf->getSession()->getPermission('user.profile.avatar.canUploadAvatar')} -
-
- {if $avatarType == 'custom'} - {if $__wcf->getUserProfileHandler()->getAvatar()->canCrop()} - {@$__wcf->getUserProfileHandler()->getAvatar()->getCropImageTag(96)} - {else} - {@$__wcf->getUserProfileHandler()->getAvatar()->getImageTag(96)} - {/if} +
+
+
+ + {lang}wcf.user.avatar.type.none.description{/lang} +
+
+ + {if $__wcf->getSession()->getPermission('user.profile.avatar.canUploadAvatar')} +
+
+ {if $avatarType == 'custom'} + {if $__wcf->getUserProfileHandler()->getAvatar()->canCrop()} + {@$__wcf->getUserProfileHandler()->getAvatar()->getCropImageTag(96)} {else} - - {/if} -
-
- - {lang}wcf.user.avatar.type.custom.description{/lang} - - {* placeholder for upload button: *} -
- - {if $errorField == 'custom'} - - {if $errorType == 'empty'}{lang}wcf.global.form.error.empty{/lang}{/if} - + {@$__wcf->getUserProfileHandler()->getAvatar()->getImageTag(96)} {/if} -
-
- {/if} - - {if MODULE_GRAVATAR} - -
-
- - {if $errorField == 'gravatar'} - - {if $errorType == 'notFound'}{lang}wcf.user.avatar.type.gravatar.error.notFound{/lang}{/if} - - {/if} - {lang}wcf.user.avatar.type.gravatar.description{/lang} -
-
- {/if} - - {event name='avatarFields'} -
+ {else} + + {/if} + +
+ + {lang}wcf.user.avatar.type.custom.description{/lang} + + {* placeholder for upload button: *} +
+ + {if $errorField == 'custom'} + + {if $errorType == 'empty'}{lang}wcf.global.form.error.empty{/lang}{/if} + + {/if} +
+ + {/if} + + {if MODULE_GRAVATAR} + +
+
+ + {if $errorField == 'gravatar'} + + {if $errorType == 'notFound'}{lang}wcf.user.avatar.type.gravatar.error.notFound{/lang}{/if} + + {/if} + {lang}wcf.user.avatar.type.gravatar.description{/lang} +
+ + {/if} + + {event name='avatarFields'} + - {event name='fieldsets'} -
+ {event name='sections'} {if !$__wcf->user->disableAvatar}
diff --git a/com.woltlab.wcf/templates/benchmark.tpl b/com.woltlab.wcf/templates/benchmark.tpl index d289c89fd5..1d7be2e7ea 100644 --- a/com.woltlab.wcf/templates/benchmark.tpl +++ b/com.woltlab.wcf/templates/benchmark.tpl @@ -1,6 +1,7 @@ -

Execution time: {@$__wcf->getBenchmark()->getExecutionTime()}s ({#($__wcf->getBenchmark()->getExecutionTime()-$__wcf->getBenchmark()->getQueryExecutionTime())/$__wcf->getBenchmark()->getExecutionTime()*100}% PHP, {#$__wcf->getBenchmark()->getQueryExecutionTime()/$__wcf->getBenchmark()->getExecutionTime()*100}% SQL) | SQL queries: {#$__wcf->getBenchmark()->getQueryCount()} | Memory-Usage: {$__wcf->getBenchmark()->getMemoryUsage()}

+ \ No newline at end of file diff --git a/com.woltlab.wcf/templates/captchaQuestion.tpl b/com.woltlab.wcf/templates/captchaQuestion.tpl index 827525057e..9bd84ac69a 100644 --- a/com.woltlab.wcf/templates/captchaQuestion.tpl +++ b/com.woltlab.wcf/templates/captchaQuestion.tpl @@ -1,9 +1,11 @@ {if !$captchaQuestionAnswered} -
- {lang}wcf.captcha.question.captcha{/lang} - {lang}wcf.captcha.question.captcha.description{/lang} +
+
+

{lang}wcf.captcha.question.captcha{/lang}

+ {lang}wcf.captcha.question.captcha.description{/lang} +
@@ -24,7 +26,7 @@ {/if}
-
+ {if !$ajaxCaptcha|empty} -
+
{@SID_INPUT_TAG} diff --git a/com.woltlab.wcf/templates/emailActivation.tpl b/com.woltlab.wcf/templates/emailActivation.tpl index e989e57b74..5e58bad51c 100644 --- a/com.woltlab.wcf/templates/emailActivation.tpl +++ b/com.woltlab.wcf/templates/emailActivation.tpl @@ -10,8 +10,8 @@ {include file='header'} -
-

{lang}wcf.user.emailActivation{/lang}

+
+

{lang}wcf.user.emailActivation{/lang}

{include file='userNotice'} @@ -31,41 +31,37 @@
-
-
- - - -
-
- - {if $errorField == 'u'} - - {if $errorType == 'notValid'}{lang}wcf.user.userID.error.invalid{/lang}{/if} - - {/if} -
- - - -
-
- - {if $errorField == 'a'} - - {if $errorType == 'notValid'}{lang}wcf.user.activationCode.error.notValid{/lang}{/if} - - {/if} - {lang}wcf.user.newActivationCode{/lang} -
- - - {event name='fields'} -
+
+ +
+
+ + {if $errorField == 'u'} + + {if $errorType == 'notValid'}{lang}wcf.user.userID.error.invalid{/lang}{/if} + + {/if} +
+ - {event name='fieldsets'} + +
+
+ + {if $errorField == 'a'} + + {if $errorType == 'notValid'}{lang}wcf.user.activationCode.error.notValid{/lang}{/if} + + {/if} + {lang}wcf.user.newActivationCode{/lang} +
+ + + {event name='fields'}
+ {event name='sections'} +
{@SECURITY_TOKEN_INPUT_TAG} diff --git a/com.woltlab.wcf/templates/emailNewActivationCode.tpl b/com.woltlab.wcf/templates/emailNewActivationCode.tpl index 2e3c4a8ed7..71d1905508 100644 --- a/com.woltlab.wcf/templates/emailNewActivationCode.tpl +++ b/com.woltlab.wcf/templates/emailNewActivationCode.tpl @@ -9,8 +9,8 @@ {include file='header'} -
-

{lang}wcf.user.newActivationCode{/lang}

+
+

{lang}wcf.user.newActivationCode{/lang}

{include file='userNotice'} @@ -30,50 +30,46 @@
-
-
- {lang}wcf.user.newActivationCode{/lang} - - -
-
- - {if $errorField == 'username'} - - {if $errorType == 'empty'} - {lang}wcf.global.form.error.empty{/lang} - {elseif $errorType == 'alreadyEnabled'} - {lang}wcf.user.registerActivation.error.userAlreadyEnabled{/lang} - {else} - {lang}wcf.user.username.error.{@$errorType}{/lang} - {/if} - - {/if} -
- - - -
-
- - {if $errorField == 'password'} - - {if $errorType == 'empty'} - {lang}wcf.global.form.error.empty{/lang} - {else} - {lang}wcf.user.password.error.{@$errorType}{/lang} - {/if} - - {/if} -
- - - {event name='fields'} -
+
+ +
+
+ + {if $errorField == 'username'} + + {if $errorType == 'empty'} + {lang}wcf.global.form.error.empty{/lang} + {elseif $errorType == 'alreadyEnabled'} + {lang}wcf.user.registerActivation.error.userAlreadyEnabled{/lang} + {else} + {lang}wcf.user.username.error.{@$errorType}{/lang} + {/if} + + {/if} +
+ - {event name='fieldsets'} + +
+
+ + {if $errorField == 'password'} + + {if $errorType == 'empty'} + {lang}wcf.global.form.error.empty{/lang} + {else} + {lang}wcf.user.password.error.{@$errorType}{/lang} + {/if} + + {/if} +
+ + + {event name='fields'}
+ {event name='sections'} +
{@SECURITY_TOKEN_INPUT_TAG} diff --git a/com.woltlab.wcf/templates/following.tpl b/com.woltlab.wcf/templates/following.tpl index d3ba17f421..ca88fed791 100644 --- a/com.woltlab.wcf/templates/following.tpl +++ b/com.woltlab.wcf/templates/following.tpl @@ -17,10 +17,10 @@ {include file='userMenuSidebar'} -{include file='header' sidebarOrientation='left'} +{include file='header'} -
-

{lang}wcf.user.following{/lang} {#$items}

+
+

{lang}wcf.user.following{/lang} {#$items}

{include file='userNotice'} @@ -40,12 +40,12 @@
{if $objects|count} -
+
    {foreach from=$objects item=user}
  1. - {@$user->getAvatar()->getImageTag(48)} + {@$user->getAvatar()->getImageTag(48)}
    {include file='userInformationHeadline'} diff --git a/com.woltlab.wcf/templates/groupedUserList.tpl b/com.woltlab.wcf/templates/groupedUserList.tpl index d2c5572904..5832289603 100644 --- a/com.woltlab.wcf/templates/groupedUserList.tpl +++ b/com.woltlab.wcf/templates/groupedUserList.tpl @@ -1,20 +1,21 @@ {foreach from=$groupedUsers item=group} {if $group} -
    -

    {$group}

    -
    +
    +

    {$group}

    {/if} {if $group|count} -
    -
      - {foreach from=$group item=user} - {include file='userListItem'} - {/foreach} -
    -
    +
      + {foreach from=$group item=user} + {include file='userListItem'} + {/foreach} +
    {else} -

    {$group->getNoUsersMessage()}

    +

    {$group->getNoUsersMessage()}

    + {/if} + + {if $group} +
    {/if} {/foreach} diff --git a/com.woltlab.wcf/templates/ignoredUsers.tpl b/com.woltlab.wcf/templates/ignoredUsers.tpl index 82d9d3eee4..272e914ee6 100644 --- a/com.woltlab.wcf/templates/ignoredUsers.tpl +++ b/com.woltlab.wcf/templates/ignoredUsers.tpl @@ -17,10 +17,10 @@ {include file='userMenuSidebar'} -{include file='header' sidebarOrientation='left'} +{include file='header'} -
    -

    {lang}wcf.user.ignoredUsers{/lang} {#$items}

    +
    +

    {lang}wcf.user.ignoredUsers{/lang} {#$items}

    {include file='userNotice'} @@ -40,12 +40,12 @@
    {if $objects|count} -
    +
      {foreach from=$objects item=user}
    1. - {@$user->getAvatar()->getImageTag(48)} + {@$user->getAvatar()->getImageTag(48)}
      {include file='userInformationHeadline'} diff --git a/com.woltlab.wcf/templates/login.tpl b/com.woltlab.wcf/templates/login.tpl index 605daea848..1be04f5c7f 100644 --- a/com.woltlab.wcf/templates/login.tpl +++ b/com.woltlab.wcf/templates/login.tpl @@ -17,8 +17,8 @@ {include file='header' __disableLoginLink=true __disableAds=true} -
      -

      {lang}wcf.user.login{/lang}

      +
      +

      {lang}wcf.user.login{/lang}

      {include file='userNotice'} @@ -42,120 +42,106 @@
      -
      -
      - {lang}wcf.user.login.data{/lang} - - -
      +
      + +
      +
      + + {if $errorField == 'username'} + + {if $errorType == 'empty'} + {lang}wcf.global.form.error.empty{/lang} + {else} + {lang}wcf.user.username.error.{@$errorType}{/lang} + {/if} + + {/if} +
      + + + {if !REGISTER_DISABLED} +
      +
      {lang}wcf.user.login.action{/lang}
      - - {if $errorField == 'username'} - - {if $errorType == 'empty'} - {lang}wcf.global.form.error.empty{/lang} - {else} - {lang}wcf.user.username.error.{@$errorType}{/lang} - {/if} - - {/if} + +
      - - {if !REGISTER_DISABLED} -
      -
      {lang}wcf.user.login.action{/lang}
      -
      - - -
      -
      - {/if} - - -
      + {/if} + + +
      +
      + + {if $errorField == 'password'} + + {if $errorType == 'empty'} + {lang}wcf.global.form.error.empty{/lang} + {else} + {lang}wcf.user.password.error.{@$errorType}{/lang} + {/if} + + {/if} + {lang}wcf.user.lostPassword{/lang} +
      + + + {if $supportsPersistentLogins} +
      +
      - - {if $errorField == 'password'} - - {if $errorType == 'empty'} - {lang}wcf.global.form.error.empty{/lang} - {else} - {lang}wcf.user.password.error.{@$errorType}{/lang} - {/if} - - {/if} +
      - - {if $supportsPersistentLogins} -
      -
      -
      - -
      -
      - {/if} - - {event name='fields'} + {/if} + + {event name='fields'} +
      + + {hascontent} +
      +

      {lang}wcf.user.login.3rdParty{/lang}

      -
      - - {hascontent} -
      - {lang}wcf.user.login.3rdParty{/lang} - -
      -
      -
      - -
      -
      -
      - {/hascontent} - - {event name='fieldsets'} - - {include file='captcha'} -
      + + {/hascontent} + + {event name='sections'} + + {include file='captcha'}
      diff --git a/com.woltlab.wcf/templates/lostPassword.tpl b/com.woltlab.wcf/templates/lostPassword.tpl index 66f87a2908..401549d0f3 100644 --- a/com.woltlab.wcf/templates/lostPassword.tpl +++ b/com.woltlab.wcf/templates/lostPassword.tpl @@ -17,8 +17,8 @@ {include file='header'} -
      -

      {lang}wcf.user.lostPassword{/lang}

      +
      +

      {lang}wcf.user.lostPassword{/lang}

      {include file='userNotice'} @@ -40,49 +40,45 @@
      -
      -
      - {lang}wcf.user.lostPassword{/lang} - -
      -
      - -
      -
      - - {if $errorField == 'username'} - - {if $errorType == 'empty'}{lang}wcf.global.form.error.empty{/lang}{/if} - {if $errorType == 'notFound'}{lang}wcf.user.username.error.notFound{/lang}{/if} - {if $errorType == '3rdParty'}{lang}wcf.user.username.error.3rdParty{/lang}{/if} - - {/if} -
      -
      - -
      -
      - -
      -
      - - {if $errorField == 'email'} - - {if $errorType == 'empty'}{lang}wcf.global.form.error.empty{/lang}{/if} - {if $errorType == 'notFound'}{lang}wcf.user.lostPassword.email.error.notFound{/lang}{/if} - - {/if} -
      -
      - - {event name='fields'} -
      +
      +
      +
      + +
      +
      + + {if $errorField == 'username'} + + {if $errorType == 'empty'}{lang}wcf.global.form.error.empty{/lang}{/if} + {if $errorType == 'notFound'}{lang}wcf.user.username.error.notFound{/lang}{/if} + {if $errorType == '3rdParty'}{lang}wcf.user.username.error.3rdParty{/lang}{/if} + + {/if} +
      +
      - {event name='fieldsets'} +
      +
      + +
      +
      + + {if $errorField == 'email'} + + {if $errorType == 'empty'}{lang}wcf.global.form.error.empty{/lang}{/if} + {if $errorType == 'notFound'}{lang}wcf.user.lostPassword.email.error.notFound{/lang}{/if} + + {/if} +
      +
      - {include file='captcha'} + {event name='fields'}
      + {event name='sections'} + + {include file='captcha'} +
      {@SECURITY_TOKEN_INPUT_TAG} diff --git a/com.woltlab.wcf/templates/mail.tpl b/com.woltlab.wcf/templates/mail.tpl index 1540022535..9806ced792 100644 --- a/com.woltlab.wcf/templates/mail.tpl +++ b/com.woltlab.wcf/templates/mail.tpl @@ -9,8 +9,8 @@ {include file='header'} -
      -

      {lang}wcf.user.mail.title{/lang}

      +
      +

      {lang}wcf.user.mail.title{/lang}

      {include file='userNotice'} @@ -30,79 +30,77 @@
      -
      -
      - {lang}wcf.user.mail.information{/lang} - - -
      -
      - - {if $errorField == 'subject'} - - {if $errorType == 'empty'} - {lang}wcf.global.form.error.empty{/lang} - {else} - {lang}wcf.user.mail.subject.error.{@$errorType}{/lang} - {/if} - - {/if} -
      - - - {if $__wcf->user->userID} -
      -
      -
      -
      - {else} - -
      -
      - - {if $errorField == 'email'} - - {if $errorType == 'empty'} - {lang}wcf.global.form.error.empty{/lang} - {elseif $errorType == 'notValid'} - {lang}wcf.user.email.error.notValid{/lang} - {else} - {lang}wcf.user.mail.senderEmail.error.{@$errorType}{/lang} - {/if} - +
      +

      {lang}wcf.user.mail.information{/lang}

      + + +
      +
      + + {if $errorField == 'subject'} + + {if $errorType == 'empty'} + {lang}wcf.global.form.error.empty{/lang} + {else} + {lang}wcf.user.mail.subject.error.{@$errorType}{/lang} {/if} -
      - - {/if} - - {event name='informationFields'} -
      + + {/if} + + -
      - - -
      + {if $__wcf->user->userID} +
      +
      +
      +
      + {else} + +
      - - {if $errorField == 'message'} + + {if $errorField == 'email'} {if $errorType == 'empty'} {lang}wcf.global.form.error.empty{/lang} + {elseif $errorType == 'notValid'} + {lang}wcf.user.email.error.notValid{/lang} {else} - {lang}wcf.user.mail.message.error.{@$errorType}{/lang} + {lang}wcf.user.mail.senderEmail.error.{@$errorType}{/lang} {/if} {/if}
      - - {event name='messageFields'} -
      + {/if} - {event name='fieldsets'} + {event name='informationFields'} + + +
      +

      {lang}wcf.user.mail.message{/lang}

      - {include file='captcha'} -
      +
      +
      + + {if $errorField == 'message'} + + {if $errorType == 'empty'} + {lang}wcf.global.form.error.empty{/lang} + {else} + {lang}wcf.user.mail.message.error.{@$errorType}{/lang} + {/if} + + {/if} +
      +
      + + {event name='messageFields'} + + + {event name='sections'} + + {include file='captcha'}
      diff --git a/com.woltlab.wcf/templates/manageSubscription.tpl b/com.woltlab.wcf/templates/manageSubscription.tpl index a6523d9824..34aae66d52 100644 --- a/com.woltlab.wcf/templates/manageSubscription.tpl +++ b/com.woltlab.wcf/templates/manageSubscription.tpl @@ -1,4 +1,4 @@ -
      +
      @@ -13,7 +13,7 @@
      {event name='fields'} -
      +
      diff --git a/com.woltlab.wcf/templates/mediaEditor.tpl b/com.woltlab.wcf/templates/mediaEditor.tpl index 65172e57e8..76adbad860 100644 --- a/com.woltlab.wcf/templates/mediaEditor.tpl +++ b/com.woltlab.wcf/templates/mediaEditor.tpl @@ -1,4 +1,4 @@ -
      +
      @@ -18,8 +18,8 @@
      -
      - {lang}wcf.global.form.data{/lang} +
      +

      {lang}wcf.global.form.data{/lang}

      @@ -34,7 +34,7 @@ {include file='languageChooser' label='wcf.media.languageID'}
      -
      {lang}wcf.global.title{/lang}
      +
      @@ -42,7 +42,7 @@ {include file='multipleLanguageInputJavascript' elementIdentifier='title' forceSelection=true}
      -
      {lang}wcf.media.caption{/lang}
      +
      @@ -50,7 +50,7 @@ {include file='multipleLanguageInputJavascript' elementIdentifier='caption' forceSelection=true}
      -
      {lang}wcf.media.altText{/lang}
      +
      @@ -58,7 +58,7 @@ {include file='multipleLanguageInputJavascript' elementIdentifier='altText' forceSelection=true} {event name='dataFields'} -
      +
      diff --git a/com.woltlab.wcf/templates/mediaManager.tpl b/com.woltlab.wcf/templates/mediaManager.tpl index 2c33b79d9d..381a49f65e 100644 --- a/com.woltlab.wcf/templates/mediaManager.tpl +++ b/com.woltlab.wcf/templates/mediaManager.tpl @@ -21,10 +21,10 @@
      {if $__wcf->session->getPermission('admin.content.cms.canManageMedia')} -
      +
      {/if} -
      +
        {include file='mediaListItems'} diff --git a/com.woltlab.wcf/templates/membersList.tpl b/com.woltlab.wcf/templates/membersList.tpl index 15f6ace8b5..235026bd09 100644 --- a/com.woltlab.wcf/templates/membersList.tpl +++ b/com.woltlab.wcf/templates/membersList.tpl @@ -38,13 +38,13 @@ -{capture assign='sidebar'} +{capture assign='sidebarRight'} {assign var=encodedLetter value=$letter|rawurlencode} -
        +
        -
        - - +

        {lang}wcf.user.search{/lang}

        + +
        @@ -52,26 +52,28 @@ {@SECURITY_TOKEN_INPUT_TAG}
        -
        +
        -
      + -
      - {lang}wcf.user.members.sort.letters{/lang} - - -
      +
      +

      {lang}wcf.user.members.sort.letters{/lang}

      -
      +
      + +
      +
      + +
      -
      - - +

      {lang}wcf.user.members.sort{/lang}

      + +
      @@ -89,23 +91,23 @@
      -
      - -
      - - - {@SID_INPUT_TAG} + +
      + + + {@SID_INPUT_TAG} +
      -
      + {@$__boxSidebar} {/capture} -{include file='header' sidebarOrientation='right'} +{include file='header'} -
      -

      {if $searchID}{lang}wcf.user.search.results{/lang}{else}{lang}wcf.user.members{/lang}{/if} {#$items}

      +
      +

      {if $searchID}{lang}wcf.user.search.results{/lang}{else}{lang}wcf.user.members{/lang}{/if} {#$items}

      {include file='userNotice'} @@ -129,7 +131,7 @@
      {if $items} -
      +
        {foreach from=$objects item=user} {include file='userListItem'} diff --git a/com.woltlab.wcf/templates/messageQuoteList.tpl b/com.woltlab.wcf/templates/messageQuoteList.tpl index 3711291c6a..c1be9f9b01 100644 --- a/com.woltlab.wcf/templates/messageQuoteList.tpl +++ b/com.woltlab.wcf/templates/messageQuoteList.tpl @@ -1,13 +1,13 @@ {if !$supportPaste|isset}{assign var=supportPaste value=false}{/if} {foreach from=$messages item=message} -
        +
        {if $userProfiles[$message->getUserID()]|isset} - {@$userProfiles[$message->getUserID()]->getAvatar()->getImageTag(32)} + {@$userProfiles[$message->getUserID()]->getAvatar()->getImageTag(32)} {/if}
        diff --git a/com.woltlab.wcf/templates/messageSidebar.tpl b/com.woltlab.wcf/templates/messageSidebar.tpl index dabd84ca40..82bfe271a3 100644 --- a/com.woltlab.wcf/templates/messageSidebar.tpl +++ b/com.woltlab.wcf/templates/messageSidebar.tpl @@ -11,7 +11,7 @@ {if $userProfile->getAvatar()}
        {capture assign='__userAvatar'}{@$userProfile->getAvatar()->getImageTag(128)}{/capture} - {@' + {@' {if MESSAGE_SIDEBAR_ENABLE_ONLINE_STATUS && $userProfile->isOnline()}{lang}wcf.user.online{/lang}{/if}
        diff --git a/com.woltlab.wcf/templates/moderationActivation.tpl b/com.woltlab.wcf/templates/moderationActivation.tpl index 15067b2e56..73014b29f1 100644 --- a/com.woltlab.wcf/templates/moderationActivation.tpl +++ b/com.woltlab.wcf/templates/moderationActivation.tpl @@ -29,8 +29,8 @@ {include file='header'} -
        -

        {lang}wcf.moderation.activation{/lang}: {$queue->getTitle()}

        +
        +

        {lang}wcf.moderation.activation{/lang}: {$queue->getTitle()}

        {if $queue->lastChangeTime}
        @@ -62,15 +62,15 @@ {include file='formError'} -
        -

        {lang}wcf.moderation.activation.content{/lang}

        -

        {lang}wcf.moderation.type.{@$queue->getObjectTypeName()}{/lang}

        -
        +
        +
        +

        {lang}wcf.moderation.activation.content{/lang}

        + {lang}wcf.moderation.type.{@$queue->getObjectTypeName()}{/lang} +
        -
        {@$disabledContent} -
        - +
        +
        -
        -

        {lang}wcf.moderation.comments{/lang} {#$queue->comments}

        -

        {lang}wcf.moderation.comments.description{/lang}

        -
        - {include file='__commentJavaScript' commentContainerID='moderationQueueCommentList'} -
        +
        +
        +

        {lang}wcf.moderation.comments{/lang} {#$queue->comments}

        + {lang}wcf.moderation.comments.description{/lang} +
        +
          {include file='commentList'}
        -
        +
        {include file='footer'} diff --git a/com.woltlab.wcf/templates/moderationComment.tpl b/com.woltlab.wcf/templates/moderationComment.tpl index becf299de2..bfe0f6de67 100644 --- a/com.woltlab.wcf/templates/moderationComment.tpl +++ b/com.woltlab.wcf/templates/moderationComment.tpl @@ -4,7 +4,7 @@
        - {@$message->getUserProfile()->getAvatar()->getImageTag(32)} + {@$message->getUserProfile()->getAvatar()->getImageTag(32)}

        {$message->getTitle()}

        diff --git a/com.woltlab.wcf/templates/moderationList.tpl b/com.woltlab.wcf/templates/moderationList.tpl index 1251d88cc7..55346a7c18 100644 --- a/com.woltlab.wcf/templates/moderationList.tpl +++ b/com.woltlab.wcf/templates/moderationList.tpl @@ -17,12 +17,12 @@ -{capture assign='sidebar'} +{capture assign='sidebarLeft'} {* moderation type *} -
        - {lang}wcf.moderation.filterByType{/lang} +
        +

        {lang}wcf.moderation.filterByType{/lang}

        -
        + {* assigned user *} -
        - {lang}wcf.moderation.filterByUser{/lang} +
        +

        {lang}wcf.moderation.filterByUser{/lang}

        -
        + {* status *} -
        - {lang}wcf.moderation.status{/lang} +
        +

        {lang}wcf.moderation.status{/lang}

        -
        + {event name='sidebarBoxes'} {/capture} @@ -70,10 +70,10 @@
      1. {/capture} -{include file='header' sidebarOrientation='left'} +{include file='header'} -
        -

        {lang}wcf.moderation.moderation{/lang}

        +
        +

        {if $status == 2}{lang}wcf.moderation.doneItems{/lang}{else}{lang}wcf.moderation.outstandingItems{/lang}{/if} {#$items}

        {include file='userNotice'} @@ -93,11 +93,7 @@
        {if $objects|count} -
        -
        -

        {if $status == 2}{lang}wcf.moderation.doneItems{/lang}{else}{lang}wcf.moderation.outstandingItems{/lang}{/if} {#$items}

        -
        - +
        @@ -115,7 +111,7 @@
        -

        isNew()} title="{lang}wcf.moderation.markAsRead.doubleClick{/lang}"{/if}>{@$entry->getUserProfile()->getAvatar()->getImageTag(32)}

        + isNew()} title="{lang}wcf.moderation.markAsRead.doubleClick{/lang}"{/if}>{@$entry->getUserProfile()->getAvatar()->getImageTag(32)}

        diff --git a/com.woltlab.wcf/templates/moderationQueueAssignUser.tpl b/com.woltlab.wcf/templates/moderationQueueAssignUser.tpl index a362ec36c0..73625a8002 100644 --- a/com.woltlab.wcf/templates/moderationQueueAssignUser.tpl +++ b/com.woltlab.wcf/templates/moderationQueueAssignUser.tpl @@ -1,4 +1,4 @@ -
        +
        {lang}wcf.moderation.assignedUser{/lang}
        @@ -30,7 +30,7 @@
        -
        + {/if} -
        +

        {$poll->question} {#$poll->votes}

        diff --git a/com.woltlab.wcf/templates/quoteBBCodeTag.tpl b/com.woltlab.wcf/templates/quoteBBCodeTag.tpl index 0924375572..faf1774149 100644 --- a/com.woltlab.wcf/templates/quoteBBCodeTag.tpl +++ b/com.woltlab.wcf/templates/quoteBBCodeTag.tpl @@ -1,8 +1,8 @@ -
        +
        {if $quoteAuthorObject} - {@$quoteAuthorObject->getAvatar()->getImageTag(32)} + {@$quoteAuthorObject->getAvatar()->getImageTag(32)} {else} {/if} diff --git a/com.woltlab.wcf/templates/quoteMetaCode.tpl b/com.woltlab.wcf/templates/quoteMetaCode.tpl index e934b11ad9..19195cbc59 100644 --- a/com.woltlab.wcf/templates/quoteMetaCode.tpl +++ b/com.woltlab.wcf/templates/quoteMetaCode.tpl @@ -1,8 +1,8 @@ -
        +
        {if $quoteAuthorObject} - {@$quoteAuthorObject->getAvatar()->getImageTag(32)} + {@$quoteAuthorObject->getAvatar()->getImageTag(32)} {else} {/if} diff --git a/com.woltlab.wcf/templates/recaptcha.tpl b/com.woltlab.wcf/templates/recaptcha.tpl index c9e3c2a1b5..b759327136 100644 --- a/com.woltlab.wcf/templates/recaptcha.tpl +++ b/com.woltlab.wcf/templates/recaptcha.tpl @@ -3,8 +3,8 @@ {else} {* No explicit keys were set, use legacy V1 API and WoltLab's OEM keys *} {if RECAPTCHA_PUBLICKEY === '' || RECAPTCHA_PRIVATEKEY === ''} -
        - +
        +

        {lang}wcf.recaptcha.title{/lang}

        {lang}wcf.recaptcha.description{/lang}
        @@ -22,8 +22,8 @@
        -
        - +
        + {if (($errorType|isset && $errorType|is_array && $errorType[recaptchaString]|isset) || ($errorField|isset && $errorField == 'recaptchaString'))} {if $errorType|is_array && $errorType[recaptchaString]|isset} {assign var='__errorType' value=$errorType[recaptchaString]} @@ -95,10 +95,10 @@ {/if}
        -
        +
        {else} -
        - {lang}wcf.recaptcha.title{/lang} +
        +

        {lang}wcf.recaptcha.title{/lang}

        {assign var="recaptchaBucketID" value=true|microtime|sha1}
        @@ -173,6 +173,6 @@ if (!window.grecaptcha) $.getScript('https://www.google.com/recaptcha/api.js?render=explicit&onload=recaptchaCallback'); //]]> -
        + {/if} {/if} diff --git a/com.woltlab.wcf/templates/recentActivities.tpl b/com.woltlab.wcf/templates/recentActivities.tpl index 9f54fea14f..6dd2554b52 100644 --- a/com.woltlab.wcf/templates/recentActivities.tpl +++ b/com.woltlab.wcf/templates/recentActivities.tpl @@ -18,7 +18,7 @@ {/content} {hascontentelse} -
        +
        {if $placeholder|isset}{$placeholder}{/if}
        {/hascontent} diff --git a/com.woltlab.wcf/templates/recentActivityList.tpl b/com.woltlab.wcf/templates/recentActivityList.tpl index 4397e8bfc7..799ccd2a2d 100644 --- a/com.woltlab.wcf/templates/recentActivityList.tpl +++ b/com.woltlab.wcf/templates/recentActivityList.tpl @@ -23,14 +23,14 @@ -{capture assign='sidebar'} +{capture assign='sidebarRight'} {@$__boxSidebar} {/capture} -{include file='header' sidebarOrientation='right'} +{include file='header'} -
        -

        {lang}wcf.user.recentActivity{/lang}

        +
        +

        {lang}wcf.user.recentActivity{/lang}

        {include file='userNotice'} @@ -48,7 +48,7 @@
        {if $eventList|count} -
        +
          {include file='recentActivityListItem'}
        diff --git a/com.woltlab.wcf/templates/recentActivityListItem.tpl b/com.woltlab.wcf/templates/recentActivityListItem.tpl index a6be32e527..0e81b44c21 100644 --- a/com.woltlab.wcf/templates/recentActivityListItem.tpl +++ b/com.woltlab.wcf/templates/recentActivityListItem.tpl @@ -1,7 +1,7 @@ {foreach from=$eventList item=event}
      2. - {@$event->getUserProfile()->getAvatar()->getImageTag(48)} + {@$event->getUserProfile()->getAvatar()->getImageTag(48)}
        diff --git a/com.woltlab.wcf/templates/register.tpl b/com.woltlab.wcf/templates/register.tpl index 6223020d11..99fc246fff 100644 --- a/com.woltlab.wcf/templates/register.tpl +++ b/com.woltlab.wcf/templates/register.tpl @@ -38,8 +38,8 @@ {include file='header' __disableLoginLink=true __disableAds=true} -
        -

        {lang}wcf.user.register{/lang}

        +
        +

        {lang}wcf.user.register{/lang}

        {include file='userNotice'} @@ -63,175 +63,174 @@
        -
        -
        - {lang}wcf.user.username{/lang} +
        +

        {lang}wcf.user.username{/lang}

        + + +
        + +
        +
        + + {if $errorType.username|isset} + + {if $errorType.username == 'empty'}{lang}wcf.global.form.error.empty{/lang}{/if} + {if $errorType.username == 'notValid'}{lang}wcf.user.username.error.notValid{/lang}{/if} + {if $errorType.username == 'notUnique'}{lang}wcf.user.username.error.notUnique{/lang}{/if} + + {/if} + {lang}wcf.user.username.description{/lang} +
        + + + {event name='usernameFields'} +
        + +
        +
        +

        {lang}wcf.user.register.honeyPot{/lang}

        + {lang}wcf.user.register.honeyPot.description{/lang} +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + + {event name='honeyPotFields'} +
        + +
        +

        {lang}wcf.user.email{/lang}

        + + +
        + +
        +
        + + {if $errorType.email|isset} + + {if $errorType.email == 'empty'}{lang}wcf.global.form.error.empty{/lang}{/if} + {if $errorType.email == 'notValid'}{lang}wcf.user.email.error.notValid{/lang}{/if} + {if $errorType.email == 'notUnique'}{lang}wcf.user.email.error.notUnique{/lang}{/if} + + {/if} +
        + + + +
        + +
        +
        + + {if $errorType.confirmEmail|isset} + + {if $errorType.confirmEmail == 'notEqual'}{lang}wcf.user.confirmEmail.error.notEqual{/lang}{/if} + + {/if} +
        + + + {event name='emailFields'} +
        + + {if !$isExternalAuthentication} +
        +

        {lang}wcf.user.password{/lang}

        - +
        - +
        - - {if $errorType.username|isset} + + {if $errorType.password|isset} - {if $errorType.username == 'empty'}{lang}wcf.global.form.error.empty{/lang}{/if} - {if $errorType.username == 'notValid'}{lang}wcf.user.username.error.notValid{/lang}{/if} - {if $errorType.username == 'notUnique'}{lang}wcf.user.username.error.notUnique{/lang}{/if} + {if $errorType.password == 'empty'}{lang}wcf.global.form.error.empty{/lang}{/if} + {if $errorType.password == 'notSecure'}{lang}wcf.user.password.error.notSecure{/lang}{/if} {/if} - {lang}wcf.user.username.description{/lang} -
        - - - {event name='usernameFields'} -
        - -
        - {lang}wcf.user.register.honeyPot{/lang} - - {lang}wcf.user.register.honeyPot.description{/lang} - -
        -
        - -
        -
        - + {lang}wcf.user.password.description{/lang}
        -
        +
        - +
        - -
        -
        - - {event name='honeyPotFields'} -
        - -
        - {lang}wcf.user.email{/lang} - - -
        - -
        -
        - - {if $errorType.email|isset} + + {if $errorType.confirmPassword|isset} - {if $errorType.email == 'empty'}{lang}wcf.global.form.error.empty{/lang}{/if} - {if $errorType.email == 'notValid'}{lang}wcf.user.email.error.notValid{/lang}{/if} - {if $errorType.email == 'notUnique'}{lang}wcf.user.email.error.notUnique{/lang}{/if} + {if $errorType.confirmPassword == 'notEqual'}{lang}wcf.user.confirmPassword.error.notEqual{/lang}{/if} {/if}
        - -
        - -
        + {event name='passwordFields'} + + {/if} + + {if $availableLanguages|count > 1} +
        +

        {lang}wcf.user.language{/lang}

        + +
        +
        - - {if $errorType.confirmEmail|isset} - - {if $errorType.confirmEmail == 'notEqual'}{lang}wcf.user.confirmEmail.error.notEqual{/lang}{/if} - - {/if} + + {lang}wcf.user.language.description{/lang}
        - {event name='emailFields'} -
        - - {if !$isExternalAuthentication} -
        - {lang}wcf.user.password{/lang} - - -
        - -
        -
        - - {if $errorType.password|isset} - - {if $errorType.password == 'empty'}{lang}wcf.global.form.error.empty{/lang}{/if} - {if $errorType.password == 'notSecure'}{lang}wcf.user.password.error.notSecure{/lang}{/if} - - {/if} - {lang}wcf.user.password.description{/lang} -
        - - - -
        - -
        -
        - - {if $errorType.confirmPassword|isset} - - {if $errorType.confirmPassword == 'notEqual'}{lang}wcf.user.confirmPassword.error.notEqual{/lang}{/if} - - {/if} -
        - - - {event name='passwordFields'} -
        - {/if} - - {if $availableLanguages|count > 1} -
        - {lang}wcf.user.language{/lang} - + {hascontent}
        -
        -
        - - {lang}wcf.user.language.description{/lang} -
        +
        +
        + {content} + {foreach from=$availableContentLanguages item=language} + + {/foreach} + {/content} + {lang}wcf.user.visibleLanguages.description{/lang}
        - - {hascontent} -
        -
        -
        - {content} - {foreach from=$availableContentLanguages item=language} - - {/foreach} - {/content} - {lang}wcf.user.visibleLanguages.description{/lang}
        -
        - {/hascontent} - - {event name='languageFields'} -
        - {/if} - - {foreach from=$optionTree item=category} -
        - {lang}wcf.user.option.category.{@$category[object]->categoryName}{/lang} - - {include file='userOptionFieldList' options=$category[options] langPrefix='wcf.user.option.'} -
        - {/foreach} - - {event name='fieldsets'} - - {include file='captcha'} -
        + {/hascontent} + + {event name='languageFields'} + + {/if} + + {foreach from=$optionTree item=category} +
        +

        {lang}wcf.user.option.category.{@$category[object]->categoryName}{/lang}

        + + {include file='userOptionFieldList' options=$category[options] langPrefix='wcf.user.option.'} +
        + {/foreach} + + {event name='sections'} + + {include file='captcha'}
        diff --git a/com.woltlab.wcf/templates/registerActivation.tpl b/com.woltlab.wcf/templates/registerActivation.tpl index 11650bc4fe..4ab00ecb49 100644 --- a/com.woltlab.wcf/templates/registerActivation.tpl +++ b/com.woltlab.wcf/templates/registerActivation.tpl @@ -9,8 +9,8 @@ {include file='header'} -
        -

        {lang}wcf.user.registerActivation{/lang}

        +
        +

        {lang}wcf.user.registerActivation{/lang}

        {include file='userNotice'} @@ -32,41 +32,37 @@
        -
        -
        - - - -
        -
        - - {if $errorField == 'username'} - - {if $errorType == 'notFound'}{lang}wcf.user.username.error.notFound{/lang}{/if} - - {/if} -
        - - - -
        -
        - - {if $errorField == 'activationCode'} - - {if $errorType == 'notValid'}{lang}wcf.user.activationCode.error.notValid{/lang}{/if} - - {/if} - {lang}wcf.user.newActivationCode{/lang} -
        - - - {event name='fields'} -
        +
        + +
        +
        + + {if $errorField == 'username'} + + {if $errorType == 'notFound'}{lang}wcf.user.username.error.notFound{/lang}{/if} + + {/if} +
        + - {event name='fieldsets'} + +
        +
        + + {if $errorField == 'activationCode'} + + {if $errorType == 'notValid'}{lang}wcf.user.activationCode.error.notValid{/lang}{/if} + + {/if} + {lang}wcf.user.newActivationCode{/lang} +
        + + + {event name='fields'}
        + {event name='sections'} +
        {@SECURITY_TOKEN_INPUT_TAG} diff --git a/com.woltlab.wcf/templates/registerNewActivationCode.tpl b/com.woltlab.wcf/templates/registerNewActivationCode.tpl index 4b71f4ff8d..ecac56103e 100644 --- a/com.woltlab.wcf/templates/registerNewActivationCode.tpl +++ b/com.woltlab.wcf/templates/registerNewActivationCode.tpl @@ -9,8 +9,8 @@ {include file='header'} -
        -

        {lang}wcf.user.newActivationCode{/lang}

        +
        +

        {lang}wcf.user.newActivationCode{/lang}

        {include file='userNotice'} @@ -30,63 +30,59 @@
        -
        -
        - {lang}wcf.user.newActivationCode{/lang} - - -
        -
        - - {if $errorField == 'username'} - - {if $errorType == 'empty'} - {lang}wcf.global.form.error.empty{/lang} - {elseif $errorType == 'alreadyEnabled'} - {lang}wcf.user.registerActivation.error.userAlreadyEnabled{/lang} - {else} - {lang}wcf.user.username.error.{@$errorType}{/lang} - {/if} - - {/if} -
        - - - -
        -
        - - {if $errorField == 'password'} - - {if $errorType == 'empty'} - {lang}wcf.global.form.error.empty{/lang} - {else} - {lang}wcf.user.password.error.{@$errorType}{/lang} - {/if} - - {/if} -
        - - - -
        -
        - - {if $errorField == 'email'} - - {lang}wcf.user.email.error.{@$errorType}{/lang} - - {/if} - {lang}wcf.user.registerNewActivationCode.email.description{/lang} -
        - - - {event name='fields'} -
        +
        + +
        +
        + + {if $errorField == 'username'} + + {if $errorType == 'empty'} + {lang}wcf.global.form.error.empty{/lang} + {elseif $errorType == 'alreadyEnabled'} + {lang}wcf.user.registerActivation.error.userAlreadyEnabled{/lang} + {else} + {lang}wcf.user.username.error.{@$errorType}{/lang} + {/if} + + {/if} +
        + - {event name='fieldsets'} + +
        +
        + + {if $errorField == 'password'} + + {if $errorType == 'empty'} + {lang}wcf.global.form.error.empty{/lang} + {else} + {lang}wcf.user.password.error.{@$errorType}{/lang} + {/if} + + {/if} +
        + + + +
        +
        + + {if $errorField == 'email'} + + {lang}wcf.user.email.error.{@$errorType}{/lang} + + {/if} + {lang}wcf.user.registerNewActivationCode.email.description{/lang} +
        + + + {event name='fields'}
        + {event name='sections'} +
        {@SECURITY_TOKEN_INPUT_TAG} diff --git a/com.woltlab.wcf/templates/searchResult.tpl b/com.woltlab.wcf/templates/searchResult.tpl index 5ef37ab1a6..e749092b88 100644 --- a/com.woltlab.wcf/templates/searchResult.tpl +++ b/com.woltlab.wcf/templates/searchResult.tpl @@ -10,9 +10,9 @@ {include file='header'} -
        -

        {if $query}{lang}wcf.search.results{/lang}{else}{lang}wcf.search.results{/lang}{/if}

        -

        {lang}wcf.search.results.description{/lang}

        +
        +

        {if $query}{lang}wcf.search.results{/lang}{else}{lang}wcf.search.results{/lang}{/if}

        +

        {lang}wcf.search.results.description{/lang}

        {include file='userNotice'} diff --git a/com.woltlab.wcf/templates/searchResultList.tpl b/com.woltlab.wcf/templates/searchResultList.tpl index 7129b03eda..361db5e946 100644 --- a/com.woltlab.wcf/templates/searchResultList.tpl +++ b/com.woltlab.wcf/templates/searchResultList.tpl @@ -1,16 +1,16 @@ -
        +
      3. diff --git a/com.woltlab.wcf/templates/settings.tpl b/com.woltlab.wcf/templates/settings.tpl index 1db4810084..2dd56dac3d 100644 --- a/com.woltlab.wcf/templates/settings.tpl +++ b/com.woltlab.wcf/templates/settings.tpl @@ -17,10 +17,10 @@ {include file='userMenuSidebar'} -{include file='header' sidebarOrientation='left'} +{include file='header'} -
        -

        {lang}wcf.user.menu.settings{/lang}: {lang}wcf.user.option.category.settings.{$category}{/lang}

        +
        +

        {lang}wcf.user.menu.settings{/lang}: {lang}wcf.user.option.category.settings.{$category}{/lang}

        {include file='userNotice'} @@ -44,92 +44,90 @@
        -
        - {if $category == 'general'} - {if $availableLanguages|count > 1} -
        - {lang}wcf.user.language{/lang} - -
        -
        -
        - - -
        -
        - - {hascontent} -
        -
        -
        - {content} - {foreach from=$availableContentLanguages item=language} - - {/foreach} - {/content} - {lang}wcf.user.visibleLanguages.description{/lang}
        -
        - {/hascontent} - - {event name='languageFields'} -
        - {/if} - - {if $availableStyles|count > 1} -
        - {lang}wcf.user.style{/lang} - -
        -
        -
        - + {foreach from=$availableLanguages item=language} + {/foreach} - {lang}wcf.user.style.description{/lang} -
        + + +
        + + {hascontent} +
        +
        +
        + {content} + {foreach from=$availableContentLanguages item=language} + + {/foreach} + {/content} + {lang}wcf.user.visibleLanguages.description{/lang}
        - - {event name='styleFields'} -
        - {/if} + {/hascontent} + + {event name='languageFields'} + {/if} - {if !$optionTree|empty} - {foreach from=$optionTree[0][categories][0][categories] item=optionCategory} -
        - {lang}wcf.user.option.category.{@$optionCategory[object]->categoryName}{/lang} - - {include file='userProfileOptionFieldList' options=$optionCategory[options] langPrefix='wcf.user.option.'} -
        - {/foreach} + {if $availableStyles|count > 1} +
        +

        {lang}wcf.user.style{/lang}

        + +
        +
        +
        + + {lang}wcf.user.style.description{/lang} +
        +
        + + {event name='styleFields'} +
        {/if} - - {event name='fieldsets'} -
        + {/if} + + {if !$optionTree|empty} + {foreach from=$optionTree[0][categories][0][categories] item=optionCategory} +
        +

        {lang}wcf.user.option.category.{@$optionCategory[object]->categoryName}{/lang}

        + + {include file='userProfileOptionFieldList' options=$optionCategory[options] langPrefix='wcf.user.option.'} +
        + {/foreach} + {/if} + + {event name='sections'}
        diff --git a/com.woltlab.wcf/templates/shareButtonsPrivacySettings.tpl b/com.woltlab.wcf/templates/shareButtonsPrivacySettings.tpl index ae0a0f430f..e1d7d0a824 100644 --- a/com.woltlab.wcf/templates/shareButtonsPrivacySettings.tpl +++ b/com.woltlab.wcf/templates/shareButtonsPrivacySettings.tpl @@ -1,6 +1,6 @@ {lang}wcf.message.share.privacy.description{/lang} -
          +
          • diff --git a/com.woltlab.wcf/templates/signatureEdit.tpl b/com.woltlab.wcf/templates/signatureEdit.tpl index 0d61687c67..36099cca3a 100644 --- a/com.woltlab.wcf/templates/signatureEdit.tpl +++ b/com.woltlab.wcf/templates/signatureEdit.tpl @@ -22,10 +22,10 @@ {include file='userMenuSidebar'} -{include file='header' sidebarOrientation='left'} +{include file='header'} -
            -

            {lang}wcf.user.signature.edit{/lang}

            +
            +

            {lang}wcf.user.signature.edit{/lang}

            {include file='userNotice'} @@ -53,49 +53,47 @@
        -
        - {if $signatureCache} -
        - {lang}wcf.user.signature.current{/lang} - - {@$signatureCache} -
        - {/if} - - {if !$__wcf->user->disableSignature} -
        - {lang}wcf.user.signature{/lang} - -
        -
        -
        - - {if $errorField == 'text'} - - {if $errorType == 'empty'} - {lang}wcf.global.form.error.empty{/lang} - {elseif $errorType == 'tooLong'} - {lang}wcf.message.error.tooLong{/lang} - {elseif $errorType == 'censoredWordsFound'} - {lang}wcf.message.error.censoredWordsFound{/lang} - {elseif $errorType == 'disallowedBBCodes'} - {lang}wcf.message.error.disallowedBBCodes{/lang} - {else} - {lang}wcf.user.signature.error.{@$errorType}{/lang} - {/if} - - {/if} -
        -
        - - {event name='fields'} -
        + {if $signatureCache} +
        +

        {lang}wcf.user.signature.current{/lang}

        - {event name='fieldsets'} + {@$signatureCache} +
        + {/if} + + {if !$__wcf->user->disableSignature} +
        +

        {lang}wcf.user.signature{/lang}

        + +
        +
        +
        + + {if $errorField == 'text'} + + {if $errorType == 'empty'} + {lang}wcf.global.form.error.empty{/lang} + {elseif $errorType == 'tooLong'} + {lang}wcf.message.error.tooLong{/lang} + {elseif $errorType == 'censoredWordsFound'} + {lang}wcf.message.error.censoredWordsFound{/lang} + {elseif $errorType == 'disallowedBBCodes'} + {lang}wcf.message.error.disallowedBBCodes{/lang} + {else} + {lang}wcf.user.signature.error.{@$errorType}{/lang} + {/if} + + {/if} +
        +
        - {include file='messageFormTabs'} - {/if} -
        + {event name='fields'} + + + {event name='sections'} + + {include file='messageFormTabs'} + {/if} {if !$__wcf->user->disableSignature}
        diff --git a/com.woltlab.wcf/templates/sitemap.tpl b/com.woltlab.wcf/templates/sitemap.tpl index cffdc03122..d233f38a00 100644 --- a/com.woltlab.wcf/templates/sitemap.tpl +++ b/com.woltlab.wcf/templates/sitemap.tpl @@ -1,6 +1,6 @@
        {hascontent} -
        +
        {foreach from=$tree item=sitemapName} -