diff options
author | Andy Staudacher <andy.st@gmail.com> | 2009-08-29 10:40:34 -0700 |
---|---|---|
committer | Andy Staudacher <andy.st@gmail.com> | 2009-08-29 10:40:34 -0700 |
commit | a2e2a2178b1b84a9895fdddd020c5ec8dddf89c5 (patch) | |
tree | ec943f2da0f978ec27b0b22a817869f3bf693d68 /themes/default | |
parent | 2d63348ef6c89386f5aec9f567cb4c270bcbe02a (diff) |
Using SafeString in album controller / view
Diffstat (limited to 'themes/default')
-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 65ea3381..c2f95731 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><?= p::purify($item->title) ?></h1> - <div class="gDescription"><?= nl2br(p::purify($item->description)) ?></div> + <h1><?= SafeString::of($item->title)->purified_html() ?></h1> + <div class="gDescription"><?= nl2br(SafeString::of($item->description)->purified_html()) ?></div> </div> <ul id="gAlbumGrid"> @@ -20,7 +20,7 @@ </a> <?= $theme->thumb_bottom($child) ?> <?= $theme->thumb_menu($child) ?> - <h2><span></span><a href="<?= $child->url() ?>"><?= p::clean($child->title) ?></a></h2> + <h2><span></span><a href="<?= $child->url() ?>"><?= SafeString::of($child->title) ?></a></h2> <ul class="gMetadata"> <?= $theme->thumb_info($child) ?> </ul> |