OC.dialogs.info(t('encryption','Please go to your owncloud client and change your encryption password to complete the conversion'),t('encryption','switched to client side encryption'));
}
}elseif(server){
if(prevmode=='client'){
OC.dialogs.form([{text:'login password',name:'newpasswd',type:'password'},{text:'Encryption password used on the client',name:'oldpasswd',type:'password'}],t('encryption','Please enter your passwords'),function(data){