mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-19 19:09:13 -04:00
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:
@@ -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) ?>
|
||||
|
||||
Reference in New Issue
Block a user