diff options
author | Andy Staudacher <andy.st@gmail.com> | 2009-09-01 12:14:23 -0700 |
---|---|---|
committer | Andy Staudacher <andy.st@gmail.com> | 2009-09-01 12:14:23 -0700 |
commit | 1d3069145273bcb3514f08fa9eee2dbf55a07b01 (patch) | |
tree | 4512f634f65aba964eb0d26f706a0ab4f71f5b3b /themes | |
parent | b50d7f0d69122e15a91b9838eedeeb5c922040bb (diff) |
Add missing mark_clean() for t() calls with %attr parameter.
Diffstat (limited to 'themes')
-rw-r--r-- | themes/default/views/album.html.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/default/views/album.html.php b/themes/default/views/album.html.php index caabeee3..8bc81a31 100644 --- a/themes/default/views/album.html.php +++ b/themes/default/views/album.html.php @@ -30,7 +30,7 @@ <? 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 %attrs>Add some</a>.", - array("attrs" => "href=\"$addurl\" class=\"gDialogLink\"")) ?></li> + array("attrs" => html::mark_clean("href=\"$addurl\" class=\"gDialogLink\""))) ?></li> <? else: ?> <li><?= t("There aren't any photos here yet!") ?></li> <? endif; ?> |