Run all variables that come from user-entered data through p::clean()

This commit is contained in:
Bharat Mediratta
2009-05-31 01:02:51 -07:00
parent a049de28ac
commit 9369ccab7f
14 changed files with 61 additions and 52 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="<?= $user->name ?>"
alt="<?= p::clean($user->name) ?>"
width="20"
height="20" />
<?= $user->name ?>
<?= p::clean($user->name) ?>
</td>
<td>
<?= $user->full_name ?>
<?= p::clean($user->full_name) ?>
</td>
<td>
<?= $user->email ?>
<?= p::clean($user->email) ?>
</td>
<td>
<?= ($user->last_login == 0) ? "" : date("j-M-y", $user->last_login) ?>