summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--themes/default/views/album.html.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/themes/default/views/album.html.php b/themes/default/views/album.html.php
index b74c6d86..7e6913df 100644
--- a/themes/default/views/album.html.php
+++ b/themes/default/views/album.html.php
@@ -28,7 +28,8 @@
<? else: ?>
<? if ($user->admin || access::can("add", $item)): ?>
<? $addurl = url::file("index.php/simple_uploader/app/$item->id") ?>
- <li><?= t("There aren't any photos here yet! <a href=\"$addurl\" class=\"gDialogLink\">Add some</a>.") ?></li>
+ <li><?= t("There aren't any photos here yet! <a %attrs>Add some</a>.",
+ array("attrs" => "href=\"$addurl\" class=\"gDialogLink\"")) ?></li>
<? else: ?>
<li><?= t("There aren't any photos here yet!") ?></li>
<? endif; ?>