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.
This commit is contained in:
Andy Staudacher
2009-08-29 12:48:40 -07:00
parent a10063ff68
commit c01ac42c46
59 changed files with 159 additions and 188 deletions

View File

@@ -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) ?>