Use p::purify instead of p::clean

This commit is contained in:
Bharat Mediratta
2009-07-09 10:00:16 -07:00
parent a6ac9b3059
commit b0429797fc

View File

@@ -5,17 +5,17 @@
</script>
<div id="gServerAdd">
<h1 style="display: none;"><?= t("Add Photos to '%title'", array("title" => p::clean($item->title))) ?></h1>
<h1 style="display: none;"><?= t("Add Photos to '%title'", array("title" => p::purify($item->title))) ?></h1>
<p id="gDescription"><?= t("Photos will be added to album:") ?></p>
<ul class="gBreadcrumbs">
<? foreach ($item->parents() as $parent): ?>
<li>
<?= p::clean($parent->title) ?>
<?= p::purify($parent->title) ?>
</li>
<? endforeach ?>
<li class="active">
<?= p::clean($item->title) ?>
<?= p::purify($item->title) ?>
</li>
</ul>