summaryrefslogtreecommitdiff
path: root/themes/default
diff options
context:
space:
mode:
authorChad Kieffer <ckieffer@gmail.com>2009-08-31 22:56:11 -0600
committerChad Kieffer <ckieffer@gmail.com>2009-08-31 22:56:11 -0600
commit7b2c03c2b9d61ce945199505d8c2f273a84725b9 (patch)
tree9af33753e5f9832f3640f475268b31b92f3c6862 /themes/default
parent559f9a4b9d770a37048db73e82f84bc1f0ec09f1 (diff)
parent5ca13fe5e83ec7d6dcc1f5d2ac19a3f4ebfc782c (diff)
Merge branch 'master' of git@github.com:gallery/gallery3
Diffstat (limited to 'themes/default')
-rw-r--r--themes/default/views/page.html.php4
-rw-r--r--themes/default/views/photo.html.php2
2 files changed, 3 insertions, 3 deletions
diff --git a/themes/default/views/page.html.php b/themes/default/views/page.html.php
index 7d181ea0..1650debe 100644
--- a/themes/default/views/page.html.php
+++ b/themes/default/views/page.html.php
@@ -81,8 +81,8 @@
<? if ($header_text = module::get_var("gallery", "header_text")): ?>
<?= $header_text ?>
<? else: ?>
- <a id="gLogo" href="<?= url::site("albums/1") ?>" title="<?= t("go back to the Gallery home") ?>">
- <img width="107" height="48" alt="<?= t("Gallery logo: Your photos on your web site") ?>" src="<?= $theme->url("images/logo.png") ?>" />
+ <a id="gLogo" href="<?= url::site("albums/1") ?>" title="<?= t("go back to the Gallery home")->for_html_attr() ?>">
+ <img width="107" height="48" alt="<?= t("Gallery logo: Your photos on your web site")->for_html_attr() ?>" src="<?= $theme->url("images/logo.png") ?>" />
</a>
<? endif ?>
<div id="gSiteMenu">
diff --git a/themes/default/views/photo.html.php b/themes/default/views/photo.html.php
index 5289b467..b0096043 100644
--- a/themes/default/views/photo.html.php
+++ b/themes/default/views/photo.html.php
@@ -40,7 +40,7 @@
<div id="gPhoto">
<?= $theme->resize_top($item) ?>
<? if (access::can("view_full", $item)): ?>
- <a href="<?= $item->file_url() ?>" class="gFullSizeLink" title="<?= t("View full size") ?>">
+ <a href="<?= $item->file_url() ?>" class="gFullSizeLink" title="<?= t("View full size")->for_html_attr() ?>">
<? endif ?>
<?= $item->resize_img(array("id" => "gPhotoId-{$item->id}", "class" => "gResize")) ?>
<? if (access::can("view_full", $item)): ?>