mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-06-22 09:29:53 -04:00
Update all code to use helper method html::clean(), html::purify(), ... instead of SafeString directly.
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="<?= SafeString::of($user->name) ?>"
|
||||
alt="<?= html::clean($user->name) ?>"
|
||||
width="20"
|
||||
height="20" />
|
||||
<?= SafeString::of($user->name) ?>
|
||||
<?= html::clean($user->name) ?>
|
||||
</td>
|
||||
<td>
|
||||
<?= SafeString::of($user->full_name) ?>
|
||||
<?= html::clean($user->full_name) ?>
|
||||
</td>
|
||||
<td>
|
||||
<?= SafeString::of($user->email) ?>
|
||||
<?= html::clean($user->email) ?>
|
||||
</td>
|
||||
<td>
|
||||
<?= ($user->last_login == 0) ? "" : gallery::date($user->last_login) ?>
|
||||
|
||||
Reference in New Issue
Block a user