summaryrefslogtreecommitdiff
path: root/themes/default/views/page.html.php
diff options
context:
space:
mode:
authorChad Kieffer <ckieffer@gmail.com>2009-08-30 22:33:12 -0600
committerChad Kieffer <ckieffer@gmail.com>2009-08-30 22:33:12 -0600
commitce733e0f481e34f213d159cbb05dd6377cec4f54 (patch)
tree046818b9a56014849ee5a8054f739862cb115f68 /themes/default/views/page.html.php
parent93b542ccd8a64bdd037d0e4824be06cb9fe6ad49 (diff)
parent7015948357f91e79bb10595cd7c6bc2513d0863e (diff)
Merge branch 'master' of git@github.com:gallery/gallery3
Diffstat (limited to 'themes/default/views/page.html.php')
-rw-r--r--themes/default/views/page.html.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/themes/default/views/page.html.php b/themes/default/views/page.html.php
index 2cb71b9e..2696442b 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 ?>
@@ -51,7 +51,7 @@
<?= $theme->script("gallery.common.js") ?>
<? /* MSG_CANCEL is required by gallery.dialog.js */ ?>
<script type="text/javascript">
- var MSG_CANCEL = "<?= t('Cancel') ?>";
+ var MSG_CANCEL = <?= t('Cancel')->for_js() ?>;
</script>
<?= $theme->script("gallery.ajax.js") ?>
<?= $theme->script("gallery.dialog.js") ?>