An- und Abmeldelink

tmp.login_out = COA_INT
tmp.login_out {
	## Login link (shown if FE user is NOT logged in)
	10 = TEXT
	10 {
		value = Anmelden
		typolink {
			target = _self
			extTarget = _self
			fileTarget = _self
			title = Anmelden
			parameter = 22
		}
		if.isFalse.data = TSFE:fe_user|user|username
	}

	## Logout link (shown if FE user IS logged in)
	20 < .10
	20.if.negate = 1
	20 {
		value = Abmelden
		typolink {
			additionalParams = &logintype=logout
			title = Abmelden
		}
	}
}