diff options
| author | Andy Staudacher <andy.st@gmail.com> | 2009-08-29 12:48:40 -0700 |
|---|---|---|
| committer | Andy Staudacher <andy.st@gmail.com> | 2009-08-29 12:48:40 -0700 |
| commit | c01ac42c4604b3b129e8089e0dc683ebd418b380 (patch) | |
| tree | 87c688c638733e7d8a8215bc5f4ee89d0f598c62 /modules/user/views/login.html.php | |
| parent | a10063ff68cf5988297dcad889384ab2080c3850 (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/login.html.php')
| -rw-r--r-- | modules/user/views/login.html.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/user/views/login.html.php b/modules/user/views/login.html.php index 97341762..e92513e7 100644 --- a/modules/user/views/login.html.php +++ b/modules/user/views/login.html.php @@ -8,11 +8,11 @@ </li> <? else: ?> <li class="first"> - <?= t('Logged in as %name', array('name' => SafeString::of( + <?= t('Logged in as %name', array('name' => SafeString::of_safe_html( '<a href="' . url::site("form/edit/users/{$user->id}") . - '" title="' . t("Edit Your Profile") . + '" title="' . t("Edit Your Profile")->for_html_attr() . '" id="gUserProfileLink" class="gDialogLink">' . - p::clean($user->display_name()) . '</a>')->mark_html_safe())) ?> + SafeString::of($user->display_name()) . '</a>'))) ?> </li> <li> <a href="<?= url::site("logout?csrf=$csrf&continue=" . urlencode(url::current(true))) ?>" |
