[%# Shop - Transfer points to another user Authors: Mark Smith Copyright (c) 2015-2018 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(sitename = site.nameshort) -%] [% IF transferred %]

[% '.transferred' | ml(points = points, user = foru.ljuser_display) %] [% IF anon; '.transferred.anon' | ml; ELSE; '.transferred.notify' | ml; END %]

[% ELSIF confirm %]

[% IF foru.userpic; foru.userpic.imgtag_lite; END; IF anon; '.request.anon' | ml(points = points, user = foru.ljuser_display, name=foru.name_html); ELSE; '.request.user' | ml(points = points, user = foru.ljuser_display, name=foru.name_html); END %]

[% IF reason %] [% IF can_have_reason %]

[% '.note.y' | ml %]

[% reason | html_para %] [% ELSE %]

[% '.note.n' | ml %]

[% END %] [% END %]

[% '.confirm2' | ml %]

[% dw.form_auth %]
[% ELSE %]

[% '.about' | ml(sitename = site.nameshort) %]

[% IF ! has_points %] [% '.about.nopoints' | ml(sitename = site.nameshort, aopts = "href='$site.shoproot/points'") %] [% ELSE %]

[% '.about.points' | ml(points = has_points) %]

[% dw.form_auth %]
[% IF foru %]
[% foru.ljuser_display %]
[% ELSE %]
[% form.textbox( name => 'foruser', maxlength => 25) %] [% IF errs.foruser %]
[% errs.foruser %][% END %]
[% END %]
[% dw.ml('.buying.points.range') %] [% IF errs.points %]
[% errs.points %][% END %]
[% form.submit(value = dw.ml('.btn.transfer'), class = "button primary") %]
[% END %] [% END %]