The points details page looks like this using the latest version (2.11):
-------------------------------
%Points for
%Points Approved? Datesort icon Event Description
No %Points earned
Overall Total %points: 0
Unapproved %points: 0
Net %points Balance: 0
-------------------------------
Apparently the variables need a '!' instead of the '%'.
Regards,
.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | userpoints_2.patch | 3.69 KB | d0t101101 |
Comments
Comment #1
kbahey commentedCan you create a patch? See http://drupal.org/patch
Comment #2
d0t101101 commentedSure, I just finished determining the problem was in userpoints_transaction_tools.module. Patch is attached.
Best regards,
.
Comment #3
d0t101101 commentedBTW, I don't have any points issued on my site yet (still in development), so this is somewhat untested. It does however fix the interface issues in the 'userpoints/myuserpoints' page, and hopefully doesn't introduce any new problems :)
.
Comment #4
kbahey commentedCommitted to 5.x development and HEAD.
Thanks
Comment #5
jredding commentedI just wanted to comment that t() function has changed slightly in Drupal 5 so it now accepts 3 types of
* !variable: inserted as is
* : escape plain text to HTML (check_plain)
* %variable: escape text and theme as a placeholder for user-submitted content (check_plain + theme_placeholder)
Read more: http://api.drupal.org/api/5/function/t
The patch is correct in its usage, I'm just commenting.
Comment #6
(not verified) commented