Your version:
{{$localversion}}
{{if $needupdate}}
New version:
{{$remoteversion}}
{{if $canwrite}}
{{else}}

Your friendica installation is not writable by web server.

{{if $canftp}}

You can try to update via FTP

{{include file="field_input.tpl" field=$ftphost}} {{include file="field_input.tpl" field=$ftppath}} {{include file="field_input.tpl" field=$ftpuser}} {{include file="field_password.tpl" field=$ftppwd}}
{{/if}} {{/if}}
{{else}}

No updates

{{/if}}