<?xml version="1.0" encoding="UTF-8"?>
<registry_contributions  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="file:../core.ajaxplorer/ajxp_registry.xsd">
	<actions>
        <action name="logout" expireDefault="true">
			<gui text="304" title="305" src="go_back.png" iconClass="icon-home" accessKey="" hasAccessKey="false">
				<context selection="false" dir="" recycle="false"
					actionBar="true" contextMenu="false" infoPanel="false"
                    ajxpWidgets="UserWidget::logging_string">
				</context>
			</gui>
			<rightsContext noUser="false" userLogged="only" guestLogged="show" read="false" write="false" adminOnly=""/>
			<processing>
				<clientCallback prepareModal="false"><![CDATA[
					clearRememberData();
					var connexion = new Connexion();
					connexion.addParameter('get_action', 'back');
					connexion.onComplete = function(transport){
						var child = transport.responseXML.documentElement.childNodes;
                        document.location.href = child[0].nodeValue;
						};
					connexion.sendAsync();
					]]></clientCallback>
				<serverCallback methodName="switchAction"></serverCallback>
			</processing>
		</action>		
	</actions>
</registry_contributions>