Button style.
[jan] Fix fatal errors if DAV support is disabled (Bug #12481).
Fix undefined index.