< Joomla 3

<a class="login" href="/component/users/?task=user.logout&lt;?php_echo_JUtility::getToken();_?=&gt;=&return=&lt;?php_echo_base64_encode('/login-anmeldung');_?=&Itemid=101">Abmelden</a>

 >= Joomla 3

<a class="login" href="/component/users/?task=user.logout&lt;?php_echo_JSession::getFormToken()_?=&gt;=&return=&lt;?php_echo_base64_encode('/login-anmeldung');_?=&Itemid=101">Abmelden</a>