summaryrefslogtreecommitdiff
path: root/themes/default/views/page.html.php
diff options
context:
space:
mode:
authorAndy Staudacher <andy.st@gmail.com>2009-08-30 15:34:46 -0700
committerAndy Staudacher <andy.st@gmail.com>2009-08-30 15:34:46 -0700
commit00c73ec852c29c214d72193ce368bc12a7305794 (patch)
tree55022057134f39c3d4fa92653f76b3f83fcf1c7a /themes/default/views/page.html.php
parentbeb711d6a0fedac0d4ca3b9bae162a6ce9d6cdeb (diff)
Updating uses of html::js_string and SafeString::for_js (value now contains string delimiters)
Diffstat (limited to 'themes/default/views/page.html.php')
-rw-r--r--themes/default/views/page.html.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/default/views/page.html.php b/themes/default/views/page.html.php
index 844ef295..2696442b 100644
--- a/themes/default/views/page.html.php
+++ b/themes/default/views/page.html.php
@@ -12,7 +12,7 @@
<? if ($theme->item()->is_album()): ?>
<?= t("Browse Album :: %album_title", array("album_title" => $theme->item()->title)) ?>
<? elseif ($theme->item()->is_photo()): ?>
- <?= t("Photo :: %photo_title", array("photo_title" => $theme->item()->title)) ?>
+ <?= t("Photo :: %photo_title", array("photo_title" => $theme->item()->title)) ?>
<? else: ?>
<?= t("Movie :: %movie_title", array("movie_title" => $theme->item()->title)) ?>
<? 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')->for_js() ?>";
+ var MSG_CANCEL = <?= t('Cancel')->for_js() ?>;
</script>
<?= $theme->script("gallery.ajax.js") ?>
<?= $theme->script("gallery.dialog.js") ?>