default.xml 1.1 KB

123456789101112131415161718192021222324
  1. <?xml version="1.0"?>
  2. <!--
  3. /**
  4. * Copyright © 2015 Magento. All rights reserved.
  5. * See COPYING.txt for license details.
  6. */
  7. -->
  8. <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
  9. <body>
  10. <referenceBlock name="header.links">
  11. <block class="Magento\Customer\Block\Account\Customer" name="customer" template="account/customer.phtml" before="-"/>
  12. <block class="Magento\Customer\Block\Account\AuthorizationLink" name="authorization-link-login" template="account/link/authorization.phtml"/>
  13. </referenceBlock>
  14. <block class="Magento\Theme\Block\Html\Header" name="header" as="header">
  15. <arguments>
  16. <argument name="show_part" xsi:type="string">welcome</argument>
  17. </arguments>
  18. </block>
  19. <move element="header" destination="header.links" before="-"/>
  20. <move element="register-link" destination="header.links"/>
  21. <move element="top.links" destination="customer"/>
  22. <move element="authorization-link" destination="top.links" after="-"/>
  23. </body>
  24. </page>