diff options
Diffstat (limited to 'themes')
| -rw-r--r-- | themes/default/views/album.html.php | 4 | ||||
| -rw-r--r-- | themes/default/views/dynamic.html.php | 4 | ||||
| -rw-r--r-- | themes/default/views/header.html.php | 4 | ||||
| -rw-r--r-- | themes/default/views/movie.html.php | 4 | ||||
| -rw-r--r-- | themes/default/views/page.html.php | 8 | ||||
| -rw-r--r-- | themes/default/views/photo.html.php | 4 | 
6 files changed, 14 insertions, 14 deletions
| diff --git a/themes/default/views/album.html.php b/themes/default/views/album.html.php index c2f95731..ffb4b913 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::of($item->title)->purified_html() ?></h1> -  <div class="gDescription"><?= nl2br(SafeString::of($item->description)->purified_html()) ?></div> +  <h1><?= SafeString::purify($item->title) ?></h1> +  <div class="gDescription"><?= nl2br(SafeString::purify($item->description)) ?></div>  </div>  <ul id="gAlbumGrid"> diff --git a/themes/default/views/dynamic.html.php b/themes/default/views/dynamic.html.php index 2d122e69..2d8e04a2 100644 --- a/themes/default/views/dynamic.html.php +++ b/themes/default/views/dynamic.html.php @@ -3,7 +3,7 @@    <div id="gAlbumHeaderButtons">      <?= $theme->dynamic_top() ?>    </div> -  <h1><?= p::clean($title) ?></h1> +  <h1><?= SafeString::of($title) ?></h1>  </div>  <ul id="gAlbumGrid"> @@ -16,7 +16,7 @@             width="<?= $child->thumb_width ?>"             height="<?= $child->thumb_height ?>" />      </a> -    <h2><?= p::purify($child->title) ?></h2> +    <h2><?= SafeString::purify($child->title) ?></h2>      <?= $theme->thumb_bottom($child) ?>      <ul class="gMetadata">        <?= $theme->thumb_info($child) ?> diff --git a/themes/default/views/header.html.php b/themes/default/views/header.html.php index 2ba1e923..9e34401d 100644 --- a/themes/default/views/header.html.php +++ b/themes/default/views/header.html.php @@ -19,10 +19,10 @@    <? foreach ($parents as $parent): ?>    <li>      <a href="<?= url::site("albums/{$parent->id}?show=$item->id") ?>"> -      <?= p::purify($parent->title) ?> +      <?= SafeString::purify($parent->title) ?>      </a>    </li>    <? endforeach ?> -  <li class="active"><?= p::purify($item->title) ?></li> +  <li class="active"><?= SafeString::purify($item->title) ?></li>  </ul>  <? endif ?> diff --git a/themes/default/views/movie.html.php b/themes/default/views/movie.html.php index 66c80ded..1f25a626 100644 --- a/themes/default/views/movie.html.php +++ b/themes/default/views/movie.html.php @@ -15,8 +15,8 @@    <?= $item->movie_img(array("class" => "gMovie", "id" => "gMovieId-{$item->id}")) ?>    <div id="gInfo"> -    <h1><?= p::purify($item->title) ?></h1> -       <div><?= nl2br(p::purify($item->description)) ?></div> +    <h1><?= SafeString::purify($item->title) ?></h1> +       <div><?= nl2br(SafeString::purify($item->description)) ?></div>    </div>    <script type="text/javascript"> diff --git a/themes/default/views/page.html.php b/themes/default/views/page.html.php index 66282bae..ea2be37b 100644 --- a/themes/default/views/page.html.php +++ b/themes/default/views/page.html.php @@ -10,14 +10,14 @@        <? else: ?>          <? if ($theme->item()): ?>            <? if ($theme->item()->is_album()): ?> -          <?= t("Browse Album :: %album_title", array("album_title" => p::clean($theme->item()->title))) ?> +          <?= t("Browse Album :: %album_title", array("album_title" => $theme->item()->title)) ?>            <? elseif ($theme->item()->is_photo()): ?> -          <?= t("Photo :: %photo_title", array("photo_title" => p::clean($theme->item()->title))) ?> +	  <?= t("Photo :: %photo_title", array("photo_title" => $theme->item()->title)) ?>            <? else: ?> -          <?= t("Movie :: %movie_title", array("movie_title" => p::clean($theme->item()->title))) ?> +          <?= t("Movie :: %movie_title", array("movie_title" => $theme->item()->title)) ?>            <? endif ?>          <? elseif ($theme->tag()): ?> -          <?= t("Browse Tag :: %tag_title", array("tag_title" => p::clean($theme->tag()->name))) ?> +          <?= t("Browse Tag :: %tag_title", array("tag_title" => $theme->tag()->name)) ?>          <? else: /* Not an item, not a tag, no page_title specified.  Help! */ ?>            <?= t("Gallery") ?>          <? endif ?> diff --git a/themes/default/views/photo.html.php b/themes/default/views/photo.html.php index bf4d9da3..1f92e9ba 100644 --- a/themes/default/views/photo.html.php +++ b/themes/default/views/photo.html.php @@ -50,8 +50,8 @@    </div>    <div id="gInfo"> -    <h1><?= p::purify($item->title) ?></h1> -    <div><?= nl2br(p::purify($item->description)) ?></div> +    <h1><?= SafeString::purify($item->title) ?></h1> +    <div><?= nl2br(SafeString::purify($item->description)) ?></div>    </div>    <script type="text/javascript"> | 
