Improved 'register now' box
authorMarcel Werk <burntime@woltlab.com>
Mon, 30 May 2016 22:26:37 +0000 (00:26 +0200)
committerMarcel Werk <burntime@woltlab.com>
Mon, 30 May 2016 22:27:32 +0000 (00:27 +0200)
com.woltlab.wcf/box.xml
com.woltlab.wcf/templates/boxRegisterButton.tpl
wcfsetup/install/lang/de.xml
wcfsetup/install/lang/en.xml

index fdbfc9142999e98b7ad8e532ca04c20a4af8c609..0536699c423cefb5f5574da5ad040034dab4b925 100644 (file)
@@ -83,9 +83,9 @@
                        <boxType>system</boxType>
                        <objectType>com.woltlab.wcf.registerButton</objectType>
                        <position>sidebarRight</position>
-                       <showHeader>0</showHeader>
+                       <showHeader>1</showHeader>
                        <visibleEverywhere>0</visibleEverywhere>
-                       <!--<cssClassName></cssClassName> todo -->
+                       <cssClassName>boxInfo</cssClassName>
                        <visibilityExceptions>
                                <page>com.woltlab.wcf.Dashboard</page>
                        </visibilityExceptions>
index 7ff8547feab49915c4d20a00ed5fc9f5500b71f6..7a0f5f512f929ed6c898c1c7918b429d1158ab57 100644 (file)
@@ -1 +1,3 @@
-<a href="{link controller='Register'}{/link}" class="button">{lang}wcf.user.button.registerNow{/lang}</a>
+<p>{lang}wcf.user.login.register.teaser{/lang}</p>
+
+<div class="formSubmit"><a href="{link controller='Register'}{/link}" class="button buttonPrimary">{lang}wcf.user.login.register.registerNow{/lang}</a></div>
index e4e91847e53548fbae774fac6d925d572c27443a..0918f28157d244629705ed7699297f85fc658105 100644 (file)
@@ -2657,7 +2657,6 @@ Fehler sind beispielsweise:
                <item name="wcf.user.access.registered"><![CDATA[Registrierte Benutzer]]></item>
                <item name="wcf.user.button.login"><![CDATA[Anmelden]]></item>
                <item name="wcf.user.button.register"><![CDATA[Registrieren]]></item>
-               <item name="wcf.user.button.registerNow"><![CDATA[Jetzt registrieren]]></item>
                <item name="wcf.user.username.error.3rdParty"><![CDATA[Das Benutzerkonto ist mit einem Drittanbieter-Konto verbunden, ein Passwort kann nicht angefordert werden.]]></item>
                <item name="wcf.user.loginOrRegister"><![CDATA[Anmelden{if !REGISTER_DISABLED} oder registrieren{/if}]]></item>
                <item name="wcf.user.useCookies"><![CDATA[Dauerhaft angemeldet bleiben]]></item>
index bea4765af062a19d084c1d1961ca872690e1459f..8c505f42c0e7e8394a9f8ce145ba573ca888d802 100644 (file)
@@ -2695,7 +2695,6 @@ Errors are:
                <item name="wcf.user.access.registered"><![CDATA[Registered Users]]></item>
                <item name="wcf.user.button.login"><![CDATA[Login]]></item>
                <item name="wcf.user.button.register"><![CDATA[Register]]></item>
-               <item name="wcf.user.button.registerNow"><![CDATA[Register Now]]></item>
                <item name="wcf.user.username.error.3rdParty"><![CDATA[Account is connected with a 3rd party website, password cannot be requested.]]></item>
                <item name="wcf.user.loginOrRegister"><![CDATA[Login{if !REGISTER_DISABLED} or register{/if}]]></item>
                <item name="wcf.user.useCookies"><![CDATA[Remain logged in]]></item>