summaryrefslogtreecommitdiff
path: root/modules/user/views/admin_users.html.php
diff options
context:
space:
mode:
authorAndy Staudacher <andy.st@gmail.com>2009-08-29 12:48:40 -0700
committerAndy Staudacher <andy.st@gmail.com>2009-08-29 12:48:40 -0700
commitc01ac42c4604b3b129e8089e0dc683ebd418b380 (patch)
tree87c688c638733e7d8a8215bc5f4ee89d0f598c62 /modules/user/views/admin_users.html.php
parenta10063ff68cf5988297dcad889384ab2080c3850 (diff)
Refactor all calls of p::clean() to SafeString::of() and p::purify() to SafeString::purify().
Removing any p::clean() calls for arguments to t() and t2() since their args are wrapped in a SafeString anyway.
Diffstat (limited to 'modules/user/views/admin_users.html.php')
-rw-r--r--modules/user/views/admin_users.html.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/user/views/admin_users.html.php b/modules/user/views/admin_users.html.php
index 542b8b8b..54c4847d 100644
--- a/modules/user/views/admin_users.html.php
+++ b/modules/user/views/admin_users.html.php
@@ -68,16 +68,16 @@
<td id="user-<?= $user->id ?>" class="core-info gDraggable">
<img src="<?= $user->avatar_url(20, $theme->url("images/avatar.jpg", true)) ?>"
title="<?= t("Drag user onto group below to add as a new member") ?>"
- alt="<?= p::clean($user->name) ?>"
+ alt="<?= SafeString::of($user->name) ?>"
width="20"
height="20" />
- <?= p::clean($user->name) ?>
+ <?= SafeString::of($user->name) ?>
</td>
<td>
- <?= p::clean($user->full_name) ?>
+ <?= SafeString::of($user->full_name) ?>
</td>
<td>
- <?= p::clean($user->email) ?>
+ <?= SafeString::of($user->email) ?>
</td>
<td>
<?= ($user->last_login == 0) ? "" : gallery::date($user->last_login) ?>