summaryrefslogtreecommitdiff
path: root/modules/server_add/views
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-07-09 08:42:54 -0700
committerTim Almdal <tnalmdal@shaw.ca>2009-07-09 08:42:54 -0700
commit724d2af960c55b5a60b3c5e6bf68585426d46ab0 (patch)
treefe3d53ab4b63c1bc3b03a6b12866dbdca6b3bf27 /modules/server_add/views
parent703d93a1eac6d6332361067ffd74b697149c1feb (diff)
Revert "Eliminate temporary variables by passing the $item into the view and"
This reverts commit 1a587fd01686cf603b2c7eefd406cf200c6e0ee1.
Diffstat (limited to 'modules/server_add/views')
-rw-r--r--modules/server_add/views/server_add_tree_dialog.html.php8
1 files changed, 4 insertions, 4 deletions
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 e2aa5d44..8b296987 100644
--- a/modules/server_add/views/server_add_tree_dialog.html.php
+++ b/modules/server_add/views/server_add_tree_dialog.html.php
@@ -7,17 +7,17 @@
});
</script>
<div id="gServerAdd">
- <h1 style="display: none;"><?= t("Add Photos to '%title'", array("title" => p::clean($item->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 ($item->parents() as $parent): ?>
+ <? foreach ($parents as $parent): ?>
<li><?= p::clean($parent->title) ?></li>
<? endforeach ?>
- <li class="active"><?= p::clean($item->title) ?></li>
+ <li class="active"><?= p::clean($album_title) ?></li>
</ul>
- <?= form::open(url::abs_site("__ARGS__/{$id}__TASK_ID__?csrf=$csrf"), array("method" => "post")) ?>
+ <?= form::open($action, array("method" => "post")) ?>
<div id="gServerAddTree" >
<?= $tree ?>
</div>