summaryrefslogtreecommitdiff
path: root/modules/server_add
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-05-31 23:28:42 -0700
committerTim Almdal <tnalmdal@shaw.ca>2009-05-31 23:28:42 -0700
commit3c24d9476618496c8f2e1ca2f6025fa157120e43 (patch)
treee3d8b381098affa3081cc95cd74ebeabef972ab3 /modules/server_add
parent463b3454ae7633815e24cdf86e81c57409dd15a9 (diff)
parent79a05adb9d941671cefbdf6b1cc97f0cd84fabf3 (diff)
Merge branch 'master' of git@github.com:gallery/gallery3
Diffstat (limited to 'modules/server_add')
-rw-r--r--modules/server_add/views/server_add_tree.html.php2
-rw-r--r--modules/server_add/views/server_add_tree_dialog.html.php6
2 files changed, 4 insertions, 4 deletions
diff --git a/modules/server_add/views/server_add_tree.html.php b/modules/server_add/views/server_add_tree.html.php
index 69ff09a6..b7b494e4 100644
--- a/modules/server_add/views/server_add_tree.html.php
+++ b/modules/server_add/views/server_add_tree.html.php
@@ -16,7 +16,7 @@ $("#<?= $tree_id ?>").ready(function() {
<? if (!empty($file_info["is_dir"])): ?>
<span class="ui-icon ui-icon-plus"></span>
<? endif ?>
- <label> <?= form::checkbox("checkbox[]", $file_info["path"]) . " $file" ?> </label>
+ <label> <?= form::checkbox("checkbox[]", p::clean($file_info["path"])) . " " . p::clean($file) ?> </label>
</li>
<? endforeach ?>
</ul>
diff --git a/modules/server_add/views/server_add_tree_dialog.html.php b/modules/server_add/views/server_add_tree_dialog.html.php
index c8eb6a1c..f600ce60 100644
--- a/modules/server_add/views/server_add_tree_dialog.html.php
+++ b/modules/server_add/views/server_add_tree_dialog.html.php
@@ -5,14 +5,14 @@
</script>
<?= html::script("modules/server_add/js/server_add.js"); ?>
<div id="gServerAdd">
- <h1 style="display: none;"><?= sprintf(t("Add Photos to '%s'"), $album_title) ?></h1>
+ <h1 style="display: none;"><?= t("Add Photos to '%title'", array("title" => p::clean($album_title))) ?></h1>
<p id="gDescription"><?= t("Photos will be added to album:") ?></p>
<ul class="gBreadcrumbs">
<? foreach ($parents as $parent): ?>
- <li><?= $parent->title ?></li>
+ <li><?= p::clean($parent->title) ?></li>
<? endforeach ?>
- <li class="active"><?= $album_title ?></li>
+ <li class="active"><?= p::clean($album_title) ?></li>
</ul>
<?= form::open($action, array("method" => "post")) ?>