diff options
| author | Andy Staudacher <andy.st@gmail.com> | 2009-08-29 22:54:20 -0700 |
|---|---|---|
| committer | Andy Staudacher <andy.st@gmail.com> | 2009-08-29 22:54:20 -0700 |
| commit | b9bd1681a3b1496c0f1bbe5e6254ab4fd0c9fe30 (patch) | |
| tree | 0ce300329bb2b6ace0e0fd72c94fe5fbb7e4db96 /themes/default/views/album.html.php | |
| parent | 952c8856098dcfd9673d344fc71be85b303c8fb1 (diff) | |
Update all code to use helper method html::clean(), html::purify(), ... instead of SafeString directly.
Diffstat (limited to 'themes/default/views/album.html.php')
| -rw-r--r-- | themes/default/views/album.html.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/themes/default/views/album.html.php b/themes/default/views/album.html.php index 8c690f5f..caabeee3 100644 --- a/themes/default/views/album.html.php +++ b/themes/default/views/album.html.php @@ -2,8 +2,8 @@ <? // @todo Set hover on AlbumGrid list items for guest users ?> <div id="gInfo"> <?= $theme->album_top() ?> - <h1><?= SafeString::purify($item->title) ?></h1> - <div class="gDescription"><?= nl2br(SafeString::purify($item->description)) ?></div> + <h1><?= html::purify($item->title) ?></h1> + <div class="gDescription"><?= nl2br(html::purify($item->description)) ?></div> </div> <ul id="gAlbumGrid"> @@ -20,7 +20,7 @@ </a> <?= $theme->thumb_bottom($child) ?> <?= $theme->context_menu($child, "#gItemId-{$child->id} .gThumbnail") ?> - <h2><span></span><a href="<?= $child->url() ?>"><?= SafeString::of($child->title) ?></a></h2> + <h2><span></span><a href="<?= $child->url() ?>"><?= html::clean($child->title) ?></a></h2> <ul class="gMetadata"> <?= $theme->thumb_info($child) ?> </ul> |
