[%# account status
Authors:
Afuna
Copyright (c) 2015 by Dreamwidth Studios, LLC.
This program is free software; you may redistribute it and/or modify it under
the same terms as Perl itself. For a copy of the license, please reference
'perldoc perlartistic' or 'perldoc perlgpl'.
%]
[%- sections.title = ".title" | ml -%]
[%- CALL dw.active_resource_group( "foundation" ) -%]
[%- authas_form -%]
[%- IF messages.exist -%]
[%- FOREACH msg = messages.get_all -%]
[%- msg.message -%]
[%- END -%]
[%- END -%]
[%- IF warnings.exist -%]
[%- FOREACH warning IN warnings.get_all -%]
[%- warning.message -%]
[%- END -%]
[%- END -%]
[%- form.textbox(
label = dw.ml( '.reason.head' )
name = 'reason'
value = delete_reason
maxlength = 255
hint = dw.ml( u.is_community ? '.reason.about.comm' : '.reason.about' )
) -%]
[%- form.submit( value = dw.ml( '.btn.change', { user => u.user } ),
disabled = u.is_suspended ) -%]
[%- IF u.is_community -%]
[%- '.journalstatus.about.comm' | ml( sitenameshort = site.nameshort, commname = u.ljuser_display ) -%]
[%- ELSE -%]
[%- '.journalstatus.about2' | ml( sitenameshort = site.nameshort ) -%]
[%- END -%]
[%- IF u.is_identity && u.statusvis != 'D' -%]
[%# only show this text to not-deleted OpenID accounts -%]
[%- '.delete.openid1' | ml -%]
[%- END -%]
[%- IF extra_delete_text -%]
[%- extra_delete_text -%]
[%- END -%]