Show the user's icon and name when transferring, for easier
identification.
Patch by kareila.
diffs (39 lines):
diff -r c6ee06c056d3 -r fc9f2c08fc02 views/shop/transferpoints.tt
--- a/views/shop/transferpoints.tt Mon Feb 28 18:50:22 2011 +0800
+++ b/views/shop/transferpoints.tt Mon Feb 28 19:28:41 2011 +0800
@@ -7,8 +7,16 @@
[% ELSIF confirm %]
- <p>[% IF anon; '.confirm.anon' | ml(points = points, user =
foru.ljuser_display);
- ELSE; '.confirm' | ml(points = points, user = foru.ljuser_display);
END %]</p>
+ <p>[% 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 %]</p>
+ <p>[% '.confirm2' | ml %]</p>
<form method='post'>
[% dw.form_auth %]
diff -r c6ee06c056d3 -r fc9f2c08fc02 views/shop/transferpoints.tt.text
--- a/views/shop/transferpoints.tt.text Mon Feb 28 18:50:22 2011 +0800
+++ b/views/shop/transferpoints.tt.text Mon Feb 28 19:28:41 2011 +0800
@@ -16,9 +16,11 @@
.buying.points.range=(1 to 5,000 points)
-.confirm=You have requested to transfer [[points]] [[?points|point|points]] to
[[user]]. If you are sure you wish to do this, please click the button below.
+.confirm2=If you are sure you wish to do this, please click the button below.
-.confirm.anon=You have requested to anonymously transfer [[points]]
[[?points|point|points]] to [[user]]. They will not know the points came from
you. If you are sure you wish to do this, please click the button below.
+.request.anon=You have requested to anonymously transfer [[points]]
[[?points|point|points]] to [[name]] ([[user]]). They will not know the points
came from you.
+
+.request.user=You have requested to transfer [[points]]
[[?points|point|points]] to [[name]] ([[user]]).
.title=[[sitename]] Points Transfers
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog